Light source switchable Logo detector and Logo detection method

The logo detector with switchable light sources utilizes multiple light sources and image processing technology to solve the problem of detecting logos with highly reflective materials or similar colors, achieving efficient and accurate logo detection results.

CN120761376APending Publication Date: 2025-10-10HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410382965.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-29
Publication Date
2025-10-10

AI Technical Summary

Technical Problem

When the surface of electronic equipment is made of highly reflective materials or materials with similar colors, it is difficult to detect the quality of logo engraving, with a high false detection rate. Existing detection equipment cannot effectively identify the integrity and clarity of the logo.

Method used

A logo detector with switchable light sources is designed. By switching multiple light sources (such as LED white light, red light, green light, blue light, infrared light, and ultraviolet light) to illuminate the object to be tested, the detection results are generated by combining camera components and computing equipment, realizing automatic light source switching and image acquisition, reducing the difficulty of detection and improving the recognition rate.

Benefits of technology

Through light source switching and image processing technology, the false detection rate of logo detection is significantly reduced, and the accuracy and efficiency of logo engraving quality detection are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120761376A_ABST
    Figure CN120761376A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to the technical field of detection equipment, and provides a light source switchable Logo detector and a Logo detection method.The Logo detector comprises a light source assembly, the light source assembly comprises a plurality of light sources, the light source assembly is configured to use a first light source to irradiate a detected object in a switchable mode, and the first light source is any one of the light sources; the camera shooting assembly is configured to acquire a detection image of the detected object under the irradiation of the first light source; and the computing device is in communication connection with the camera component, and the computing device is configured to generate a detection result of the detection image. By applying the Logo detector in the embodiment of the invention, the first light source can be switched to change the irradiation light of the detected object, so that the detected object can be detected under different illumination conditions, the detection difficulty of the surface quality of the detected object is reduced, and the false detection rate is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of detection equipment, in particular to a logo detector with switchable light sources and a logo detection method. BACKGROUND

[0002] A trademark, also known as a logo or a mark, is a small visual design used to identify identity or other information, which is often made into a physical entity and applied to electronic devices such as mobile phones, tablets, computers, etc.

[0003] The logo can be engraved on the surface of the electronic device by laser engraving using a laser beam. However, in the case of using high-reflective materials on the surface of the electronic device, different colors of the device surface, and similar colors between the laser-engraved logo and the material body, the detection difficulty of the laser-engraved surface quality of the electronic device is increased, the false detection rate is increased, and the laser-engraved logo on the surface of the electronic device is not conducive to detection. SUMMARY

[0004] The embodiments of the present application provide a logo detector with switchable light sources and a logo detection method to solve the problem of high detection difficulty and high false detection rate of the laser-engraved surface quality of the electronic device in some scenarios.

[0005] In a first aspect, the embodiments of the present application provide a logo detector with switchable light sources, which includes: a light source assembly, the light source assembly including a plurality of light sources, the light source assembly being configured to switchably use a first light source to irradiate a measured object, the first light source being any one of the plurality of light sources; a camera assembly, the camera assembly being configured to acquire a detection image of the measured object under irradiation of the first light source; and a computing device, the computing device being in communication connection with the camera assembly, the computing device being configured to generate a detection result of the detection image. In this way, the irradiation light of the measured object can be changed by switching the first light source, so that the measured object can be detected under different lighting conditions, the detection difficulty of the surface quality of the measured object is reduced, and the false detection rate is reduced.

[0006] In a feasible implementation, the logo detector further includes: a box, the light source assembly and the camera assembly being arranged in the box; the box including a base and a rack, the rack being mounted on the base; the light source assembly being arranged on a side of the rack away from the base; and a loading table being arranged on the base, the loading table being used to place the measured object. In this way, the external light can be isolated to some extent, and the influence of the ambient light on the detection process is reduced.

[0007] In a feasible implementation, the light source assembly further includes a turntable and a support, the turntable being rotatably mounted on the support, the support being connected with the rack; a plurality of light source arrays being arranged on a first surface of the turntable; and the first surface facing the loading table. In this way, the switching of the light sources can be realized by the turntable, so that the light source assembly uses different light sources to irradiate the measured object.

[0008] In one feasible embodiment, the light source assembly further includes a motor and a synchronous transmission mechanism. The motor is mounted on a bracket. The output end of the motor is connected to the turntable via the synchronous transmission mechanism. Thus, the motor and the synchronous transmission mechanism can be used to drive the turntable to rotate, thereby switching the first light source.

[0009] In one feasible embodiment, the light source assembly further includes a positioning plate, which is disposed opposite the turntable and fixedly mounted on the bracket; at least one elastic member is disposed between the positioning plate and the turntable, the elastic member being connected to the positioning plate and abutting the turntable; alternatively, the elastic member is connected to the turntable and abutting the positioning plate; the elastic member is configured to abut the turntable or positioning plate to stationary the turntable when the motor torque decreases to a preset torque; the preset torque is less than or equal to the friction between the elastic member and the positioning plate or the turntable. In this way, the positioning plate and the elastic member can be used to stationary the rotating turntable to complete the light source switching process, thereby avoiding the problem of incorrect light source switching caused by excessive turntable rotation.

[0010] In one feasible embodiment, the second surface of the turntable is provided with multiple grooves, each corresponding to a plurality of light sources. The second surface is opposite the first surface. The first end of the elastic member is disposed within the positioning plate, and the second end of the elastic member abuts the turntable. After the motor torque decreases to a preset torque, the second end of the elastic member abuts any of the grooves. In this way, the elastic member disposed on the positioning plate abuts the turntable, and after the motor torque decreases to the preset torque, the turntable stops rotating, thereby completing the switching of the light sources.

[0011] In one feasible embodiment, the first end of the elastic member is disposed within the turntable, and the second end of the elastic member abuts against the positioning plate. The positioning plate has at least one groove disposed on a surface adjacent to the turntable. After the motor torque decreases to a preset torque, the second end of the at least one elastic member abuts against the groove. In this manner, the elastic member disposed on the turntable abuts against the positioning plate, and once the motor torque decreases to the preset torque, the turntable stops rotating, thereby completing the switching of the light source.

[0012] In one feasible embodiment, the computing device is further configured to send an instruction to the light source assembly to switch the first light source if the test result is a failure. The light source assembly is further configured to control the rotation of the turntable to switch the first light source in response to the instruction sent by the computing device. In this way, the first light source can be switched sequentially when the test fails, thereby inspecting the object under different lighting conditions, reducing the impact of lighting conditions on the test results, and improving the recognition rate of the surface quality inspection of the object under test.

[0013] In one feasible embodiment, the light source assembly further includes a sensor and is configured to: increase the torque of the motor in response to a command sent by the computing device; the motor drives the turntable to rotate via a synchronous transmission mechanism; the sensor detects the turntable's rotation angle; and if the rotation angle is greater than or equal to a rotation threshold, reduce the motor torque; the rotation threshold is less than the angular position difference between the first light source and an adjacent light source. This allows for control of the light source switching process and avoids issues with incorrect light source switching.

[0014] In one feasible embodiment, the conveying mechanism is configured to convey the object to be tested to the loading platform; the box body further includes a door, one side of which is hingedly connected to the frame. In this way, the object to be tested can be conveyed by the conveying mechanism, thereby achieving automated testing of the object to be tested.

[0015] In one feasible embodiment, the multiple light sources include LED white light sources, red light sources, green light sources, blue light sources, infrared light sources, and ultraviolet light sources. In this way, different light sources can be used to inspect the object under test respectively, reducing the impact of lighting conditions on the test results and improving the recognition rate of the surface quality inspection of the object under test.

[0016] Secondly, embodiments of the present application further provide a logo detection method, applicable to a logo detector with a switchable light source, such as any of the aforementioned embodiments. The method comprises: S110, illuminating an object to be measured using a first light source, wherein the first light source is any one of multiple light sources in a light source assembly; S120, acquiring a detection image of the object to be measured illuminated by the first light source; and S130, generating a detection result based on the detection image. In this way, the detector can be used to inspect the object to be measured, thereby reducing the difficulty of inspecting the surface quality of the object to be measured and lowering the false detection rate through the switchable light source.

[0017] In a feasible embodiment, after generating the detection result according to the detection image, the method further includes: if the detection result is failure, switching the first light source and returning to step S110. In this way, the object to be detected can be detected by switching different light sources.

[0018] In one feasible embodiment, the multiple light sources in the light source assembly include an LED white light source, a red light source, a green light source, a blue light source, an infrared light source, and an ultraviolet light source; illuminating the object to be measured with the first light source includes: determining the LED white light source as the first light source; and illuminating the object to be measured with the LED white light source. If the test result is that the test fails, switching the first light source includes: if the test result is that the test fails, switching the first light source in the order of the red light source, the green light source, the blue light source, the infrared light source, and the ultraviolet light source. In this way, the object to be measured can be tested separately using different light sources, reducing the impact of lighting conditions on the test results and improving the recognition rate of the surface quality test of the object to be measured. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solution of the present application, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0020] Figure 1 A schematic diagram of the structure of an electronic device;

[0021] Figure 2 It is a structural diagram of a Logo detector;

[0022] Figure 3 A schematic structural diagram of a logo detector with switchable light sources provided in an embodiment of the present application;

[0023] Figure 4 A schematic diagram of the principle of photoluminescence provided in an embodiment of the present application;

[0024] Figure 5 A schematic diagram of the box structure of a Logo detector provided in an embodiment of the present application;

[0025] Figure 6 A schematic structural diagram of a light source assembly provided in an embodiment of the present application;

[0026] Figure 7 A schematic diagram of the structure of the motor and synchronous transmission mechanism provided in an embodiment of the present application;

[0027] Figure 8 A schematic cross-sectional view of a turntable and a positioning plate provided in an embodiment of the present application;

[0028] Figure 9 A schematic cross-sectional view of another turntable and positioning plate provided in an embodiment of the present application;

[0029] Figure 10A flowchart of the Logo detection method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0030] The technical solutions of the embodiments of the present application will be clearly described below in conjunction with the drawings in the embodiments of the present application.

[0031] In the description of this application, unless otherwise specified, " / " means "or", for example, A / B can mean A or B. "And / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, "at least one" means one or more, and "a plurality" means two or more. Words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not limit them to be necessarily different.

[0032] It should be noted that, in this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described in this application as "exemplary" or "for example" should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.

[0033] The following first describes the application scenarios of the embodiments of the present application with reference to the accompanying drawings.

[0034] A logo, meaning a mark, logo, or trademark, is a small visual design used to indicate identity or other information. A logo can be made into a physical object and applied to various electronic devices to identify the electronic devices and identify information. Electronic devices with a logo may be mobile phones, tablet personal computers, laptop computers, personal digital assistants (PDAs), personal computers (PCs), notebook computers, vehicle-mounted devices, wearable devices, and other electronic devices. This application does not limit the types of electronic devices.

[0035] Figure 1 The figure is a structural diagram of an electronic device.

[0036] Take the mobile phone as an example, Figure 1As shown, the electronic device 100 may include a display screen 110, a middle frame 120 and a back cover 130. The display screen 110 and the back cover 130 are nested in the middle frame 120 to form a housing structure of the electronic device 100.

[0037] It should be noted that Figure 1 The above description only exemplifies the shell structure of the electronic device. In addition to the shell structure, the electronic device may also include internal hardware, such as: a processor, an external memory interface, an internal memory, a universal serial bus (USB) interface, a charging management module, a power management module, a battery, an antenna, a mobile communication module, a wireless communication module, an audio module, a speaker, a receiver, a microphone, an earphone interface, a sensor module, a button, a motor, an indicator, a camera, etc. The internal hardware listed above is Figure 1 Not shown in the figure.

[0038] When the logo is engraved, it is usually engraved on the housing structure of the electronic device 100 so that the logo can be observed by the user.

[0039] In the housing structure of electronic device 100, display screen 110 is a visual display for displaying certain electronic files on the screen. The clarity and completeness of the content displayed on display screen 110 affect the user experience of electronic device 100, so the logo is usually not set in the location where display screen 110 is located.

[0040] The middle frame 120 forms the side of the electronic device 100, and the back cover 130 forms the rear cover. Both the middle frame 120 and the back cover 130 are structural components of the electronic device 100, protecting the internal hardware. Logo engraving on the middle frame 120 and the back cover 130 does not affect their performance, so the logo can be engraved on the middle frame 120 and / or the back cover 130 in the electronic device 100.

[0041] Compared to the middle frame 120, the back cover 130 has the advantage of being larger and generally plate-shaped with minimal undulations or curvature. Therefore, when placing a logo on the electronic device 100, it is usually placed on the back cover 130, making it easier to engrave the logo and inspect it after engraving.

[0042] It should be understood that the back cover 130 may be a laminated structure, which may include a back cover body and a coating layer. After the back cover 130 is installed on the electronic device 100, the coating layer faces the outside of the electronic device 100. The coating layer may be a polyester chemical composition to increase the hardness of the back cover body and make the back cover 130 smoother, thereby improving the aesthetics of the electronic device 100.

[0043] The back cover body can be made of a composite material of PC and PMMA. PC is polycarbonate and PMMA is polymethyl methacrylate. The composite structure has the advantages of high strength and light weight, which facilitates weight control of electronic device 100. For example, the back cover body may include a PC layer and a PMMA layer, with the PMMA layer being closer to the coating layer than the PC layer.

[0044] The logo can be set on the surface of the electronic device 100 by laser engraving. Laser engraving is a technique that uses a laser beam to create a permanent mark on a surface. During the laser engraving process, the laser beam serves as the processing medium and does not directly contact the material surface. The material does not deform during the engraving process, making it convenient for processing soft materials.

[0045] When the back cover 130 is laser engraved, the laser can ablate and remove the coating layer facing the outside of the electronic device 100, thereby exposing the underlying PMMA layer to form a logo.

[0046] After laser engraving is complete, the engraved material needs to be inspected to determine the integrity of the logo. For example, a camera or other image acquisition device can be used to capture an image of the engraved material surface. This image can then be compared with the complete image of the logo using a computer or other device to determine the integrity of the logo engraving.

[0047] Figure 2 A schematic diagram of the structure of a Logo detector.

[0048] like Figure 2 As shown, the logo detector 200 may include a camera 210, a fill light source 220 and a transmission mechanism 230. The transmission mechanism 230 may be provided with a detection platform 231 to carry the object to be tested, so that the camera 210 can collect images.

[0049] The camera 210 and the fill light source 220 are arranged toward the conveying mechanism 230. For example, when the logo detector 200 is placed on a plane, the camera 210 and the fill light source 220 can be located above the conveying mechanism 230 to detect the object placed on the detection table 231.

[0050] The fill light source 220 can illuminate the object to be measured, so that the camera 210 can capture a brighter and clearer image, thereby improving the detection efficiency of the logo.

[0051] Taking the engraving and inspection of a logo on the back cover 130 of the electronic device 100 as an example, the back cover 130 can be placed on the inspection table 231, and the fill light source 220 can illuminate the back cover 130. The camera 210 then captures an image of the back cover 130, which is then sent to a computer for image recognition to determine whether the engraved logo on the back cover 130 is complete, thereby obtaining an inspection result for the logo on the back cover 130.

[0052] However, when the surface of the material to be detected is made of highly reflective material, or the surface color of the material is different, or the color of the laser-engraved logo is similar to the color of the material, the boundary between the logo and other areas in the image captured by the camera 210 will not be obvious or the image will not be clear, thereby increasing the difficulty of logo detection and recognition and the false detection rate.

[0053] In order to solve the above problems, an embodiment of the present application provides a logo detector with a switchable light source. By switching the light source used to illuminate the object to be measured, the clarity of the captured image is improved, thereby reducing the difficulty of recognizing logo engravings, reducing the false detection rate, and improving the recognition efficiency of logo engravings.

[0054] Figure 3 A schematic structural diagram of a logo detector with switchable light sources provided in an embodiment of the present application.

[0055] like Figure 3 As shown, the Logo detector 300 in the embodiment of the present application may include a light source assembly 310, a camera assembly 320 and a computing device. Among them, the light source assembly 310 is used to provide lighting for the camera assembly 320 to shoot the object to be tested, so that the detection image obtained by the camera assembly 320 is clearer.

[0056] The light source assembly 310 may include multiple light sources 311. When irradiating, the object under test may be illuminated by one of the multiple light sources 311. Exemplarily, the light source assembly 310 is configured to switchably use a first light source 311a to illuminate the object under test, and the first light source 311a may be any one of the multiple light sources 311.

[0057] In the embodiment of the present application, the first light source 311a may refer to a light source 311 that is directed toward the object to be measured among the multiple light sources 311. It should be understood that illuminating the object to be measured with a single first light source 311a can reduce interference between different light sources 311, thereby further improving the clarity of the image captured by the camera assembly 320.

[0058] Exemplarily, the wavelengths of light emitted by the multiple light sources 311 in the light source assembly 310 may be different, thereby emitting light of different colors, so as to illuminate the object to be measured with light of different wavelengths, and then obtain the detection image of the object to be measured illuminated by light of different wavelengths through the camera assembly 320.

[0059] It should be noted that the colors of light in different wavelength bands may differ. For example, light source 311 may emit red, green, or blue light. Furthermore, the light emitted by the same light source 311 may have multiple wavelength bands. For example, light source 311 may also emit white light. Therefore, in some embodiments, the multiple light sources 311 may include LED white light sources, red light sources, green light sources, blue light sources, infrared light sources, and ultraviolet light sources.

[0060] Figure 4 A schematic diagram of the principle of photoluminescence provided in an embodiment of the present application.

[0061] In some embodiments of this application, the object to be tested is the back cover 130 of the electronic device 100 as an example for description. After laser engraving, the structure where the logo is located facing the electronic device 100 is the PMMA layer in the back cover 130. Figure 4 As shown, under UV light, PMMA molecules absorb photon energy, causing electron transitions from a low energy level, S0, to higher energy levels, S1 to Sn, placing the electrons in the PMMA in an excited state. Because excited electrons cannot exist stably, they briefly remain in the high energy levels, S1 to Sn, before transitioning to the lower energy level, S0, dissipating the energy as fluorescence or phosphorescence. This improves the contrast between the laser-engraved track and the non-laser-engraved areas on the back cover 130.

[0062] It should be understood that during the photoluminescence process, fluorescence usually disappears when the incident light stops, while phosphorescence disappears some time after the incident light stops due to intersystem crossing. Figure 4 As shown in FIG, from the time when the incident light stops to T1, the electron energy is dissipated in the form of phosphorescence. After T1, the electrons in PMMA transition to the low energy level S0 and can no longer emit phosphorescence.

[0063] Therefore, in some embodiments of the present application, the light source 311 may also be invisible light, such as an ultraviolet light source or an infrared light source. The invisible light source 311, while being able to photoluminesce the material of the object being tested, can also reduce the impact of different colored light on logo detection, improve the contrast between the laser-engraved track and the non-laser-engraved area on the back cover 130, and enable the camera assembly 320 to obtain a clearer detection image of the logo.

[0064] The camera assembly 320 may include at least one camera, thereby capturing a detection image of the object under illumination by the first light source 311a. In the embodiment of the present application, the detection image of the object captured by the camera assembly 320 may be a picture or a video. The specific format of the image captured by the camera assembly 320 is not limited in this application.

[0065] Furthermore, the computing device may be communicatively connected to the camera assembly 320, thereby receiving the detection images captured and transmitted by the camera assembly 320, and generating corresponding detection results based on the detection images. It should be understood that the communication connection between the computing device and the camera assembly 320 may be a wired connection or a wireless connection, and this application does not limit the connection method between the computing device and the camera assembly 320.

[0066] During the process of generating the test results, the computing device may detect whether there is a logo on the object being tested, as well as the integrity of the logo, thereby generating the test results. In an embodiment of the present application, the test result is considered to have passed only when the presence of a corresponding logo on the object being tested is detected and the integrity of the logo meets the preset conditions. Exemplarily, the integrity of the logo can also be used to express whether the corresponding logo is engraved on the object being tested, that is, when the integrity of the logo is zero, the corresponding logo does not exist on the object being tested. Therefore, when the integrity of the logo on the object being tested meets the preset conditions, it can be considered that the corresponding logo exists on the object being tested and the logo is engraved completely.

[0067] In some embodiments of this application, the preset condition may be that the completeness reaches a completeness threshold. That is, when the completeness of the logo reaches the completeness threshold, the logo on the tested object is considered complete. For example, when the completeness of the logo reaches the completeness threshold, the computing device passes the logo detection for the tested object; if the completeness of the logo does not reach the completeness threshold, the computing device fails the logo detection for the tested object. The completeness threshold may be a value such as 90% or 95%. This application does not impose any restrictions on the specific value of the completeness threshold, and other values ​​may also be used when making completeness judgments.

[0068] When the computing device generates the detection results, it can use pre-set data such as the logo shape and engraving location to calculate the logo integrity of the detected image. For example, by identifying the location of the detected object corresponding to the engraving location in the detected image, the integrity of the logo in that area can be determined, thereby performing a more detailed logo inspection and reducing the recognition difficulty.

[0069] Figure 5 A schematic diagram of the box structure of a Logo detector provided in an embodiment of the present application.

[0070] As shown in Figure 5 , the Logo detector 300 can further include a box 330, and the light source assembly 310 and the camera assembly 320 in the foregoing embodiments are arranged in the box 330. The box 330 can be in a closed state in a normal state to reduce the influence of external light on the camera assembly 320 during the acquisition of the detection image.

[0071] As shown in Figure 3 and Figure 5 , in the box 330, a base 331 and a frame 332 can be included, and the frame 332 is arranged on the base 331. Further, the frame 332 can also serve as the frame of the box 330 and is arranged around the base 331 to jointly enclose the external structure of the box 330 with the base 331. A skin can be arranged on the frame 332 arranged around the base 331, so as to isolate the inside of the box 330 from the outside. In this way, when the light source assembly 310 is irradiated, the influence of external light on the Logo detector 300 can be reduced, and the clarity of the detection image acquired by the camera assembly 320 can be improved.

[0072] Further, the light source assembly 310 and the camera assembly 320 can be arranged on the side of the frame 332 away from the base 331, that is, the light source assembly 310 and the camera assembly 320 are arranged above the base 331 when the box 330 is normally placed. It should be understood that the light source assembly 310 and the camera assembly 320 can also be arranged above the base 331 in other manners, and the present application does not limit the arrangement manner of the light source assembly 310 and the camera assembly 320.

[0073] In some embodiments of the present application, the base 331 can be provided with a loading table 333, and the loading table 333 can be used to place the measured object. In this embodiment, the irradiation direction of the light source 311 in the light source assembly 310 and the image acquisition direction of the camera assembly 320 can both be directed to the loading table 333, so as to light and shoot the measured object located on the loading table 333.

[0074] Further, in combination with Figure 3 and Figure 5 , the box 330 can further include a transmission mechanism 334 and a box door 335. One side of the box door 335 is hinged to the frame 332, and the box door 335 can be rotated along the hinged position, so as to close or open the box 330.

[0075] The transport mechanism 334 can connect the inside and outside of the box 330 through the box door 335, thereby being able to transport the objects under test outside the box 330 to the loading platform 333, thereby realizing automated testing of the objects under test. For example, the box door 335 can be respectively arranged on two sides of the box 330, and the transport mechanism 334 can pass through the box door 335 and penetrate the box 330, thereby transporting untested objects under test into the box 330 for testing, and transporting tested objects under test out of the box 330.

[0076] Figure 6 A schematic structural diagram of a light source assembly provided in an embodiment of the present application.

[0077] like Figure 6 As shown, the light source assembly 310 may further include a turntable 312 and a bracket 313. The turntable 312 is rotatably mounted on the bracket 313, and the bracket 313 is connected to the frame 332. A plurality of light sources 311 are arranged in an array on a first surface of the turntable 312. The first surface of the turntable 312 faces the loading platform 333, so that the light sources 311 also emit light toward the loading platform 333.

[0078] For example, the turntable 312 may be a circular structure, and when the array of light sources 311 is arranged on the turntable 312, each light source 311 is at the same distance from the center of the turntable 312, and the angular position difference between two adjacent light sources 311 is the same. The angular position difference is the angle formed by two adjacent light sources 311 and the center of the turntable 312. For example, in a scene with six light sources 311, the angular position difference between two adjacent light sources 311 is 60°.

[0079] When the turntable 312 rotates, it drives the light source 311 to rotate, thereby switching the light source 311 that directly illuminates the object to be measured on the loading platform 333. In this way, the light source 311 can be switched to illuminate the object to be measured through different light sources, thereby improving the clarity of the detection image captured by the camera assembly 320.

[0080] like Figure 6 As shown, in some embodiments of the present application, the light source assembly 310 may further include a motor 314 and a synchronous transmission mechanism 315. The motor 314 may rotate in a powered state to provide power for switching the light source 311.

[0081] Exemplarily, the synchronous transmission mechanism 315 can be set between the turntable 312 and the motor 314, and the output end of the motor 314 is connected to the turntable 312 through the synchronous transmission mechanism 315. During operation, the motor 314 can drive the synchronous transmission mechanism 315 to move, and then drive the turntable 312 to rotate to switch the light source 311.

[0082] In some embodiments, the light source assembly 310 can be communicatively connected to a computing device, thereby receiving instructions from the computing device to control the motor 314 to achieve the purpose of controlling the turntable 312 to switch the light source 311. The communication connection method between the light source assembly 310 and the computing device can be the same as the communication connection method between the camera assembly 320 and the computing device, and is not further described in this application.

[0083] For example, when the computing device generates a detection result indicating that the detection fails, the computing device can send an instruction to the light source assembly 310 to switch the first light source 311a through the communication connection with the light source assembly 310. It should be understood that when the computing device generates a detection result based on the detection image, if the integrity of the logo in the detection image does not meet the integrity threshold, the detection is considered to have failed. In this case, it is necessary to switch the first light source 311a that illuminates the object to be detected, and obtain the detection image of the object to be detected again through the camera assembly 320.

[0084] After receiving instructions from the computing device, the light source assembly 310 can respond to the instructions sent by the computing device by controlling the rotation of the motor 314 to control the rotation of the turntable 312, thereby switching the first light source 311a. In this way, if the logo detection of the object under test fails, the first light source 311a illuminating the object under test can be switched. By changing the lighting source, the detection image and detection results can be re-acquired, thereby improving the accuracy of logo detection and reducing the false detection rate.

[0085] Figure 7 A schematic diagram of the structure of the motor and synchronous transmission mechanism provided in an embodiment of the present application.

[0086] In the embodiment of the present application, since there are many structures that can realize the transmission of the motor 314, the motor 314 and the synchronous transmission mechanism 315 can be one of the various structures.

[0087] For example, Figure 7 As shown in (a), the synchronous transmission mechanism 315 may include at least one driven gear 315a, which is arranged at the input end of the synchronous transmission mechanism 315. A gear may be fixedly mounted on the output end of the motor 314, and meshed with the driven gear 315a, so that when the motor 314 is powered on and rotated, the driven gear 315a is driven to rotate. It should be understood that during the operation of the motor 314, the rotor rotation speed of the motor 314 is relatively high, so the number of teeth of the driven gear 315a is greater than the number of teeth of the gear connected to the output end of the motor 314. In this way, the rotation speed of the output end of the synchronous transmission mechanism 315 can be reduced, and the turntable 312 can be prevented from rotating too fast, which affects the switching accuracy of the light source 311.

[0088] In the embodiments of this application, Figure 7The transmission structure of two meshing gears shown in (a) is only an example. In actual applications, multi-stage gears can be set between the synchronous transmission mechanism 315 and the motor 314 for transmission, thereby further reducing the rotation speed of the output end of the synchronous transmission mechanism 315, improving the rotation accuracy of the turntable 312, and avoiding switching errors of the light source 311.

[0089] In some embodiments, a belt may be provided between the output end of the motor 314 and the synchronous transmission mechanism 315 for transmission, thereby reducing the rotation speed of the turntable 312 and improving the switching accuracy of the light source 311 .

[0090] like Figure 7 As shown in (b), in some embodiments of the present application, the synchronous transmission mechanism 315 can be a sheave mechanism, including a dial 315b as a driving member and a sheave 315c as a driven member. A transmission shaft can be provided at the axis of sheave 315c, and the turntable 312 is connected to the synchronous transmission mechanism 315 via the transmission shaft. When the sheave 315c rotates, the turntable 312 is driven to rotate synchronously.

[0091] The dial 315b can be fixedly mounted on the output end of the motor 314. That is, the output shaft of the motor 314 is positioned at the axis of the dial 315b, so that the motor 314 can drive the dial 315b to rotate about its axis. The dial 315b is also provided with a pin 315d, which can drive the grooved wheel 315c to intermittently rotate, thereby driving the turntable 312 to intermittently rotate.

[0092] It should be understood that the dial 315b and the output end of the motor 314 can also be connected in other ways. For example, a multi-stage gear transmission mechanism can be provided between the dial 315b and the output end of the motor 314 to reduce the rotation speed of the dial 315b and improve the rotation accuracy of the turntable 312.

[0093] The dial 315b is radially evenly distributed with scattered transmission grooves 315e. The transmission groove 315e can be composed of a straight line segment and an arc segment opening, and the diameter of the arc segment opening is larger than the diameter of the straight line segment, so that when the dial 315b is rotated, the dial pin 315d can smoothly enter the transmission groove 315e to drive the groove wheel 315c to rotate.

[0094] Specifically, the detent pin 315d may be a cylindrical structure, and the width of the transmission groove 315e in the straight section is the same as the diameter of the detent pin 315d, or the diameter of the detent pin 315d is slightly smaller than the width of the transmission groove 315e in the straight section, so that the detent pin 315d can be smoothly rotated into the transmission groove 315e.

[0095] In some embodiments, a single detent pin 315d may be provided. Thus, when the dial 315b rotates, causing the detent pin 315d to enter the straight section of the transmission slot 315e, the detent pin 315d defines the position of the sheave 315c, causing the sheave 315c to rotate in response to the rotation of the dial 315b. When the detent pin 315d exits the straight section of the transmission slot 315e, the rotation of the dial 315b no longer affects the sheave 315c, and the rotation of the sheave 315c ceases. When the detent pin 315d returns to the position of the transmission slot 315e, the aforementioned process repeats.

[0096] In the embodiment of the present application, one rotation of the dial 315b drives the sheave 315c from one transmission slot 315e to the next transmission slot 315e, thereby rotating the sheave 315c by a certain angle. The rotation angle is related to the number of transmission slots 315e. Specifically, if the sheave 315c has four transmission slots 315e, one rotation of the dial 315b drives the sheave 315c to rotate 90°. If the sheave 315c has six transmission slots 315e, one rotation of the dial 315b drives the sheave 315c to rotate 60°.

[0097] Specifically, the turntable 312 is fixedly mounted to the transmission shaft, and the angular positions of the light sources 311 thereon correspond to the angular positions of the transmission slots 315e on the sheave 315c. Each light source 311 corresponds to a corresponding transmission slot 315e. This allows each rotation of the dial 315b to switch a light source 311 to the next adjacent light source 311. Therefore, if the light source assembly 310 includes six light sources 311, the sheave 315c can be provided with six transmission slots 315e.

[0098] It should be understood that the number of the aforementioned light sources 311 and the number of the transmission slots 315e are only one feasible implementation method, and the present application does not limit the number of the light sources 311 and the transmission slots 315e.

[0099] In some embodiments, the motor 314 may be a servo motor, allowing the computing device to precisely control the operating parameters of the number of rotations of the motor 314 through instructions, thereby facilitating control of the rotation angle of the turntable 312 and improving the rotation accuracy of the turntable 312. The specific structures of the motor 314 and the synchronous transmission mechanism 315 described above are merely a few feasible implementations in the embodiments of this application, and are not limited in this application.

[0100] Figure 8 A schematic cross-sectional view of a turntable and a positioning plate provided in an embodiment of the present application; Figure 9 A schematic cross-sectional view of another turntable and positioning plate provided in an embodiment of the present application.

[0101] like Figure 3 、 Figure 8 and Figure 9 As shown, light source assembly 310 further includes a positioning plate 316, which is disposed opposite to turntable 312 and fixedly mounted on bracket 313. Positioning plate 316 is disposed between synchronous transmission mechanism 315 and turntable 312. When motor 314 drives turntable 312 via synchronous transmission mechanism 315, positioning plate 316 remains stationary, allowing turntable 312 to stop rotating using positioning plate 316.

[0102] Exemplarily, at least one elastic member 317 may be provided between the positioning plate 316 and the turntable 312, and the elastic member 317 may increase the friction between the positioning plate 316 and the turntable 312, so that when the turntable 312 switches the light source 311, it stops precisely so that the illumination direction of the switched light source 311 is toward the loading platform 333.

[0103] When the torque of the motor 314 decreases to a preset torque, the elastic member 317 can stop the turntable 312 through the friction generated by its contact with the turntable 312 or the positioning plate 316, thereby accurately switching the light source 311. The preset torque is less than or equal to the friction between the elastic member and the positioning plate 316 or the turntable 312, so that the elastic member 317 can stop the turntable 312 through the friction generated by the contact, thereby achieving the switching of the light source 311.

[0104] In some examples of this application, Figure 8 As shown, elastic member 317 can be connected to positioning plate 316 and abut against rotating disk 312. Specifically, the first end of elastic member 317 is disposed within positioning plate 316, while the second end of elastic member 317 abuts rotating disk 312. The elasticity of elastic member 317 causes the second end of elastic member 317 to abut against rotating disk 312. The greater the elasticity of elastic member 317, the greater the friction generated by the abutment.

[0105] For example, the elastic force in the elastic member 317 can be provided by a hard spring. The hard spring can be compressed when it abuts the turntable 312, thereby providing friction against the turntable 312 through the elastic force. The second end of the elastic member 317 can be provided with a relatively rough surface or a structure with a certain deformation function to increase the friction force of the elastic member 317 on the turntable 312 during the abutment process. At the same time, wear-resistant material can be provided at the position on the turntable 312 where the elastic member 317 abuts, thereby reducing the wear caused by the elastic member 317 on the turntable 312 during rotation, thereby increasing the service life of the light source assembly 310.

[0106] Furthermore, the second surface of the turntable 312 may be provided with a plurality of grooves 318. The second surface is opposite to the first surface, and the positions of the grooves 318 correspond one-to-one to the positions of the plurality of light sources 311 provided on the first surface. In the embodiment of the present application, after the torque of the motor 314 is reduced to a preset torque, the second end of the elastic member 317 abuts and / or engages with any of the grooves 318. In this way, the turntable 312 can be fixed by the abutment and / or engagement between the elastic member 317 and the grooves 318 so that the illumination direction of at least one light source 311 is toward the loading platform 333.

[0107] In another embodiment of the present application, Figure 9 As shown, elastic member 317 can be connected to rotating disk 312 and abut against positioning disk 316. Specifically, the first end of elastic member 317 is disposed within rotating disk 312, and the second end of elastic member 317 abuts against positioning disk 316. At this time, the elasticity of elastic member 317 causes the second end of elastic member 317 to abut against positioning disk 316. The greater the elasticity of elastic member 317, the greater the friction generated by the abutment.

[0108] For example, the elastic force in the elastic member 317 can be provided by a hard spring, which can be compressed when abutting the positioning plate 316, thereby providing friction against the positioning plate 316 through the elastic force. The second end of the elastic member 317 can be provided with a relatively rough surface or a structure with a certain degree of deformation function to increase the friction force of the elastic member 317 on the positioning plate 316 during the abutment process. At the same time, wear-resistant material can be provided at the position on the positioning plate 316 where the elastic member 317 abuts, thereby reducing the wear caused by the elastic member 317 abutting the positioning plate 316 when the turntable 312 rotates, thereby increasing the service life of the light source assembly 310.

[0109] Furthermore, at least one groove 318 is provided on the surface of the positioning plate 216 adjacent to the turntable 312, and a plurality of elastic members 317 are provided, and the elastic members 317 correspond one to one with the light sources 311. In the embodiment of the present application, after the torque of the motor 314 is reduced to a preset torque, the second end of any elastic member 317 abuts and / or engages with the groove 318. In this way, the turntable 312 can be fixed by the abutment and / or engagement between the elastic member 317 and the groove 318, so that the illumination direction of the light source 311 corresponding to the elastic member 317 abutting and / or engaging with the groove 318 is toward the loading platform 333.

[0110] In some embodiments of the present application, the number and location of at least one of the elastic members 317 and the grooves 318 correspond one-to-one with the light sources 311, so that each light source 311 has a corresponding elastic member 317 and / or groove 318. This facilitates switching when the torque of the motor 314 decreases to a preset torque, and the second end of the elastic member 317 abuts against the groove 318, thereby stopping the turntable 312 and completing the switching of the light sources 311.

[0111] In this embodiment of the present application, when the logo detection of the object under test fails and the first light source 311a needs to be switched, the computing device sends a command to switch the first light source 311a to the light source assembly 310. After receiving the command from the computing device, the light source assembly 310 responds to the command by increasing the current of the drive motor 314, thereby increasing the torque of the motor 314, so that the synchronous transmission mechanism 315 can drive the turntable 312 to transmit the power.

[0112] The light source assembly 310 may further include a sensor, which may be disposed on the turntable 312 or the synchronous transmission mechanism 315 to monitor the status of the turntable 312. For example, the sensor may be disposed on the annular surface of the turntable 312 or on the output end of the synchronous transmission mechanism 315 connected to the turntable 312.

[0113] The sensors can monitor and obtain information such as the angular velocity, angular acceleration, and angular displacement of the turntable. The sensors can communicate with a computing device to transmit the information to the computing device. The computing device can identify the received sensor information and, upon detecting that the rotation angle of the turntable 312 is greater than or equal to a rotation threshold, send a command to the motor 314 in the light source assembly 310 to reduce the current driving the motor 314, thereby reducing the output torque of the motor 314 and thereby stopping the turntable 312.

[0114] The rotation threshold is slightly smaller than the angular position difference between the first light source 311a and the adjacent light source 311. For example, if six light sources 311 are arrayed on the turntable 312, the angle between two adjacent light sources 311 and the axis of the turntable 312 is 60°. Therefore, when switching between the first light source 311a and the adjacent light source 311, the turntable 312 can rotate up to 60°. In this case, the rotation threshold can be 50°, 55°, 57°, etc. In this way, after the sensor detects that the turntable 312 has rotated to a preset angle, it notifies the computing device, which then controls the light source assembly 310 to reduce the torque of the motor 314, allowing the turntable 312 to stop rotating due to the friction between the elastic member 317 and the positioning plate 316 or the turntable 312, thereby improving the switching accuracy of the first light source 311a.

[0115] Since the process of the sensor sending the collected data to the computing device and then sending instructions to the light source assembly 310 through the computing device requires communication interaction between multiple devices, there may be a certain delay in the actual control, which may lead to an error in the switching of the light source 311. In some embodiments of the present application, a trigger can also be provided on the synchronous transmission mechanism 315, and the trigger can be connected to the sensor. After the sensor detects that the rotation angle of the turntable 312 is equal to the rotation threshold, it can send an electrical signal to the trigger. After receiving the electrical signal sent by the sensor, the trigger can disconnect the power supply line of the motor 314 to reduce the torque of the motor 314, thereby controlling the turntable 312 to stop rotating.

[0116] Furthermore, the trigger can also be connected to the computing device for communication. After the trigger disconnects the power supply line of the motor 314 , if the light source assembly 310 needs to switch the first light source 311a again, the computing device can send a signal to the trigger to connect the power supply line of the motor 314 .

[0117] The logo detector 300 in the embodiment of the present application can detect the logo of the object under test, and the logo detector 300 can also obtain a higher-definition detection image by switching the light source 311, thereby improving the computing device's recognition efficiency of the logo of the object under test and reducing the false detection rate.

[0118] Figure 10 A flowchart of the Logo detection method provided in an embodiment of the present application.

[0119] Corresponding to the aforementioned Logo detector 300, the embodiment of the present application further provides an embodiment of a Logo detection method, which is applied to any Logo detector 300 with a switchable light source as in the aforementioned embodiment, such as Figure 10 As shown, the method includes:

[0120] S110: irradiate the object to be measured with a first light source.

[0121] The first light source can be any one of the multiple light sources in the light source assembly, and the first light source is directed toward the object being measured. When the object is placed in the logo detector, the first light source can illuminate the object to improve the clarity of the captured detection image.

[0122] Furthermore, since the light source assembly includes multiple light sources, a first light source needs to be determined during detection to illuminate the object under test that enters the detection range. The first light source can be any light source that illuminates the object under test when it is placed on the loading platform.

[0123] In some embodiments of the present application, the multiple light sources in the light source assembly may include light sources of multiple different wavelength bands. For example, the multiple light sources may include LED white light sources, red light sources, green light sources, blue light sources, infrared light sources, and ultraviolet light sources. Accordingly, when it is necessary to illuminate the object to be measured, the LED white light source can be first determined as the first light source. After each object to be measured is placed on the loading platform, the LED white light source is used to illuminate the object to be measured, allowing the camera assembly to obtain a detection image of the illuminated object to be measured.

[0124] S120: Acquire a detection image of the object to be measured illuminated by the first light source.

[0125] After the object to be measured is illuminated by the first light source, the camera component can photograph the object to be measured to obtain a detection image of the object to be measured under the illumination of the first light source.

[0126] After the camera component acquires the detection image, it can send the captured detection image to the computing device through a communication connection with the computing device for detection.

[0127] S130: Generate a detection result based on the detection image.

[0128] After obtaining the detection image captured by the camera assembly, the computing device can obtain the logo detection result on the object being tested by analyzing the features of the object being tested in the image. For example, an image of a complete logo can be set in the computing device to serve as the basis for recognition, thereby determining whether the text and other information in the logo are complete to obtain the integrity of the logo. In the embodiments of the present application, the method of obtaining the integrity of the logo by comparison is only one feasible implementation method, and the present application does not limit the image detection method.

[0129] S140: Determine whether the test result is passed.

[0130] The computing device can obtain a test result by identifying the test image. It should be understood that a test may result in either a pass or a fail. For example, when the logo on the object being tested, as identified by the computing device, is clear and complete, and its completeness meets the completeness criteria, the object being tested is considered to have passed the test. Conversely, when the logo engraved on the object being tested is less complete or the logo cannot be detected, the object being tested is considered to have failed the test.

[0131] In the embodiment of the present application, if the test result is a pass, then the object on the loading platform meets the test criteria, and the subsequent test process may not be performed. Instead, the subsequent step S170 is performed, and the test process for the current object is terminated after the execution of step S170. If the test result is a fail, the subsequent step S150 is performed to determine whether to continue testing the object.

[0132] S150: Determine whether there is any unswitched light source.

[0133] An unswitched light source refers to a light source that has not illuminated the current object during the inspection process. Because the logo detector features multiple light sources, each light source is selected as the primary light source during the inspection process, and then image acquisition is performed on the object. Therefore, each light source is used at most once for the same object to avoid duplicate inspections.

[0134] For example, if the current object under test has been illuminated by all of the above light sources but still fails the test, it can be assumed that the logo engraving on the object under test is defective, and the subsequent step S180 is executed. At this point, the test of the current object under test can be terminated, and the object under test on the loading platform can be replaced to test whether the next object under test meets the test criteria.

[0135] If the object under test has been illuminated by some of the light sources, then some of the light sources have not illuminated the current object under test, and the subsequent step S160 can be executed. For example, if the object under test has been illuminated by an LED white light source, a red light source, and a green light source, and there are still blue light sources, infrared light sources, and ultraviolet light sources that have not illuminated the object under test, step S160 can be executed to switch the light source to one of the blue light source, infrared light source, and ultraviolet light source to illuminate the object under test.

[0136] S160: Switch the first light source, and return to step S110.

[0137] In an embodiment of the present application, when the detection result is failure and there is an unswitched light source, the first light source can be switched to replace the light source illuminating the object to be measured, so as to reduce the impact of illumination of light sources of different wavelength bands on the detection results.

[0138] After the switching is completed, the process returns to step S110 and uses the first light source to illuminate the object to be tested, so as to perform subsequent testing processes.

[0139] Furthermore, the multiple light sources in the light source assembly can be switched in a certain order. For example, if the light source assembly includes a white LED light source, a red light source, a green light source, a blue light source, an infrared light source, and a UV light source, after the object to be tested is placed on the loading platform, the first light source to be tested and scanned can be the white LED light source. If the test result is a failure, the first light source can be switched in the order of red light source, green light source, blue light source, infrared light source, and UV light source.

[0140] By switching the first light source, the object to be measured can be illuminated separately by light of different wavelength bands, so that the object to be measured can be detected under a variety of illumination conditions, reducing the problem of inaccurate detection results caused by illumination.

[0141] S170: The current object under test passes the test and the object under test is replaced.

[0142] If the object passes the inspection, the logo engraving quality of the object currently on the loading platform is considered to meet the requirements. After passing the inspection, the object can be replaced with an untested object, ending the inspection process for the current object and proceeding to the next object.

[0143] S180: Alarm and throw out the current measured object.

[0144] If the result of step S150 indicates that the object has been illuminated by all of the aforementioned light sources, it is considered that the logo engraving on the object is defective. The detector generates an alarm signal to notify the inspector that the current object has failed the inspection and ejects the object, allowing the detector to proceed with the subsequent inspection of the object.

[0145] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0146] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the modules or units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0147] The units described as separate components may or may not be physically separate, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0148] The above content is only a specific embodiment of this application, but the scope of protection of this application is not limited to this. Any changes or replacements within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. A logo detector with switchable light source, characterized in that: include: A light source assembly (310), the light source assembly (310) comprising a plurality of light sources (311), the light source assembly (310) being configured to switchably use a first light source (311a) to illuminate the object under test, the first light source (311a) being any one of the plurality of light sources (311); a camera assembly (320), the camera assembly (320) being configured to acquire a detection image of the measured object under illumination by the first light source (311a); A computing device is communicatively connected to the camera component (320), and the computing device is configured to generate a detection result of the detection image.

2. The Logo detector with switchable light source according to claim 1, characterized in that: Also includes: a box (330), wherein the light source assembly (310) and the camera assembly (320) are arranged in the box (330); The box (330) includes a base (331) and a frame (332), and the frame (332) is installed on the base (331); The light source assembly (310) is arranged on a side of the frame (332) away from the base (331); A loading platform (333) is provided on the base (331), and the loading platform (333) is used to place the object to be measured.

3. The logo detector with switchable light source according to claim 2, characterized in that: The light source assembly (310) further comprises a turntable (312) and a bracket (313), wherein the turntable (312) is rotatably mounted on the bracket (313), and the bracket (313) is connected to the frame (332); An array of a plurality of light sources (311) is arranged on a first surface of the turntable (312); the first surface faces the loading platform (333).

4. The logo detector with switchable light source according to claim 3, characterized in that: The light source assembly (310) further includes a motor (314) and a synchronous transmission mechanism (315), wherein the motor (314) is arranged on the bracket (313); The output end of the motor (314) is connected to the rotating disk (312) via the synchronous transmission mechanism (315).

5. The logo detector with switchable light source according to claim 4, characterized in that: The light source assembly (310) further includes a positioning disk (316), the positioning disk (316) being arranged opposite to the rotating disk (312), and the positioning disk (316) being fixedly mounted on the bracket (313); At least one elastic member (317) is provided between the positioning disk (316) and the rotating disk (312), and the elastic member (317) is connected to the positioning disk (316) and abuts against the rotating disk (312); or, The elastic member (317) is connected to the rotating disk (312) and abuts against the positioning disk (316); The elastic member (317) is used to abut against the turntable (312) or the positioning plate (316) to make the turntable (312) stationary when the torque of the motor (314) is reduced to a preset torque; the preset torque is less than or equal to the friction force between the elastic member (317) and the positioning plate (316) or the turntable (312).

6. The logo detector with switchable light source according to claim 5, characterized in that: The second surface of the turntable (312) is provided with a plurality of grooves (318), and the plurality of grooves (318) correspond one-to-one to the plurality of light sources (311); the second surface is opposite to the first surface; The first end of the elastic member (317) is disposed in the positioning disk (316), and the second end of the elastic member (317) abuts against the rotating disk (312); After the torque of the motor (314) is reduced to the preset torque, the second end of the elastic member (317) abuts against any one of the grooves (318).

7. The logo detector with switchable light source according to claim 5, characterized in that: The first end of the elastic member (317) is disposed in the rotating disk (312), and the second end of the elastic member (317) abuts against the positioning disk (316); At least one groove (318) is provided on a surface of the positioning disk (316) adjacent to the rotating disk (312); After the torque of the motor (314) is reduced to the preset torque, the second end of at least one of the elastic members (317) abuts against the groove (318).

8. The logo detector with switchable light source according to claim 6 or 7, characterized in that: The computing device is further configured to send an instruction to switch the first light source (311a) to the light source assembly (310) if the detection result is that the detection fails; The light source assembly (310) is further configured to control the rotation of the turntable (312) to switch the first light source (311a) in response to an instruction sent by the computing device.

9. The logo detector with switchable light source according to claim 8, characterized in that: The light source assembly (310) further includes a sensor, and the light source assembly (310) is further configured to: increase the torque of the motor (314) in response to an instruction sent by the computing device; The motor (314) drives the turntable (312) to rotate through the synchronous transmission mechanism (315); The sensor acquires the rotation angle of the turntable (312); If the rotation angle is greater than or equal to a rotation threshold, the torque of the motor (314) is reduced; the rotation threshold is less than the angular position difference between the first light source (311a) and the adjacent light source (311).

10. The logo detector with switchable light source according to claim 2, characterized in that: Also includes: a transport mechanism, the transport mechanism being configured to transport the measured object to the loading platform (333); The box body (330) further includes a box door, one side of which is hinged to the frame (332).

11. The logo detector with switchable light source according to claim 1, characterized in that: The multiple light sources (311) include LED white light sources, red light sources, green light sources, blue light sources, infrared light sources and ultraviolet light sources.

12. A logo detection method, characterized in that: Applied to the logo detector with switchable light source as claimed in any one of claims 1 to 11, the method comprising: S110, irradiating the object under test with a first light source; the first light source is any one of a plurality of light sources in the light source assembly; S120, acquiring a detection image of the object to be measured illuminated by the first light source; S130: Generate a detection result according to the detection image.

13. The Logo detection method according to claim 12, characterized in that: After generating a detection result according to the detection image, the method further includes: If the detection result is failure, the first light source is switched and the process returns to step S110 .

14. The Logo detection method according to claim 13, characterized in that: The multiple light sources in the light source assembly include LED white light sources, red light sources, green light sources, blue light sources, infrared light sources and ultraviolet light sources; The step of irradiating the object to be measured with the first light source includes: Determine the LED white light source as the first light source; irradiating the object under test with the LED white light source; If the detection result is that the detection fails, switching the first light source includes: If the detection result is failure, the first light source is switched in sequence according to the order of red light source, green light source, blue light source, infrared light source and ultraviolet light source.