Filtering type photoelectric sensing device suitable for light emitting source color detection

By designing a filterable photoelectric induction device suitable for color detection of light emitting sources, the photoelectric sensor is enclosed in a dark room environment using the box assembly and the driver parts, the problem of difficulty in identifying the color of the light emitting source in the prior art is solved, and high-precision and cost-effective light source color detection is achieved.

CN119618378APending Publication Date: 2025-03-14SHENZHEN AXXON AUTOMATION
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510058870.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-15
Publication Date
2025-03-14

AI Technical Summary

Technical Problem

Existing photoelectric sensors are difficult to effectively identify the light source color of the light source, and conventional color label sensors cannot accurately detect in the light emitting environment.

Method used

A filterable photoelectric induction device suitable for color detection of light emitting sources is designed, including a box assembly, a carrier seat and a drive member. The box assembly is equipped with a housing cavity and a guide rail member. The carrier seat is slidably connected to the box assembly through a guide rail member. One side of the box assembly is opened with a box through a connecting seat to close the housing cavity. The drive member drives the carrier seat to move, so that the photoelectric sensor can detect the color of the light emitting source in a dark room environment.

Benefits of technology

It realizes accurate detection of the color of the luminous source in a dark environment, avoids interference from external natural light, has high recognition accuracy and high cost performance, and is suitable for applications in narrow spaces and dark environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119618378A_ABST
    Figure CN119618378A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of sensors, and discloses a filterable photoelectric sensing device suitable for color detection of a light emitting source, the filterable photoelectric sensing device comprises a box body assembly, a bearing seat and a driving member, an accommodating cavity is arranged in the box body assembly, a guide rail member is arranged in the accommodating cavity, and the bearing seat is slidably connected with the box body assembly through the guide rail member; a box body passing opening is formed in one side of the box body assembly, a connecting base is arranged at the box body passing opening of the box body assembly to seal the containing cavity, and one end of the bearing base is connected with the connecting base; the driving piece is arranged on the side edge of the box body assembly, and the working end of the driving piece is connected with the connecting base and matched with the connecting base to drive the bearing base to move along the guide rail piece. At least one mounting groove is formed in the bearing seat, a photoelectric sensor is arranged in the mounting groove, the photoelectric sensor comprises a shell and a photoresistor assembly, the photoresistor assembly is arranged in the shell, and an optical filter is arranged on the shell to filter light rays of a luminous source placed on the bearing seat. The scheme is simple in structure, convenient to operate and high in light source color recognition precision.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of sensor technology, and in particular to a filterable photoelectric sensing device suitable for detecting the color of a light source. Background Art

[0002] In industrial production, color recognition technology is widely used in the industrial field. Color recognition technology is combined with other technologies, such as complex image recognition technology, object recognition technology, etc., to achieve more complex application scenarios and higher automation. For example, robots use color sensors to identify the color of goods, thereby achieving efficient and accurate classification and storage of goods; by identifying the color of the product surface, it can achieve accurate grasping, classification and packaging of products, improve the automation of the production line, reduce labor costs, and improve production efficiency; but the existing color recognition detection objects are generally non-luminous objects, and the detection label color is relatively stable and reliable, but when detecting the color of the light source of the light source, the light intensity has an impact on the sensor itself, even if the light source is emitted on the light-absorbing non-transparent plate, it cannot be detected. Therefore, conventional color label sensors cannot perform effective detection.

[0003] The existing mature technology is to capture through color cameras, but there are the following disadvantages: First, the camera is expensive and needs to be used with FA lenses. When the number of cameras is large, the cost is high; second, the use of multiple cameras requires changes to the hardware configuration of the industrial computer and the visual software, and requires professional technical support and maintenance; third, the camera solution cannot be installed in a small space, such as a shielding box environment, and cannot be quickly deployed and applied; fourth, the camera's color recognition is affected by factors such as lighting conditions, lens distortion, and image processing algorithms, and there are certain errors; fifth, in simple light source color recognition, the use of the camera solution still requires image processing, and the recognition speed is relatively slow. Therefore, it is necessary to provide a photoelectric sensing device with a simple structure that is easy to quickly identify the light source color of the light source. Summary of the invention

[0004] To address the deficiencies in the prior art, the present invention provides a novel filterable photoelectric sensing device suitable for detecting the color of a light source, so as to solve the problem that the existing photoelectric sensors are not conducive to identifying the color of the light source of the light source.

[0005] To achieve the above purpose, the present invention adopts the following technical solutions:

[0006] A filterable photoelectric sensing device suitable for detecting the color of a light source, used for identifying the color of the light source, comprises a box assembly, a bearing seat and a driving member, wherein a receiving cavity is provided in the box assembly, a guide rail is provided in the receiving cavity, and the bearing seat is slidably connected to the box assembly through the guide rail;

[0007] A box opening is provided on one side of the box assembly, a connecting seat is provided at the box opening of the box assembly to close the accommodating cavity, and one end of the bearing seat is connected to the connecting seat;

[0008] The driving member is arranged on the side of the box assembly, and the working end thereof is connected to the connecting seat and cooperates with the connecting seat to drive the bearing seat to move along the guide rail member;

[0009] At least one mounting groove is arranged on the supporting seat, a photoelectric sensor is arranged in the mounting groove, the photoelectric sensor comprises a shell and a photoresistor component, the photoresistor component is arranged in the shell, and a filter is arranged on the shell to filter the light of the light source placed on the supporting seat.

[0010] Furthermore, in the filterable photoelectric sensing device suitable for detecting the color of a light source, there are three mounting slots, and the filters of the photoelectric sensors in each mounting slot are different, namely a white light filter, a red light filter and a blue light filter.

[0011] Furthermore, in the filterable photoelectric sensing device suitable for detecting the color of a light source, a suction cup is provided on the supporting seat, and the suction cup is provided between the three mounting grooves to absorb the light source.

[0012] Furthermore, in the filterable photoelectric sensing device suitable for detecting the color of a light source, a signal processing component is provided in the accommodating cavity, and the signal processing component is electrically connected to the photoelectric sensor through a wire.

[0013] Furthermore, in the filterable photoelectric sensing device suitable for detecting the color of a light source, the upper side surface of the photoelectric sensor is lower than the upper side surface of the supporting seat.

[0014] Furthermore, in the filterable photoelectric sensing device suitable for detecting the color of a light source, a through hole is provided on a side of the box assembly away from the opening of the box, an interface assembly is provided at the through hole, and the interface assembly passes through the through hole and protrudes from the outer surface of the box assembly.

[0015] Furthermore, in the filterable photoelectric sensing device suitable for detecting the color of a light source, the driving member is arranged on the bottom side of the box assembly, and a guide shaft seat is arranged on the side of the driving member. A guide column is passed through the guide shaft seat, and one end of the guide column is connected to the connecting seat.

[0016] Furthermore, in the filterable photoelectric sensing device suitable for detecting the color of a light source, the top side of the box assembly has an opening, a cover plate is provided at the opening of the box assembly, and a lock is provided on the side of the opening, and the box assembly and the cover plate are locked by the lock.

[0017] Furthermore, in the filterable photoelectric sensing device suitable for detecting the color of a light source, a first annular groove is provided along the circumference of the box opening of the box assembly, and a first sealing member is provided in the first annular groove; a second annular groove is provided along the circumference of the opening of the box assembly, and a second sealing member is provided in the second annular groove.

[0018] Furthermore, in the filterable photoelectric sensing device suitable for detecting the color of a light source, the box assembly includes a bottom plate and four side plates extending in the same direction perpendicular to the bottom plate from the periphery of the bottom plate, and the bottom plate, four side plates, connecting seat and cover plate together form a shielding box.

[0019] Compared with the prior art, the beneficial effect of the present invention is that the above scheme is adopted, the structure of the present invention is simple, the light source is first placed on the supporting seat, and then the driving member drives the supporting seat to move into the accommodating cavity along the guide rail member, so that the connecting seat fits the box opening to close the accommodating cavity, so that the box assembly is closed as a dark room, and the color detection of the light source in the dark environment can be free from interference from external natural light; the light source emits wide-wavelength light or specific RGB spectrum wavelength light, and the filter filters other light of the light source to obtain light waves in the specified wavelength band, and the photoelectric sensor generates a corresponding electrical signal, and then the signal processing component in the box assembly receives the electrical signal generated by the photoelectric sensor, and processes and analyzes it to determine the color and intensity of the light source. The overall structure is simple, the operation is convenient, the recognition accuracy is high, the cost performance is high, and it has good market application value. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 It is a structural schematic diagram of a filterable photoelectric sensing device suitable for detecting the color of a light source according to an embodiment of the present invention;

[0021] Figure 2 For the present invention Figure 1 A schematic structural diagram of a box assembly and a bearing seat of an embodiment;

[0022] Figure 3 For the present invention Figure 1 One of the structural schematic diagrams of the box assembly of the embodiment;

[0023] Figure 4 For the present invention Figure 1 The second structural diagram of the box assembly of the embodiment;

[0024] Figure 5 For the present invention Figure 1 A schematic structural diagram of a bearing seat of an embodiment;

[0025] In the figure, 1. box assembly; 11. accommodating cavity; 12. guide rail member; 13. box opening; 14. first ring groove; 15. opening; 16. second ring groove; 17. cover plate; 18. lock; 19. bottom plate; 2. bearing seat; 21. mounting groove; 22. suction cup; 23. retaining edge; 3. driving member; 31. guide shaft seat; 32. guide column; 4. connecting seat; 5. photoelectric sensor; 51. housing; 52. photoresistor assembly; 53. filter; 6. signal processing assembly; 7. interface assembly. DETAILED DESCRIPTION

[0026] To facilitate those skilled in the art to understand the present invention, the specific implementation methods of the present invention are described below in conjunction with the accompanying drawings. The accompanying drawings provide preferred embodiments of the present invention. However, the present invention can be implemented in many different forms and is not limited to the embodiments described in this specification. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present invention more thorough and comprehensive.

[0027] It should be noted that when an element is referred to as being "fixed to" another element, it may be directly on the other element or there may be an element in the middle. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be an element in the middle. The terms "mounted", "fixed", "left side", "right side" and similar expressions used in this specification are for illustrative purposes only.

[0028] Unless otherwise defined, all technical and scientific terms used in this specification have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in this specification in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention.

[0029] One embodiment of the present invention is as follows Figure 1 , 2 As shown in , 5, the filterable photoelectric sensing device suitable for detecting the color of a light source is used to identify the color of the light source, and comprises a box assembly 1, a bearing seat 2 and a driving member 3. The box assembly 1 is provided with a receiving cavity 11, and the receiving cavity 11 is provided with a guide rail member 12. The bearing seat 2 is slidably connected to the box assembly 1 through the guide rail member 12;

[0030] A box opening 13 is provided on one side of the box assembly 1, and a connecting seat 4 is provided at the box opening 13 of the box assembly 1 to close the accommodating cavity 11, and one end of the bearing seat 2 is connected to the connecting seat 4;

[0031] The driving member 3 is disposed on the side of the box assembly 1, and its working end is connected to the connecting seat 4 and cooperates with the connecting seat 4 to drive the bearing seat 2 to move along the guide rail member 12;

[0032] At least one mounting groove 21 is arranged on the supporting seat 2, and a photoelectric sensor 5 is arranged in the mounting groove 21. The photoelectric sensor 5 includes a shell 51 and a photoresistor component 52. The photoresistor component 52 is arranged in the shell 51, and a filter 53 is arranged on the shell 51 to filter the light of the light source placed on the supporting seat 2.

[0033] The filterable photoelectric sensing device suitable for detecting the color of a light source of the scheme is suitable for detecting the color of a light source. The light source is first placed on the supporting seat 2, and then the supporting seat 2 is driven by the driving member 3 to move along the guide rail member 12 into the accommodating cavity 11, so that the connecting seat 4 fits the box opening 13 to close the accommodating cavity 11, so that the box assembly 1 is closed as a darkroom, and the color detection of the light source can be free from interference from external natural light in a dark environment; the light source emits wide-wavelength light or specific RGB spectrum wavelength light, and the filter 53 filters other light of the light source to obtain light waves in a specified wavelength band, and the photoelectric sensor 5 generates a corresponding electrical signal, and then the signal processing component 6 in the box assembly 1 receives the electrical signal generated by the photoelectric sensor 5, and processes and analyzes it to determine the color and intensity of the light source. The overall structure is simple, the operation is convenient, the recognition accuracy is high, and the cost performance is high.

[0034] The filterable photoelectric sensing device suitable for detecting the color of light sources of this solution solves the problem of not using a camera solution, but using a more cost-effective light source color sensor to obtain the color of the light source. The application field of industrial equipment will not be restricted by the number of sensors, and can be installed in a small space to achieve rapid deployment and application. It can also be used in dark environments, such as in a shielding box. A customized filter 53 is used to obtain the light path of a specific wavelength, which is still effective in bright and dark environments. Among them, in simple light source color industrial applications, the use of a light source color sensor has a faster response. When used in a small space or a dark environment, it can reduce the interference of ambient light and further improve the accuracy of light source color recognition. Combined with an internal photoelectric effect sensor, it can convert light energy into electrical signals to realize digital processing and analysis of color information. It has the advantages of simple structure, easy operation, high recognition accuracy, and high cost performance.

[0035] In this embodiment, Figure 4 , 5 As shown, there are three mounting slots 21 , and the optical filters 53 of the photoelectric sensors 5 in each mounting slot 21 are different, namely a white light filter, a red light filter and a blue light filter.

[0036] Specifically, the three mounting grooves 21 are distributed in a "pin" shape. The filter 53 of the photoelectric sensor 5 in the mounting groove 21 on the left side of the carrier 2 is a white light filter, which is used to weaken and cut off light of other colors and obtain light in the white light band; the filter 53 of the photoelectric sensor 5 in the upper mounting groove 21 on the right side of the carrier 2 is a red light filter, which is used to weaken and cut off light of other colors and obtain light in the red light band; the filter 53 of the photoelectric sensor 5 in the lower mounting groove 21 on the right side of the carrier 2 is a blue light filter, which is used to weaken and cut off light of other colors and obtain light in the blue light band; the photoresistor component 52 converts the intensity of light into the magnitude of resistance value to generate corresponding electrical signals.

[0037] In this embodiment, as Figure 5 shown, a suction cup 22 is provided on the carrier 2, and the suction cup 22 is arranged between the three mounting grooves 21 for sucking the light source.

[0038] Specifically, a suction cup 22 is provided in the middle of the upper side of the carrier 2, and a retaining edge 23 is arranged along the circumferential side of the upper side of the carrier 2 to facilitate cooperation with the suction cup 22 to firmly suck the object to be measured.

[0039] In this embodiment, as Figure 4 shown, a signal processing component 6 is provided in the accommodation cavity 11, and the signal processing component 6 is electrically connected to the photoelectric sensor 5 through a wire.

[0040] Specifically, the signal processing component 6 is an analog quantity collector, which is arranged on one side of the accommodation cavity 11 away from the box body opening 13 of the box body component 1 to obtain the strain current value of the photoresistor component 52 and perform processing and analysis to determine the color and intensity of the light source.

[0041] In this embodiment, as Figure 4 shown, the upper side surface of the photoelectric sensor 5 is lower than the upper side surface of the carrier 2.

[0042] Specifically, the photoelectric sensor 5 is installed in the mounting groove 21 and is lower than the notch surface of the mounting groove 21. When the object to be measured is sucked on the carrier 2, it will not be affected or hindered, which is convenient for the suction cup 22 to firmly suck the object to be measured.

[0043] In this embodiment, as Figure 4 shown, a perforation is opened on one side of the box body component 1 away from the box body opening 13, and an interface component 7 is arranged at the perforation. The interface component 7 passes through the perforation and protrudes from the outer surface of the box body component 1.

[0044] Specifically, a box opening 13 is opened on the right side of the box component 1, and a through hole is opened on the left side. The interface component 7 is arranged at the through hole. The signal processing component 6 is connected to an external device or instrument through the interface component 7, so that the external device or instrument can obtain the color and intensity of the light source through this interface.

[0045] In this embodiment, Figure 1 As shown, the driving member 3 is arranged on the bottom side of the box assembly 1, and a guide shaft seat 31 is arranged on the side of the driving member 3. A guide column 32 is passed through the guide shaft seat 31, and one end of the guide column 32 is connected to the connecting seat 4.

[0046] Specifically, a guide shaft seat 31 is provided on the bottom side of the box assembly 1 at the front and rear sides of the driving member 3, and the guide columns 32 in the two guide shaft seats 31 are arranged parallel to the driving member 3. The driving member 3 is a push rod cylinder, which drives the connecting seat 4 to move left and right along the guide columns 32 to open or close the box opening 13 through the connecting seat 4.

[0047] In this embodiment, Figure 3 As shown, the top side of the box assembly 1 has an opening 15 , a cover plate 17 is arranged at the opening 15 of the box assembly 1 , and a lock buckle 18 is arranged at the side of the opening 15 , and the box assembly 1 is locked with the cover plate 17 by the lock buckle 18 .

[0048] Specifically, a cover plate 17 is hinged at the opening 15 of the box assembly 1, and the rear side of the cover plate 17 is hinged to the box assembly 1 through a hinge assembly. Two locks 18 are arranged on the front side of the box assembly 1, and the box assembly 1 and the cover plate 17 are locked by the locks 18.

[0049] Specifically, the hinge assembly includes a connecting shaft, a first connecting member and a second connecting member, the first connecting member is sleeved on the connecting shaft and connected to the cover plate 17, the second connecting member is sleeved on the connecting shaft and connected to the opening 15 of the box assembly 1, so that the box assembly 1 and the cover plate 17 can be flipped relative to each other.

[0050] In this embodiment, Figure 4 As shown, the box opening 13 of the box assembly 1 is provided with a first annular groove 14 along its circumference, and a first sealing member is provided in the first annular groove 14; the opening 15 of the box assembly 1 is provided with a second annular groove 16 along its circumference, and a second sealing member is provided in the second annular groove 16.

[0051] Specifically, the first sealing member and the second sealing member are both sealing rubber rings, and cooperate with the box assembly 1, the connecting seat 4 and the cover plate 17 to form a closed dustproof and waterproof darkroom box.

[0052] In this embodiment, Figure 3 , 4 As shown, the box assembly 1 includes a bottom plate 19 and four side plates extending in the same direction perpendicular to the bottom plate 19 from the periphery of the bottom plate 19. The bottom plate 19, the four side plates, the connecting seat 4 and the cover plate 17 together form a shielding box.

[0053] Specifically, the four side panels of the box assembly 1 are respectively a first side panel, a second side panel, a third side panel and a fourth side panel, the first side panel is arranged opposite to the second side panel, the first side panel is adjacent to the third side panel, and the bottom panel 19 and the four side panels surround a accommodating cavity 11 of a rectangular structure.

[0054] Specifically, the first side panel and the second side panel are located at the front and rear sides of the bottom panel 19, the fourth side panel and the third side panel are located at the left and right sides of the bottom panel 19, the guide rail member 12 is arranged along the length direction of the bottom panel 19, and a box opening 13 is opened on the third side panel, and the driving member 3 drives the supporting seat 2 along the guide rail member 12 and is pulled out from the box opening 13; the lock buckle 18 is arranged on the upper side of the first side panel, and the interface component 7 is arranged on the fourth side panel.

[0055] Specifically, the shielding box is surrounded by aluminum plates to provide a dark environment for the object to be measured, so that the light source color detection is not interfered by external natural light, and electromagnetic interference is eliminated, so that the obtained current signal is more real.

[0056] Specifically, the shielding box is a pull-out structure, and usually the box assembly 1 and the cover plate 17 are locked by the lock 18; the supporting seat 2 is driven to move right by the driving member 3, and the supporting seat 2 is pulled out of the accommodating cavity 11 through the box opening 13; then the light source is placed on the supporting seat 2 and sucked by the suction cup 22, and then the supporting seat 2 is pulled back into the accommodating cavity 11 by the driving member 3, so that the connecting seat 4 fits the box opening 13 to close the accommodating cavity 11, so that the shielding box is closed as a dark room, and three filters 53 respectively filter other light from the light source to obtain light waves of specified wavelength bands, and the corresponding photoelectric sensors 5 generate corresponding electrical signals, and then the electrical signals generated by the photoelectric sensors 5 are received by the signal processing component 6, and processed and analyzed to determine the color and intensity of the light source.

[0057] It should be noted that the above-mentioned technical features are further combined with each other to form various embodiments not listed above, which are all deemed to be within the scope of the present invention; and, for ordinary technicians in this field, they can be improved or transformed according to the above description, and all these improvements and transformations should fall within the scope of protection of the claims attached to the present invention.

Claims

1. A filterable photoelectric sensing device suitable for detecting the color of a light source, used to identify the color of the light source, characterized in that: The invention comprises a box assembly (1), a bearing seat (2) and a driving member (3); the box assembly (1) is provided with a receiving chamber (11), the receiving chamber (11) is provided with a guide rail member (12), and the bearing seat (2) is slidably connected to the box assembly (1) via the guide rail member (12); A box opening (13) is provided on one side of the box assembly (1), a connecting seat (4) is provided at the box opening (13) of the box assembly (1) to close the accommodating cavity (11), and one end of the bearing seat (2) is connected to the connecting seat (4); The driving member (3) is arranged on the side of the box assembly (1), and its working end is connected to the connecting seat (4) and cooperates with the connecting seat (4) to drive the bearing seat (2) to move along the guide rail member (12); At least one mounting groove (21) is arranged on the bearing seat (2), a photoelectric sensor (5) is arranged in the mounting groove (21), the photoelectric sensor (5) comprises a housing (51) and a photoresistor component (52), the photoresistor component (52) is arranged in the housing (51), and a filter (53) is arranged on the housing (51) to filter light from a light source placed on the bearing seat (2).

2. The filterable photoelectric sensing device suitable for detecting the color of a light source according to claim 1, characterized in that: There are three installation slots (21), and the filters (53) of the photoelectric sensors (5) in each installation slot (21) are different, namely a white light filter, a red light filter and a blue light filter.

3. The filterable photoelectric sensing device suitable for detecting the color of a light source according to claim 2, characterized in that: A suction cup (22) is provided on the bearing seat (2), and the suction cup (22) is arranged between the three mounting grooves (21) to absorb the light source.

4. The filterable photoelectric sensing device suitable for detecting the color of a light source according to claim 1, characterized in that: A signal processing component (6) is arranged in the accommodating cavity (11), and the signal processing component (6) is electrically connected to the photoelectric sensor (5) via a wire.

5. The filterable photoelectric sensing device suitable for detecting the color of a light source according to claim 4, characterized in that: The upper side surface of the photoelectric sensor (5) is lower than the upper side surface of the supporting seat (2).

6. The filterable photoelectric sensing device suitable for detecting the color of a light source according to claim 4, characterized in that: A through hole is formed on a side of the box assembly (1) away from the box opening (13), and an interface assembly (7) is arranged at the through hole. The interface assembly (7) passes through the through hole and protrudes from the outer surface of the box assembly (1).

7. The filterable photoelectric sensing device suitable for detecting the color of a light source according to claim 1, characterized in that: The driving member (3) is arranged on the bottom side of the box assembly (1), and a guide shaft seat (31) is arranged on the side of the driving member (3). A guide column (32) is inserted into the guide shaft seat (31), and one end of the guide column (32) is connected to the connecting seat (4).

8. The filterable photoelectric sensing device suitable for detecting the color of a light source according to claim 1, characterized in that: The top side of the box assembly (1) has an opening (15), a cover plate (17) is arranged at the opening (15) of the box assembly (1), and a lock buckle (18) is arranged on the side of the opening (15), and the box assembly (1) and the cover plate (17) are locked by the lock buckle (18).

9. The filterable photoelectric sensing device suitable for detecting the color of a light source according to claim 8, characterized in that: The box body opening (13) of the box body assembly (1) is provided with a first annular groove (14) along its circumference, and a first sealing member is provided in the first annular groove (14); the opening (15) of the box body assembly (1) is provided with a second annular groove (16) along its circumference, and a second sealing member is provided in the second annular groove (16).

10. The filterable photoelectric sensing device suitable for detecting the color of a light source according to claim 8, characterized in that: The box assembly (1) comprises a bottom plate (19) and four side plates extending in the same direction from the periphery of the bottom plate (19) in a direction perpendicular to the bottom plate (19); the bottom plate (19), the four side plates, the connecting seat (4) and the cover plate (17) together form a shielding box.