CN114501293A - Audio test device and image recognition method - Google Patents

Audio test device and image recognition method Download PDF

Info

Publication number
CN114501293A
CN114501293A CN202210387717.0A CN202210387717A CN114501293A CN 114501293 A CN114501293 A CN 114501293A CN 202210387717 A CN202210387717 A CN 202210387717A CN 114501293 A CN114501293 A CN 114501293A
Authority
CN
China
Prior art keywords
test
audio
image
slide rail
testing
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.)
Granted
Application number
CN202210387717.0A
Other languages
Chinese (zh)
Other versions
CN114501293B (en
Inventor
李孟禹
常亮
李瑞格
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202210387717.0A priority Critical patent/CN114501293B/en
Publication of CN114501293A publication Critical patent/CN114501293A/en
Application granted granted Critical
Publication of CN114501293B publication Critical patent/CN114501293B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R29/00Monitoring arrangements; Testing arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10024Color image

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Otolaryngology (AREA)
  • General Health & Medical Sciences (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Quality & Reliability (AREA)
  • Testing Electric Properties And Detecting Electric Faults (AREA)
  • Measurement Of Mechanical Vibrations Or Ultrasonic Waves (AREA)

Abstract

The application discloses audio test equipment and an image recognition method, and relates to the technical field of audio test. The device comprises a first mobile device, an audio test device, a second mobile device, a test platform, an image capture device and an industrial personal computer, wherein the first mobile device is arranged on the inner wall of a test box; the industrial personal computer generates a control instruction according to the received image information, and controls the first mobile device to drive the audio testing device to move, and/or controls the second mobile device to drive the testing platform to move. The device can solve the problem that the sound testing device such as a sound pick-up and an artificial mouth needs to be manually adjusted in the testing process.

Description

Audio test device and image recognition method
Technical Field
The application relates to the technical field of audio testing, in particular to audio testing equipment and an image recognition method.
Background
Nowadays, terminal devices such as mobile phones have become a necessity in people's daily life. Generally, a speaker, a receiver, a microphone and other electroacoustic devices are installed in the terminal equipment, and in the large-scale production process of the terminal equipment, in order to ensure the audio performance of the electroacoustic devices, the electroacoustic devices are subjected to audio test.
When the existing audio test equipment is used for testing terminal equipment, devices such as a sound pickup and an artificial mouth in the audio test equipment are generally manually adjusted, the terminal equipment to be tested also needs to be manually placed in the audio test equipment, the terminal equipment to be tested needs to be placed according to a certain position requirement, the position of the tested equipment cannot be generally adjusted in the test process, the radio reception and the sound reproduction of the tested equipment at different positions cannot be tested, the test efficiency is low, and the automatic test cannot be realized.
Disclosure of Invention
The embodiment of the application provides audio test equipment and an image recognition method, and can solve the problem that the existing audio test equipment needs to manually adjust sound pick-up, artificial mouth and other audio test devices in the test process.
In order to achieve the above purpose, the embodiment of the present application adopts the following technical solutions:
in a first aspect, an embodiment of the application provides an audio test device, which comprises a box body, wherein a test box and an industrial personal computer are arranged in the box body, and an image capture device, an audio test device, a test platform, a first mobile device and a second mobile device are arranged in the test box. The first mobile device is arranged on the inner wall of the test box, the audio test device is arranged on the first mobile device, the first mobile device is used for driving the audio test device to move, and the audio test device is used for carrying out audio test on the equipment to be tested. The second mobile device is arranged on a bottom plate of the test box, the test platform is arranged on the second mobile device, the second mobile device is used for driving the test platform to move, and the test platform is used for placing equipment to be tested. The image capturing device is arranged on the inner wall and used for acquiring image information of the equipment to be tested and sending the image information to the connected industrial personal computer. The industrial personal computer performs image recognition on the received image information and generates a control instruction to control the first mobile device to drive the audio testing device to move and/or control the second mobile device to drive the testing platform to move.
On this basis, this application embodiment obtains the image information of equipment to be tested in the test box through setting up image capture device, and image information can be used for confirming the position of equipment to be tested in the test box, and through setting up the industrial computer, the industrial computer can carry out image recognition to image information, obtains the position of equipment to be tested in the test box, then generates control command control first mobile device and/or second mobile device, and first mobile device can drive the audio test device and remove, and the equipment to be tested on the second mobile device can drive test platform removes. Therefore, the audio testing device in the testing box can be automatically controlled to move through the image recognition method, the audio testing device comprises the sound pick-up, the artificial mouth and the like, the function of automatically adjusting the position of the audio testing device such as the sound pick-up and the artificial mouth in the audio testing process is achieved, and the function of automatically adjusting the position of the equipment to be tested in the audio testing device can also be achieved.
In a possible design of the first aspect, the audio testing apparatus includes a sound pickup and an artificial mouth, the first mobile apparatus includes a sound pickup mobile apparatus and an artificial mouth mobile apparatus, the sound pickup is disposed on the sound pickup mobile apparatus, the sound pickup mobile apparatus is configured to drive the sound pickup to move, the artificial mouth is disposed on the artificial mouth mobile apparatus, and the artificial mouth mobile apparatus is configured to drive the artificial mouth to move.
On this basis, through setting up adapter mobile device and artifical mouth mobile device, wherein adapter mobile device is used for driving the adapter and removes, and artifical mouth mobile device is used for driving artifical mouth and removes, realizes the independent control to adapter and artifical mouth removal.
In a possible design manner of the first aspect, the direction in which the sound pickup moving device drives the sound pickup to move includes a first direction, a second direction, and a third direction; the direction in which the artificial mouth moving device drives the artificial mouth to move is a first direction or a second direction; any two directions of the first direction, the second direction and the third direction are vertical.
On this basis, can follow three direction through setting up the adapter and remove to and set up artifical mouth and can remove along one of them direction, make the position control to the adapter more nimble, be favorable to accurately adjusting adapter and artifical mouth to suitable position and the equipment that awaits measuring and cooperate.
In a possible design manner of the first aspect, the direction in which the second moving device drives the test platform to move includes a first direction and a second direction, and the test platform is further rotatable along an axis passing through a center of the test platform, where the axis is parallel to the third direction.
On the basis, the test platform can move along the first direction and the second direction, so that the position of the equipment to be tested placed on the test platform in the test box can be adjusted more flexibly, and the equipment to be tested can be adjusted to a proper position according to test requirements; can rotate round its self center through setting up test platform, can adjust the orientation of the equipment to be tested in the test box through rotating test platform for when placing the equipment to be tested on test platform, can place the equipment to be tested towards arbitrary direction, and needn't be in certain fixed orientation, it is more convenient when making to place the equipment to be tested. In addition, the test platform can be rotated, when the equipment to be tested is placed on the test platform, the loudspeaker, the receiver and the microphone of the equipment to be tested can be located at different positions by rotating the test platform, and the radio reception and sound reproduction conditions of the equipment to be tested at different positions are tested.
In a possible design of the first aspect, the microphone moving device includes a first slide rail, a second slide rail, and a lifting mechanism, the first slide rail is fixedly connected to an inner wall of the top of the test box, the second slide rail is slidably connected to the first slide rail, the lifting mechanism is slidably connected to the second slide rail, and the microphone is fixedly connected to the lifting mechanism. This design shows one specific structure of the microphone moving device.
In a possible design manner of the first aspect, the audio testing apparatus includes two sound collectors, and both the two sound collectors are disposed above the testing platform; the pickup moving device comprises two first slide rails, two second slide rails and two lifting mechanisms, wherein the two first slide rails are arranged in parallel, the two first slide rails are fixedly connected to the inner wall of the top of the test box, the second slide rails are connected to the first slide rails in a sliding mode, the two lifting mechanisms are connected to the two second slide rails in a sliding mode respectively, and the two pickups are fixedly connected to the two lifting mechanisms respectively.
On this basis, this design shows another kind of concrete structure of adapter mobile device, this adapter mobile device can drive two adapters and carry out independent motion, through setting up two adapters, every adapter can be used for carrying out audio test to the different speakers on the equipment that awaits measuring, make the test result more accurate, drive two adapter independent motions through the adapter mobile device in this design, can adjust every adapter to different positions, make the audio test more accurate.
In a possible design manner of the first aspect, the artificial mouth moving device includes a third slide rail, and the artificial mouth is slidably connected to the third slide rail. This design shows a specific structure of the artificial mouth moving device.
In a possible design manner of the first aspect, the audio testing device includes two artificial mouths, and the two artificial mouths are respectively arranged on two sides of the testing platform; the artificial mouth moving device comprises two third sliding rails, the two third sliding rails are arranged on the bottom plate of the test box, one artificial mouth is connected to one third sliding rail in a sliding mode, and the other artificial mouth is connected to the other third sliding rail in a sliding mode.
On this basis, through setting up two artifical mouths, independent position control can be carried out to two artifical mouths, is convenient for remove two artifical mouths to the different radio reception device (like microphone) annexes of the equipment that awaits measuring, and external vocal can be simulated to artifical mouth, and two artifical mouths make sound three-dimensional more, true, are favorable to promoting audio test's accuracy.
In a possible design manner of the first aspect, the second moving device includes a supporting plate, two fourth sliding rails and two fifth sliding rails, the two fourth sliding rails are disposed on the supporting plate, the supporting plate is rotatably connected to the bottom plate of the testing box, the two fourth sliding rails are arranged in parallel, the two fifth sliding rails are slidably disposed on the fourth sliding rails, the two fifth sliding rails are arranged in parallel, and the testing platform is disposed on the fifth sliding rails. This design shows a specific structure of the second moving means.
In a possible design manner of the first aspect, the test platform includes a plurality of fixing blocks, at least one fixing block is connected to each fifth slide rail in a sliding manner, and the fixing blocks are used for fixing the device to be tested. The design shows a specific structure of the test platform.
In a possible design manner of the first aspect, the test platform includes four fixing blocks, and each fifth sliding rail is connected with two fixing blocks in a sliding manner. This design shows one specific configuration of the test platform attached to the second mobile device.
In a possible design manner of the first aspect, the second moving device further includes a first lead screw rotating shaft and a second lead screw rotating shaft, the first lead screw rotating shaft is in threaded connection with the fifth slide rail, and the fifth slide rail is driven to slide on the fourth slide rail when the first lead screw rotating shaft rotates; the second screw rod is in threaded connection with the fixed block, and the fixed block is driven to slide on the fifth slide rail when the rotating shaft of the second screw rod rotates.
The design mode shows a specific structure for driving the second moving device to move, namely, the first screw rod and the second screw rod are arranged, the fifth slide rail and the fixed block are driven to move through the first screw rod and the second screw rod, the gudgeon fixed block can form a test platform, and the test platform can be driven to move along the fourth slide rail and/or the fifth slide rail through the first screw rod and the second screw rod.
In a possible design of the first aspect, a plurality of test cases are disposed in the case, and each test case is an independent test space. On this basis, through setting up a plurality of test casees, every test case is independent test space for every test case all can carry out independent audio test, makes the audio test equipment in this application embodiment can carry out audio test to a plurality of equipment under test simultaneously.
In a possible embodiment of the first aspect, a sound insulation mat is arranged in the test chamber. Through setting up the pad that gives sound insulation, be favorable to shielding external noise, avoid producing the interference to the audio test.
In a possible design manner of the first aspect, the image capturing apparatus includes two cameras, the two cameras are both disposed on the inner wall of the top of the test box, and the cameras are located above the device under test to acquire image information of the device under test.
On the basis, two cameras are arranged as image capturing devices, wherein one camera can be used for acquiring images of the device to be tested in the test box so as to position the device to be tested, and the other camera can be used for recording audio test processes in the test box. Through setting up two cameras in the top of the equipment that awaits measuring, be favorable to acquireing the general view picture of the equipment that awaits measuring.
In a second aspect, the present application provides an image recognition method, which is applied to the audio testing apparatus provided in the first aspect and any one of the possible design manners thereof, and includes:
acquiring an image of the equipment to be tested in the test box, wherein the image comprises a color corresponding to the test box and a color corresponding to the equipment to be tested; separating RGB three-channel information of an image to obtain three component information, wherein the three component information comprises R component information, G component information and B component information; and removing the component information with the difference degree lower than a preset threshold value from the three pieces of component information, and identifying different colors in the image based on the remaining component information.
On the basis, three different color channels in the RGB information of the image are separated, one or two component information with small influence on image identification is removed, the information amount needing to be processed in the image identification process is reduced, image identification is carried out through the residual component information, namely, the component information in one or two color channels is only adopted for carrying out color identification, the image identification speed is improved, the processing time is saved, and the identification efficiency is greatly improved.
In a possible design manner of the first aspect, after identifying different colors in the image based on the remaining component information, the method further includes: and determining the position information of the equipment to be tested in the test box based on different colors in the image.
On the basis, the device to be tested and the test box correspond to different colors in the image, so that the position of the device to be tested in the test box can be correspondingly determined by determining the positions of the different colors in the image.
In a possible design manner of the first aspect, determining the position information of the device under test in the test box based on different colors in the image includes:
the image also comprises preset coordinate system information, the coordinate information of the area formed by each color is determined according to the pixel size of the area formed by each color in the image, and the coordinate information of the equipment to be tested is determined according to the coordinate information of the area formed by the color corresponding to the equipment to be tested. The design mode provides a method for determining specific position information of the device to be tested in the test box.
In a third aspect, embodiments of the present application provide an electronic device, including a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the electronic device to perform the method according to the second aspect and any possible design thereof.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, where the computer-readable storage medium includes a stored program, where the program, when executed, controls an apparatus in which the computer-readable storage medium is located to perform the method according to the second aspect and any possible design manner thereof.
In a fifth aspect, embodiments of the present application provide a computer program product, which contains executable instructions that, when executed on a computer, cause the computer to perform the method according to the second aspect and any one of its possible design manners.
It should be understood that the advantages achieved by the electronic device provided by the third aspect, the computer-readable storage medium provided by the fourth aspect, and the computer program product provided by the fifth aspect may refer to the advantages of the second aspect and any possible design thereof, and therefore, the details are not described herein again.
Drawings
Fig. 1 is an external schematic view of an audio testing apparatus according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of an audio testing apparatus according to an embodiment of the present disclosure;
FIG. 3 is a front view of an audio test apparatus according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a sound pickup and a sound pickup moving device in an audio testing apparatus according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a lifting mechanism in an audio testing apparatus according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an artificial mouth and an artificial mouth moving device in an audio testing apparatus according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a test platform and a second mobile device in an audio test apparatus according to an embodiment of the present disclosure;
FIG. 8 is a schematic diagram illustrating pre-wallpaper in an audio test device according to an embodiment of the present application;
fig. 9 is a schematic flowchart of an image recognition method according to an embodiment of the present application.
In the figure: 10-a box body; 11-sound insulation pad; 20-a test box; 30-an industrial personal computer; 40-an image capture device; 41-positioning a camera; 42-recording camera; 50-a sound pick-up; 60-artificial mouth; 70-a first mobile device; 71-a first slide rail; 72-a second slide rail; 73-a lifting mechanism; 731-telescopic rod base; 732-a telescopic rod guide rod; 733-telescopic rod; 734-a drive motor; 735-a sound-collecting cover; 74-a third slide rail; 80-a second mobile device; 81-a support plate; 82-a fourth slide rail; 83-a fifth slide rail; 84-a first lead screw; 85-a second screw rod; 86-a first rotating handle; 87-a second rotating handle; 88-a support block; 90-test platform; 91-fixing block; 92-Flexible pad.
Detailed Description
The technical solution in the present application will be described below with reference to the accompanying drawings.
In the embodiments of the present application, words such as "exemplary" or "for example" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the embodiments of the present application, the terms "first", "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature.
It is to be understood that the terminology used in the description of the various described examples herein is for the purpose of describing particular examples only and is not intended to be limiting. As used in the description of the various illustrated examples, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
In the present application, "at least one" means one or more, "a plurality" means two or more. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of the singular or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, a-b, a-c, b-c or a-b-c, wherein a, b and c can be single or multiple.
It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items. The term "and/or" is an associative relationship that describes an associated object, meaning that three relationships may exist, e.g., A and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" in the present application generally indicates that the former and latter related objects are in an "or" relationship.
It is also to be understood that, in the present application, unless otherwise explicitly specified or limited, the term "coupled" is to be interpreted broadly, e.g., "coupled" may be a fixed connection, a sliding connection, a removable connection, an integral part, or the like; may be directly connected or indirectly connected through an intermediate.
It will be further understood that the terms "comprises," "comprising," "includes," and/or "including," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should be appreciated that reference throughout this specification to "one embodiment," "another embodiment," "one possible design" means that a particular feature, structure, or characteristic described in connection with the embodiment or implementation is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment of the present application" or "in another embodiment of the present application" or "in one possible design" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
Terminal equipment (such as mobile phones and flat panels) has become a necessity of daily life, and generally, electroacoustic devices such as speakers, receivers and microphones are installed in the terminal equipment, and in the process of large-scale production of the terminal equipment, in order to ensure the audio performance of the electroacoustic devices, audio testing is performed on the electroacoustic devices.
When the existing audio test equipment is used for testing terminal equipment, the equipment to be tested is generally placed in the audio test equipment, and when the equipment to be tested is placed, the position of the equipment to be tested in the audio test equipment needs to be manually adjusted, so that the position of the equipment to be tested cannot be automatically adjusted; and when placing the equipment to be tested, need be according to fixed orientation or place the requirement, place the equipment to be tested in the centre gripping equipment in audio test equipment, and place the equipment to be tested after, can't carry out position control to the equipment to be tested when testing. In addition, the audio test devices such as the sound pick-up and the artificial mouth in the existing audio test equipment generally need manual adjustment, and cannot automatically adjust according to the position of the equipment to be tested and the test effect to be realized in the test process, so that in the test process, manual adjustment is basically needed, the test is troublesome, and the efficiency is low.
The problem of current audio test equipment need manual regulation adapter, artifical audio test device such as mouth to and need place the equipment under test and need the position of manual regulation equipment under test in audio test equipment according to certain requirement (for example orientation, equipment under test need with aim at piece alignment etc.) is solved. The embodiment of the application provides an audio test equipment, will await measuring the equipment place audio test equipment in corresponding place the district can, put not do the restriction to the position when placing, but also can discern the position of awaiting measuring equipment through image recognition device to treat the position of equipment and test equipment's such as adapter, artifical mouth position carry out automatic adjustment.
Referring to fig. 1, fig. 1 is an appearance schematic diagram of an audio testing apparatus provided in an embodiment of the present application, and fig. 2 is a structural schematic diagram of an audio testing apparatus provided in an embodiment of the present application. As shown in fig. 1 and 2, the audio test apparatus includes a case 10, and the case 10 is a main body support structure of the audio test apparatus. The box 10 is provided with a test box 20 and an industrial personal computer 30, wherein the box 10 may further include an industrial personal computer case (not shown in the figure) for placing the industrial personal computer 30. One or more test cases 20 may be disposed in the case 10, each test case 20 is an independent space, and the layout in each test case 20 may be the same. A data line interface or a hole through which a data line passes may be provided between the test box 20 and the industrial control cabinet so as to communicate the industrial control computer 30 with the devices of the test box 20. The test box 20 is provided with an image capturing device 40, an audio testing device, a test platform 90, a second moving device 80 and a first moving device 70. The industrial personal computer 30 is electrically connected with the image capturing device 40, the second moving device 80 and the first moving device 70 in the test box 20, the industrial personal computer 30 is electrically connected with the image capturing device 40, the industrial personal computer 30 can receive image information acquired by the image capturing device 40, the industrial personal computer 30 can generate a control instruction according to the received image information, the industrial personal computer 30 is electrically connected with the second moving device 80 and the first moving device 70, and the control instruction generated by the industrial personal computer 30 can be sent to the second moving device 80 and/or the first moving device 70 to control the second moving device 80 and/or the first moving device 70 to move.
The image capturing device 40 is mainly used for acquiring the position information of the device to be tested located in the test box 20 and then sending the position information to the industrial personal computer 30, and the industrial personal computer 30 analyzes the position information of the device to be tested to adjust the audio testing device and the device to be tested to proper positions, so that the audio testing of the device to be tested is realized. The image capturing apparatus 40 may employ an image capturing device such as a camera or a video camera. In order to clearly capture the image information of the device under test, the image capturing device 40 is generally installed in the testing box 20 when the image capturing device 40 is installed, and specifically, the image capturing device 40 may be installed on the top of the testing box 20, so that the image capturing device 40 can obtain a good view angle in the testing box 20, so as to better acquire the position information of the device under test. Of course, the image capturing device 40 may be disposed on the inner wall of the testing box 20, for example, at a position near the top of the inner wall of the testing box 20, or at the middle of the inner wall of the testing box 20, and the position of the image capturing device 40 is not limited in this embodiment, and the position may be set to obtain the position information of the device under test in the testing box 20.
Fig. 3 is a front view of an audio test apparatus according to an embodiment of the present application. As shown in fig. 3, when the image capturing device 40 is provided, taking a camera as an example for explanation, two cameras may be provided in the test box 20, one camera is used for acquiring the position information of the device under test, and may be called a positioning camera 41, and the position information acquired by the positioning camera 41 is sent to the industrial personal computer 30; the other camera is used for recording the test process of the device to be tested in real time, and may be called a recording camera 42, and when an abnormality occurs in the test process or the device to be tested is tested to be abnormal, the positioning may be performed according to the video of the recording camera 42, so as to determine the corresponding problem more quickly.
The test platform 90 is mainly used for placing or fixing the device under test, so that the device under test is kept in a stable state in the test box 20. Test platform 90 is disposed within test chamber 20, and is generally disposed at the bottom of test chamber 20 for receiving devices under test. The testing platform 90 may be an integrally formed platform, for example, the testing platform 90 may be a whole flat plate with a placing slot disposed at the bottom of the testing box 20, and when the audio test is required, the device to be tested is placed in the placing slot of the flat plate. The test platform 90 may also be a platform formed of multiple components or a clamping platform, for example, a clamping platform formed of multiple fixing blocks 91.
Because the device to be tested is placed on the test platform 90, in order to adjust the position of the device to be tested, the position of the test platform 90 can be adjusted to drive the device to be tested to move so as to adjust the position of the device to be tested. In order to achieve this function, the second moving device 80 is disposed in the testing box 20, and the second moving device 80 is mainly used for moving the testing platform 90. Specifically, the test platform 90 is arranged on the second mobile device 80, and the industrial personal computer 30 controls the second mobile device 80 to move, so that the test platform 90 can be driven to move on the second mobile device 80, and position adjustment of the equipment to be tested on the test platform 90 is achieved.
The audio test device refers to a device for performing audio collection on a device to be tested or generating corresponding audio during an audio test process, for example, the audio test device may include a sound pickup 50, an artificial mouth 60, and the like. The sound pickup 50 is mainly used for collecting audio information sent by the device to be tested, and whether the audio sounding function of the device to be tested is normal can be judged by analyzing the obtained audio information. The artificial mouth 60 may generate corresponding test audio as required for testing the device under test. Audio test equipment is typically located near the device under test to test the device under test.
In the testing process, since the position of the device under test can be adjusted by the second moving device 80, that is, the position of the device under test in the testing box 20 is not fixed, in order to make the audio testing device better cooperate with the device under test, a good testing effect can be obtained. In the embodiment of the present application, the first moving device 70 is provided, and the first moving device 70 may be disposed on an inner wall of the test box 20, generally on the bottom or a side wall of the test box 20. The audio testing device is arranged on the first mobile device 70, the industrial personal computer 30 controls the first mobile device 70, and the first mobile device 70 is used for driving the audio testing device to move, so that the audio testing device can keep the optimal distance from the equipment to be tested, and audio collection can be conveniently carried out.
It should be noted that the audio testing apparatus in the embodiment of the present application may include one testing box 20 or a plurality of testing boxes 20 and at least one industrial personal computer 30, each testing box 20 is provided therein with an image capturing device 40, an audio testing device, a testing platform 90, a second moving device 80 and a first moving device 70, wherein the testing platform 90 is provided on the second moving device 80, the audio testing device is provided on the first moving device 70, and the image capturing device 40, the second moving device 80 and the first moving device 70 in each testing box 20 are electrically connected to the industrial personal computer 30. The layout and size of each test box 20 may be the same or different, and may be determined according to the design requirements of the audio test equipment.
As shown in fig. 2 and fig. 3, a box 10 of the audio testing apparatus provided in the embodiment of the present application includes two testing boxes 20 and an industrial personal computer 30 disposed in a main box of a main chassis, and the industrial personal computer 30 in the main chassis is connected to corresponding devices in the two testing boxes 20 through a connecting line. In the embodiment of the present application, as shown in fig. 2, two test boxes 20 are arranged side by side on one side of the box 10, the main box is arranged on the other side of the box 10, a serial slot is arranged between the main box and the test boxes 20, and a connection line can pass through the serial slot to connect the industrial personal computer 30 in the main box with the second mobile device 80 and the first mobile device 70 in the test boxes 20.
For convenience of description, the test box 20 on the left side in fig. 2 and 3 is referred to as a first test box 20, and the test box 20 on the right side in fig. 2 is referred to as a second test box 20. In the embodiment of the present application, the two test boxes 20 have the same size, and the layout in the two test boxes 20 is also the same, and in the embodiment of the present application, the first test box 20 is taken as an example to describe the layout in the first test box 20 and the second test box 20.
As shown in fig. 2 and 3, the audio testing apparatus in the first testing box 20 includes a sound pickup 50 and an artificial mouth 60, the second moving means 80 in the first testing box 20 is disposed on the bottom plate of the first testing box 20, and the testing platform 90 is disposed on the second moving means 80. The first moving means 70 is used to move the audio testing apparatus, and since the audio testing apparatus includes the microphone 50 and the artificial mouth 60, the first moving means 70 includes a microphone moving means and an artificial mouth moving means. Wherein, adapter 50 sets up on adapter mobile device, and adapter mobile device can drive adapter 50 and remove, and industrial computer 30 carries out the electricity with adapter mobile device and is connected, and industrial computer 30 can generate corresponding control command and send adapter mobile device according to the image information that image capture device 40 obtained to control adapter mobile device's removal, thereby control the position of adapter 50 in test box 20. Artifical mouth 60 sets up on artifical mouth mobile device, and artifical mouth mobile device can drive artifical mouth 60 and remove, and industrial computer 30 carries out the electricity with artifical mouth mobile device and is connected, and industrial computer 30 can generate corresponding control command and send artifical mouth mobile device according to the image information that image capture device 40 obtained to control artifical mouth mobile device's removal, thereby control the position of artifical mouth 60 in test box 20.
In the embodiment of the present application, in order to perform better audio test on the device to be tested, the sound pickup 50 is disposed above the testing platform 90, the manual mouth 60 is disposed on the side of the testing platform 90, correspondingly, the sound pickup moving device is disposed on the top of the first testing box 20, the manual mouth moving device is disposed on the bottom plate of the first testing box 20, and the manual mouth moving device is disposed on one side of the second moving device 80.
Fig. 4 is a schematic structural diagram of a sound pickup 50 and a sound pickup moving device in an audio test apparatus according to an embodiment of the present disclosure. As shown in fig. 4, the pickup moving device includes a first slide rail 71, a second slide rail 72, and a lifting mechanism 73, wherein the first slide rail 71 is fixedly connected to the top of the first testing box 20, the second slide rail 72 is slidably connected to the first slide rail 71, the second slide rail 72 can slide along the first slide rail 71, the bottom end of the lifting mechanism 73 is slidably connected to the second slide rail 72, and the lifting mechanism 73 can slide along the second slide rail 72. Pickup 50 fixed connection is on elevating system 73's top, and industrial computer 30 can control elevating system 73's lift to the drive is located the pickup 50 on elevating system 73 top and goes up and down, adjusts the height of pickup 50 in test box 20, thereby adjusts the relation between pickup 50 and the equipment that awaits measuring. In the embodiment of the present application, the direction of the first slide rail 71 is defined as a first direction, the direction of the second slide rail 72 is defined as a second direction, and the lifting direction of the lifting mechanism 73 is defined as a third direction.
The number of the first slide rails 71 and the second slide rails 72 can be set according to the requirement, for example, only one first slide rail 71 and one second slide rail 72 can be provided, and in order to keep stability, the central part of the second slide rail 72 can be connected to the first slide rail 71, and then the lifting mechanism 73 can be connected to the second slide rail 72 in a sliding manner. Two first slide rails 71 can be arranged, then one second slide rail 72 is arranged, in order to keep stability, the two first slide rails 71 can be arranged in parallel, then two ends of the second slide rail 72 are respectively connected to the two first slide rails 71 in a sliding manner, then the lifting mechanism 73 is connected to the second slide rail 72 in a sliding manner, one lifting mechanism 73 can be arranged on one second slide rail 72, and a plurality of lifting mechanisms 73 can also be arranged, and the setting can be specifically carried out according to the test requirements.
In the embodiment of the present application, in order to achieve a better test effect, two microphones 50 are provided in the test box 20, and in order to independently adjust the motion of each microphone 50, the microphone moving device includes two first slide rails 71, two second slide rails 72, and two lifting mechanisms 73. Specifically, two first slide rails 71 are fixedly connected to the top of the test box 20, wherein the two first slide rails 71 are arranged in parallel, two ends of the second slide rail 72 are respectively slidably connected to the two first slide rails 71, the two second slide rails 72 are also arranged in parallel, and an area enclosed by the two first slide rails 71 and the two second slide rails 72 is a parallelogram. The two lifting mechanisms 73 are respectively connected to the two second slide rails 72, and each lifting mechanism 73 is connected to one sound pickup 50. The industrial personal computer 30 can independently control each second sliding rail 72 to slide on the first sliding rail 71, can independently control each lifting mechanism 73 to slide on the second sliding rail 72, and can also independently control the lifting condition of each lifting mechanism 73.
The above is only a specific setting case of the microphone moving device when two microphones 50 need to be set. Furthermore, it can be set that: three first slide rails 71 are arranged at the top of the test box 20 in parallel, a second slide rail 72 is arranged between two adjacent first slide rails 71, and two ends of two second slide rails 72 are respectively connected to the first slide rails 71 in a sliding manner, that is, the two second slide rails 72 can be adjusted to be on the same straight line. Then, a lifting mechanism 73 is connected to each second slide rail 72, and a pickup 50 is connected to each lifting mechanism 73. Since the industrial personal computer 30 can independently control each second slide rail 72 to move on the first slide rail 71, each lifting mechanism 73 to move on the second slide rail 72, and each lifting mechanism 73 to lift, the position adjustment of each sound pickup 50 can be independently controlled by the form. In the embodiment of the present application, the specific setting form of the sound pickup moving device is not limited, and the sound pickup moving device may be set according to the test requirements.
The first slide rail 71 may be provided with a linear motor, and the second slide rail 72 may also be provided with a linear motor, which is an existing transmission device that directly converts electric energy into linear motion mechanical energy without any intermediate conversion mechanism. The linear motor in the first slide rail 71 can drive the second slide rail 72 slidably connected to the first slide rail 71 to slide along the first slide rail 71, and the linear motor in the second slide rail 72 can drive the lifting mechanism 73 slidably connected to the second slide rail 72 to slide along the second slide rail 72. The number of the linear motors in the first slide rail 71 and the second slide rail 72 can be matched with a specific arrangement form, for example, when two second slide rails 72 are connected to one first slide rail 71, two linear motors can be arranged on the first slide rail 71. For another example, when two lifting mechanisms 73 are connected to one second slide rail 72, two linear motors may be provided on the second slide rail 72. The industrial personal computer 30 is electrically connected with the linear motors in the first sliding rail 71 and the second sliding rail 72 respectively to control the motion of the linear motors, so that the linear motors in the first sliding rail 71 are controlled to drive the second sliding rail 72 to slide, and the linear motors in the second sliding rail 72 are controlled to drive the lifting mechanism 73 to slide. The lifting mechanism 73 may be in the form of an expansion rod, specifically, an air expansion rod or an electric expansion rod, etc., in the embodiment of the present application, an electric expansion rod is used as the lifting mechanism 73, and the lifting mechanism 73 in the embodiment of the present application is described below.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a lifting mechanism 73 in an audio testing apparatus according to an embodiment of the present disclosure. As shown in fig. 5, the lifting mechanism 73 is an electric telescopic rod, and includes a telescopic rod base 731, a telescopic rod guide bar 732, a telescopic rod 733, and a driving motor 734, wherein the driving motor 734 is electrically connected to the industrial personal computer 30, so that the industrial personal computer 30 can control the working state of the driving motor 734, including controlling the states of the driving motor 734, such as rotation, stop, rotation speed, and rotation direction. One end of the telescopic rod guide bar 732 is connected to the telescopic rod base 731, the telescopic rod guide bar 732 is hollow inside, the telescopic rod 733 is inserted into the telescopic rod guide bar 732 from the other end of the telescopic rod guide bar 732, one end of the telescopic rod 733 is exposed out of the telescopic rod guide bar 732, the driving motor 734 is also fixedly connected to the telescopic rod base 731, the telescopic rod and the motor rotating shaft are connected through a transmission piece, and the transmission piece can comprise a gear, a clutch, a brake, a screw, a nut and the like. The specific transmission connection inside the electric telescopic rod can refer to the electric telescopic rod in the prior art, the electric telescopic rod in the embodiment of the present application can directly adopt the electric telescopic rod in the prior art, the above description is one form of the electric telescopic rod, and the specific form of the electric telescopic rod in the embodiment of the present application is not limited. The existing electric telescopic rod is a transmission actuating mechanism which is beneficial to the rotation of a motor and drives a bearing through the cooperation between gears to push a trapezoidal thread screw rod to realize telescopic motion in a short distance.
Adapter 50 in the embodiment of the application connects the one end at the telescopic link, this end exposes the outer one end of telescopic link guide arm 732 for the telescopic link, industrial computer 30 can control the flexible of telescopic link through the rotation of control motor (turn to, rotational speed and rotation time etc.), thereby it moves to drive adapter 50 of connecting on the telescopic link, adjust adapter 50 promptly and move in the third direction, in order to adjust the position of adapter 50 in test box 20, make adapter 50 and the equipment that awaits measuring that is located on test platform 90 keep suitable distance between, so that accurately obtain the audio information that the equipment that awaits measuring sent. In addition, the one end that is connected with adapter 50 at the telescopic link can also set up pickup cover 735, and pickup cover 735 sets up in the outside of adapter 50, and pickup cover 735 can play the effect of protection adapter 50. The sound collecting cover 735 may be shaped like a horn, a sphere, an ellipsoid, or other shapes.
Telescopic link base 731 fixed connection among elevating system 73 is on second slide rail 72 for telescopic link base 731 can slide along second slide rail 72, thereby drive whole elevating system 73 and slide along second slide rail 72, because adapter 50 sets up on elevating system 73, consequently, adapter 50 also can slide along second slide rail 72 along elevating system 73, can adjust adapter 50 and move on the second direction, thereby realize carrying out position control to adapter 50. Since the second slide rail 72 is slidably connected to the first slide rail 71, it can be obtained in the same way that the sound pickup 50 can be adjusted to move along the first slide rail 71, that is, to move in the first direction, and therefore, the sound pickup 50 in the embodiment of the present application can simultaneously achieve position adjustment in the first direction, the second direction, and the third direction, that is, the position of the sound pickup 50 in the test box 20 can be adjusted according to the test requirement.
Referring to fig. 6, fig. 6 is a schematic structural diagram of an artificial mouth 60 and an artificial mouth moving device in an audio testing apparatus according to an embodiment of the present disclosure. As shown in fig. 6, the artificial mouth 60 is fixed to the artificial mouth moving device, wherein the artificial mouth moving device includes a third slide rail 74, the third slide rail 74 is disposed at the bottom of the test box 20, the third slide rail 74 is disposed beside the second moving device 80, and the third slide rail 74 may be disposed along the first direction or the second direction. The artificial nozzle 60 is slidably connected to the third slide rail 74, wherein the third slide rail 74 may be provided with the above-mentioned linear motor, and the linear motor may drive the artificial nozzle 60 disposed in the third slide rail 74 to slide along the third slide rail 74. The linear motor in the third slide rail 74 is also electrically connected to the industrial personal computer 30, and the industrial personal computer 30 can control the motion of the linear motor in the third slide rail 74, so as to control the manual nozzle 60 arranged in the third slide rail 74 to slide along the third slide rail 74, i.e., control the manual nozzle 60 to move along the first direction or the second direction. By adjusting the sliding of the artificial nozzle 60 on the third slide rail 74, the position of the artificial nozzle 60 in the test box 20 can be adjusted, so that the position between the artificial nozzle 60 and the device to be tested can be adjusted according to the test requirements, and more accurate test can be realized.
In addition, a plurality of artificial nozzles 60 and artificial nozzle moving means may be provided in the test box 20, and the number of artificial nozzles 60 matches the number of artificial nozzle moving means. For example, in the embodiment of the present application, two artificial nozzles 60 and two artificial nozzle moving devices are provided in the test box 20. As shown in fig. 6, the two artificial mouth moving devices are respectively disposed at two sides of the second moving device 80, the two artificial mouths 60 are respectively connected to the two artificial mouth moving devices in a sliding manner, and when performing an audio test, the two artificial mouths 60 are respectively located at two sides of the device under test. The industrial personal computer 30 can independently adjust the two artificial mouth moving devices, so that the distance between the two artificial mouths 60 and the equipment to be tested can be adjusted. Generally speaking, the artificial mouth moving devices may be symmetrically distributed on both sides of the second moving device 80, and during audio testing, the industrial personal computer 30 may adjust the two artificial mouths 60 to perform position adjustment synchronously, so that the two artificial mouths 60 are symmetrically located on both sides of the device to be tested, so as to obtain a better audio testing effect.
In the embodiment of the application, besides the position of the audio test device can be adjusted, the position of the device to be tested can also be directly adjusted. Referring to fig. 7, fig. 7 is a schematic structural diagram of a test platform 90 and a second mobile device 80 in an audio test apparatus according to an embodiment of the present disclosure. As shown in fig. 7, the testing platform 90 is disposed on the second moving device 80, and the testing platform 90 can move on the second moving device 80 to move the device under test placed on the testing platform 90. The specific structures of the second moving device 80 and the test platform 90 will be described below.
As shown in fig. 7, the second moving device 80 includes a supporting plate 81, a fourth sliding rail 82 and a fifth sliding rail 83, wherein the supporting plate 81 is disposed on the bottom plate of the testing box 20, the fourth sliding rail 82 is fixedly connected to the supporting plate 81, the fifth sliding rail 83 is slidably connected to the fourth sliding rail 82, and the fifth sliding rail 83 can slide along the fourth sliding rail 82. The testing platform 90 is slidably connected to the fifth slide rail 83, and the testing platform 90 can slide along the fifth slide rail 83. The supporting plate 81 may be fixedly connected to the bottom plate of the testing box 20, or may be rotatably connected to the bottom plate of the testing box 20. In this embodiment, the supporting plate 81 is rotatably connected to the bottom plate of the testing box 20, and the supporting plate 81 and the bottom plate of the testing box 20 can be connected through a bearing to realize the rotation connection. When the device to be tested is placed on the test platform 90, the device to be tested can be driven to rotate by rotating the support plate 81, so that the placing direction of the device to be tested in the test box 20 can be adjusted. When using the audio test equipment as provided in the embodiment of the present application, because can adjust test platform 90's orientation through rotating backup pad 81, consequently, when placing test platform 90 with the equipment to be tested, can place the equipment to be tested on test platform 90 according to arbitrary orientation, compare in traditional audio test equipment and need place according to certain fixed direction when placing the equipment to be tested, audio test equipment in the embodiment of the present application, can be so that when carrying out audio test, the efficiency of placing the equipment to be tested in audio test equipment improves greatly.
In the embodiment of the application, the rotation of the supporting plate 81 can be manually controlled, and the rotation of the supporting plate 81 can be controlled by the industrial personal computer 30, so that automatic control is realized. For example, by providing a rotating shaft on the bottom plate of the testing box 20, the supporting plate 81 is rotatably connected to the rotating shaft, and the supporting plate 81 and the rotating shaft can be connected through a bearing. If the rotation of the supporting plate 81 needs to be manually controlled, the supporting plate 81 can be manually shifted, so that the supporting plate 81 rotates around the rotating shaft.
If need rotate through industrial computer 30 control backup pad 81, can set up a motor on the bottom plate of test box 20, this motor passes through the industrial computer and controls, and the output shaft and the backup pad 81 transmission of motor are connected. For example, a driven gear having a center coinciding with a center of the rotation shaft may be provided on the support plate 81, and a driving gear engaged with the driven gear may be provided on an output shaft of the motor. When the industrial personal computer 30 controls the motor to rotate, the motor controls the supporting plate 81 to rotate through gear transmission. It should be noted that the transmission form between the motor and the supporting plate 81 is not limited to gear transmission, and may be transmission by belt transmission, chain transmission, or the like. In addition, the industrial personal computer 30 can also control the rotation of the supporting plate 81 by controlling the movement of other power devices, for example, the industrial personal computer 30 can control the extension and retraction of one telescopic cylinder, and the support plate 81 is driven to rotate by the extension and retraction of the telescopic cylinder. The embodiment of the application does not limit the specific implementation mode of the industrial personal computer 30 for controlling the rotation of the supporting plate 81, and each implementation mode can realize that the industrial personal computer 30 controls the supporting plate 81 to rotate automatically.
In this application embodiment, through the rotation of industrial computer 30 control backup pad 81, can realize that industrial computer 30 control places the rotation of the equipment that awaits measuring on test platform to can realize carrying out the in-process of audio frequency test, also can control the rotation of the equipment that awaits measuring, playback, radio reception effect when can realize the equipment that awaits measuring different positions are tested. For example, when the device to be tested is a mobile phone, and the audio test position of a sound pick-up, an artificial mouth and the like is unchanged, the positions of a loudspeaker, a receiver and a microphone of the mobile phone can be adjusted by rotating the mobile phone, so that the sound receiving and playing effects of the mobile phone in different directions can be tested, and more comprehensive audio test can be realized.
The number of the fourth slide rail 82 and the fifth slide rail 83 in the second moving device 80 can be set according to actual requirements, in this embodiment of the application, as shown in fig. 7, the fourth slide rail 82 and the fifth slide rail 83 are both provided with two, wherein the two fourth slide rails 82 are fixedly disposed on the supporting plate 81, the two fourth slide rails 82 are arranged in parallel, the two fifth slide rails 83 are all connected to the two fourth slide rails 82 in a sliding manner, wherein two ends of the fifth slide rail 83 are respectively connected to the two fourth slide rails 82 in a sliding manner, the two fifth slide rails 83 are arranged in parallel, in addition, an included angle between the fifth slide rail 83 and the fourth slide rail 82 can be set, and the included angle is equal to the included angle between the first slide rail 71 and the second slide rail 72. A linear motor is arranged in the fourth slide rail 82, two ends of the fifth slide rail 83 are respectively connected to the linear motors in the two fourth slide rails 82, and the linear motors in the fourth slide rails 82 are used for driving the fifth slide rail 83 to slide along the fourth slide rails 82. A linear motor may also be disposed in the fifth slide rail 83, the testing platform 90 is connected to the linear motor in the fifth slide rail 83, and the linear motor in the fifth slide rail 83 may be used to drive the testing platform 90 to slide along the fifth slide rail 83. When the fifth slide rail 83 moves along the fourth slide rail 82, the test platform 90 on the fifth slide rail 83 can also be driven to move along the fourth slide rail 82.
The test platform 90 in the embodiment of the present application may be an integrally formed platform, or may be a platform composed of a plurality of fixing blocks 91. For example, the test platform 90 is a flat plate on which the device under test can be directly placed when performing the test. When the test platform 90 is composed of the plurality of fixing blocks 91, the device under test may be fixed by using the clamping force between the plurality of fixing blocks 91. Specifically, the test platform 90 in the embodiment includes four fixing blocks 91, wherein every two fixing blocks 91 are slidably connected to one fifth slide rail 83. One placing table is arranged at one corner of each fixing block 91, when the device to be tested is clamped, the four corners of the device to be tested can be placed on the four placing tables of the four fixing blocks 91 respectively, and then the positions of the fixing blocks 91 are adjusted, so that the four fixing blocks 91 can clamp the device to be tested. In order to prevent the device to be tested from being damaged in the clamping process, a flexible pad 92 can be arranged on each placing table to prevent scratches between the fixing block 91 and the device to be tested.
The above embodiment describes the manner in which the linear motors are disposed in the fourth slide rail 82 and the fifth slide rail 83 to control the sliding, and the control of the movement of the second moving device 80 can also be realized by other structures. As shown in fig. 6, a bottom plate of the test box 20 is provided with a rotary table, the support plate 81 is rotatably connected to the rotary table, two fourth slide rails 82 are fixedly connected to the support plate 81, the two fourth slide rails 82 are parallel to each other, the fourth slide rails 82 are provided with two fifth slide rails 83, wherein two ends of each fifth slide rail 83 are respectively slidably connected to the two fourth slide rails 82, the two fifth slide rails 83 are also parallel to each other, each fifth slide rail 83 is slidably connected to two fixed blocks 91, and the four fixed blocks 91 on the two fifth slide rails 83 form the test platform 90 in the embodiment of the present application.
In order to control the movement of the fifth sliding rail 83 and the fixing block 91, in this embodiment, a plurality of supporting blocks 88 are disposed on the supporting plate 81, and the supporting blocks 88 are disposed as close as possible to the edge of the supporting plate 81, so that more movement space can be reserved to ensure the normal sliding of the fifth sliding rail 83 and the fixing block 91. In order to control the movement of the fifth slide rail 83 and the fixed block 91, the second moving device 80 further includes a first lead screw 84 and a second lead screw 85, wherein the first lead screw 84 is in threaded connection with the fifth slide rail 83, the first lead screw 84 is rotatably connected with a supporting block 88, the supporting block 88 is mainly used for supporting the first lead screw 84, and the first lead screw 84 and the fourth slide rail 82 are arranged in parallel. When the first lead screw 84 rotates, because the first lead screw 84 is rotatably connected with the fifth slide rail 83, the first lead screw 84 can drive the fifth slide rail 83 to move on the fourth slide rail 82, and the movement direction of the fifth slide rail 83 can be controlled by controlling the rotation direction of the first lead screw 84.
Similarly, the second lead screw 85 is in threaded connection with the fixed block 91, a supporting block 88 is arranged on the fifth slide rail 83, the second lead screw 85 is rotatably connected with the supporting block 88 on the fifth slide rail 83, and the second lead screw 85 is arranged in parallel with the fifth slide rail 83. When the second screw rod 85 is rotated, the second screw rod 85 is rotatably connected with the fixing block 91, so that the fixing block 91 can be driven by the second screw rod 85 to move on the fifth slide rail, and the moving direction of the fixing block 91 can be controlled by controlling the rotating direction of the second screw rod 85. The lead screws on the four fixed blocks 91 are controlled respectively, so that the four fixed blocks 91 can be controlled to move respectively, the device to be tested is clamped, the position of the device to be tested on the fifth slide rail 83 can be controlled, and the device to be tested can be adjusted to move along the fifth slide rail 83. Each first screw rod 84 and each second screw rod 85 are in transmission connection with a motor, and each motor is connected with the industrial personal computer 30, so that the rotation of each motor can be controlled through the industrial personal computer 30, the movement of the fifth slide rail 83 and the movement of each fixed block 91 are controlled, and the position of the device to be tested in the test box 20 is adjusted through the industrial personal computer 30.
In addition, a first rotating handle 86 can be arranged on the first screw rod 84, and the first rotating handle 86 can be rotated by hand or the first rotating handle 86 is in transmission connection with a motor; a second rotating handle 87 can also be arranged on the second screw rod 85, and the second rotating handle 87 can be rotated by hand or the second rotating handle 87 can be in transmission connection with a motor. When the first rotating handle 86 is in transmission connection with the motor and the second rotating handle 87 is also in transmission connection with the motor, the industrial personal computer can be used for controlling the motors connected with the first rotating handle 86 and the second rotating handle 87, and the industrial personal computer can be used for controlling the movement of the second mobile device. When the first rotating handle 86 and the second rotating handle 87 are not in transmission connection with the motor, the first rotating handle 86 and the second rotating handle 87 can be rotated in a manual control mode, namely, the fixing of the device to be tested and the movement of the device to be tested are manually controlled. Of course, the first rotating handle 86 can also be connected with a motor and controlled to rotate by an industrial personal computer; the second rotating handle 87 is not connected with the motor, then the second rotating handle 87 is manually controlled to rotate, namely, after the mobile phone is placed on the fixing block 91, the fixing block 91 is manually controlled to clamp the mobile phone, and then the mobile phone is controlled and adjusted to move through the industrial personal computer.
The industrial personal computer 30 in this embodiment of the application can control the sound pickup 50 to move in the sound pickup moving device along the first direction, the second direction, and the third direction, can also control the artificial mouth 60 to move on the artificial mouth moving device along the first direction or the second direction, and can also control the test platform 90 on which the device to be tested is placed to slide along the sliding rail in the second moving device 80. The industrial personal computer 30 mainly adjusts the positions of the audio test equipment and the equipment to be tested in the test box 20 according to the information acquired by the image capturing device 40, the image capturing device 40 mainly acquires the information such as the position of the equipment to be tested in the test box 20 and the orientation of the test equipment, and the devices such as the sound pickup 50 and the artificial mouth 60 can be adjusted to keep a proper distance from the area to be tested of the equipment to be tested according to the position information and the orientation information of the equipment to be tested.
The device to be tested in this embodiment may be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a Personal Digital Assistant (PDA), an Augmented Reality (AR) device, a Virtual Reality (VR) device, an Artificial Intelligence (AI) device, a wearable device, an intelligent home device, and/or an intelligent city device, and the specific type of the electronic device is not particularly limited in this embodiment.
In the embodiment of the present application, a method for recognizing information such as a position and an orientation of a device under test by the image capturing apparatus 40 and a control flow of the sound pickup 50, the artificial mouth 60 and the device under test after the industrial personal computer 30 acquires image information acquired by the image capturing apparatus 40 will be described by taking a device under test as a mobile phone and the image capturing apparatus 40 as an example.
Fig. 8 is a schematic diagram of pre-wallpaper in an audio test apparatus according to an embodiment of the present application. The device to be tested is a full-screen mobile phone, the mobile phone comprises a display screen, a receiver, a loudspeaker and other parts, and the receiver and the loudspeaker are generally provided with holes from the side edge of the mobile phone. When viewed from a top view, an area of the mobile phone corresponding to the earphone and the screen display area is an earphone area, an area of the mobile phone corresponding to the loudspeaker and the screen display area is a loudspeaker area, when detecting, a preset wallpaper is set for the mobile phone, as shown in fig. 8, the part of the wallpaper corresponding to the earphone area is a first color, the part of the wallpaper corresponding to the loudspeaker area is a second color, and other areas of the wallpaper are third colors. The first color, the second color and the third color are different colors, namely, any two colors have a larger difference. For example, the first color is green, the second eye color is blue, and the third color is red.
The image capturing device 40 in the embodiment of the present application is mainly used for acquiring image information of a device to be tested in the test box 20, and then transmitting the image information to the industrial personal computer 30, after the industrial personal computer 30 processes the image information through an image processing algorithm, the position, coordinate information and the like of the device to be tested in the test box 20 are determined, and then according to the position of the device to be tested in the test box 20, the initial position of the sound pickup 50, and the initial position of the artificial mouth 60, a corresponding movement adjusting instruction is sent to the sound pickup moving device, the artificial mouth moving device and the second moving device 80, and the sound pickup 50, the artificial mouth 60 and the device to be tested are adjusted to keep appropriate positions, so as to perform audio testing.
It should be noted that the industrial personal computer 30 in the embodiment of the present application is a generic term for a tool that detects and controls each electromechanical device in the audio test device. The industrial computer 30 has important computer attributes and features, for example, the industrial computer 30 may include, for example: the computer has a computer CPU, a hard disk, a memory, peripherals and interfaces, a real-time operating system, a control network and protocol, computing capability, a friendly human-computer interface and the like.
When the audio test equipment provided by the embodiment of the application performs audio test on the equipment to be tested, the position of the mobile phone is identified through the camera, so that the position of the mobile phone in the test box 20 can be identified more accurately and rapidly, the color in the test box 20 can be set, so that the color inside the test box 20 and the color displayed on the screen of the mobile phone are different colors, namely, the color displayed on the screen of the mobile phone and the background color (the color inside the test box 20) are different greatly, and the camera can acquire the picture with a clear boundary formed by the mobile phone and the test box 20.
It should be noted that RGB (color system) is a color standard reflecting colors, and different RGB values may represent different colors. In the embodiment of the present application, the existence of "large difference" (i.e.: difference color) between two colors may mean that: the difference between the RGB values of two colors is within a certain preset range, for example, RGB includes component information of three color channels of red (R), green (G), and blue (B), that is, includes R component, G component, and B component, when there is a difference between the color components of the same type that is greater than a preset threshold value and a difference between the color components of the same type that is less than or equal to the preset threshold value, it can be considered that there is a large difference between the two colors, and the colors are mutually different colors.
For example, the color inside the test box 20 is black, the RGB values thereof are (0, 0, 0), the R component in the three color channels thereof is 0, the G component is 0, and the B component is also 0. An image displayed on a screen of the mobile phone is a preset wallpaper, wherein the color of the wallpaper displayed in the speaker area is blue, the RGB value is (0, 0, 255), the R component, the G component and the B component in the three color channels are 0, 0 and 255 respectively; the color of the wallpaper displayed in the earphone area is green, the RGB value of the wallpaper is (0, 255, 0), the R component, the G component and the B component in the three color channels are 0, 255 and 0 respectively; the wallpaper displayed in the rest display area is red, the RGB value is (255, 0, 0), the R component in three color channels is 255, the G component is 0, and the B component is 0. Between blue and black, since the difference between B components is 255-0=255 > 50 and the difference between R components/G components is 0-0 < 50, the criterion of existence of a large difference set by the present application is satisfied, and thus it can be considered that there is a large difference between blue and black, and colors are mutually different. Similarly, there are also large differences between green and black, red and blue, red and green, and green and blue, and any two colors may be different from each other.
It should be noted that, the color inside the test box 20 and the color displayed by the mobile phone are not limited in the embodiments of the present application, and the color inside the test box 20 and the color displayed by the mobile phone screen may be determined according to the recognition performance of the camera in the actual design or other related design requirements. The method and the device have the advantages that the mobile phone displays the wallpaper with the preset color, and the mobile phone and the parts needing to be tested on the mobile phone are mainly distinguished through different colors, so that the specific position of the mobile phone in the test box 20 is identified, and the positions of the corresponding parts needing to be tested on the mobile phone in the test box 20 are identified. The color inside the test box 20 is set to keep different from the color displayed by the mobile phone, so that the industrial personal computer 30 can quickly and accurately identify the position of the mobile phone in the test box 20 through a corresponding image processing method. The following describes a corresponding image processing method in the embodiment of the present application.
Referring to fig. 9, fig. 9 is a schematic flowchart of an image recognition method according to an embodiment of the present application. As shown in fig. 9, the image processing method provided in the embodiment of the present application mainly includes the following steps:
and S1, acquiring an image of the device to be tested in the test box, wherein the image comprises the color corresponding to the test box and the color corresponding to the device to be tested.
In the embodiment of the present application, before performing the audio test, the color of the test box 20 and the color of the device under test are generally preset, so that the image of the device under test in the test box 20 can be obtained in real time through the image capturing device 40, and the device under test and the test box 20 are identified through image recognition, so as to obtain the real-time position of the device under test in the test box 20. Taking the device to be tested as a mobile phone as an example, when performing audio test on the mobile phone, the mobile phone is first placed in the test box 20 of the audio test device. The color in the test box 20 of the audio test device is generally set to be different from the color displayed by the mobile phone, the color of the test box 20 in the audio test device in the embodiment of the present application is set to be black, and the display screen of the mobile phone is placed upwards on the test platform 90 in the test box 20.
Note that the sound insulating mat 11 of black may be provided in the test box 20 so that the inside of the sound insulating box is black. In addition, various devices within the test chamber 20, such as the microphone 50, the artificial mouth 60, the microphone moving device, the artificial mouth moving device, the test platform 90, the second moving device 80, and the like, may also be set to black so as to coincide with the color within the test chamber 20. Specifically, the color displayed in the area (hereinafter referred to as a speaker area) corresponding to the speaker on the display screen of the mobile phone is blue, the color displayed in the area (hereinafter referred to as a handset area) corresponding to the handset on the display screen of the mobile phone is green, and the color displayed in the remaining display screen areas is red.
The image capturing device 40 is exemplified by a camera, and in the embodiment of the present application, the image capturing device 40 may include two cameras, one of which may be the recording camera 42 and the other may be the positioning camera 41. The recording camera 42 may be configured to record a test condition in the test box 20, and the positioning camera 41 is configured to acquire image information of the device under test in the test box 20 and send the acquired image information to the industrial personal computer 30. The image information acquired by the positioning camera 41 may be a photo of the mobile phone in the test box 20, or a video of the mobile phone in the test box 20. Since the mobile phone can move in the test box 20 along with the test platform 90, the positioning camera 41 can acquire photos of the mobile phone and the test box 20 at different times, and since the positioning camera 41 is fixed relative to the test box 20, the position of the mobile phone in the test box 20 can be acquired by analyzing image information. Since the image acquired by the positioning camera 41 includes the device under test (mobile phone) and the test box 20, the image information includes RGB information of the device under test (mobile phone) and RGB information of the test box 20. By analyzing the RGB information of the mobile phone and analyzing the RGB information of the test box 20, the position of the mobile phone in the test box 20 can be determined.
S2, separating three different color channels in the RGB information of the image to obtain three component information, wherein the three component information comprises R component information, G component information and B component information.
The RGB information of the image refers to RGB values of each pixel in the area where the mobile phone is located in the picture or video captured by the positioning camera 41. In this embodiment of the application, if the image displayed on the display screen of the mobile phone is the preset wallpaper, the RGB information of the image in the picture or video shot by the positioning camera 41 includes: the RGB values of the speaker area are (0, 0, 255), the RGB values of the earpiece area are (0, 255, 0), and the RGB values of the remaining display area of the screen are (255, 0, 0). In the picture or video taken by the positioning camera 41, the RGB values of the test chamber 20 area in the image are (0, 0, 0). The industrial personal computer 30 or other computer with image processing capability can recognize the color of the corresponding area by analyzing the RGB information.
After the positioning camera 41 captures a picture of the mobile phone in the test box 20, the positioning camera 41 sends the captured image to the connected industrial personal computer 30, and the industrial personal computer 30 has image processing capability and can analyze and process the received image. In the prior art, when image processing is performed, RGB information of each pixel point in an image is generally obtained first, then component information of three color channels is subjected to mixing preprocessing, relevant features are extracted according to the processed information, and then the color of the image is determined. In the prior art, information of three color channels needs to be extracted, processed and analyzed, the amount of information contained in the three channels is large, and a computer needs to perform a large amount of processing and operation to determine the color of each pixel point in an image.
In the embodiment of the present application, after obtaining the image in the test box 20, the image is decomposed to obtain RGB information of each pixel point in the image, that is, RGB information used as a background (the test box 20) and RGB information of the mobile phone are obtained. Then, three different color channels of the RGB information of each pixel point are separated, and R component information, G component information, and B component information of the test box 20 in the image, and R component information, G component information, and B component information of the mobile phone in the image can be obtained. Because the RGB information of each pixel point in the image is different, the color of each pixel can be identified by extracting the features in the RGB information, and the position of the mobile phone in the image is determined according to the color.
It should be noted that how to acquire the R component information, the G component information, and the B component information of an image belongs to a common technical means in the existing image processing technology, and details are not described in this embodiment.
And S3, removing the component information with the difference degree lower than a preset threshold value from the three pieces of component information, and identifying different colors in the image based on the rest component information.
After the channel separation processing is performed on the image information captured by the positioning camera 41, the R component information, the G component information, and the B component information of the entire image can be obtained, and if the component information in each color channel is preprocessed and then the information in the three color channels is synthesized, the calculated amount is large and the processing speed is slow.
In the embodiment of the present application, when the mobile phone is subjected to the audio test, the color inside the test box 20 and the color displayed on the screen of the mobile phone are set to be the difference color, that is, the color of the mobile phone and the color inside the test box 20 (background) have an obvious contrast, so that when the RGB information is analyzed, the information difference in one color channel or two color channels is small in three color channels between the two colors, that is, the difference between the two colors is less influenced by the component information in the color channel.
Based on this, after the R component information, the G component information, and the B component information of each pixel of the image are obtained, according to different difference colors, the component information of which the difference degree is lower than the preset threshold value in one or two pieces of component information may be removed, and then according to the remaining component information, different colors in the image may be identified. The color identification is less affected by the component information with the difference degree lower than the preset threshold value, the color of the color channel can be identified through the residual color channel component information after the component information is removed, the calculated amount in the identification process can be reduced by removing one or two component information with less influence, and the identification efficiency is improved. The preset threshold value can be determined according to actual requirements.
It should be noted that, in the embodiment of the present application, the color inside the test box 20, the color of the display screen of the mobile phone, the color of the area corresponding to the speaker on the display screen of the mobile phone, the color of the area corresponding to the receiver on the display screen of the mobile phone, the color of the area corresponding to the microphone on the display screen of the mobile phone, and the like are determined before the audio test is performed. Therefore, the size of the preset threshold value can be determined through each predetermined color, and the component information which needs to be removed when image recognition is carried out in an audio test is determined. That is, the color inside the test box, the color of the device under test (including the color of a specific component on the device under test), and one or two component information to be removed in the image recognition are determined before the audio test. The following description will be given with specific examples.
In the first example, the color inside the test box 20 is set to black or a color close to black when the mobile phone is subjected to audio test. The RGB value of black is (0, 0, 0), and the color close to black is a color with RGB value of (0-50 ). The phone is set to display the aforementioned prefabricated wallpaper and placed in the test box 20 with a bright screen. The color displayed by the mobile phone display screen corresponding to the earphone area is green (0, 255, 0), the color displayed by the mobile phone display screen corresponding to the loudspeaker area is blue (0, 0, 255), the color displayed by the other areas of the mobile phone display screen is red (255, 0, 0), and the preset threshold value is set to be 50.
Because the receiver area and the loudspeaker area are both positioned in the display screen of the mobile phone, the display screen of the mobile phone can be identified firstly, and then the receiver area and the loudspeaker area on the display screen of the mobile phone can be identified. The main color of the display screen of the mobile phone is red (255, 0, 0), the R component information of the display screen is 255, the G component information of the display screen is 0, and the B component information of the display screen is 0. The color inside the test box 20 is set to black (0, 0, 0), and the R component information is 0, the G component information is 0, and the B component information is 0. When a red display screen needs to be identified in the black test box 20, the difference between the red and black R component information is 255-0=255 > 50, the difference between the red and black G component information is 0-0=0 < 50, and the difference between the red and black B component information is 0-0=0 < 50, so that the G component information and the B component information with the difference lower than a preset threshold can be removed in the process of identifying the red mobile phone display screen, and the red and black in the image can be determined by identifying the R component information.
When the position of the loudspeaker needs to be identified, the loudspeaker area is located in the display area of the mobile phone screen, so that the red displayed on the mobile phone screen can be used as a background color to identify the loudspeaker area. The background color of the mobile phone display screen is red (255, 0, 0), the R component information is 255, the G component information is 0, and the B component information is 0. The color of the speaker area is set to blue (0, 0, 255), with R component information of 0, G component information of 0, and B component information of 255. When a blue speaker area needs to be identified in a red display screen area, the difference degree of the R component information of red and blue is 0-0=0 < 50, the difference degree of the G component information of red and blue is 0-0=0 < 50, and the difference degree of the B component information of red and blue is 255-0=255 > 50, so that the R component information and the G component information with the difference degree lower than a preset threshold value can be removed in the process of identifying the speaker area, and the red and the blue in the image can be determined by identifying the B component information.
When the position of the receiver needs to be identified, the receiver area is located in the display area of the mobile phone screen, so that the red displayed on the mobile phone screen can be used as a background color to identify the receiver area. The background color of the mobile phone display screen is red (255, 0, 0), the R component information is 255, the G component information is 0, and the B component information is 0. The color of the earpiece region is set to green (0, 255, 0), with the R component information being 0, the G component information being 255, and the B component information being 0. When a green earphone area needs to be identified in a red display screen area, the difference degree of the red and green R component information is 0-0=0 < 50, the difference degree of the red and green G component information is 255-0=255 > 50, and the difference degree of the red and green B component information is 0-0=0 < 50, so that the R component information and the B component information with the difference degree lower than a preset threshold value can be removed in the process of identifying the earphone area, and the red and the green in the image can be determined by identifying the G component information.
After the positioning camera 41 captures an image of the mobile phone in the test box 20, the positioning camera 41 uploads the image to the industrial personal computer 30 (or a computer), the industrial personal computer 30 separately obtains R component information, G component information and B component information of the image through a channel, and when a display screen part in the image needs to be identified during image identification, the industrial personal computer 30 is controlled to remove the G component information and the B component information, only the R component information of the image is identified, and information processing and feature extraction are performed through the R component information, so that red and black in the image can be identified, wherein all red pixel areas identified through the R component information are screen areas of the mobile phone, the rest black pixel areas are background areas in the image, and the background is the test box 20 and related devices in the test box 20. When the earphone area needs to be identified, the industrial personal computer 30 is controlled to remove the R component information and the B component information, and only the G component information of the image is identified; when the speaker area needs to be identified, the industrial personal computer 30 is controlled to remove the R component information and the G component information, and only the B component information of the image is identified.
It should be noted that, when the industrial personal computer 30 is controlled to remove different component information according to the preset color inside the test box 20 and the color displayed by the mobile phone, the component information to be removed when different colors are identified in the identification process may be manually controlled, or the component information to be removed when different colors are identified may be controlled by generating a pre-image identification algorithm. Since the color inside the test box 20 and the color displayed by the mobile phone are determined before the mobile phone test is performed, before the audio test is performed, a color channel which can be removed during the image recognition can be determined according to the determined color inside the test box 20 and the color displayed by the mobile phone. For example, when the color inside the test box 20 is determined to be black and the color displayed on the screen of the mobile phone is determined to be red, it is determined that the G component information and the B component information can be removed before image recognition, and at the time of image recognition, the black and red in the image can be recognized by the R component information.
The above embodiment shows the method of image recognition when the color inside the test box 20 and the color of the mobile phone are respectively a specific color. In the embodiment of the present application, the color of the test box 20 and the color of the mobile phone are not limited to a specific color, and a person skilled in the art can set the color of the mobile phone and the color in the test box 20 according to actual needs, so that the color of the mobile phone and the color in the test box 20 have a large difference to form a sharp contrast.
For example, the color of the inside of the test box 20 may be set to a color close to black. Wherein, the color close to black is a color with RGB value of (0-50 ). The color displayed by the display screen of the mobile phone can be set according to the following colors, wherein the RGB value of the color displayed by the display screen of the mobile phone corresponding to the earphone area is (0-50, 205-255, 0-50), the RGB value of the color displayed by the display screen of the mobile phone corresponding to the loudspeaker area is (0-50, 205-255), the RGB value of the color displayed by other areas of the display screen of the mobile phone is (205-255, 0-50), and the preset threshold value is set to be 50. When a display screen of the mobile phone needs to be identified, the G component information and the B component information can be removed, and identification confirmation is carried out through the R component information; when a loudspeaker area in a display screen of the mobile phone needs to be identified, R component information and G component information can be removed, and identification and confirmation are carried out through B component information; when the earphone area in the display screen of the mobile phone needs to be identified, the R component information and the B component information can be removed, and identification and confirmation can be carried out through the G component information.
In addition, in the embodiment of the present application, the color in the test box 20 and the color of the mobile phone may also be set, so that when performing image recognition, only the component information in one of the color channels is removed, and the image is recognized through the component information in the remaining two color channels. For example, the color of the inside of the test box 20 may be set to white (255, 255, 255), and the color displayed on the display screen of the mobile phone may be set to red (255, 0, 0). When the display screen of the mobile phone needs to be identified, the R component information can be removed, and identification confirmation can be carried out through the surplus G component information and B component information.
The embodiment of the present application only lists some color setting examples to describe a method for performing image recognition according to the remaining color channel information by performing channel separation on RGB during the image recognition process, and then removing color channels with less influence. The color setting in the test box 20 and the color setting of the device to be tested (mobile phone) are not limited, and in the actual test process, a person skilled in the art can set the colors according to the situation and determine the color channel that can be removed. The reason why the difference between the color in the test box 20 and the color of the device to be tested is large is to ensure that after the color channel with small influence is removed, various colors in the image can be accurately identified through the residual color channel information; if the difference between the two colors is small, there is a possibility that an identification error occurs after one color channel information is removed.
In the embodiment of the application, the position of the mobile phone in the test box 20 is determined by presetting a test environment with larger difference and using an image recognition method, wherein when image recognition is performed, three color channels in RGB of an image are separated by using a channel separation method to obtain R component information, G component information and B component information, then according to the preset test environment, when color recognition is performed, a channel with smaller influence on color recognition (namely, the difference degree is lower than a preset threshold value) in the three color channels is removed, according to the component information in the remaining two color channels or one color channel, relevant color features are extracted, and corresponding colors are recognized. In the traditional image identification method, corresponding colors can be identified only after component information in three color channels is subjected to information extraction, synthesis and other processing, in the embodiment of the application, a test environment with larger difference is established, in the image identification process, channel information with smaller influence on image identification is removed, color identification through mixed analysis of three color channels in the prior art is changed into color identification through mixed analysis of two color channels or even single color channel, the data processing amount of the industrial personal computer 30 is greatly reduced, the processing time is saved, and the processing efficiency is improved.
After identifying the different colors in the image, the method further comprises the following steps:
and S4, determining the position information of the device to be tested in the test box based on different colors in the image.
In the embodiment of the present application, in order to accurately determine the position of the device under test in the test box 20, before the device under test is placed in the test box 20, a coordinate system is preset in the test box 20 for determining the specific coordinates of the device under test in the test box 20, so as to adjust the device under test to the target position, and facilitate subsequent adjustment of the positions of the sound pickup 50 and the manual nozzle 60 in the test box 20. In order to adjust the positions of the device to be tested, the artificial mouth 60 and the sound pickup 50 according to the coordinate values, when a coordinate system is established, the center on the bottom plate of the test box 20 may be used as the origin of the coordinate system, the direction parallel to the first slide rail 71 is used as the y-axis, the x-axis of the coordinate system is perpendicular to the y-axis and is located on the bottom plate of the test box 20, and the z-axis of the coordinate system is perpendicular to both the x-axis and the y-axis.
When the positioning camera 41 obtains the image of the device to be tested (mobile phone) in the test box 20, the image includes the coordinate system, when each color in the image is identified by the image identification method, the boundary of each color in the image can be determined, then the x-coordinate value and the y-coordinate value of the device to be tested in the coordinate system can be determined by the number of pixels occupied by the image in the region formed by different colors in the image, and the z-coordinate value of the device to be tested can be obtained according to the height of the test platform 90, the thickness of the device to be tested, and other factors. For example, the coordinate values of the area formed by black in the image are determined, that is, the coordinate values of the test box 20 corresponding to black are determined; determining the coordinate value of the area formed by red in the image, namely determining the coordinate value of the mobile phone display screen corresponding to the red, namely the coordinate value of the mobile phone; determining the coordinate value of the area formed by blue in the image, namely determining the coordinate value of the loudspeaker area in the mobile phone corresponding to blue; and determining the coordinate value of the area formed by green in the image, namely determining the coordinate value of the receiver area in the mobile phone corresponding to the green. After the coordinate value of the device (mobile phone) to be tested is determined through image recognition, the position information of the device (mobile phone) to be tested in the test box 20 can be determined according to a preset coordinate system.
After the industrial personal computer 30 obtains the position information of the device to be tested in the test box 20, the second moving device 80 can be controlled to move according to the test requirement, and the device to be tested on the test platform 90 is driven to move to the position meeting the test requirement. In addition, industrial computer 30 can also acquire the initial position of adapter 50 and artifical mouth 60, then according to the position of the equipment that awaits measuring in test box 20, control adapter mobile device and drive adapter 50 and remove, and the distance of distance between adjustment adapter 50 and the equipment that awaits measuring is for satisfying the distance of test requirement. Meanwhile, the industrial personal computer 30 can also control the artificial mouth moving device to drive the artificial mouth 60 to move according to the test requirement, and the distance between the artificial mouth 60 and the equipment to be tested is adjusted to be the distance meeting the test requirement.
This application embodiment is when setting up adapter mobile device, artifical mouth mobile device and second mobile device 80, can set up the slide rail in every device and be parallel state or vertical state each other, sets up like this and can adopt the shortest slide rail to realize the position control of adapter 50, artifical mouth 60 and the equipment under test, simultaneously, has the selection coordinate system of being convenient for slide rail and the coordinate axis of coordinate system in each mobile device are parallel or vertically state.
For example, when the microphone moving device is installed, the first slide rail 71 is installed to be parallel to one side of the test box 20, when the second slide rail 72 is installed, the second slide rail 72 is perpendicular to the first slide rail 71, and when the elevating mechanism 73 is installed, the elevating direction of the elevating mechanism 73 is perpendicular to both the direction in which the first slide rail 71 is located and the direction in which the second slide rail 72 is located. When the artificial mouth moving device is provided, the third slide rail 74 may be arranged to be parallel to the first slide rail 71, or the third slide rail 74 may be arranged to be perpendicular to the first slide rail 71. When the second moving device 80 is disposed, the fourth slide rail 82 may be disposed to be parallel to/perpendicular to the first slide rail 71, and the fifth slide rail 83 may be disposed to be perpendicular to the fourth slide rail 82. When the coordinate system is selected, the origin of the coordinate system may be set to be the center of the bottom plate of the test box 20, the x-axis of the coordinate system may be set to be parallel to the direction of the second slide rail 72, the y-axis of the coordinate system may be set to be parallel to the direction of the first slide rail 71, and the z-axis of the coordinate system may be set to be parallel to the lifting direction of the lifting mechanism 73.
When the audio test equipment in the embodiment of the application is used for audio test, the equipment to be tested is placed on the test platform 90 in the test box 20, then the communication states of the positioning camera 41 and the recording camera 42 can be checked through the industrial personal computer 30 or the computer in the audio test equipment, and when the communication states of the positioning camera 41 and the recording camera 42 are both normal, the audio test can be started. During the audio test, the positioning camera 41 obtains image information of the device to be tested, and then sends the obtained image information to the industrial personal computer 30, the industrial personal computer 30 identifies the position coordinate information of the device to be tested in the test box 20 by the image identification method described in the foregoing embodiment, and then adjusts the position of the device to be tested in the test box 20 according to the test requirement when detecting the device to be tested.
Specifically, the industrial personal computer 30 generates a corresponding control instruction according to the acquired coordinate information of the device to be tested and the detection requirement, and controls the linear motor in the second moving device 80 according to the control instruction, so that the linear motor on the fourth slide rail 82 can drive the fifth slide rail 83 to move, and the linear motor on the fifth slide rail 83 can drive the test platform 90 to move, so as to adjust the device to be tested on the test platform 90 to the detection position meeting the test requirement. In addition, because the supporting plate 81 in the second moving device 80 is rotatably connected to the bottom plate of the testing box 20, if the supporting plate 81 is driven by a motor to rotate on the bottom plate of the testing box 20, the industrial personal computer 30 can be electrically connected with the motor to control the rotation condition of the motor, so that the industrial personal computer 30 can control the rotation condition of the testing platform 90, and the orientation of the device to be tested in the testing box 20 can be controlled.
After the industrial personal computer 30 controls the second moving device 80 to adjust the position of the device to be tested, the audio testing devices such as the sound pickup 50 and the artificial mouth 60 can be controlled to approach or contact the device to be tested. For example, the device to be tested is a mobile phone, and the test requirements are as follows: when conducting an audio test, the microphone 50 needs to be adjusted into contact with the speaker area, and the artificial mouth 60 needs to be moved into contact with the earpiece area. After the industrial personal computer 30 recognizes the adjusted position of the mobile phone and the positions of the speaker area and the earpiece area on the mobile phone through the image recognition method, the industrial personal computer 30 may control the movement of the sound pickup 50 according to the adjusted position of the mobile phone and the initial position of the sound pickup 50. Specifically, the industrial computer 30 can calculate the coordinate difference between the two according to the coordinate value of the loudspeaker area and the initial position of sound pickup 50, then the linear motor motion in first slide rail 71 and the second slide rail 72 among the control sound pickup mobile device, linear motor in first slide rail 71 can drive sound pickup 50 and move in the y axle direction, linear motor in the second slide rail 72 can drive sound pickup 50 and move in the x axle direction, the motor among the controller can also control elevating system 73 rotates, it goes up and down to drive sound pickup 50, also drive sound pickup 50 and move in the z axle direction, thereby adjust sound pickup mobile device and drive sound pickup 50 and move the position at the loudspeaker area place. Since the speaker area is the area corresponding to the speaker on the display screen of the mobile phone, the speaker is generally disposed at the side of the mobile phone, and the speaker area is not the actual location of the speaker. Therefore, after the sound pickup 50 is adjusted to the speaker area, the sound pickup 50 can be compensated and adjusted, the compensation and adjustment is to realize that the sound pickup 50 is in contact with the speaker of the mobile phone, and specific parameters of the compensation and adjustment can be determined according to the difference between the speaker and the speaker area on the mobile phone. That is, the specific parameters of compensation adjustment need to be determined according to the difference between the actual coordinates of a certain component on the device under test and the identified coordinates of the component after the device under test is identified. Similarly, the industrial personal computer 30 may also control the manual nozzle 60 to move to contact with the receiver, and perform coordinate compensation adjustment, so that the manual nozzle 60 may contact with the receiver according to the test requirement.
After the sound pickup 50 and/or the artificial mouth 60 are adjusted to move, the audio testing device can acquire the adjusted image information according to the positioning camera 41, acquire the actual position of the sound pickup 50 and/or the artificial mouth 60 by the image recognition method, calculate the deviation between the actual position and the testing position required by the testing requirement, and if the deviation is less than or equal to the deviation threshold, end the position adjustment and start the audio test; if the deviation is larger than the deviation threshold value, the coordinate compensation adjustment is continued until the deviation is smaller than or equal to the deviation threshold value. It should be noted that the deviation threshold may be determined according to the test requirements in the audio test, and in the actual test, may be determined according to the specific test standard for the device under test. By carrying out coordinate compensation adjustment, the mobile phone waiting equipment, the sound pick-up 50, the artificial mouth 60 and other testing equipment can be adjusted to preset positions meeting testing requirements, so that accurate audio testing can be carried out subsequently.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions. For the specific working processes of the system, the apparatus and the unit described above, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described here again.
Each functional unit in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or make a contribution to the prior art, or all or part of the technical solutions may be implemented in the form of a software product stored in a storage medium and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a processor to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: flash memory, removable hard drive, read only memory, random access memory, magnetic or optical disk, and the like.
The above description is only a specific implementation of the embodiments of the present application, but the scope of the embodiments of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the embodiments of the present application should be covered by the scope of the embodiments of the present application. Therefore, the protection scope of the embodiments of the present application shall be subject to the protection scope of the claims.

Claims (21)

1. An audio test device comprises a box body, and is characterized in that a test box and an industrial personal computer are arranged in the box body, and an image capturing device, an audio test device, a test platform, a first moving device and a second moving device are arranged in the test box;
the first mobile device is arranged on the inner wall of the test box, the audio test device is arranged on the first mobile device, the first mobile device is used for driving the audio test device to move, and the audio test device is used for carrying out audio test on the equipment to be tested;
the second mobile device is arranged on a bottom plate of the test box, the test platform is arranged on the second mobile device, the second mobile device is used for driving the test platform to move, and the test platform is used for placing the equipment to be tested;
the image capturing device is arranged on the inner wall and used for acquiring image information of the equipment to be tested and sending the image information to the connected industrial personal computer;
the industrial personal computer performs image recognition on the received image information and generates a control instruction to control the first mobile device to drive the audio testing device to move and/or control the second mobile device to drive the testing platform to move.
2. The audio testing apparatus of claim 1, wherein the audio testing device comprises a microphone and an artificial mouth, the first mobile device comprises a microphone mobile device and an artificial mouth mobile device, the microphone is disposed on the microphone mobile device, the microphone mobile device is configured to drive the microphone to move, the artificial mouth is disposed on the artificial mouth mobile device, and the artificial mouth mobile device is configured to drive the artificial mouth to move.
3. The audio testing apparatus of claim 2, wherein the direction in which the microphone moving means moves the microphone comprises a first direction, a second direction, and a third direction; the direction in which the artificial mouth moving device drives the artificial mouth to move is the first direction or the second direction; any two directions of the first direction, the second direction and the third direction are vertical.
4. The audio testing apparatus of claim 3, wherein the directions in which the second moving means moves the testing platform include the first direction and the second direction, and the testing platform is further rotatable along an axis passing through a center of the testing platform, the axis being parallel to the third direction.
5. The audio testing apparatus of claim 3, wherein said pickup moving means comprises a first slide rail, a second slide rail and a lifting mechanism, said first slide rail is fixedly connected to the top inner wall of said testing box, said second slide rail is slidably connected to said first slide rail, said lifting mechanism is slidably connected to said second slide rail, and said pickup is fixedly connected to said lifting mechanism.
6. The audio testing apparatus of claim 5, wherein the audio testing device comprises two microphones, both of the two microphones being disposed above the testing platform; the adapter moving device comprises two first slide rails, two second slide rails and two lifting mechanisms, wherein the first slide rails are arranged in parallel, the two first slide rails are fixedly connected to the inner wall of the top of the test box, the two second slide rails are connected to the first slide rails in a sliding mode, the two lifting mechanisms are connected to the second slide rails in a sliding mode, and the two adapters are fixedly connected to the two lifting mechanisms respectively.
7. The audio testing apparatus of claim 3, wherein said artificial mouth moving means comprises a third slide rail, said artificial mouth being slidably connected to said third slide rail.
8. The audio testing apparatus of claim 7, wherein the audio testing device comprises two artificial mouths, the two artificial mouths being respectively disposed at two sides of the testing platform; the artificial mouth moving device comprises two third slide rails, wherein the two third slide rails are arranged on the bottom plate of the test box, one of the third slide rails is connected with the artificial mouth in a sliding manner, and the other third slide rail is connected with the artificial mouth in a sliding manner.
9. The audio testing apparatus according to claim 4, wherein the second moving device includes a supporting plate, two fourth sliding rails and two fifth sliding rails, the two fourth sliding rails are disposed on the supporting plate, the supporting plate is rotatably connected to the bottom plate of the testing box, the two fourth sliding rails are disposed in parallel, the two fifth sliding rails are slidably disposed on the fourth sliding rails, the two fifth sliding rails are disposed in parallel, and the testing platform is disposed on the fifth sliding rails.
10. The audio testing device according to claim 9, wherein the testing platform includes a plurality of fixing blocks, at least one fixing block is slidably connected to each of the fifth sliding rails, and the fixing blocks are used for fixing the device under test.
11. The audio testing device of claim 10, wherein the testing platform comprises four fixing blocks, and two fixing blocks are slidably connected to each of the fifth slide rails.
12. The audio testing apparatus according to claim 10 or 11, wherein the second moving device further comprises a first screw rod rotating shaft and a second screw rod rotating shaft, the first screw rod rotating shaft is in threaded connection with the fifth sliding rail, and the fifth sliding rail is driven to slide on the fourth sliding rail when the first screw rod rotating shaft rotates; the second screw rod is in threaded connection with the fixed block, and when the rotating shaft of the second screw rod rotates, the fixed block is driven to slide on the fifth slide rail.
13. The audio testing apparatus of any one of claims 1 to 11, wherein a plurality of said test boxes are provided in said cabinet, each of said test boxes being an independent test space.
14. The audio testing apparatus of any of claims 1 to 11, wherein an acoustic insulator pad is disposed within the test chamber.
15. The audio testing apparatus of any one of claims 1 to 11, wherein the image capturing device comprises two cameras, both of the cameras being disposed on an inner wall of a top portion of the testing box, the cameras being located above the device under test to obtain image information of the device under test.
16. An image recognition method applied to the audio test device according to any one of claims 1 to 15, the method comprising:
acquiring an image of equipment to be tested in a test box, wherein the image comprises a color corresponding to the test box and a color corresponding to the equipment to be tested;
separating RGB three-channel information of the image to obtain three component information, wherein the three component information comprises R component information, G component information and B component information;
and removing the component information with the difference degree lower than a preset threshold value from the three pieces of component information, and identifying different colors in the image based on the remaining component information.
17. The image recognition method of claim 16, further comprising, after the recognizing different colors in the image based on the remaining component information:
and determining the position information of the equipment to be tested in the test box based on different colors in the image.
18. The image recognition method of claim 17, wherein the determining the position information of the device under test in the test box based on different colors in the image comprises:
the image also comprises preset coordinate system information;
determining coordinate information of the region formed by each color according to the pixel size of the region formed by each color in the image;
and determining the coordinate information of the equipment to be tested according to the coordinate information of the area formed by the colors corresponding to the equipment to be tested.
19. An electronic device comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the electronic device to perform the method of any of claims 16-18.
20. A computer-readable storage medium, comprising a stored program, wherein the program, when executed, controls an apparatus in which the computer-readable storage medium resides to perform the method of any one of claims 16-18.
21. A computer program product containing executable instructions which, when executed on a computer, cause the computer to perform the method of any one of claims 16 to 18.
CN202210387717.0A 2022-04-14 2022-04-14 Audio test device and image identification method Active CN114501293B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210387717.0A CN114501293B (en) 2022-04-14 2022-04-14 Audio test device and image identification method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210387717.0A CN114501293B (en) 2022-04-14 2022-04-14 Audio test device and image identification method

Publications (2)

Publication Number Publication Date
CN114501293A true CN114501293A (en) 2022-05-13
CN114501293B CN114501293B (en) 2022-09-20

Family

ID=81488829

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210387717.0A Active CN114501293B (en) 2022-04-14 2022-04-14 Audio test device and image identification method

Country Status (1)

Country Link
CN (1) CN114501293B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115604641A (en) * 2022-11-08 2023-01-13 荣耀终端有限公司(Cn) Audio detection method and audio test equipment
CN117499624A (en) * 2024-01-02 2024-02-02 四川启睿克科技有限公司 Television audio testing device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104200431A (en) * 2014-08-21 2014-12-10 浙江宇视科技有限公司 Processing method and processing device of image graying
CN105158285A (en) * 2015-08-12 2015-12-16 深圳市西凡谨顿科技有限公司 XRF (X-ray fluorescence) equipment and automatic sample positioning and multi-point testing method and device thereof
CN107103606A (en) * 2017-02-27 2017-08-29 口碑控股有限公司 A kind of image-recognizing method and device
CN108430023A (en) * 2018-02-12 2018-08-21 苏州乐轩科技有限公司 A kind of sound equipment full-automatic testing equipment
CN209676482U (en) * 2019-05-24 2019-11-22 深圳宽洋网络发展有限公司 A kind of intelligent audio equipment test box
CN110908922A (en) * 2019-12-31 2020-03-24 京东数字科技控股有限公司 Application program testing method and device
CN212180967U (en) * 2020-04-03 2020-12-18 枣庄睿诺电子科技有限公司 Automatic alignment platform and electric test fixture
CN112104966A (en) * 2020-09-01 2020-12-18 深圳市鑫信腾科技有限公司 Notebook computer audio test equipment
CN214381251U (en) * 2020-10-09 2021-10-08 上海龙旗科技股份有限公司 LCD and audio two-in-one testing device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104200431A (en) * 2014-08-21 2014-12-10 浙江宇视科技有限公司 Processing method and processing device of image graying
CN105158285A (en) * 2015-08-12 2015-12-16 深圳市西凡谨顿科技有限公司 XRF (X-ray fluorescence) equipment and automatic sample positioning and multi-point testing method and device thereof
CN107103606A (en) * 2017-02-27 2017-08-29 口碑控股有限公司 A kind of image-recognizing method and device
CN108430023A (en) * 2018-02-12 2018-08-21 苏州乐轩科技有限公司 A kind of sound equipment full-automatic testing equipment
CN209676482U (en) * 2019-05-24 2019-11-22 深圳宽洋网络发展有限公司 A kind of intelligent audio equipment test box
CN110908922A (en) * 2019-12-31 2020-03-24 京东数字科技控股有限公司 Application program testing method and device
CN212180967U (en) * 2020-04-03 2020-12-18 枣庄睿诺电子科技有限公司 Automatic alignment platform and electric test fixture
CN112104966A (en) * 2020-09-01 2020-12-18 深圳市鑫信腾科技有限公司 Notebook computer audio test equipment
CN214381251U (en) * 2020-10-09 2021-10-08 上海龙旗科技股份有限公司 LCD and audio two-in-one testing device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115604641A (en) * 2022-11-08 2023-01-13 荣耀终端有限公司(Cn) Audio detection method and audio test equipment
CN117499624A (en) * 2024-01-02 2024-02-02 四川启睿克科技有限公司 Television audio testing device
CN117499624B (en) * 2024-01-02 2024-03-19 四川启睿克科技有限公司 Television audio testing device

Also Published As

Publication number Publication date
CN114501293B (en) 2022-09-20

Similar Documents

Publication Publication Date Title
CN114501293B (en) Audio test device and image identification method
EP4054177A1 (en) Audio processing method and device
CN103826057B (en) Image processing equipment, image processing method and image picking-up apparatus
US20100118112A1 (en) Group table top videoconferencing device
CN115604641B (en) Audio detection method and audio test equipment
CN105554475A (en) IoT (Internet of Things) intelligent device with full duplex communication function
CN104349040B (en) For the camera base and its method in video conferencing system
CN109618151B (en) Automatic testing method for television image
CN112218070A (en) Stray light detection method and device, storage medium and electronic equipment
CN110958537A (en) Intelligent sound box and use method thereof
WO2017032057A1 (en) Cell phone multi-station test system and test method
WO2024078359A1 (en) Multi-modal smart classroom edge computing control system
CN109194916B (en) Movable shooting system with image processing module
CN112333416B (en) Intelligent video system and intelligent control terminal
CN114422935A (en) Audio processing method, terminal and computer readable storage medium
CN109218612B (en) Tracking shooting system and shooting method
CN108650502A (en) Test device and its test method for Camera jitter tests
CN203675217U (en) Informatization video conference recording and broadcasting and intelligent monitoring and managing device
KR100740660B1 (en) Mobile communication terminal with a raser pointer and system for offering presentation using the terminal
WO2020102994A1 (en) 3d sound effect realization method and apparatus, and storage medium and electronic device
CN103108110B (en) A kind of digital court trial main frame and digital court trial system
CN217546174U (en) Intelligent conference system
US20230156419A1 (en) Sound field microphones
CN108391050A (en) A kind of image processing method and mobile terminal
CN211403487U (en) Calibration equipment for RGB-D module

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