The present application claims benefit of the filing date of Japanese Patent Application No. 2010-044883 filed on Mar. 2, 2010.
1. Field of the Invention
The present invention relates to a technique that aids route designing using a CAD (Computer Aided Design), and particularly relates to a technique for generating piping routes to connect units and the like.
2. Description of the Related Art
In piping designing for connecting units in various plants or wiring designing for connecting parts of electronic circuits, in order to design connection routes between connection objects, CAD (Computer Aided Design) devices are used. In general, a maze algorithm is widely used as a method for automatically searching connection routes to be designed.
As a conventional method, JP 07-036192 B proposes a method for determining disposition routes. In the method, the disposition design, the disposition reference, and the disposition environment of plant piping and units are input; route search is performed by a method for route search, such as an existing maze algorithm, to individually search routes of plural groups of piping, ignoring the interference between piping and units; and then disposition routes are determined, based on the disposition reference, avoiding interference with obstacles.
In the proposal by JP 07-036192 B, only a result of generation of routes satisfying the disposition reference is displayed as output, and accordingly, a designer cannot confirm whether the routes satisfy the disposition reference during designing. Consequently, re-designing may be required if individual disposition references conflict with each other.
Further, according to the proposal by JP 07-036192 B, it is necessary to designate branch points of a plurality of branch routes connected to a main route as pass points of on the route, which causes a problem of requiring a lot of work to generate routes in route designing, such as plant piping including a number of main routes and branch routes.
In order to solve the above-described problems, an object of the present invention is to efficiently perform route designing with a number of main routes and branch routes while a designer confirms whether disposition references for routes are satisfied.
In order to achieve the above-described object, according to the present invention, a route generating apparatus for generating routes that connect connection objects includes a storage section that stores: geometric disposition data of connection objects; connection relation data that represents connection relations of a group of main route for directly connecting connection objects, and branch route branching from a main route and connects with a connection object and the main route, and the connection objects; and design constraint data which represents each constraint condition for constraining a disposition position of a branch point where the corresponding branch route branches from the corresponding main route. Further, the route generating apparatus includes: a constraint region generating section that reads out the disposition data, the connection relation data, and the design constraint data, and generates constraint region data which represents, for the each branch route, a constraint region where the corresponding branch point can be disposed, based on the disposition position of the corresponding connection object represented by the disposition data, the corresponding connection relation between the connection object, the main route, and the branch route represented by the connection relation data, and the corresponding constraint condition between the branch point and the connection object represented by the design constraint data; a route generating section that reads out the constraint region data and generates, as the each main route, a shortest main route passing through the each constraint region corresponding to the each branch route connected with the main route, and generates, as the each branch route, a shortest branch route that branches from the main route; and a constraint region and route display section that reads out the constraint region data and displays a geometric figure representing the each constraint region of the constraint region data and a geometric figure representing the each main route and the each branch route, superimposing the geometric figures or individually.
Further, according to the invention, in the route generating apparatus, the constraint region and route display section displays the geometric figure of the each constraint region in the constraint region data where the corresponding branch point can be disposed, superimposing the geometric figure on the geometric figure of the disposition data.
Still further, according to the invention, the route generating apparatus includes an edit section for editing the each route generated by the route generating section, and the each constraint condition in the constraint region data between the each branch point and the disposition position of the each connection object, wherein the constraint region and route display section displays a geometric figure of the each constraint region as a result of editing by the edit section, superimposing the geometric figures on the geometric figure of the disposition data.
Details will be described later.
Referring to the drawings, one embodiment according to the present invention will be described below. In addition, the same reference symbols are assigned to the same elements throughout the drawings.
The disposition database 102 is used to store disposition data including geometrical information, such as the shapes, the disposition positions, the directions and the like of connection objects (for example, units of a plant). For application to piping routes of a plant or the like, the disposition data becomes, for example, three-dimensional CAD data including information on the three dimensional shapes of units, which become connection objects, and information on the shapes, the disposition coordinate values, and the direction vectors of unit nozzles, which become parts to be connected with pipes. Further, for application to wiring routes of electronic circuits or the like, the disposition data may be, for example, two-dimensional CAD data including information on the two-dimensional shapes, the disposition coordinate values, and the direction vectors of terminals to be connected with electronic parts, which become connection objects, and wires.
Further, as shown in
The connection relation database 103 is used to store connection relation data representing the connection relations between connection objects.
For application to piping routes of a plant or the like, start-point connection object IDs 302 and end-point connection object IDs 303 are unit nozzle IDs or route IDs to be connected. Route attributes 304 have the identifier of main route or the identifier of branch route. If both the start-point connection object and the end-point connection object of a route are unit nozzle IDs 202, the route is a connection route from a unit to a unit and has the identifier of ‘main route’ as the route attribute 304. If one or both of the start-point connection object and the end-point connection object of a piping route is/are an route ID/IDs 301, the route is a branch route branching from a main route and has the identifier of ‘branch route’ as the route attribute 304.
In the connection relation data as shown in
The design constraint database 104 is used to store design constraint data representing constraint in terms of disposition related to the branch points between a main route and a branch route branching from the main route. For example, in piping designing of a plant or the like, a piping route for connection of units as connection objects to be connected with each other is required to be a route that connects the units with the shortest length while avoiding other obstacles in order to reduce the material cost. On the other hand, due to constraints in designing of piping and units, a branch point connecting a main pipe and a branch pipe is required to be disposed in a certain range of distance from a unit connected by the branch pipe, for example, depending on the conditions in temperature and pressure of the fluid flowing from the connected unit, via the connecting branch pipe, to the main pipe.
The constraint region database 105 is used to store constraint region data representing each passing order that refers to the order in which a main route passes by a plurality of branch units, and regions the main route passes through.
The input device 110 is used by a user with a keyboard, a mouse, or the like to perform input or editing of the disposition data, the connection relation data, and design constraint data described above. The output device 111 is used to display, for a user, the output from the route generating section 108 or the constraint region and route display section 109, which will be described later, on the display of a computer or the like.
The constraint region generating section 107 is used to read out the disposition data stored in the disposition database 102, the connection relation data stored in the connection relation database 103, and the design constraint data stored in the design constraint database 104; computes regions that allow disposition of the branch points of branch routes to be connected with a main route; and store a computed result (unit nozzle points 503, constraint distances 504, and the values of passing orders 505) as constraint region data in the constraint region database 105.
The route generating section 108 is used to read out the disposition data stored in the disposition database 102, the connection relation data stored in the connection relation database 103, and the constraint region data stored in the constraint region database 105; and generate the main route that passes through the constraint regions and the branch routes to be connected to the main route.
The constraint region and route display section 109 is used to display the constraint region data stored in the constraint region database 105 and the main route and the branch routes generated by the route generating section 108, as superimposed geometric figures or as individual geometric figures on the output unit 111, such as a computer display.
The process performed by the route generating apparatus in the present embodiment will be described below.
First, the route generating apparatus 101 stores disposition data, connection relation data, and design constraint data having been input by the user, using the input device 110, such a keyboard or a mouse, respectively into the disposition database 102, the connection relation database 103, and the design constraint database 104 (S601).
The constraint region generating section 107 reads out the disposition data, the connection relation data, and the design constraint data from the respective databases; computes geometric constraint regions that allow disposition of the branch points of branch routes to be connected with a main route; and stores the computed geometric constraint regions as constraint region data into the constraint region database 105 (S602). This process will be described later in detail.
The route generating section 108 reads out the constraint region data from the constraint region database 105, and generates a main and branch routes that satisfy a single or plural constraint regions (S603). This process will be described later in detail.
The constraint region and route display section 109 displays the region figures (spherical shape) of the constraint regions and the route linear figures of the main route and the branch routes, superimposing the figures or individually on the output device 111 (S604). This process will be described later in detail.
The flow of the generation process of the constraint region data by the constraint region generating section 107 (S602) will be described below in detail.
The constraint region generating section 107 first reads out connection relation data from the connection relation database 103 (
From the connection relation data shown in
Then, the start-point connection object ID 302 of the main route is read out from the connection relation data, and the unit nozzle ID 202 of the disposition data, as shown in
In the disposition data, as shown in
Subsequently, the start-point connection object ID 302 of a branch route is read out from the connection relation data (refer to
In the disposition data, as shown in
Based on an order obtained by comparison between the coordinate values of an obtained unit nozzle point and the coordinate values of the unit nozzle point of the start-point connection objects of the main route, the unit nozzle points to be connected with the branch routes are extracted in the order of closer (smaller) distance from the unit nozzle point that is the start-point of the main route. The unit IDs 501, the unit nozzle IDs 502, the unit nozzle points 503, the constraint distances 504, and the passing orders 505 of the constraint region data, as shown in
In the constraint region data, as shown in
The flow of the generating process (S603) of a main route and branch routes by the constraint region generating section 107 will be described below.
The route generating section 108 first reads out connection relation data from the connection relation database 103 (
For each main route (the loop process in S802 to S812), the unit nozzle IDs of branch units to be connected to a main route are obtained from start-point connection object IDs 302 in the connection relation data (S803). From the connection relation data, as shown in
Subsequently, for each of the read out branch route (the loop process shown in S804 to S807), the unit nozzle point 503 and the constraint distance 504 of the branch unit are obtained by a key of the unit nozzle ID of the branch unit from the constraint region data, as shown in
Subsequently, a constraint region with a center at the unit nozzle point and a radius of the constraint distance is generated for each of the branch units (S806). In the constraint region data, as shown in
After constraint regions related to all the branch routes to be connected to the main route are generated (S807), a main route is generated such that the main route goes, with the shortest distance, from the unit nozzle point of the unit as the start-point connection object of the main route, through the constraint regions generated for the respective branch units, to the unit nozzle point of the unit as the end-point connection object (S808). The method for generating the shortest route can be obtained from a shortest path search method, such as a maze algorithm.
In a shortest path search method, connection objects, the geometric shape of a building, the geometric shapes of routes having already been generated in the disposition data are recognized to be obstacles, and routes are assumed to be generated, avoiding these obstacles. With the constraint region data, as shown in
Subsequently, as each branch route to be connected to the main route (the loop process from S809 to S811), a branch route with the shortest length from the unit nozzle point of a branch unit to the main route is generated (S810). The method for generating the shortest route can be obtained from a shortest path search method, such as a maze algorithm, similarly to the case of a main route. With the constraint region data, as shown in
After generating all respective branch routes to be connected to a main route (S811) and generating all main routes and respective branch routes (S812), the entire process by the route generating section 108 is terminated.
The flow of the display process (S604) performed by the constraint region and route display section 109 will be described below in detail.
The constraint region and route display section 109 first displays the routes generated by the route generating section 108 for the geometric shapes of the disposition data, namely, the main routes and the branch routes on the output device 111 (S901).
Depending on a request from the user via the input device 110, it is determined whether or not to display constraint regions. If it is determined not to display constraint regions, in other words, if such a request has not been made by the user (No in S902), the entire process in
For each obtained main route (the loop process in S904 to S910), the route IDs of branch routes to be connected to a main route are obtained (S905). This obtaining is achieved, based on that the values of the end-point connection objects ID 303 are the identifier of the corresponding main route.
For each of all branch routes to be connected a main route (the loop process in S906 to S909), the unit nozzle point 503 and the constraint distance 504 are obtained from the constraint region data (refer to
A constraint region is displayed on the output device 111, based on the unit nozzle point and the constraint distance of each corresponding obtained branch route (S908).
After displaying constraint regions for all of branch routes to be connected to a main route (S909) and displaying constraint regions for all main routes (S910), the entire process performed by the constraint region and route display section 109 is terminated.
According to the present embodiment, by defining in advance the design constraint of each branch unit by the constraint distance from the unit nozzle point of the branch unit, it is possible to efficiently generate a main route that passes through constraint regions where branch points can be disposed while confirming the constraint regions and the figure of the disposition data on the same screen.
Accordingly, for a main route and plural branch units for connecting connection objects, regions in which the branch points of the branch routes connected with the main route can be disposed are displayed visually for a designer, which enables the designer to design routes while confirming design constraints related to branch points, and reduces redesigning of routes.
Another embodiment of a route generating apparatus according to the present invention will be described below.
The difference of the present embodiment from the first embodiment is that an editing section 1301 to which means for editing routes and design constraint data is added is provided in this embodiment.
The editing section 1301 modifies the geometric figure data of main routes and branch routes generated by the route generating section 108 and constraint regions generated by the constraint region generating section 107, upon receiving the moving destinations or disposition directions, of the figures, having been input by interactive operation via the input device 110. The geometric figures of routes may be edited in a state of displaying the geometric figure of constraint regions displayed by the constraint region and route display section 109.
On the edit screen for constraint regions, a constraint distance may be modified by dragging a spherical surface representing a constraint region with a mouse. Corresponding to the modification, the design constraint database 104 and the constraint region database 105 are updated, as appropriate.
According to the present embodiment, a user can modify the figures of constraint regions related to a main route and branch routes while simultaneously confirming the routes, and routes based on modification can be efficiently regenerated, which reduces redesigning of routes.
Although the above-described embodiment is preferable for carrying out the invention, embodiments of the invention are not limited thereto, and various modifications and changes can be made without departing from the spirit of the invention.
For example, in case that the OS (Operating System) mounted on a computer, which is the route generating apparatus 101, is one that realizes a touch panel function of a display, the image of geometric shapes displayed on the output device (functioning also as the input device 110) may be processed, such that the respective databases (102, 103, 104, 105) are updated by touching the display to appropriately modify the shapes, the sizes, the colors, and the like of the lines representing main routes and branch routes, the spherical surfaces representing constraint regions, and the like.
Further, the passing order 505 in the constraint region database 105 in the present embodiment is set according to the order of closer distance from the nozzle at the start point of a unit. However, the ordering may be performed such that a passing order changes, depending on a value registered as a constraint distance 504. That is, when the constraint distance of a certain branch unit is increased or decreased, the orders of respective branch units may change upper or lower.
Further, designing of routes is performed basically after determining the dispositions of units, however, the software may be configured for the sake of designing such as to enable determining the state of dispositions and branching of routes first, and then designing the dispositions, the shapes, and the like of units.
Concrete configurations of hardware, software, and the like in other aspects can be modified and changed, as appropriate, within a range without departing from the spirit of the invention.
The invention is applicable to piping designing of a plant and the like in which piping designing of a number of main pipes and branch pipes is performed, based on design constraints, and also widely applicable to designing of wiring routes of an electronic circuit and the like.
Number | Date | Country | Kind |
---|---|---|---|
2010-044883 | Mar 2010 | JP | national |