Intelligent lighting control system and method for bar counter
Through the multi-directional illumination and light intensity adjustment of the intelligent light control system, the problem of inaccurate image acquisition caused by irregular shape and color differences of the bar section is solved, and a true reflection of the bar section and counting accuracy are achieved.
Patent Information
- Application Number
- CN201910118611.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-02-17
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2039-02-17
AI Technical Summary
The irregular cross-section shape and color difference of the bar during the rolling process lead to inaccurate image acquisition. The existing technology cannot truly reflect the actual condition of the cross-section, especially when the cross-section is irregular and the color contrast is large.
An intelligent light control system is adopted, including multiple LED light source boards and angle sensors. Through angle adjustment and adaptive adjustment of light intensity, it ensures that the bar section is clearly illuminated from all directions. PLC modules and MOS tubes are used to control the angle and brightness of the light source board. Combined with the visual feedback device, the image signal is analyzed to adjust the contrast and brightness.
It realizes real image collection of bar sections, solves the problem of inaccurate counting caused by irregular cross-section shapes and color differences, and can clearly reflect the true condition of the bar, especially when the cross-section is tilted or the color is blue-black.
Smart Images

Figure CN109819549B
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of image acquisition of bar sections, in particular to an intelligent light control system and method for a bar counter. Background Art
[0002] During the rolling process of bars, due to problems such as shearing process, machine tool vibration, bearing heating, roller wear and dynamic speed drop of the main motor, the cross-sectional shape of the bars is easily irregular, with protrusions and depressions.
[0003] At present, when collecting images of bar cross sections, a light perpendicular to the cross section is used for direct illumination. For bars with irregular cross sections, there will be positions that are not illuminated by the light, so that the collected cross-sectional images cannot truly reflect the actual conditions of the cross sections. Moreover, different bars have different colors. For lights that do not adjust the light intensity, the collected cross-sectional images may be clear or fuzzy due to small color contrast differences. They also cannot truly reflect the actual conditions of the cross sections, resulting in inaccurate counting. Summary of the invention
[0004] An intelligent lighting control system for a bar counter is provided in an embodiment of the present invention to solve the problem in the prior art that the actual situation of the bar cross section cannot be truly reflected and the counting is inaccurate due to the irregular shape of the bar cross section and the color difference of the bar cross section.
[0005] In order to solve the above technical problems, the embodiments of the present invention disclose the following technical solutions:
[0006] The first aspect of the present invention discloses an intelligent lighting control system for a bar counter, including a bar counter, wherein the bar counter includes an image recognition and acquisition device, a visual feedback device, and a main control module, wherein the image recognition and acquisition device is used to acquire motion video images of the bar, and the visual feedback device is used to analyze and process the image signal and send it to the main control device; the system also includes a PLC module connected to the main control module and a light source device; the light source device includes a plurality of LED light source boards connected to the PLC module; and a MOS tube is also arranged between the PLC module and each LED light source board.
[0007] In combination with the first aspect, in a first possible implementation method of the first aspect, the light source device is installed on a bracket on the side opposite to the rod conveyor belt, and the multiple LED light source panels include a main light source panel, a left auxiliary light source panel, a right auxiliary light source panel and an upper auxiliary light source panel.
[0008] In combination with the first aspect, in a second possible implementation method of the first aspect, the bracket includes a base and two columns perpendicular to the base; the main light source panel and the upper auxiliary light source panel are installed between the two columns, the bottom corners of the main light source panel and the upper auxiliary light source panel are hingedly connected to the columns, and angle sensors are provided at the hinges, the angle sensors are connected to the PLC module, the top corners of the main light source panel and the upper auxiliary light source panel are connected to the columns through electric push rods, and the electric push rods are connected to the PLC module; the left auxiliary light source panel is installed on the left column of the bracket, and the right auxiliary light source panel is installed on the left column of the bracket, the left auxiliary light source panel and the right auxiliary light source panel are fixed to the columns through a rotating mechanism, and the rotating mechanism is also connected to the PLC module.
[0009] In combination with the first aspect, in a third possible implementation method of the first aspect, the rotating mechanism includes a micro motor, a fixed base, and a swivel; the fixed base is cylindrical with an opening facing upward, and a round hole is provided at the bottom for passing the rotating shaft of the micro motor. A buckle is provided on the cylindrical wall of the fixed base for fixing on the column, and the body of the micro motor is fixed in the cylinder of the fixed base by screws; the control end of the micro motor is connected to the PLC module; the rotating shaft of the micro motor is fixed to the left auxiliary light source board and the right auxiliary light source board through the swivel.
[0010] In combination with the first aspect, in a fourth possible implementation method of the first aspect, the swivel includes a gear set and a swivel housing, an inner wall of the swivel housing has gear teeth meshing with the gear set, an angle sensor is installed on the gear shaft meshing with the swivel housing, the angle sensor is connected to the PLC module, and a left auxiliary light source panel or a right auxiliary light source panel is fixed on the swivel housing.
[0011] In combination with the first aspect, in a fifth possible implementation of the first aspect, the angles between the left auxiliary light source board, the right auxiliary light source board and the planes where the two pillars are located are 30°-60°, and the angle between the upper auxiliary light source board and the horizontal plane is 45°-90°.
[0012] In combination with the first aspect, in a sixth possible implementation method of the first aspect, the lights of the main light source panel include white lights, the lights of the left auxiliary light source panel include blue lights or green lights, the lights of the right auxiliary light source panel include blue lights or green lights, and the lights of the upper auxiliary light source panel include blue lights or green lights.
[0013] In combination with the first aspect, in a seventh possible implementation of the first aspect, light sensors are provided on the main light source panel, the left auxiliary light source panel, the right auxiliary light source panel and the upper auxiliary light source panel, and the light sensors are connected to the PLC device.
[0014] A second aspect of the present invention provides an intelligent lighting control method for a bar counter, the method comprising the following steps:
[0015] The angle sensor collects the real-time angle and sends it to the PLC module;
[0016] The PLC module compares the real-time angle with the preset angle;
[0017] The PLC module controls the electric push rod and the rotating mechanism to adjust the angle according to the comparison results;
[0018] The visual feedback device analyses the motion image of the bar, and the main control module determines the contrast and brightness of the image;
[0019] If the image contrast is too low or the brightness is too low, the main control module notifies the PLC module, and the PLC module adjusts the light intensity through MOS;
[0020] If the contrast of the image is too low and the brightness is too high, the main control module notifies the PLC module, and the PLC module adjusts the light intensity through the MOS.
[0021] The system described in the first aspect of the present invention can implement the method in the second aspect and achieve the same effect.
[0022] It can be seen from the above technical scheme that the present invention uses multiple LED light source panels to illuminate the rod in multiple directions. Even in the case of irregular cross-sections, the cross-section can be clearly displayed. The angle of the light source panel can be adjusted. Practice has proved that setting the lights of the left auxiliary light source panel, the right auxiliary light source panel, and the upper auxiliary light source panel to blue or green can most clearly provide feedback on the actual cross-section of the rod.
[0023] The embodiment of the present invention can also adjust the light intensity. Because different rods may have different colors, the embodiment of the present invention combines the rod counter in the prior art to achieve adaptive adjustment of the light intensity and provide more realistic feedback on the rod conditions.
[0024] When capturing video images of the rods, the angle of illumination is also very important. Therefore, an angle sensor is provided in the embodiment of the present invention to compare the real-time angle with a preset angle range, thereby controlling the illumination angle of the light source panel.
[0025] Since the actual situation of the bar can be reflected more clearly, the embodiment of the present invention solves the problem of inaccurate counting when the cross-section of the bar is tilted or the cross-section of the bar is blue-black during the counting process. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0027] Figure 1 It is a main view of the intelligent lighting control system architecture of a bar counter;
[0028] Figure 2 It is a left view of the intelligent lighting control system architecture of a bar counter;
[0029] Figure 3 A top view of an intelligent lighting control system architecture for a bar counter;
[0030] Figure 4 It is the structural diagram of the rotating mechanism;
[0031] Figure 5 for Figure 4 A-direction schematic diagram of the transfer body;
[0032] Figure 6 An intelligent light control method for a bar counter;
[0033] In the figure: 1. bracket, 2. column, 3. main light source board, 4. right auxiliary light source board, 5. upper auxiliary light source board, 6. left auxiliary light source board, 7. rotating mechanism, 71. micro motor, 711. rotating shaft, 72. fixed base, 721. buckle, 73. swivel, 731. gear set, 732. swivel housing, 8. electric push rod. DETAILED DESCRIPTION
[0034] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0035] An intelligent lighting control system for a bar counter is used in conjunction with a bar counter in the prior art. The bar counter includes an image recognition and acquisition device, a visual feedback device, and a main control module. The image recognition and acquisition device is used to acquire motion video images of the bar, and the visual feedback device is used to analyze and process the image signal and send it to the main control device. The system also includes a PLC module connected to the main control module and a light source device. The light source device includes a plurality of LED light source boards connected to the PLC module. A MOS tube is also provided between the PLC module and each LED light source board to adjust the light intensity of the light source board. The PLC module can select the Siemens S7-400 series.
[0036] like Figure 1-3 As shown, the light source device is installed on the bracket 1 on the side opposite to the rod conveyor belt, and the multiple LED light source panels include a main light source panel 3, a left auxiliary light source panel 6, a right auxiliary light source panel 4 and an upper auxiliary light source panel 5. The bracket 1 includes a base and two vertical columns 2 perpendicular to the base; the main light source panel and the upper auxiliary light source panel are installed between the two columns, and the bottom angles of the main light source panel and the upper auxiliary light source panel are hingedly connected to the columns, and angle sensors are provided at the hinges, and the angle sensors are connected to the PLC module. The top angles of the main light source panel and the upper auxiliary light source panel are connected to the columns through electric push rods 8, and the electric push rods are connected to the PLC module; the left auxiliary light source panel is installed on the left column of the bracket, and the right auxiliary light source panel is installed on the left column of the bracket. The left auxiliary light source panel and the right auxiliary light source panel are fixed to the columns through a rotating mechanism 7, and the rotating mechanism is also connected to the PLC module.
[0037] like Figure 4 As shown, the rotating mechanism 7 includes a micro motor 71, a fixed base 72, and a swivel 73; the fixed base is cylindrical with an opening facing upward, and a round hole is arranged at the bottom for passing the rotating shaft 711 of the micro motor, and a buckle 721 is arranged on the cylindrical wall of the fixed base 72, which can be bolted to the column 2, and the body of the micro motor can be fixed in the cylinder of the fixed base by screws; the control end of the micro motor is connected to the PLC module; the rotating shaft of the micro motor is fixed to the left auxiliary light source board and the right auxiliary light source board through the swivel 73.
[0038] like Figure 5As shown, the swivel 73 includes a gear set 731 and a swivel housing 732. The inner wall of the swivel housing has gear teeth meshing with the gear set. An angle sensor is installed on the gear shaft meshing with the swivel housing. The angle sensor is connected to the PLC module. A left auxiliary light source board or a right auxiliary light source board is fixed on the swivel housing. In the embodiment of the present invention, the gear set is composed of two gears of different diameters meshing with each other. Since the rotating shaft of the micro motor rotates faster, the embodiment of the present invention uses a small diameter gear to be fixed to the rotating shaft, and then a large diameter gear is meshed with the small diameter gear. The large diameter gear is then meshed with the swivel housing. When the rotating shaft of the micro motor rotates, the swivel housing is driven to rotate. The swivel housing is fixed with left and right auxiliary light source boards to drive the auxiliary light source boards to rotate.
[0039] The angles between the left auxiliary light source board, the right auxiliary light source board and the plane where the two pillars are located are 30°-60°, and the angle between the upper auxiliary light source board and the horizontal plane is 45°-90°.
[0040] The lamps of the main light source panel include white lamps, the lamps of the left auxiliary light source panel include blue lamps or green lamps, the lamps of the right auxiliary light source panel include blue lamps or green lamps, and the lamps of the upper auxiliary light source panel include blue lamps or green lamps.
[0041] Light sensors are arranged on the main light source board, the left auxiliary light source board, the right auxiliary light source board and the upper auxiliary light source board, and the light sensors are connected to the PLC device.
[0042] like Figure 6 As shown, an intelligent lighting control method for a bar counter comprises the following steps:
[0043] S1, the angle sensor collects the real-time angle and sends it to the PLC module;
[0044] S2, the PLC module compares the real-time angle with the preset angle;
[0045] S3, PLC module controls the electric push rod and the rotating mechanism to adjust the angle according to the comparison result;
[0046] S4, the visual feedback device analyzes the motion image of the rod, and the main control module determines the contrast and brightness of the image;
[0047] S41, if the contrast of the image is too low and the brightness is too low, the main control module notifies the PLC module, and the PLC module adjusts the light intensity through the MOS;
[0048] S42: If the contrast of the image is too low and the brightness is too high, the main control module notifies the PLC module, and the PLC module adjusts the light intensity through the MOS.
[0049] There is no restriction on the order of adjusting the angle and adjusting the light intensity, and the above order is only one embodiment of the present invention.
[0050] The above description is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but should conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. An intelligent lighting control system for a bar counter, comprising a bar counter, wherein the bar counter comprises an image recognition and acquisition device, a visual feedback device, and a main control module, wherein the image recognition and acquisition device is used to acquire motion video images of the bar, and the visual feedback device is used to analyze and process the image signals and transmit them to the main control device; wherein the system comprises: The system also includes a PLC module connected to the main control module and a light source device; the light source device includes multiple LED light source boards connected to the PLC module; a MOS tube is also provided between the PLC module and each LED light source board; The light source device is installed on the bracket on the side opposite to the bar conveyor belt, and the multiple LED light source boards include a main light source board, a left auxiliary light source board, a right auxiliary light source board and an upper auxiliary light source board; The bracket includes a base and two columns perpendicular to the base; the main light source panel and the upper auxiliary light source panel are installed between the two columns, the bottom corners of the main light source panel and the upper auxiliary light source panel are hingedly connected to the columns, and angle sensors are provided at the hinges, the angle sensors are connected to the PLC module, the top corners of the main light source panel and the upper auxiliary light source panel are connected to the columns through electric push rods, and the electric push rods are connected to the PLC module; the left auxiliary light source panel is installed on the left column of the bracket, and the right auxiliary light source panel is installed on the left column of the bracket, and the left auxiliary light source panel and the right auxiliary light source panel are fixed to the columns through a rotating mechanism, and the rotating mechanism is also connected to the PLC module; The rotating mechanism includes a micro motor, a fixed base, and a swivel; the fixed base is cylindrical, with an upward opening and a circular hole at the bottom for passing the micro motor's rotating shaft. A buckle is provided on the cylindrical wall of the fixed base for fixing to the column. The body of the micro motor is fixed to the cylinder of the fixed base by screws; the control end of the micro motor is connected to the PLC module; the micro motor's rotating shaft is fixed to the left auxiliary light source board and the right auxiliary light source board through the swivel; The swivel includes a gear set and a swivel housing. The inner wall of the swivel housing is provided with gear teeth meshing with the gear set. An angle sensor is installed on the gear shaft meshing with the swivel housing. The angle sensor is connected to the PLC module. A left auxiliary light source board or a right auxiliary light source board is fixed to the swivel housing. The lights of the main light source board include white lights, the lights of the left auxiliary light source board include blue lights or green lights, the lights of the right auxiliary light source board include blue lights or green lights, and the lights of the upper auxiliary light source board include blue lights or green lights; Light sensors are provided on the main light source board, the left auxiliary light source board, the right auxiliary light source board and the upper auxiliary light source board, and the light sensors are connected to the PLC device.
2. A control method for the intelligent lighting control system of a bar counter according to claim 1, characterized in that: The method comprises the following steps: The angle sensor collects the real-time angle and sends it to the PLC module; The PLC module compares the real-time angle with the preset angle; The PLC module controls the electric push rod and the rotating mechanism to adjust the angle according to the comparison results; The visual feedback device analyzes the motion image of the rod, and the main control module determines the contrast and brightness of the image; If the image contrast is too low or the brightness is too low, the main control module notifies the PLC module, and the PLC module adjusts the light intensity through the MOS; If the contrast of the image is too low and the brightness is too high, the main control module notifies the PLC module, and the PLC module adjusts the light intensity through the MOS.
Citation Information
Patent Citations
LED colorful light-supplementing device for PCB defect visual inspection system
CN108896554A
A light source device for wire rod terminal surface count
CN206546592U
Timber colour difference intelligent classification equipment
CN207397297U
Rod conveyer and contain its rod surface defect detection device
CN208288485U
Intelligent lamp control system of bar counter
CN209897320U
