This invention relates in general to systems and methods for measuring a three-dimensional profile.
Obtaining object profile or remaining space information of a space, such as a storage space in a truck or warehouse, may be useful information for businesses that manages storage, shipping, or distribution. Using shipping business as an example, a logistics center may monitor the location of the fleets through GPS (Global Positioning System) or GNSS (Global Navigation Satellite System). Based on the location information, the logistics center may adjust or optimize the routing of each truck to reduce costs. For example, when a commodity transportation request is received, a truck located near the commodities may be dispatched to pick up the goods. However, it is possible that the truck nearby does not have enough space available to carry all the commodities. Therefore, in order to improve the routing, it may be helpful for the logistics center to know the available space of trucks. With knowledge of both location and available space of each truck, the logistics center may dispatch the truck that has enough space for the commodities and is close to the place of request. Such a planning scheme may reduce unnecessary trips of trucks that do not have enough space for the commodities. Accordingly, efficiency may be increased, such as by saving time, cost, or wear on trucks.
There may be software or systems that can estimate space available in a cargo. For example, Coptimal Logistic, Inc. of Taipei, Taiwan developed a load planning software, AutoLoad™. To estimate the free space of the cargo container, this system relies information obtained in advance, such as the size of the commodities and simulates the placement of all commodities based on the obtained information. However, in many situations, the size information of commodities may be unavailable or unreliable. Further, the actual placement of goods in the cargo container may be different from the simulated scenarios. For example, the drivers may stack the goods in their own ways. Because the actual arrangement of the goods may be inconsistent with the software-simulated scenarios, routing trucks or arranging cargo space utilization based on the simulated information may be prone to errors or lead to inefficiency.
U.S. Pat. No. 7,310,431 to Gokturk et al. (“the '431 patent”) described a method for estimating the three-dimensional profile of an object using structured lights. The system illustrated included a camera and structured light sources. As shown in
Therefore, it may be desirable to have an object-detection or profile-measuring method that may be applicable for providing information about storage spaces, such as cargo containers.
Consistent with embodiments of the present invention, there is provided a method for detecting at least one object within a storage space. The method includes identifying at least one surface among surfaces confining the storage space, and dividing each of the at least one surface into a plurality of sub-areas. The method further includes detecting an occupancy status of each sub-area, wherein the occupancy status is indicative of the presence of the at least one object over each of the at least one surface, and deriving at least one of volume, location, and shape information of the at least one object, based on the occupancy statuses of the sub-areas.
Consistent with embodiments of the present invention, there is also provided a system for detecting at least one object within a storage space. The system includes a signal source configured to emit at least one signal, wherein the at least one signal cannot penetrate the at least one object. The system further includes a plurality of sensors placed on at least one surface among surfaces confining the storage space, wherein each of the at least one surface is divided into a plurality of sub-areas and each sub-area has a sensor placed therein, wherein the plurality of sensors are configured to detect the at least one signal emitted by the signal source. The system also includes a processor configured to detect an occupancy status of each sub-area based on the detected signal of each sensor, wherein the occupancy status is indicative of the presence of the at least one object over each of the at least one surface, and derive at least one of volume, location, and shape information of the at least one object, based on the occupancy statuses of the sub-areas.
Consistent with embodiments of the present invention, there is further provided a system for detecting at least one object within a storage space. The system includes a plurality of patterns placed on at least one surface among surfaces confining the storage space, wherein each of the at least one surface is divided into a plurality of sub-areas and each sub-area has a pattern placed therein. The system further includes an imaging device located within the storage space, configured to take at least one image of the patterns. The system also includes a processor configured to detect an occupancy status of each sub-area based on the at least one image, wherein the occupancy status is indicative of the presence of the at least one object over each of the at least one surface, and derive at least one of volume, location, and shape information of the at least one object, based on the occupancy statuses of the sub-areas.
Consistent with embodiments of the present invention, there is yet further provided a system for detecting at least one object within a storage space. The system includes a light source configured to project a structured light on at least one surface confining the storage space, wherein each of the at least one surface is divided into a plurality of sub-areas and each sub-area has a pattern placed therein. The system further includes an imaging device configured to take a first set of images of a first light pattern created by the structured light before the at least one object is placed in the storage space, and take a second set of images of a second light pattern created by the structured light after the at least one object is placed in the storage space, wherein each image in the second set of images corresponds to a image in the first set of images. The system further includes a processor configured to detect an occupancy status of each sub-area based on the first set of images and the second set of images, wherein the occupancy status is indicative of the presence of the at least one object over each of the at least one surface, and derive at least one of volume, location, and shape information of the at least one object, based on the occupancy statuses of the sub-areas.
Additional features and advantages of the invention will be set forth in part in the description which follows, and in part will be apparent from that description, or may be learned by practice of the invention. The features and advantages of the invention will be realized and attained by means of the elements and combinations particularly pointed out in the appended claims.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are intended to provide further explanation of the invention as claimed.
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate disclosed embodiments described below.
In the drawings,
Reference will now be made in detail to the present embodiments of the invention, examples of which are illustrated in the accompanying drawings. Wherever possible, the same reference numbers will be used throughout the drawings to refer to the same or like parts.
Data-processing subsystem 202 is configured to analyze the data received from on-board detection system 201 to determine the load volume in cargo container 210, and provide the volume information to logistics subsystem 203. Consistent with embodiments of the present disclosure, data processing subsystem 202 may include an in-cockpit mobile device 212 that integrates wireless communication, satellite navigation and UMTS (Universal Mobile Telecommunication System) technologies. In-cockpit mobile device 212 may include a wireless communication component configured to receive data from on-board detection system 201, and a satellite communication component to receive truck position information via a positioning system, such as Galileo/GPS 222. The truck position information may include, for example, coordinates of the truck position. In-cockpit mobile device 212 may further include a processor configured to analyze the received data in real-time and determine the load-volume information such as available space or volume and its shape based on a load-volume detection.
The determined load volume information, along with the truck position information, may be provided to logistics subsystem 203, such as via wireless communication. Logistics subsystem 203 may be configured to dynamically adjust routing plans of various vehicles according to real-time load volume variations. For example, upon receiving a request to pickup goods, logistics subsystem 203 may dispatch a truck close to the goods and having enough space to carry the goods.
Embodiments of the present invention may provide a method for detecting one or more objects in cargo space 210 illustrated in
In some embodiments, the three-dimensional profile of objects may be derived based on results of two-dimensional measurements. Storage space 300 may have several two-dimensional surfaces that confines the space, such as six surfaces in the illustrated example. Each sub-space may have a corresponding projected area on each of the confining surfaces. As an example, and the occupation status of a sub-space may be determined based the statuses of the corresponding projected areas on one or more surfaces, such as left surface 310, right surface 320, and bottom surface 330. Those statuses may be based on whether sensors can sense presence of object or light; whether those areas are blocked when viewed from certain view points; or whether shadows or shades are present when one or more light source project light. In some examples, the corresponding projected areas may change its location based on the methods or mechanism of determining object profile.
In some embodiments, each surface may be divided into smaller areas called sub-areas. A sub-area corresponds to the projected area of a subspace on the corresponding surface. For example, subspace 301 corresponds to sub-area 311 on left surface 310, sub-area 321 on right surface 320, and sub-area 331 on bottom surface 330. Although the sub-areas are illustrated as squares in the present disclosure consistent with the cubic shape of the subspaces, the subspaces may have any regular or irregular shapes, such as rectangular, circular, or any other shapes.
If subspace 301 is occupied by an object, its projections on surfaces 310, 320, and 330, i.e., sub-areas 311, 321, and 331 may also be occupied, shadowed (depending on the direction of a light source), or have some objects present. Therefore, the occupation status of a subspace can be derived based on the occupancy statuses of its corresponding sub-areas on at least one two-dimensional surface confining storage space 300.
A state function may be defined for each two-dimensional surface to indicate the occupancy status of each sub-area in the surface. If a sub-area of the two-dimensional surface is occupied, the function returns “1,” and otherwise returns “0.” For example, SL(x, z), SB(y, z), SR(x, z) may be state functions of the left surface 310, bottom surface 330, and right surface 320, respectively. As shown in
A state function Sc (x, y, z) is also defined for storage space 300 to indicate the occupancy status of each subspace. The state function returns “1” if the subspace is occupied, and returns “0” otherwise. For example, as shown in
Although formula (1), in connection with the example illustrated in
An object, such as goods or a package to be delivered, may occupy one or more subspaces in storage space 300. The volume of the object, therefore, can be estimated by counting the number of subspaces occupied by the object, that is, the total number of state functions Sc (i, j, k) that return “1.” This number can be determined by summing up the return values of state function Sc (i, j, k). Similarly, the volume of the remaining space unoccupied by the objects in storage space 300 is determined by counting the number of state functions Sc (i, j, k) that return “0.” Alternatively, the volume of the free space can also be determined by subtracting the volume of occupied space from the entire volume of storage space 300.
Assuming all the subspaces are equal-sized and have width W, height H, and depth D, and NW, NH, ND are number of subspaces in the x, y, z axis, respectively. The volume of free space can be calculated by the following formula:
The occupancy status of each sub-area in each identified surface is detected (step 504). For example, two-dimensional state functions may be used to indicate the occupancy status of the sub-areas. Consistent with embodiments of the present invention, step 504 is implemented by on-board subsystem 201. Based on the occupancy statuses of the corresponding sub-areas, occupancy status of each subspace may be determined according to formula (1) (step 505). For example, a three-dimensional state function may be used to indicate the occupancy status of the subspaces. The free space in cargo container 210 is then determined or estimated based on the occupancy statuses of the subspaces, according to formula (2) (step 506). In step 506, besides the volume of the existing commodities, other characteristics of the commodities, such as the position and shape of the commodities, can also be determined based on the occupancy status of the subspaces in the three-dimensional coordinate system. Consistent with embodiments of the present invention, steps 505 and 506 are implemented by data processing subsystem 202.
The occupancy statuses of sub-areas can be detected by measuring the projection of the objects placed in cargo container 210. Consistent with embodiments of the present invention, three embodiments of on-board subsystem 201 and their corresponding implementations of step 504 are provided for detecting the occupancy statuses of sub-areas on the at least one surface.
A. Sensor-based Detection System
Switch 601 may be mounted on the door of cargo container 210 and indicates the status of door. For example, switch 601 may be a magnetic switch sensor that detects if the door is open or closed. Signal source 602 is mounted on the ceiling of cargo container 210 and is configured to emit a signal. The signal may be absorbed or substantially attenuated by the objects in the container, such that the signal cannot penetrate the objects. For example, the signal may be a light signal, an infrared signal, an ultrasound signal, or any other suitable electromagnetic wave signal or mechanical wave signal. Consistent with some embodiments, signal source 602 is a light emitting source, such as a lamp or a plurality of lamps, used to lighten the inner space of cargo container 210. The intensity of the emitted signal may be adjusted to ensure that it is detectable by sensors 603.
Consistent with the type of signal source 602, sensors 603 can be light sensors, infrared sensors, ultrasound sensors, force sensors, any other type of sensors. Sensors 603 are installed in the identified surfaces of cargo container 210. For example, as shown in
Each sensor has two statuses to show if the corresponding sub-area is in the light or in the shade. For example, when an object is placed on the floor, sensors 603 that are located right beneath the object can only detect a nominal amount of the signal emitted by signal source 602. Similarly, sensors 603 that are located behind an object on the left or right surface are also shaded, and thus the sensors detect only a nominal amount of signal. Therefore, sensors 603 may compare the intensity of the detected signal with a small threshold value. If the intensity is below the threshold value, the output sensor status is set as unoccupied. Otherwise, the output sensor status is set as occupied. The output sensor status is indicative of the occupancy status of the corresponding sub-area.
Computing device 604 is connected to switch 601 and sensors 603. Consistent with embodiments of the present invention, computing device 604 may be part of data processing subsystem 202. Computing device 604 is configured to receive a door status signal from switch 601 and the output sensor status data from sensors 603. Computing device 604 is then configured to integrate the output sensor statuses of sensors 603 to compute the three-dimensional profile of the objects. For example, computing device 604 may include suitable hardware, such as a processor, and software to implement process 500. Computing device 604 may also include controller modules that provide control instructions to the other components of sensor-based detection system 600.
In an exemplary usage scenario, the driver of the truck delivers commodities to a location. After the commodities are unloaded, the driver will close the door of the cargo container. Once the door is closed, the door status will be detected by switch 601, and switch 601 may send a signal to computing device 604. Upon receiving the signal, computing device 604 turns on source 602 that mounted on the ceiling of cargo container 210. Computing device 604 then receives output sensor status data from sensors 603, and computes the load information. The determined load information, including the three-dimensional profile of the remaining commodities, and volume of free space in cargo container 210, is sent to logistics optimizing subsystem 203.
Consistent with embodiments of the present invention, sensors 603 can be installed at a uniform density or a varying density. That is, certain areas of the two-dimensional surfaces may have denser distribution of sensors and the other areas may have sparser distribution of sensors. Since each sensor is located in the center of a sub-area, the distribution density of sensors 603 is inversely proportional to the size of the sub-areas.
In the practice of logistics, the placement of commodities usually starts from an inner side of cargo container 210 that is closer to the cockpit, and then extends to the outer side that is away from the cockpit. Therefore, in order to accurately determine the volume of available space in cargo container 210, more precise volume information is desired for the outer side, as opposed to the inner side. As shown in
Alternatively, in the second exemplary partition, surface 920 is divided into 11 sub-areas of different sizes and 11 sensors are distributed inhomogeneously throughout surface 920. For example, sub-areas 921-923 have sizes 75 mm×150 mm, 50 mm×75 mm, and 37.5 mm×37.5 mm respectively, in a decreasing order. The sub-area sizes are larger towards the inner side, and smaller towards the outer side. Therefore, when cargo container 210 is over 60% occupied, the maximum precision of the second partition method can be as high as the size of the smallest rectangle, which is 37.5 mm×37.5 mm. Therefore, more accurate estimation can be achieved using the inhomogeneous partition when load rate is high without adding extra sensors.
When inhomogeneous partition is used, the volume of free space can be calculated by the following formula, as a special case of formula (3). Assume that LW, LH, LD are length of the inner space of cargo in the x, y, z axis respectively, and NW, NH, ND are number of subspaces in the x, y, z axis. Vi,j,k is the volume of subspace with coordinate (i, j, k). The volume of free space is determined by:
B. Passive Illuminant Light Based Detection System
Passive illuminant patterns 1040 are placed on the three inner surfaces of cargo container 210. Each passive illuminant pattern is located in a sub-area. As shown in
Imaging device 1010 is mounted on the ceiling towards the rear side of cargo container 210, and is configured to take pictures of passive illuminant patterns 1040. For example, imaging device 1010 maybe a camera. The angle of imaging device 1010 can be adjusted in both horizontal and vertical directions. The focal length of imaging device 1010 can also be adjusted to focus on a specific object or region. Since cargo container 210 is usually too large to be included in a single picture, cargo container 210 can be segmented into a plurality of regions by separation lines 1050. Consistent with embodiments of the present invention, patterns in different regions are arranged to appear in a different sequence of shapes. Imaging device 1010 can be adjusted to a specific angle and a specific focal length to take pictures of the patterns within each region. With the assistance of separation lines 1050, passive illuminant patterns 1040 in each segmented region can be determined from the picture taken for that region.
Imaging device 1010 is controlled by PDA 1030 via wireless access point 1020 mounted on the truck. Consistent with embodiments of the present invention, wireless access point 1020 may be part of in-cockpit device 212. PDA 1030 may contain various applications to adjust the angle and focal length of imaging device 1010 for taking pictures of each region in cargo container 210. PDA 1030 may further contain applications to analyze the pictures. Patterns hidden behind or beneath an object are not visible in the pictures. The visibility of a pattern indicates whether the corresponding sub-area is occupied. Therefore, the occupation status of each sub-area can be determined by processing the pictures for the locations of invisible patterns.
Based on the current picture, positions of patterns that appear in the identified region are recorded (step 1104). If no object hides the patterns from imaging device 1010, the patterns will be visible from the pictures. The positions and the styles of the visible patterns are then analyzed to compute the occupancy status of sub-areas in the surfaces (step 1105). Consistent with embodiments of the present disclosure, the positions of the patterns on the picture are mapped to positions of sub-areas in the identified region. A sub-area is set as unoccupied, if the corresponding pattern is visible. Similarly, a sub-area is set as occupied, if the corresponding pattern is invisible.
In step 1106, it is determined whether all the pictures are analyzed. If there is still at least one picture left unanalyzed, process 1100 returns to step 1102 to analyze the next picture. Steps 1102-1106 will be repeated until all the pictures are analyzed, and then process 1100 will end. After the occupancy statuses are detected, process 500 may be adapted for computing the shape and volume of a vacant space in cargo container 210.
C. Structured Light Based Detection System
Detection system 1300 is similar to detection system 1000, except that no passive illuminant patterns are painted on the surface inside cargo container 210. Instead, a specific pattern 1350 is projected from structured light source 1320. Specific pattern 1350, when projected on an object, may vary along with the outline of the object. This variation contains information about the shape, position and volume of the object, and thus can be used to detect the occupation status of sub-areas. Consistent with embodiments of the present invention, if there is no other light that illuminates cargo container 120, normal light may also be used to replace the structured light.
Imaging device 1310 is mounted on the ceiling towards the rear side of cargo container 210, and is configured to take pictures of specific pattern 1350. The angle and the focal length of imaging device 1310 are both adjustable. Similar to detection system 1000, cargo container 210 can be segmented into a plurality of regions. Imaging device 1310 can be adjusted to a specific angle and a specific focal length to take pictures of the specific pattern within each region.
Imaging device 1310 is controlled by PDA 1340 via wireless access point 1330 mounted on the truck. PDA 1340 may contain various applications to adjust the angle and focal length of the imaging device for taking pictures of each region in cargo container 210. All the regions may be imaged twice. In the first round, imaging device 1310 may take a first set of pictures of specific pattern 1350 created by the structured light projecting on an empty cargo container 210, before the objects are loaded. After the objects are loaded, imaging device 1310 may go through all the regions again to take a second set of pictures of specific pattern 1350 by the structured light projecting on the loaded objects. In each region, imaging device 1310 is adjusted to the same angle and same focal length as used for that region in the first round, such that each picture in the second set of pictures corresponds to a picture in the first set of pictures.
PDA 1340 may further contain applications to analyze the pictures and determine the occupancy statuses of sub-areas based on the pictures.
The pictures are analyzed one region after another. In step 1404, the two sets of pictures for the first region are analyzed. A pattern is picked out from a picture in the first set (step 1405). Based on the pattern, a differential pattern is filtered out between the picture in the first set and its corresponding picture in the second set (step 1406). Because the structured light pattern varies with the outline of the object, the differential pattern represents the area that is occupied by the object. The differential pattern is then mapped to the surfaces of cargo container 210 (step 1407). Consistent with embodiments of the present disclosure, the positions of the differential pattern are mapped to positions of sub-areas in the current region. Occupancy statuses of sub-areas are determined based on the mapped differential pattern (step 1408). For example, a sub-area is set as occupied, if it is covered by the difference pattern. Similarly, a sub-area is set as unoccupied, if it is not covered by the differential pattern.
In step 1409, it is determined if all the regions are analyzed. If there is still at least one region left unanalyzed, process 1400 returns to step 1404 to analyze the next region. Steps 1404-1409 will be repeated until all the pictures are analyzed, and then process 1400 will end. After the occupancy statuses are detected, process 500 may be adapted for computing the shape and volume of a vacant space in cargo container 210.
A differential pattern 1530 can be filtered out between structured light pattern 1510 and structured light pattern 1520, as shown in
It will be apparent to those skilled in the art that various modifications and variations can be made in the disclosed embodiments without departing from the scope or spirit of the invention. Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
The present application is related to and claims the benefit of priority of U.S. Provisional Application No. 61/099,723, filed on Sep. 24, 2008, entitled “A System and Method of Measuring three-dimensional Profile in a Cargo,” the entire contents of which are incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
61099723 | Sep 2008 | US |