Automatic initial positioning system for hopper based on visual recognition
Through visual recognition technology and spatial audio assistance, the cold insulation hopper and the distribution hopper are quickly and accurately positioned, solving the problem of primitive and untimely positioning methods in the existing technology, and improving the efficiency and accuracy of the pouring process.
Patent Information
- Application Number
- CN202411028955.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-30
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-07-30
AI Technical Summary
In the current pouring process, the positioning method of the cold insulation hopper and the distribution hopper is primitive and the feedback is not timely, making it difficult to achieve rapid and accurate positioning of the distribution hopper.
An automatic initial positioning system for the hopper based on visual recognition is adopted, including a vision unit, a processing unit, a spatial audio unit and a display module. Image information is obtained through outdoor cameras and indoor cameras, and feature recognition algorithms are used to establish static and dynamic models to calculate rotation angles and displacements. vector, and assist the tower crane driver in precise positioning through spatial audio and display modules.
It achieves rapid and precise positioning of the cold storage hopper and distribution hopper, enhances the driver's visual and auditory intuition, and simplifies the operation process.
Smart Images

Figure CN118545613B
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of hopper positioning, and in particular to an automatic initial positioning system for a hopper based on visual recognition. Background Art
[0002] Concrete pouring is a process in building construction. The pouring scheme that uses a combination of a cold-keeping hopper and a distribution hopper increases the construction speed of the pouring process. The cold-keeping hopper is a rectangular structure and is used to store concrete. In order to maintain the performance of the concrete after leaving the machine, a layer of thermal insulation cotton is wrapped on the outermost side of the cold-keeping hopper. A surrounding cavity with a width of 10 cm is set between the thermal insulation cotton and the silo. Cold water can be injected into the cavity to achieve the cooling and cold-keeping function. It is 3.6 meters high, 6.3 meters long, and 2.8 meters wide. The load capacity is 30 cubic meters. The total weight of the cold-keeping hopper is 28 tons. There are 4 hanging points on the top. The discharge port of the cold-keeping hopper is a right-angle square tube with the opening facing downward. The discharge device of the cold-keeping hopper discharge port adopts a simple hydraulic opening and closing, which is set on both sides of the cold-keeping hopper. The cold-keeping hopper discharges materials evenly at the same time. The speed is 10 cubic meters per minute, and the total time is about 3 minutes; the base of the distribution hopper is 2 meters high, the barrel is 1.66 meters high and 4 meters in diameter. The capacity of a single distributor is 15 cubic meters. The interior is conical, and the discharge pipes are evenly arranged on the sides of the distribution hopper with the same slope. There are 6 conventional steel pipes with a diameter of 300 mm, and a reducer from 300 mm to 200 mm is connected at the bottom to facilitate the extension of the hose. A gate-type electric switch is set at the upper end of the pipe, which can be independently controlled to open and close, so that the discharge speed of each discharge pipe is consistent. There is a feed port on the top. The total weight of the distribution hopper is about 15 tons, and there are 4 lifting points on the top. It can only be transported by tower crane when it is empty.
[0003] At the current stage, the pouring process mainly relies on remote observation by the tower crane driver or coordinated communication between the construction workers around the distribution hopper and the tower crane driver through radio to achieve the positioning of the cold insulation hopper and the distribution hopper. The positioning method is primitive and the feedback is not timely, which is not conducive to the rapid and accurate positioning of the distribution hopper. Therefore, how to quickly and accurately position the cold insulation hopper based on visual recognition and assist the tower crane driver to operate the cold insulation hopper is a technical problem that technical personnel in this field need to solve. Summary of the invention
[0004] In view of the deficiencies in the prior art, the present invention provides an automatic initial positioning system for a hopper based on visual recognition, which solves the problems raised in the above-mentioned background technology.
[0005] To achieve the above purpose, the present invention is implemented through the following technical solutions: an automatic initial positioning system for a hopper based on visual recognition, comprising a cold-keeping hopper, two distribution hoppers and a casting platform, the two distribution hoppers are placed on the rectangular top surface of the casting platform by a tower crane, the circular top surfaces of the two distribution hoppers jointly support the cold-keeping hopper placed by the tower crane, the tops of the two distribution hoppers are provided with feed ports, and the two sides of the cold-keeping hopper are respectively provided with discharge ports corresponding to the feed ports, comprising a visual unit, a processing unit, a spatial audio unit and a display module, the visual unit comprises a docking positioning module and a driving positioning module, the docking positioning module comprises 4 or 8 outdoor cameras, the outdoor cameras are installed on the vertical poles at the corners of the rectangular top surface of the casting platform, the driving positioning comprises 2 to 4 indoor cameras, the indoor cameras are installed on the top surface of the tower crane cockpit, the spatial audio unit consists of 8 to 12 speakers, the speakers are installed on the inner walls around the tower crane cockpit and are evenly distributed, the speakers are divided into upper and lower layers according to the height, and the speakers in the lower layer are at the same level as the top of the tower crane cockpit seat;
[0006] The following steps are involved:
[0007] Step 1: Positioning of the distribution hoppers. After the two distribution hoppers are transported to the designated location by the tower crane, the outdoor camera obtains the image information of the area where the distribution hoppers are located and transmits it to the processing unit. The processing unit executes the distribution hopper positioning program based on the feature recognition algorithm to establish a static model.
[0008] Step 2: Positioning the cold storage hopper, the outdoor camera obtains image information of the area where the cold storage hopper is located and transmits it to the processing unit, and the processing unit executes the cold storage hopper positioning program to establish a dynamic model;
[0009] Step 3: Positioning the driver's head. The indoor camera obtains the image information in the tower crane cockpit and transmits it to the processing unit. The processing unit executes the head positioning program to obtain the position q of the driver's head in the tower crane cockpit and the position of each speaker in the tower crane cockpit.
[0010] In step 1 to step 3, the pixel side lengths of the image segmentation in the distribution hopper positioning program, the cold storage hopper positioning program and the head positioning program are d, f and g respectively, wherein d is determined by taking the square root of the number of pixels of the first image occupied by the material inlet of the distribution hopper, f is determined by taking the square root of the number of pixels of the second image occupied by the material outlet of the cold storage hopper, and g is determined by taking the square root of the number of pixels of the third image occupied by the driver's head;
[0011] Step 4: Adjust the rotation angle. The processing unit calculates the angle difference between the first angle and the third angle, calculates the angle difference between the second angle and the fourth angle, and sums the average value to be the rotation angle r of the cold storage hopper. The processing unit converts the angle r into a first audio instruction and transmits it to the spatial audio unit. Each speaker in the spatial audio unit plays a different prompt sound to achieve the spatial audio angle difference. The processing unit transmits the angle r to the display module. The display module displays the angle difference between the static model and the dynamic model. The spatial audio angle difference cooperates with the display function of the display module to enhance the driver's visual and auditory intuitiveness, and helps the driver operate the tower crane to adjust the angle of the cold storage hopper.
[0012] Step 5: Adjust the stereo position. The processing unit determines the displacement vector v of the cold storage hopper according to the position change between the static model and the dynamic model. The processing unit converts the displacement vector v into a second audio instruction and transmits it to the spatial audio unit. Each speaker in the spatial audio unit plays a different prompt sound to achieve a spatial audio vector difference. The processing unit transmits the displacement vector v to the display module, and the display module displays the position change of the static model and the dynamic model.
[0013] Furthermore, the material distribution hopper positioning procedure specifically includes the following steps:
[0014] Step 101: cloth hopper image fusion, the processing unit fuses the image information of the cloth hopper area collected by multiple groups of outdoor cameras into a first image;
[0015] Step 102: Image segmentation and ranging. The processing unit imports the size information of the cloth bucket into the first image. The processing unit performs equal pixel segmentation on the first image to obtain a number of first blocks. The side length of the segmented first block is d. The size information of the cloth bucket is that the base height is 2 meters, the barrel height is 1.66 meters, and the diameter is 4 meters. The processing unit counts the number of pixels occupied by the base height, barrel height, and diameter length of the cloth bucket in the first image. The processing unit calculates the pixel ratio of the first block to the base height, barrel height, and diameter length respectively. The three side lengths of the first block are calculated based on the three sets of pixel ratios and the corresponding size information of the cloth bucket. The average of the three side lengths is calculated and marked as the visual size of the first block.
[0016] Step 103: Positioning the feed inlet, the processing unit identifies the feed inlet in the area of the distribution hopper in the first image through a feature recognition algorithm, and the processing unit calculates the position of the feed inlet of the distribution hopper in the first image based on the visual size of the first image block as a measurement reference;
[0017] Step 104: Measuring the angle of the feed inlet. The processing unit uses the vertical center line of the first image as the first reference line, calculates the angle between the edge extension line of the feed inlet of the material distribution hopper and the first reference line, and marks them as the first angle and the second angle. The edge of the feed inlet is a rectangle, and there are two sets of parallel lines, so two angles are formed.
[0018] Step 105: Establishing a static model, wherein the processing unit establishes the static model and imports the first image into the static model for alignment and expansion;
[0019] The cold storage hopper positioning procedure specifically includes the following steps:
[0020] Step 201: fusion of cold storage hopper images, wherein the processing unit fuses the image information of the cold storage hopper area collected by multiple groups of outdoor cameras into a second image;
[0021] Step 202: Image segmentation and ranging. The processing unit imports the size information of the cold storage hopper into the second image. The processing unit performs equal pixel segmentation on the second image to obtain a number of second blocks. The side length of the segmented second block is f. The size information of the cold storage hopper is 3.6 meters in height, 6.3 meters in length, and 2.8 meters in width. The processing unit counts the number of pixels occupied by the height, length, and width of the cold storage hopper in the second image. The processing unit calculates the pixel ratios of the second block to the height, length, and width, respectively. The three side lengths of the second block are calculated based on the three sets of pixel ratios and the size information of the corresponding cold storage hopper. The average of the three side lengths is calculated and marked as the visual size of the second block.
[0022] Step 203: Positioning the discharge port, the processing unit identifies the discharge port in the area of the cold storage hopper in the second image through a feature recognition algorithm, and the processing unit calculates the position of the discharge port of the cold storage hopper in the second image based on the visual size of the second image block as a measurement reference;
[0023] Step 204: Measuring the angle of the discharge port. The processing unit uses the vertical center line of the second image as the second reference line, calculates the angle between the edge extension line of the discharge port opening of the cold storage hopper and the second reference line, and marks them as the third angle and the fourth angle. The discharge port of the cold storage hopper matches the feed port of the distribution hopper, so the edge shape of the discharge port is also rectangular, and there are two sets of parallel lines, thus forming two angles.
[0024] Step 205: Establish a dynamic model. The processing unit aligns and expands the second image with the first image as the background, extracts the cold storage hopper from the second image as the dynamic model through a feature recognition algorithm, and imports the dynamic model into the static model.
[0025] Furthermore, the head positioning procedure specifically includes the following steps:
[0026] Step 301: Cockpit image fusion, the processing unit fuses the image information collected by multiple groups of indoor cameras into a third image;
[0027] Step 302: Establishing a coordinate system, the processing unit divides the third image into equal pixels to obtain a plurality of third blocks, the side length of the first block after division is g, the processing unit extracts the tower crane cab window area from the third image through a feature recognition algorithm and counts the number of third blocks occupied by the tower crane cab window area, the processing unit obtains the size information of the third block in the third image according to the number of third blocks occupied by the tower crane cab window area and the size information of the tower crane cab window, the processing unit establishes a cab coordinate system in the third image, and uses the size information of the third block as the visual size of the third block, and the size information of the tower crane cab window is manually measured by the driver and input into the processing unit;
[0028] Step 303: calculating the position q of the driver's head, the processing unit identifies the driver's head in the third image by a feature recognition algorithm, and the processing unit calculates the position q of the driver's head in the cab coordinate system based on the visual size of the third image block;
[0029] Step 304: calculating the position of each speaker, the processing unit identifying each speaker in the third image by a feature recognition algorithm, and the processing unit calculating the position of each speaker in the cab coordinate system based on the visual size of the third image block as a measurement reference;
[0030] Step 305: The processing unit compares the front and rear frames of the third image, and calculates the variation of the position q in the cab coordinate system. The variation of the position q can be decomposed into the variation of the horizontal axis and the vertical axis of the cab coordinate system. If the variation of the position q exceeds the preset range of ±5%, the processing unit executes step 303 again to redetermine the position q of the driver's head in the cab coordinate system.
[0031] Furthermore, the first audio instruction conversion process includes the following steps:
[0032] Step 401: the processing unit obtains the position q of the driver's head and the position of each speaker in the tower crane cockpit, and the processing unit connects all the speakers end to end to form a first closed loop graph, and the driver's head is located in the first closed loop graph;
[0033] Step 402: The processing unit uses the line connecting the two ears of the driver's head as the third reference line, and establishes a fourth reference line in the first closed-loop graph so that the angle between the fourth reference line and the third reference line is equal to the rotation angle r. The processing unit sets two first sound sources on the fourth reference line, the midpoint between the two first sound sources is the driver's head position q, and the distance between the first sound source and the driver's head position q is 3g;
[0034] Step 403: The processing unit divides the first closed-loop graph into two sector graphs using the third reference as a dividing line. The sector graph after division and the loudspeaker in the sector graph are calculated separately as a whole. The two sector graphs do not affect each other. The processing unit defines the driver's head position q as , the position of the first sound source is defined as , the speaker close to the first sound source is based on Reduce the phase of the first prompt sound, and the speaker away from the first sound source according to Increase the phase of the first prompt sound so that a phase difference is formed on both sides of the driver's head. All speakers inside the fan graphic play the first prompt sound after phase adjustment to achieve spatial audio angle difference. The phase difference refers to the time difference between the driver's two ears receiving the first prompt sound, so as to achieve spatial audio with direction recognition tendency, that is, spatial audio angle difference, enhance the intuitiveness of the driver's hearing, and assist the driver in adjusting the angle of the cold storage hopper. When the driver operates the tower crane to adjust the angle of the cold storage hopper until x2 equals x1 and y2 equals y1, the two first sound sources are located on both sides of the driver's head, indicating that the discharge port of the cold storage hopper is aligned with the feed port of the distribution hopper, and no further angle adjustment is required;
[0035] The second audio instruction conversion process comprises the following steps:
[0036] Step 404: The processing unit connects all the speakers in the upper layer end to end to form a second closed loop graph, and connects all the speakers in the lower layer end to end to form a third closed loop graph. The processing unit defines the angle formed by the displacement vector v and the second closed loop graph as the angle , the angle formed by the displacement vector v and the third closed-loop figure is defined as the angle ;
[0037] Step 405: The processing unit defines the driver's head position q as , the processing unit decomposes the displacement vector v into three-dimensional components, expressed as , set up the second sound source and define the position of the second sound source as , the speaker close to the second sound source is based on Reduce the phase of the second prompt sound, and move the speaker away from the second sound source according to The phase of the first prompt sound is increased so that a phase difference is formed in the three-dimensional space around the driver's head. All speakers in the second closed-loop graph and the third closed-loop graph play the second prompt sound after the phase adjustment to realize the spatial audio vector difference.
[0038] When the driver operates the tower crane to adjust the displacement of the cold storage hopper to meet the conditions that x3 is equal to x1, y3 is equal to y1, and z2 is equal to z1, the positions of the two second sound sources coincide with the driver's head position q, indicating that the outlet of the cold storage hopper is aligned with the inlet of the distribution hopper, and no further displacement adjustment is required;
[0039] The first audio instruction includes a first prompt sound and a phase to be adjusted. The first audio instruction is played only through the speaker located on the lower layer, and the phase of the rotation angle r is adjusted on the horizontal two-dimensional plane of the driver's head position q. The second audio instruction includes a second prompt sound and a phase to be adjusted. The second audio instruction needs to be played by the speakers located on the upper and lower layers together, and the phase of the displacement vector v is adjusted in the three-dimensional space around the driver's head position q. The first prompt sound and the second prompt sound use different timbres, which can satisfy the auditory distinction function, and there is no specific limitation on the timbre.
[0040] Furthermore, the feature recognition algorithm is implemented based on gradient direction histogram comparison. Specifically, the processing unit sets a sliding window in the image, and the sliding window slides pixel by pixel from top to bottom and from left to right from the upper left corner of the image until it slides to the lower right corner of the image. Each time the sliding window slides, the processing unit extracts the gradient direction histogram corresponding to the pixels in the sliding window and compares it with the pre-stored feature data. The feature data pre-stored in the processing unit includes the gradient direction histogram converted from the discharge port of the cold storage hopper, the feed port of the cloth hopper, the speaker and the driver's head. When the similarity between the gradient direction histogram and the feature data exceeds a preset threshold of 95%, the processing unit outputs the picture corresponding to the feature data, which means that the processing unit has recognized the object in the sliding window.
[0041] The present invention has the following beneficial effects:
[0042] 1. By analyzing the image information obtained by the visual unit through the processing unit, the driver can obtain the precise size information and rotation angle when the cold storage hopper and the distribution hopper are connected, which has the advantages of fast and accurate positioning.
[0043] 2. By combining the spatial audio unit with the display module, the size information and rotation angle are converted into visual and auditory information, which can enhance the driver's visual and auditory intuitiveness and make the operation of the tower crane simpler and more intuitive.
[0044] Of course, any product implementing the present invention does not necessarily need to achieve all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for describing the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0046] Figure 1 This is a block diagram of the automatic initial positioning system of the hopper based on visual recognition of the present invention. DETAILED DESCRIPTION
[0047] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions 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 are within the scope of protection of the present invention.
[0048] See also Figure 1 The present invention provides a technical solution: a hopper automatic initial positioning system based on visual recognition, comprising a cold-keeping hopper, two distribution hoppers and a casting platform, the two distribution hoppers are placed on the rectangular top surface of the casting platform by a tower crane, the circular top surfaces of the two distribution hoppers jointly support the cold-keeping hopper placed by the tower crane, the tops of the two distribution hoppers are provided with feeding ports, and the two sides of the cold-keeping hopper are respectively provided with discharge ports corresponding to the feeding ports, comprising a visual unit, a processing unit, a spatial audio unit and a display module, the visual unit comprises a docking positioning module and a driving positioning module, the docking positioning module comprises 4 outdoor cameras, the outdoor cameras are installed on the vertical poles at the corners of the rectangular top surface of the casting platform, the driving positioning comprises a plurality of 2 indoor cameras, the 2 indoor cameras are oriented vertically and crossed, the indoor cameras are installed on the top surface of the tower crane cockpit, the spatial audio unit consists of a plurality of 8 speakers, the speakers are installed on the inner walls around the tower crane cockpit and are evenly distributed, the speakers are divided into upper and lower layers according to the height, each layer has 4 speakers, and the 4 speakers on the lower layer are consistent with the horizontal height of the top of the tower crane cockpit seat;
[0049] The following steps are involved:
[0050] Step 1: Positioning of the material distribution hoppers. After the two material distribution hoppers are transported to the designated location by the tower crane, the outdoor camera obtains the image information of the area where the material distribution hoppers are located and transmits it to the processing unit. The processing unit executes the positioning program of the material distribution hoppers to establish a static model.
[0051] Step 2: Positioning the cold storage hopper. The outdoor camera obtains the image information of the area where the cold storage hopper is located and transmits it to the processing unit. The processing unit executes the cold storage hopper positioning program to establish a dynamic model.
[0052] Step 3: Driver head positioning: the indoor camera obtains the image information in the tower crane cockpit and transmits it to the processing unit. The processing unit executes the head positioning program to obtain the position q of the driver's head in the tower crane cockpit and the position of each speaker in the tower crane cockpit.
[0053] In step 1 to step 3, the pixel side lengths of the image segmentation in the distribution hopper positioning program, the cold storage hopper positioning program and the head positioning program are d, f and g respectively, wherein d is determined by taking the square root of the number of pixels of the first image occupied by the material inlet of the distribution hopper, f is determined by taking the square root of the number of pixels of the second image occupied by the material outlet of the cold storage hopper, and g is determined by taking the square root of the number of pixels of the third image occupied by the driver's head;
[0054] Step 4: Adjust the rotation angle. The processing unit calculates the angle difference between the first angle and the third angle, calculates the angle difference between the second angle and the fourth angle, and sums the average value to be the rotation angle r of the cold storage hopper. The processing unit converts the angle r into a first audio instruction and transmits it to the spatial audio unit. Each speaker in the spatial audio unit plays a different prompt sound to achieve the spatial audio angle difference. The processing unit transmits the angle r to the display module. The display module displays the angle difference between the static model and the dynamic model. The spatial audio angle difference cooperates with the display function of the display module to enhance the driver's visual and auditory intuitiveness, and helps the driver operate the tower crane to adjust the cold storage hopper angle.
[0055] Step 5: Adjust the stereo position. The processing unit determines the displacement vector v of the cold storage hopper according to the position change between the static model and the dynamic model. The processing unit converts the displacement vector v into a second audio instruction and transmits it to the spatial audio unit. Each speaker in the spatial audio unit plays a different prompt sound to achieve the spatial audio vector difference. The processing unit transmits the displacement vector v to the display module, and the display module displays the position change of the static model and the dynamic model.
[0056] The material hopper positioning procedure specifically includes the following steps:
[0057] Step 101: cloth hopper image fusion, the processing unit fuses the image information of the cloth hopper area collected by multiple groups of outdoor cameras into a first image;
[0058] Step 102: Image segmentation and ranging. The processing unit imports the size information of the cloth bucket into the first image. The processing unit performs equal pixel segmentation on the first image to obtain a number of first blocks. The side length of the segmented first block is d. The size information of the cloth bucket is that the base height is 2 meters, the barrel height is 1.66 meters, and the diameter is 4 meters. The processing unit counts the number of pixels occupied by the base height, barrel height, and diameter length of the cloth bucket in the first image. The processing unit calculates the pixel ratios of the first block to the base height, barrel height, and diameter length respectively. The three side lengths of the first block are calculated based on the three sets of pixel ratios and the corresponding size information of the cloth bucket. The average of the three side lengths is calculated and marked as the visual size of the first block.
[0059] Step 103: Positioning the feed inlet: the processing unit identifies the feed inlet in the area of the distribution hopper in the first image through a feature recognition algorithm, and calculates the position of the feed inlet of the distribution hopper in the first image based on the visual size of the first image block as a measurement reference;
[0060] Step 104: Measuring the angle of the feed inlet. The processing unit uses the vertical center line of the first image as the first reference line, calculates the angle between the edge extension line of the feed inlet of the material distribution hopper and the first reference line, and marks them as the first angle and the second angle. The edge of the feed inlet is a rectangle, and there are two sets of parallel lines, so two angles are formed.
[0061] Step 105: Establishing a static model. The processing unit establishes the static model and imports the first image into the static model for alignment and expansion.
[0062] The cold storage hopper positioning procedure specifically includes the following steps:
[0063] Step 201: fusion of cold storage hopper images, where a processing unit fuses image information of the cold storage hopper area collected by multiple groups of outdoor cameras into a second image;
[0064] Step 202: Image segmentation and ranging. The processing unit imports the size information of the cold storage hopper into the second image. The processing unit performs equal pixel segmentation on the second image to obtain a number of second blocks. The side length of the segmented second block is f. The size information of the cold storage hopper is 3.6 meters in height, 6.3 meters in length, and 2.8 meters in width. The processing unit counts the number of pixels occupied by the height, length, and width of the cold storage hopper in the second image. The processing unit calculates the pixel ratios of the second block to the height, length, and width, respectively. The three side lengths of the second block are calculated based on the three sets of pixel ratios and the size information of the corresponding cold storage hopper. The average of the three side lengths is calculated and marked as the visual size of the second block.
[0065] Step 203: Positioning the discharge port. The processing unit identifies the discharge port in the area of the cold storage hopper in the second image through a feature recognition algorithm. The processing unit calculates the position of the discharge port of the cold storage hopper in the second image based on the visual size of the second image block as a measurement reference.
[0066] Step 204: Measuring the angle of the discharge port. The processing unit uses the vertical center line of the second image as the second reference line, calculates the angle between the edge extension line of the discharge port opening of the cold storage hopper and the second reference line, and marks them as the third angle and the fourth angle. The discharge port of the cold storage hopper matches the feed port of the distribution hopper, so the edge shape of the discharge port is also rectangular, and there are two sets of parallel lines, thus forming two angles.
[0067] Step 205: Establish a dynamic model. The processing unit aligns and expands the second image with the first image as the background, extracts the cold storage hopper from the second image as the dynamic model through a feature recognition algorithm, and imports the dynamic model into the static model.
[0068] The head positioning procedure specifically includes the following steps:
[0069] Step 301: Cockpit image fusion, the processing unit fuses the image information collected by multiple groups of indoor cameras into a third image;
[0070] Step 302: Establishing a coordinate system, the processing unit divides the third image into equal pixels to obtain a number of third blocks, the side length of the first block after division is g, the processing unit extracts the tower crane cab window area from the third image through a feature recognition algorithm and counts the number of third blocks occupied by the tower crane cab window area, the processing unit obtains the size information of the third block in the third image according to the number of third blocks occupied by the tower crane cab window area and the size information of the tower crane cab window, the processing unit establishes a cab coordinate system in the third image, and uses the size information of the third block as the visual size of the third block, and the size information of the tower crane cab window is manually measured by the driver and input into the processing unit;
[0071] Step 303: calculating the position q of the driver's head. The processing unit identifies the driver's head in the third image by using a feature recognition algorithm. The processing unit calculates the position q of the driver's head in the cab coordinate system based on the visual size of the third image block.
[0072] Step 304: Calculate the position of each speaker. The processing unit identifies each speaker in the third image by using a feature recognition algorithm. The processing unit calculates the position of each speaker in the cab coordinate system based on the visual size of the third image block.
[0073] Step 305: The processing unit compares the front and rear frames of the third image, and calculates the variation of the position q in the cab coordinate system. The variation of the position q can be decomposed into the variation of the horizontal axis and the vertical axis of the cab coordinate system. If the variation of the position q exceeds the preset range of ±5%, the processing unit executes step 303 again to redetermine the position q of the driver's head in the cab coordinate system.
[0074] The first audio instruction conversion process includes the following steps:
[0075] Step 401: The processing unit obtains the position q of the driver's head and the position of each speaker in the tower crane cockpit. The processing unit connects all the speakers end to end to form a first closed loop graph, and the driver's head is located in the first closed loop graph;
[0076] Step 402: The processing unit uses the line connecting the two ears of the driver's head as the third reference line, and establishes a fourth reference line in the first closed-loop graph so that the angle between the fourth reference line and the third reference line is equal to the rotation angle r. The processing unit sets two first sound sources on the fourth reference line, the midpoint between the two first sound sources is the driver's head position q, and the distance between the first sound source and the driver's head position q is 3g;
[0077] Step 403: The processing unit divides the first closed-loop graph into two sector graphs using the third reference as a dividing line. The sector graph after division and the loudspeaker in the sector graph are calculated separately as a whole. The two sector graphs do not affect each other. The processing unit defines the driver's head position q as , the position of the first sound source is defined as , the speaker close to the first sound source is based on Reduce the phase of the first prompt sound, and the speaker away from the first sound source according to Increase the phase of the first prompt sound so that a phase difference is formed on both sides of the driver's head. All speakers inside the fan graphic play the first prompt sound after phase adjustment to achieve spatial audio angle difference. The phase difference refers to the time difference between the driver's two ears receiving the first prompt sound, so as to achieve spatial audio with direction recognition tendency, that is, spatial audio angle difference, enhance the intuitiveness of the driver's hearing, and assist the driver in adjusting the angle of the cold storage hopper. When the driver operates the tower crane to adjust the angle of the cold storage hopper until x2 equals x1 and y2 equals y1, the two first sound sources are located on both sides of the driver's head, indicating that the discharge port of the cold storage hopper is aligned with the feed port of the distribution hopper, and no further angle adjustment is required;
[0078] The second audio instruction conversion process includes the following steps:
[0079] Step 404: The processing unit connects all the speakers in the upper layer end to end to form a second closed loop graph, and connects all the speakers in the lower layer end to end to form a third closed loop graph. The processing unit defines the angle formed by the displacement vector v and the second closed loop graph as the angle , the angle formed by the displacement vector v and the third closed-loop figure is defined as the angle ;
[0080] Step 405: The processing unit defines the driver's head position q as , the processing unit decomposes the displacement vector v into three-dimensional components, expressed as , set up the second sound source and define the position of the second sound source as , the speaker close to the second sound source is based on Reduce the phase of the second prompt sound, and move the speaker away from the second sound source according to The phase of the first prompt sound is increased so that a phase difference is formed in the three-dimensional space around the driver's head. All speakers in the second closed-loop graph and the third closed-loop graph play the second prompt sound after the phase adjustment to realize the spatial audio vector difference.
[0081] When the driver operates the tower crane to adjust the displacement of the cold storage hopper to meet the conditions that x3 is equal to x1, y3 is equal to y1, and z2 is equal to z1, the positions of the two second sound sources coincide with the driver's head position q, indicating that the outlet of the cold storage hopper is aligned with the inlet of the distribution hopper, and no further displacement adjustment is required;
[0082] The first audio instruction includes a first prompt sound and a phase to be adjusted. The first audio instruction is played only through the speaker located on the lower layer, and the phase of the rotation angle r is adjusted on the horizontal two-dimensional plane of the driver's head position q. The second audio instruction includes a second prompt sound and a phase to be adjusted. The second audio instruction needs to be played by the speakers located on the upper and lower layers together, and the phase of the displacement vector v is adjusted in the three-dimensional space around the driver's head position q. The first prompt sound and the second prompt sound use different timbres, which can satisfy the auditory distinction function, and there is no specific limitation on the timbre.
[0083] Among them, the feature recognition algorithm is implemented based on the comparison of gradient direction histograms. Specifically, the processing unit sets a sliding window in the image. The sliding window slides pixel by pixel from top to bottom and from left to right from the upper left corner of the image until it slides to the lower right corner of the image. Each time the sliding window slides, the processing unit extracts the gradient direction histogram corresponding to the pixels in the sliding window and compares it with the pre-stored feature data. The feature data pre-stored in the processing unit include the gradient direction histogram converted from the discharge port of the cold storage hopper, the feed port of the cloth hopper, the speaker and the driver's head. When the similarity between the gradient direction histogram and the feature data exceeds the preset threshold of 95%, the processing unit outputs the picture corresponding to the feature data, which means that the processing unit has recognized the object in the sliding window.
[0084] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. The automatic initial positioning system of the hopper based on visual recognition includes a cold-keeping hopper, two distribution hoppers and a pouring platform. The two distribution hoppers are placed on the rectangular top surface of the pouring platform by a tower crane. The circular top surfaces of the two distribution hoppers jointly support the cold-keeping hopper placed by the tower crane. The tops of the two distribution hoppers are provided with feed ports, and the two sides of the cold-keeping hopper are respectively provided with discharge ports corresponding to the feed ports. The characteristics are: It also includes a visual unit, a processing unit, a spatial audio unit and a display module. The visual unit includes a docking positioning module and a driving positioning module. The docking positioning module includes a plurality of outdoor cameras, which are installed on the vertical poles at the corners of the rectangular top surface of the casting platform. The driving positioning module includes a plurality of indoor cameras, which are installed on the top surface of the tower crane cockpit. The spatial audio unit is composed of a plurality of speakers, which are installed on the inner walls around the tower crane cockpit and are evenly distributed. The following steps are also included: Step 1: Fabric hopper positioning, the outdoor camera obtains image information of the area where the fabric hopper is located and transmits it to the processing unit, and the processing unit executes the fabric hopper positioning program based on the feature recognition algorithm to establish a static model; Step 2: Positioning the cold storage hopper, the outdoor camera obtains image information of the area where the cold storage hopper is located and transmits it to the processing unit, and the processing unit executes the cold storage hopper positioning program to establish a dynamic model; Step 3: Positioning the driver's head. The indoor camera obtains the image information in the tower crane cockpit and transmits it to the processing unit. The processing unit executes the head positioning program to obtain the position q of the driver's head in the tower crane cockpit and the position of each speaker in the tower crane cockpit. In step 1 to step 3, the pixel side lengths of the image segmentation in the material distribution hopper positioning program, the cold storage hopper positioning program and the head positioning program are d, f and g respectively; Step 4: Adjust the rotation angle, the processing unit calculates the angle difference between the first angle and the third angle , calculate the angle difference between the second angle and the fourth angle ,beg and The average value is the rotation angle r of the cold storage hopper. The processing unit converts the rotation angle r into a first audio instruction and transmits it to the spatial audio unit. Each speaker in the spatial audio unit plays a different prompt sound to achieve a spatial audio angle difference. The processing unit transmits the rotation angle r to the display module, and the display module displays the angle difference between the static model and the dynamic model. Step 5: Adjust the stereo position. The processing unit determines the displacement vector v of the cold storage hopper according to the position change between the static model and the dynamic model, converts the displacement vector v into a second audio instruction and transmits it to the spatial audio unit. Each speaker in the spatial audio unit plays a different prompt sound to realize the spatial audio vector difference. The displacement vector v is transmitted to the display module, and the display module displays the position change of the static model and the dynamic model. The material distribution hopper positioning procedure specifically includes the following steps: Step 101: cloth hopper image fusion, the processing unit fuses the image information of the cloth hopper area collected by multiple groups of outdoor cameras into a first image; Step 102: Image segmentation and ranging, the processing unit imports the size information of the cloth bucket into the first image, performs equal pixel segmentation on the first image to obtain a number of first blocks, the side length of the segmented first block is d, the number of pixels occupied by the base height, barrel height and diameter length of the cloth bucket in the first image is counted, and the pixel ratios of the first block to the base height, barrel height and diameter length are calculated. According to the three sets of pixel ratios and the corresponding size information of the cloth bucket, the three side lengths of the first block are calculated, and the average of the three side lengths is marked as the visual size of the first block; Step 103: Positioning the feed inlet, the processing unit identifies the feed inlet in the area of the material distribution hopper in the first image through a feature recognition algorithm, and calculates the position of the feed inlet in the first image based on the visual size of the first image block; Step 104: Measuring the angle of the feed inlet. The processing unit uses the vertical center line of the first image as the first reference line, calculates the angle between the edge extension line of the feed inlet and the first reference line, and marks them as the first angle and the second angle; Step 105: Establishing a static model, wherein the processing unit establishes the static model and imports the first image into the static model for alignment and expansion; The cold storage hopper positioning procedure specifically includes the following steps: Step 201: fusion of cold storage hopper images, wherein the processing unit fuses the image information of the cold storage hopper area collected by multiple groups of outdoor cameras into a second image; Step 202: Image segmentation and ranging, the processing unit imports the size information of the cold storage hopper into the second image, performs equal pixel segmentation on the second image to obtain a number of second image blocks, the side length of the segmented second image block is f, the number of pixels occupied by the height, length and width of the cold storage hopper in the second image is counted, and the pixel ratios of the second image block to the height, length and width are calculated. According to the three sets of pixel ratios and the size information of the corresponding cold storage hopper, the three side lengths of the second image block are calculated, and the average of the three side lengths is marked as the visual size of the second image block; Step 203: Positioning the discharge port, the processing unit identifies the discharge port in the area of the cold storage hopper in the second image through a feature recognition algorithm, and calculates the position of the discharge port in the second image based on the visual size of the second image block; Step 204: Measuring the angle of the discharge port. The processing unit uses the vertical center line of the second image as the second reference line, calculates the angle between the edge extension line of the discharge port and the second reference line, and marks them as the third angle and the fourth angle. Step 205: establishing a dynamic model, the processing unit aligns and unfolds the second image with the first image as the background, extracts the second image as the dynamic model through a feature recognition algorithm, and imports the dynamic model into the static model; The first audio instruction conversion process includes the following steps: Step 401: the processing unit obtains the position q of the driver's head and the position of each speaker in the tower crane cockpit, connects all the speakers end to end to form a first closed loop graph, and the driver's head is located in the first closed loop graph; Step 402: The processing unit uses the line connecting the two ears of the driver's head as the third reference line, and establishes a fourth reference line in the first closed-loop graph so that the angle between the fourth reference line and the third reference line is equal to the rotation angle r, and sets two first sound sources on the fourth reference line, the midpoint between the two first sound sources is the driver's head position q, and the distance between the first sound source and the driver's head position q is 3g; Step 403: The first closed-loop graph is divided into two sector graphs using the third reference as a dividing line. The sector graph after division and the loudspeaker in the sector graph are calculated separately as a whole. The two sector graphs do not affect each other. The driver's head position q is defined as , the position of the first sound source is defined as , the speaker close to the first sound source is based on Reduce the phase of the first prompt sound, and the speaker away from the first sound source according to Increase the phase of the first prompt sound so that a phase difference is formed on both sides of the driver's head. All speakers inside the fan graphic play the first prompt sound after phase adjustment to achieve spatial audio angle difference. When the driver operates the tower crane to adjust the angle of the cold storage hopper until x2 equals x1 and y2 equals y1, no further angle adjustment is required. The second audio instruction conversion process includes the following steps: Step 404: the processing unit connects all the speakers of the upper layer end to end to form a second closed loop graph, connects all the speakers of the lower layer end to end to form a third closed loop graph, defines the angle formed by the displacement vector v and the second closed loop graph as the angle, and defines the angle formed by the displacement vector v and the third closed loop graph as the angle; Step 405: The processing unit defines the driver's head position q as , the processing unit decomposes the displacement vector v into three-dimensional components, expressed as , set up the second sound source and define the position of the second sound source as , the speaker close to the second sound source is based on Reduce the phase of the second prompt sound, and the speaker away from the second sound source according to The phase of the first prompt sound is increased so that a phase difference is formed in the three-dimensional space around the driver's head. All speakers in the second closed-loop graph and the third closed-loop graph play the second prompt sound after the phase adjustment to realize the spatial audio vector difference. When the driver operates the tower crane to adjust the displacement position of the cold insulation hopper to satisfy x3 equals x1, y3 equals y1, and z2 equals z1, no further displacement adjustment is required.
2. The automatic initial positioning system for hoppers based on visual recognition according to claim 1 is characterized in that: The head positioning procedure specifically comprises the following steps: Step 301: Cockpit image fusion, the processing unit fuses the image information collected by multiple groups of indoor cameras into a third image; Step 302: Establishing a coordinate system, the processing unit divides the third image into equal pixels to obtain a plurality of third blocks, the side length of the first block after the division is g, extracting the tower crane cab window area from the third image through a feature recognition algorithm and counting the number of third blocks occupied by the tower crane cab window area, obtaining the size information of the third block in the third image according to the number of third blocks occupied by the tower crane cab window area and the size information of the tower crane cab window, establishing a cab coordinate system in the third image, and using the size information of the third block as the visual size of the third block; Step 303: calculating the position q of the driver's head, the processing unit identifies the driver's head in the third image by a feature recognition algorithm, and calculates the position q of the driver's head in the cab coordinate system based on the visual size of the third image block; Step 304: calculating the position of each speaker, the processing unit identifying each speaker in the third image by a feature recognition algorithm, and calculating the position of each speaker in the cab coordinate system based on the visual size of the third image block; Step 305: The processing unit compares the front and rear frames of the third image and calculates the change range of the position q in the cab coordinate system. If the change range of the position q exceeds a preset range, step 303 is executed again to redetermine the position q of the driver's head in the cab coordinate system.
3. The automatic initial positioning system for hoppers based on visual recognition according to claim 1 is characterized in that: The feature recognition algorithm is implemented based on the comparison of gradient direction histograms. Specifically, a processing unit sets a sliding window in the image. The sliding window slides pixel by pixel from top to bottom and from left to right from the upper left corner of the image until it slides to the lower right corner of the image. Each time the sliding window slides, the processing unit extracts the gradient direction histogram corresponding to the pixels in the sliding window and compares it with pre-stored feature data. The feature data pre-stored in the processing unit includes the gradient direction histogram converted from the discharge port of the cold storage hopper, the feed port of the cloth hopper, the speaker and the driver's head. When the similarity between the gradient direction histogram and the feature data exceeds a preset threshold, the processing unit outputs the picture corresponding to the feature data.
Citation Information
Cited By
Machine tool accessory automatic adjustment control system based on visual identification
CN120206252A
