CN116734945B - Regular box volume measurement system based on grating - Google Patents
Regular box volume measurement system based on grating Download PDFInfo
- Publication number
- CN116734945B CN116734945B CN202310719298.0A CN202310719298A CN116734945B CN 116734945 B CN116734945 B CN 116734945B CN 202310719298 A CN202310719298 A CN 202310719298A CN 116734945 B CN116734945 B CN 116734945B
- Authority
- CN
- China
- Prior art keywords
- grating
- box
- fbb
- box body
- measuring
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000005259 measurement Methods 0.000 title claims description 76
- 230000003287 optical effect Effects 0.000 claims description 52
- 238000004422 calculation algorithm Methods 0.000 claims description 15
- 101100122788 Caenorhabditis elegans gpx-2 gene Proteins 0.000 claims description 11
- 238000000034 method Methods 0.000 claims description 11
- 101100337673 Caenorhabditis elegans gpx-1 gene Proteins 0.000 claims description 10
- 230000003247 decreasing effect Effects 0.000 claims description 10
- 238000004364 calculation method Methods 0.000 claims description 6
- 230000008859 change Effects 0.000 description 3
- 230000007423 decrease Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000004590 computer program Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000005457 optimization Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000005286 illumination Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01F—MEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
- G01F17/00—Methods or apparatus for determining the capacity of containers or cavities, or the volume of solid bodies
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B11/00—Measuring arrangements characterised by the use of optical techniques
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B11/00—Measuring arrangements characterised by the use of optical techniques
- G01B11/02—Measuring arrangements characterised by the use of optical techniques for measuring length, width or thickness
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Fluid Mechanics (AREA)
- Length Measuring Devices By Optical Means (AREA)
Abstract
The application relates to the technical field of measuring devices, and discloses a regular box body volume measuring system based on a grating, which comprises a measuring grating I, a measuring grating II, an encoder, a PLC (programmable logic controller), a belt conveyor and a client; the transmitting end and the receiving end of the first measuring grating are respectively arranged on the upper side and the lower side of the belt conveyor, and a connecting straight line between the transmitting end and the receiving end is vertical to the top surface of the belt on the belt conveyor; a gap is arranged between belts of the belt conveyor, and a connecting straight line between a transmitting end and a receiving end of the first measuring grating penetrates through the gap; the transmitting end and the receiving end of the measuring grating II are respectively arranged at the left side and the right side of the belt conveyor, and the connecting straight line between the transmitting end and the receiving end is parallel to the top surface of the belt on the belt conveyor; the first measuring grating and the second measuring grating are connected with the PLC; the encoder is connected with the PLC; the PLC controller is connected with the client. The application is suitable for the requirement of obtaining the basic size and volume of the regular box body, and can effectively reduce the input cost.
Description
Technical Field
The application relates to the technical field of measuring devices, in particular to a regular box body volume measuring system based on a grating.
Background
The box volume measurement system is widely applied in logistics storage industry, and is often used for measuring the box volume in the scenes of express packages, goods entering and exiting, and the like, so that goods can be picked conveniently, and the suitability of freight and storage space can be determined. The main box volume measurement systems currently in the market mainly comprise the following 2 types:
1. Laser measurement system: the method is a technology for measuring by using a laser sensor, and is characterized by high precision, high measuring speed, compatibility with the measurement of irregular objects, but higher price;
2. Vision measurement system: the method is a technique for measuring by using a camera, has the advantages of full automation, non-contact and the like, but the precision is influenced by physical conditions such as illumination, scenes and the like, and the method needs calibration when in use and has higher price.
There are many customers in industry, and the goods in the field are mostly regular boxes, and the customer needs to distinguish and select multiple boxes with fixed sizes, so that the requirement on the volume measurement accuracy of the boxes is not very high in the requirement. While the currently mainstream laser/vision volumetric measurement system is used in such a scenario to address the customer's need for tank volume acquisition, it is apparent that performance overabundance and high cost issues may occur. Therefore, there is a need for a low cost tank volume measurement system.
Disclosure of Invention
The application aims to provide a regular box body volume measurement system based on a grating, which aims to solve the technical problems in the background technology.
In order to achieve the above purpose, the present application discloses the following technical solutions:
A grating-based regular box volume measurement system, comprising: the system comprises a measuring grating I, a measuring grating II, an encoder, a PLC controller, a belt conveyor for transmitting a box body and a client;
the transmitting end and the receiving end of the first measuring grating are respectively arranged on the upper side and the lower side of the belt conveyor, and a connecting straight line between the transmitting end and the receiving end is perpendicular to the top surface of the upper belt of the belt conveyor;
the belt conveyor is provided with a first belt and a second belt, the first belt and the second belt are arranged at intervals, and a connecting straight line between a transmitting end and a receiving end of the first measuring grating penetrates through the intervals;
The transmitting end and the receiving end of the measuring grating II are respectively arranged at the left side and the right side of the belt conveyor, and a connecting straight line between the transmitting end and the receiving end is parallel to the top surface of the belt on the belt conveyor;
The first measuring grating and the second measuring grating are respectively connected with the PLC through an Ethernet;
The encoder is connected with the PLC, and sends a high-speed pulse signal to the PLC and feeds back the conveying distance of the belt conveyor;
the PLC is connected with the client through an Ethernet or a system serial port, and feeds back box parameters to the client.
In one embodiment, the tank parameters include a tank length, a tank width, a tank height, a tank volume, and a tank number.
In one embodiment, the PLC controller packages the box parameters into a standard message format and feeds them back to the client.
In one embodiment, the standard message format is:
header box numbering, box length, box width, box height tail;
wherein, box serial number, box length, box width, box height are the numerical value of fixed length, and box length, box width, box height's unit are the same.
In one embodiment, during measurement, determining that the box body is in a vertical placement state or an inclined placement state according to a measurement result of the first measurement grating or the second measurement grating, wherein the vertical placement state is a state that at least one surface of the box body placed on the belt of the belt conveyor is perpendicular to the conveying direction of the belt conveyor, and the inclined placement state is a state that all surfaces of the box body placed on the belt of the belt conveyor are not perpendicular to the conveying direction of the belt conveyor;
when the box body passes through the measuring area, judging that the box body is in a vertical placement state when the first shielded optical axis value and the last shielded optical axis value are not changed, and calculating the size of the box body by the PLC through an algorithm I; when the first shielded optical axis value is decreased and the last shielded optical axis value is increased, judging that the box body is in an inclined placement state, and calculating the size of the box body by the PLC through a second algorithm.
In one embodiment, when the first shielded optical axis value decreases and the last shielded optical axis value increases, an increasing value and a decreasing value are obtained and compared with a preset optical axis deviation value, when the increasing value or the decreasing value is larger than the preset optical axis deviation value, the box body is judged to be in an inclined placement state, and the PLC calculates the size of the box body through a second algorithm; otherwise, the box body is judged to be in a vertical placement state.
In one embodiment, the algorithm specifically includes:
And (3) calculating the length: reading an encoder value BM1 of the first measuring grating or the second measuring grating when the box body shields the first measuring grating or the second measuring grating and an encoder value BM2 of a critical position of the first measuring grating or the second measuring grating when the box body is separated from the first measuring grating or the second measuring grating, wherein the length L of the box body is as follows: l= (|bm1-bm2|) bPx, wherein bPx is the encoder resolution;
Width calculation: reading the number GZ1 of the optical axes shielded on the first measuring grating, wherein the width D of the box body is as follows: d=
GZ1 x gPx1, wherein gPx is the grating resolution of the measurement grating one;
Height calculation: reading the number GZ2 of the blocked optical axes on the second measuring grating, wherein the height H of the box body is as follows: h=
GZ2 x gPx2, wherein gPx is the grating resolution of the measurement grating two.
In one embodiment, the second algorithm specifically includes:
defining a position of the box body, which firstly shields the first measuring grating, as FBB_0, and recording an encoder value BM_FBB_0 at the position;
Defining a position of the box body, which corresponds to the upper shielding position of the measuring grating, as FBB_Min, defining a position of the box body, which corresponds to the upper shielding position of the measuring grating, and corresponds to the optical axis, as FBB_Max, and recording an encoder value BM_FBB_Min at the position of FBB_Min and an encoder value BM_FBB_Max at the position of FBB_Max;
defining a= (|gz_fbb_min-gz_fbb_0|) gPx < 1 >, wherein gPx < 1 > is the grating resolution of the measurement grating one, wherein gz_fbb_min is the optical axis value at the fbb_min position on the measurement grating one, and gz_fbb_0 is the optical axis value at the fbb_0 position on the measurement grating one;
Define b= (|bm_fbb_min-bm_fbb_0|) bPx, where bPx is the encoder resolution;
the length L of the tank is calculated based on a and b,
Defining d= (|gz_fbb_max-gz_fbb_0|) x gPx1, wherein gz_fbb_max is the optical axis value at the fbb_max position on measurement grating one;
Definition e= (|bm_fbb_max) -bm_fbb_0|) bPx1;
the width D of the box is calculated based on D and e,
The height H of the box body is h=gz2× gPx2, wherein gPx2 is the grating resolution of the measurement grating two, and GZ2 is the number of optical axes blocked on the measurement grating two.
In one embodiment, an included angle between a side in the length direction of the box and the conveying direction of the belt conveyor is calculated based on a, b and L to be a placement inclination angle alpha, and the box parameter includes the placement inclination angle alpha.
In one embodiment, the first measurement grating and the second measurement grating are respectively networked with the PLC controller via a Profinet protocol.
The beneficial effects are that: the grating-based regular box volume measurement system is suitable for the requirements of obtaining the basic size and the volume of the regular box, can meet the customer requirement that the volume measurement precision is not very high, and can effectively reduce the input cost. And according to the specific precision requirement of the customer and the maximum box size, measuring gratings with different resolutions and different sizes can be selected for cost optimization.
Drawings
In order to more clearly illustrate the embodiments of the application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a block diagram of a regular box volume measurement system based on gratings in an embodiment of the present application;
FIG. 2 is a schematic diagram of the positional relationship among the first measuring grating, the second measuring grating, the first belt and the second belt according to the embodiment of the present application;
FIG. 3 is a schematic view of a case passing through a measurement area in a vertical placement state according to an embodiment of the present application;
fig. 4 is a schematic view of the case passing through the measurement area in an inclined state according to an embodiment of the present application.
Reference numerals: 1. measuring a first grating; 2. measuring a second grating; 3. an encoder; 4. a PLC controller; 5. a client; 601. a first belt; 602. and a second belt.
Detailed Description
The following description of the technical solutions in the embodiments of the present application will be clear and complete, and it is obvious that the described embodiments are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
In the description of the present disclosure, it should be noted that the azimuth or positional relationship indicated by the terms "upper", "lower", etc. are based on the azimuth or positional relationship shown in the drawings, and are merely for convenience of describing the present disclosure and simplifying the description, and do not indicate or imply that the apparatus or element to be referred to must have a specific azimuth, be configured and operated in a specific azimuth, and thus should not be construed as limiting the present disclosure.
In this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Referring to fig. 1, a regular box volume measurement system based on a grating is applicable to a box structure with regular shape, and the embodiment uses a rectangular box as a measurement object to be unfolded. Specifically, the system comprises: the system comprises a first measuring grating 1, a second measuring grating 2, an encoder 3, a PLC controller 4, a belt conveyor for conveying a box body and a client 5. The first measuring grating 1 and the second measuring grating 2 are respectively connected with the PLC 4 through Ethernet. The encoder 3 is connected with the PLC 4, and the encoder 3 sends a high-speed pulse signal to the PLC 4 and feeds back the conveying distance of the belt conveyor. The PLC controller 4 is connected to the client 5 through an ethernet or a system serial port, and the PLC controller 3 feeds back the box parameters to the client 5. The first measuring grating 1 and the second measuring grating 2 are respectively networked with the PLC controller 4 through a Profinet protocol.
In this embodiment, as shown in fig. 2, the transmitting end and the receiving end of the measuring grating 1 are respectively disposed at the upper and lower sides of the belt conveyor, and the connecting line between the transmitting end and the receiving end is perpendicular to the top surface of the belt on the belt conveyor. The belt conveyor is provided with a first belt 601 and a second belt 602, the first belt 601 and the second belt 602 are arranged at intervals, and a connecting straight line between the transmitting end and the receiving end of the first measuring grating 1 penetrates through the intervals. I.e. without a box in between, the light beam between the transmitting and receiving end of the measuring grating one 1 can pass through the gap. It should be appreciated that this spacing need only avoid the belt from obscuring the optical path of measurement grating one 1, so the size of this spacing is small enough to avoid the box from falling on the belt conveyor.
In this embodiment, the transmitting end and the receiving end of the second measurement grating 2 are respectively disposed at the left and right sides of the belt conveyor, and a connecting line between the transmitting end and the receiving end is parallel to the top surface of the belt on the belt conveyor. It is possible that, in order to reduce the clutter of the test data, the embodiment adopts the arrangement that the optical axes of the bottommost parts of the transmitting end and the receiving end of the second measuring grating 2 are equal to the top surface of the belt conveyor.
In this embodiment, the box parameters include box length, box width, box height, box volume, and box number. It should be understood that, for the present embodiment, the tank volume is calculated by the length of the tank and the width of the tank and the height of the tank. Preferably, the PLC controller 4 packages the box parameters into a standard message format and feeds them back to the client 5. The standard message format is: header box numbering, box length, box width, box height trailer. Wherein, box serial number, box length, box width, box height are the numerical value of fixed length, and box length, box width, box height's unit are the same. Specifically, when the data interaction is performed with the upper system of the client 5, the box parameters are fed back in the standard message format, the header adopts "<02>", the tail adopts "<03>", the length of the box label is 8 bits, at this time, when the box is numbered from 0 and sequentially increases, the available numbers are "000000000000", "00000001", "00000002" … … "99999999", the number 100000000 numbers can be used in total, the box detection requirement corresponding to the general number can be basically met, and meanwhile, after all the numbers are used up, the reset can be performed. The length of the box body, the width of the box body and the height of the box body are 4, and the unit is mm. Based on the above, an example of a data parameter of the box may be: <02>00000001, 1000, 0100, 0010<03>; the specific data of the corresponding box body are as follows: the number is 00000001, the length is 1000mm, the width is 100mm, and the height is 10mm.
As a preferred implementation manner of this embodiment, in the measurement, the case is determined to be in a vertically placed state or an obliquely placed state according to the measurement result of the measurement grating 1 or the measurement grating 2, where the vertically placed state is a state in which at least one face of the case placed on the belt of the belt conveyor is perpendicular to the conveying direction of the belt conveyor, and the obliquely placed state is a state in which all faces of the case placed on the belt of the belt conveyor are not perpendicular to the conveying direction of the belt conveyor.
When the box body passes through the measuring area, and when the first and last shielded optical axis values do not change, the box body is judged to be in a vertical placement state, and the PLC 4 calculates the size of the box body through an algorithm one. When the first shielded optical axis value decreases and the last shielded optical axis value increases, the box is judged to be in an inclined placement state, and the PLC 4 calculates the size of the box through a second algorithm.
In order to reduce the influence caused by the data detection error, it is further preferred that in the present embodiment, when the first occluded optical axis value decreases and the last occluded optical axis value increases, an increasing value and a decreasing value are obtained and compared with a preset optical axis deviation value, when the increasing value or the decreasing value is greater than the preset optical axis deviation value, the box is determined to be in an inclined state, and the PLC controller 4 calculates the size of the box by the algorithm two; otherwise, the box body is judged to be in a vertical placement state.
Specifically, as shown in fig. 3, the shielded FBB (first shielded optical axis value) and the LBB (last shielded optical axis value) do not change when the case passes through the measurement area in the vertical placement state.
Specifically, as shown in fig. 4, when the box passes through the measurement area in the tilted state, the FBB value is decreased, the LBB value is increased, the FBB value or the LBB value statistical list is estimated for deviation, and further, the change of the optical axis value deviation set value in the PLC controller 4 is used to determine whether the box is tilted or vertical when the box is tilted by about a small size. After determining the tilt or vertical state, it is possible to select which of the calculated length/width values in both states is the effective value.
In this embodiment, the algorithm one specifically includes:
And (3) calculating the length: when the box body shields the first measuring grating 1 or the second measuring grating 2 for the first time, the encoder value BM1 and the encoder value BM2 at the critical position where the box body is separated from the first measuring grating 1 or the second measuring grating 2, and the length L of the box body is as follows: l= (|bm1-bm2|) bPx, wherein bPx is the encoder resolution;
Width calculation: reading the number GZ1 of the blocked optical axes on the first measuring grating 1, wherein the width D of the box body is as follows: d=gz1× gPx1, where gPx1 is the grating resolution of measurement grating one 1;
Height calculation: reading the number GZ2 of the blocked optical axes on the second measurement grating 2, wherein the box body height H is as follows: h=gz2× gPx2, where gPx2 is the grating resolution of measurement grating two 2.
In this embodiment, the second algorithm specifically includes:
Defining the position of the first occlusion measurement grating 1 of the box body as FBB_0, and recording an encoder value BM_FBB_0 at the position;
Defining a position of the box body, which corresponds to a shielding position on the first measuring grating 1 and has the smallest optical axis value, as FBB_Min, defining a position of the box body, which corresponds to the shielding position on the first measuring grating 1 and has the largest optical axis value, as FBB_Max, recording an encoder value BM_FBB_Min at the position of FBB_Min, and recording an encoder value BM_FBB_Max at the position of FBB_Max;
defining a= (|gz_fbb_min-gz_fbb_0|) gPx1, wherein gPx is the grating resolution of measurement grating one 1, wherein gz_fbb_min is the optical axis value at the fbb_min position on measurement grating one 1 and gz_fbb_0 is the optical axis value at the fbb_0 position on measurement grating one 1;
Define b= (|bm_fbb_min-bm_fbb_0|) bPx, where bPx is the encoder resolution;
the length L of the tank is calculated based on a and b,
Defining d= (|gz_fbb_max-gz_fbb_0|) x gPx1, wherein gz_fbb_max is the optical axis value at the fbb_max position on measurement grating one 1;
Definition e= (|bm_fbb_max) -bm_fbb_0|) bPx1;
the width D of the box is calculated based on D and e,
The height H of the box is h=gz2× gPx2, where gPx2 is the grating resolution of the measurement grating two 2, and GZ2 is the number of optical axes blocked on the measurement grating two 2.
Further, an included angle between the side in the length direction of the box body and the conveying direction of the belt conveyor is calculated based on the a, the b and the L to be used as a placement inclination angle alpha, and the box body parameters comprise the placement inclination angle alpha. At this time, the box parameters under the standard message format are header box number, box length, box width, box height, and inclined angle tail. Examples of data parameters for a box may be: <02>00000001, 1000, 0100, 0010, 35 ° <03>; the specific data of the corresponding box body are as follows: the number is 00000001, the length is 1000mm, the width is 100mm, the height is 10mm, and the placing inclination angle alpha is 35 degrees.
From the above disclosure, it can be seen that the grating-based rule box volume measurement system of the application is suitable for the requirements of obtaining the basic size and volume of the rule box, can meet the customer requirement that the requirement on the volume measurement precision is not very high, and can effectively reduce the input cost. And according to the specific precision requirement of the customer and the maximum box size, measuring gratings with different resolutions and different sizes can be selected for cost optimization. Moreover, the volume measurement task can be completed through the grating with lower cost, the main controller adopts the PLC, the available brands are many, the interactive interfaces are more abundant, and the overall flexibility of the system is higher.
In the embodiments provided in the present application, it should be understood that, for a software implementation, some or all of the flow of the embodiments may be accomplished by computer programs to instruct the associated hardware. When implemented, the above-described program may be stored on or transmitted as one or more sets of instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a computer. Computer-readable media can include, but are not limited to, RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
Finally, it should be noted that: the foregoing description of the preferred embodiments of the present application is not intended to be limiting, but rather, it will be apparent to those skilled in the art that the foregoing description of the preferred embodiments of the present application can be modified or equivalents can be substituted for some of the features thereof, and any modification, equivalent substitution, improvement or the like that is within the spirit and principles of the present application should be included in the scope of the present application.
Claims (8)
1. A grating-based regular box volume measurement system, comprising: the device comprises a measuring grating I (1), a measuring grating II (2), an encoder (3), a PLC (programmable logic controller) 4, a belt conveyor for conveying a box body and a client (5);
The transmitting end and the receiving end of the first measuring grating (1) are respectively arranged on the upper side and the lower side of the belt conveyor, and a connecting straight line between the transmitting end and the receiving end is perpendicular to the top surface of the upper belt of the belt conveyor;
The belt conveyor is provided with a first belt (601) and a second belt (602), the first belt (601) and the second belt (602) are arranged at intervals, and a connecting straight line between a transmitting end and a receiving end of the first measuring grating (1) penetrates through the intervals;
The transmitting end and the receiving end of the measuring grating II (2) are respectively arranged at the left side and the right side of the belt conveyor, and a connecting straight line between the transmitting end and the receiving end is parallel to the top surface of the upper belt of the belt conveyor;
the first measuring grating (1) and the second measuring grating (2) are respectively connected with the PLC (4) through Ethernet;
The encoder (3) is connected with the PLC (4), and the encoder (3) sends a high-speed pulse signal to the PLC (4) and feeds back the conveying distance of the belt conveyor;
The PLC (4) is connected with the client (5) through an Ethernet or a system serial port, and the PLC (3) feeds back box parameters to the client (5);
During measurement, judging that the box body is in a vertical placement state or an inclined placement state according to the measurement result of the first measurement grating (1) or the second measurement grating (2), wherein the vertical placement state is a state that at least one surface of the box body placed on the belt of the belt conveyor is perpendicular to the conveying direction of the belt conveyor, and the inclined placement state is a state that all surfaces of the box body placed on the belt of the belt conveyor are not perpendicular to the conveying direction of the belt conveyor;
when the box body passes through the measuring area, and when the first shielded optical axis value and the last shielded optical axis value are not changed, judging that the box body is in a vertical placement state, and calculating the size of the box body by the PLC (4) through an algorithm one; when the first shielded optical axis value is decreased and the last shielded optical axis value is increased, judging that the box body is in an inclined placement state, and calculating the size of the box body by the PLC (4) through a second algorithm;
When the first shielded optical axis value is decreased and the last shielded optical axis value is increased, an increasing value and a decreasing value are obtained and compared with a preset optical axis deviation value, when the increasing value or the decreasing value is larger than the preset optical axis deviation value, the box body is judged to be in an inclined placement state, and the PLC (4) calculates the size of the box body through a second algorithm; otherwise, the box body is judged to be in a vertical placement state.
2. The grating-based regular tank volume measurement system of claim 1, wherein the tank parameters comprise a tank length, a tank width, a tank height, a tank volume, and a tank number.
3. The grating-based regular box volume measurement system according to claim 2, wherein the PLC controller (4) packages the box parameters into a standard message format and feeds them back to the client (5).
4. A grating-based regular box volume measurement system according to claim 3, wherein the standard message format is:
header box numbering, box length, box width, box height tail;
wherein, box serial number, box length, box width, box height are the numerical value of fixed length, and box length, box width, box height's unit are the same.
5. The grating-based regular box volume measurement system of claim 1, wherein the algorithm specifically comprises:
And (3) calculating the length: the method comprises the steps that when a box body shields the first measuring grating (1) or the second measuring grating (2) for the first time, an encoder value BM1 and the box body are separated from an encoder value BM2 at a critical position shielding the first measuring grating (1) or the second measuring grating (2), and the length L of the box body is as follows: l= (|bm1-bm2|) bPx, wherein bPx is the encoder resolution;
Width calculation: reading the number GZ1 of the blocked optical axes on the first measuring grating (1), wherein the width D of the box body is as follows: d=gz1 x gPx1, wherein gPx1 is the grating resolution of the measurement grating one (1);
Height calculation: reading the number GZ2 of the blocked optical axes on the measuring grating II (2), wherein the box body height H is as follows: h=gz2× gPx2, wherein gPx2 is the grating resolution of the measurement grating two (2).
6. The grating-based regular box volume measurement system of claim 1, wherein the algorithm two specifically comprises:
Defining the position of the box body which firstly shields the measuring grating one (1) as FBB_0, and recording an encoder value BM_FBB_0 at the position;
Defining a position of the box body, which corresponds to a shielding position on the first measuring grating (1), with a minimum optical axis value as FBB_Min, defining a position of the box body, which corresponds to a shielding position on the first measuring grating (1), with a maximum optical axis value as FBB_Max, recording an encoder value BM_FBB_Min at the position of FBB_Min, and recording an encoder value BM_FBB_Max at the position of FBB_Max;
Defining a= (|gz_fbb_min-gz_fbb_0|) gPx1, wherein gPx is the grating resolution of the measurement grating one (1), wherein gz_fbb_min is the optical axis value at the fbb_min position on the measurement grating one (1), gz_fbb_0 is the optical axis value at the fbb_0 position on the measurement grating one (1);
Define b= (|bm_fbb_min-bm_fbb_0|) bPx, where bPx is the encoder resolution;
the length L of the tank is calculated based on a and b,
Defining d= (|gz_fbb_max-gz_fbb_0|) x gPx1, wherein gz_fbb_max is the optical axis value at the fbb_max position on measurement grating one (1);
Definition e= (|bm_fbb_max) -bm_fbb_0|) bPx1;
the width D of the box is calculated based on D and e,
The height H of the box body is h=gz2× gPx2, wherein gPx2 is the grating resolution of the measurement grating two (2), and GZ2 is the number of optical axes blocked on the measurement grating two (2).
7. The grating-based regular tank volume measurement system according to claim 6, wherein the angle between the sides of the tank in the length direction and the conveying direction of the belt conveyor is calculated based on a, b and L as the placement angle α, and the tank parameters include the placement angle α.
8. The grating-based regular box volume measurement system of claim 1, wherein the measurement grating one (1) and the measurement grating two (2) are networked with the PLC controller (4) via a Profinet protocol, respectively.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310719298.0A CN116734945B (en) | 2023-06-16 | 2023-06-16 | Regular box volume measurement system based on grating |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310719298.0A CN116734945B (en) | 2023-06-16 | 2023-06-16 | Regular box volume measurement system based on grating |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116734945A CN116734945A (en) | 2023-09-12 |
CN116734945B true CN116734945B (en) | 2024-08-13 |
Family
ID=87905835
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310719298.0A Active CN116734945B (en) | 2023-06-16 | 2023-06-16 | Regular box volume measurement system based on grating |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116734945B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107228636A (en) * | 2017-07-21 | 2017-10-03 | 深圳市兴兆业光电科技有限公司 | A kind of measuring system and its measuring method of vehicle gabarit |
CN108036749A (en) * | 2017-12-01 | 2018-05-15 | 苏州晓创光电科技有限公司 | A kind of dimension measuring device and method |
Family Cites Families (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
AT393907B (en) * | 1990-02-16 | 1992-01-10 | Sprecher Energie Oesterreich | DEVICE FOR DETECTING THE DIMENSIONS OF AN OBJECT MOVING OBJECT |
JP3098687B2 (en) * | 1994-12-20 | 2000-10-16 | 株式会社リコー | Document size sensor |
CN104511678B (en) * | 2013-09-30 | 2016-08-24 | 宝山钢铁股份有限公司 | Cutting torches slab edge detection method |
CN205138431U (en) * | 2015-11-11 | 2016-04-06 | Tcl王牌电器(惠州)有限公司 | Material recognition device and transfer chain of transfer chain |
DE102016114477B4 (en) * | 2016-08-04 | 2018-03-22 | Sick Ag | conveyor |
CN206248034U (en) * | 2016-12-14 | 2017-06-13 | 中山市振良自动化设备有限公司 | A Volume Measuring Mechanism for Foam Board Production Conveyor System |
CN109443196B (en) * | 2018-09-28 | 2020-07-24 | 顺丰科技有限公司 | Volume measurement method and system |
CN111307044B (en) * | 2020-04-21 | 2021-08-10 | 昆船智能技术股份有限公司 | Method for measuring and calculating length, width and approximate volume of introduced material and program product |
CN111795648B (en) * | 2020-07-31 | 2025-02-25 | 贵州中烟工业有限责任公司 | A device and method for measuring cigarette packages and a method for locating cigarette packages |
CN213301102U (en) * | 2020-08-24 | 2021-05-28 | 广州广电运通智能科技有限公司 | Automatic size measuring mechanism and feeding equipment |
CN215003866U (en) * | 2021-04-23 | 2021-12-03 | 深圳市几何智造技术有限公司 | Novel commodity circulation is measured and is weighed device |
CN214702446U (en) * | 2021-04-23 | 2021-11-12 | 深圳市几何智造技术有限公司 | Logistics weighing, measuring and scanning device based on machine vision |
CN115615336B (en) * | 2022-09-27 | 2023-11-03 | 河南乐佳电子科技有限公司 | Grating type self-positioning distance measuring device |
-
2023
- 2023-06-16 CN CN202310719298.0A patent/CN116734945B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107228636A (en) * | 2017-07-21 | 2017-10-03 | 深圳市兴兆业光电科技有限公司 | A kind of measuring system and its measuring method of vehicle gabarit |
CN108036749A (en) * | 2017-12-01 | 2018-05-15 | 苏州晓创光电科技有限公司 | A kind of dimension measuring device and method |
Also Published As
Publication number | Publication date |
---|---|
CN116734945A (en) | 2023-09-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8255184B2 (en) | Programming system for a coordinate measuring machine and method thereof | |
CN112906127B (en) | Vehicle modeling method, system, medium and equipment based on holder and scanner | |
US7047153B2 (en) | Method and apparatus for improved inspection classification of attributes of a workpiece | |
EP2018514B1 (en) | Device for measuring package size | |
CN108036749B (en) | Size measuring device and method | |
CN103162639A (en) | Method, device and system for obtaining vehicle three-dimensional outline | |
CN110530399B (en) | Wheel spacing correction method for odometer calibration of double-wheel differential mobile robot | |
CN113304971B (en) | 3D dynamic guiding dispensing compensation method, device and equipment and storage medium thereof | |
CN116734945B (en) | Regular box volume measurement system based on grating | |
CN113415725A (en) | Alignment method, alignment controller and hoisting mechanism | |
CN114993182A (en) | Conveyor belt-based parcel packaging size measurement system and method | |
KR100339174B1 (en) | Apparatus for inspecting elements on transport device | |
CN116412757A (en) | Loading rate measuring method, device, equipment and medium | |
JP2022021602A (en) | Product replenishment system and product replenishment method | |
CN104501717B (en) | Dynamic self-adapting measuring method of bulky cargo volume | |
CN107096728A (en) | A kind of carton encapsulation and coding vision detection system and method | |
CN110455193A (en) | Paper roll breadth and diameter measuring method based on MATLAB | |
CN112461138B (en) | Cross scanning measurement method, measurement grating and application thereof | |
JPH10236770A (en) | Stop position detecting device of transport vehicle | |
RU2800540C2 (en) | Control line for empty glass containers | |
JP2009074989A (en) | Dimension measuring device, dimension measuring method, and dimension measuring program | |
US5982495A (en) | Object counting method and apparatus | |
CN108692665A (en) | A kind of method for automatic measurement and its system of round piece diameter | |
CN119596326A (en) | Online billet length measurement system and correction method thereof, and electronic equipment | |
Li et al. | 2D vision camera calibration method for high-precision measurement |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Country or region after: China Address after: Unit 01-05, 08, Floor 18, No. 15, the Pearl River West Road, Tianhe District, Guangzhou, Guangdong 510000 (for office use only) Applicant after: Guangdong Xike Intelligent Technology Co.,Ltd. Address before: Unit 01-05, 08, Floor 18, No. 15, the Pearl River West Road, Tianhe District, Guangzhou, Guangdong 510000 (for office use only) Applicant before: GUANGZHOU SICK SENSOR Co.,Ltd. Country or region before: China |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |