An automatic layout method for the lighting of underground garage lanes
Through the automated layout method, the complex layout of lighting fixtures for underground garage lanes is solved, efficient and accurate lighting fixture layout and connection are achieved, and flexible iteration of design is supported.
Patent Information
- Application Number
- CN202211527831.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-30
- Publication Date
- 2025-08-01
- Estimated Expiration
- 2042-11-30
AI Technical Summary
In the prior art, the layout process of underground garage lane lighting fixtures is complicated, the workload is large, and the operation needs to be repeated during design modification, resulting in inefficiency.
An automatic layout method for lighting lane in underground garage is adopted. Through input conditions, pre-processing lane lines, extended center lines, filling the intersection light lines, divided into lines 1 and 2, lamp layout and numbering and connecting lines, the lamp connection structure is finally output to realize automatic layout.
It improves the work efficiency of the lighting layout of the underground garage lane, reduces human operation errors, ensures the accuracy and flexibility of the design, and supports free selection and iterative update of the design pattern.
Smart Images

Figure CN115758543B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of building design equipment, and particularly relates to an automatic layout method for the lighting of underground garage lanes. Background Art
[0002] In the architectural design industry, for residential buildings, the main workload of each specialty is concentrated in the underground garage. In the electrical lighting design of the underground garage, lane lighting is the task that occupies the largest workload and the largest drawing area, and its importance is self-evident. The layout of lane lighting fixtures is mainly divided into two modes: single-row and double-row. In the single-row mode, the designer needs to arrange the fixtures on the center line of the lane, while in the double-row mode, they need to be arranged on both sides of the center line. When arranging, the designer needs to manually arrange the lane lighting fixtures on the lane according to a certain rule according to the layout mode, then number the fixtures, and then set up wire troughs or connect the fixtures with the same number with hanging chains. At present, the entire process of lane lighting layout is complex (including fixture layout, fixture numbering, fixture connection, etc.), there are many optional modes (such as illuminance control selection, installation method, connection mode, layout mode, etc.), and usually multiple rooms need to be arranged in a single basement design, and its workload is crucial in basement design. Once faced with design modification problems, then the above work needs to be repeated multiple times, and the workload will increase exponentially.
[0003] In order to solve the deficiencies of the existing technology, people have carried out long-term explorations and proposed various solutions. For example, a Chinese patent document discloses a whole-house intelligent water and electricity generation system based on house types in a decoration and design software [201910793230.0], which includes an intelligent generation module for water and electricity models, an intelligent generation module for water and electricity model relationships, and an intelligent generation module for water and electricity pipelines. The three modules can be used alone or in combination.
[0004] The above solution solves the problem of automatic layout of water and electricity pipelines to a certain extent, but there are still many deficiencies in this solution, such as the relatively cumbersome layout of underground garage lighting fixtures. Summary of the Invention
[0005] The purpose of the present invention is to provide an automatic layout method for the lighting of underground garage lanes with reasonable design and effectively improving the layout efficiency of underground garage lighting fixtures in view of the above problems.
[0006] To achieve the above purpose, the present invention adopts the following technical solutions: An automatic layout method for the lighting of underground garage lanes includes the following steps:
[0007] S1: Input conditions;
[0008] S2: Preprocess the lane lines;
[0009] S3: Expand the lane centerline to obtain the arranged lighting lines;
[0010] S4: Make an extension treatment at the intersection of the centerlines;
[0011] S5: Divide all the lighting lines into Line 1 and Line 2;
[0012] S6: Arrange the lighting fixtures;
[0013] S7: Number the lighting fixtures;
[0014] S8: Connect the lighting fixtures;
[0015] S9: Output the result. By inputting the specified parameters, the connection structure of the lighting fixtures can be automatically output, which has higher working efficiency compared with the traditional hand-drawn method for planning the lighting lines of the underground garage lanes.
[0016] In the above method for automatically arranging the lighting of the underground garage lanes, the input conditions in step S1 include the room frame lines and the lane centerline. The user only needs to select one or more room frame lines to run.
[0017] In the above method for automatically arranging the lighting of the underground garage lanes, in step S2, the input data is extracted, and according to the selected objects by the user and layer filtering, the room frame lines and the lane centerline are obtained. Through preprocessing the input data such as the lane lines, the electrical professional design requirements are met.
[0018] In the above method for automatically arranging the lighting of the underground garage lanes, in step S3, before the expansion, the centerlines that are connected end to end are merged into one polyline, and the centerlines that are not connected end to end are not processed. The obtained curves are stored in a set, and a planar element is obtained by expanding outward by one unit length. Take its border and break it at the nodes. The obtained set of scattered lines is the lighting lines that can be arranged. By expanding the lane centerline to obtain the lighting lines, it is convenient for double-row arrangement.
[0019] In the above method for automatically arranging the lighting of the underground garage lanes, step S4 includes the following steps:
[0020] S41: Extend each lighting line by two unit lengths. If no other lighting lines are detected at the extended endpoints, ignore this small section of the extended line. If other lighting lines are detected, retain this section of the lighting line and store it in the extended line set;
[0021] S42: After obtaining all the extended lines, traverse each cross-shaped intersection and T-shaped intersection. According to the design requirements, store the extended line on the longer side at the cross-shaped intersection and the extended line parallel to the horizontal side at the T-shaped intersection as lighting lines in the lighting line set;
[0022] S43: Supplement some non-light lines at crossroads and T-junctions. Complete the light lines at the intersection points to obtain truly deployable light lines.
[0023] In the above method for automatic layout of underground garage lane lighting, in step S5, first deploy the lamps on Line 1, and then deploy the lamps on Line 2 by mapping through the center line of the lane; in step S5, merge all the light lines with an outer angle less than 45° into a single composite line. If it is above the center line of the lane, it is regarded as Line 1, and the corresponding line below is regarded as Line 2. By symmetrically arranging the lamps relative to the center line of the lane, the aesthetics of the double-row layout is improved.
[0024] In the above method for automatic layout of underground garage lane lighting, in step S6, the lamps are arranged at equal intervals. The lamps on the light lines maintain a certain spacing and are arranged as evenly as possible on the light lines.
[0025] In the above method for automatic layout of underground garage lane lighting, in step S7, traverse each Line 1, set the default number WL01 at one end, continue to traverse along the light line, set the next lamp with the number WL03, continue to traverse and then set the next lamp with the number WL01, and so on until all the lamps are numbered; map the numbered lamps on Line 1 to Line 2, with the mapping position remaining unchanged while the number increasing.
[0026] In the above method for automatic layout of underground garage lane lighting, step S8 includes cable tray connection and chain connection; in the cable tray connection, convert Line 1, Line 2, and non-light lines into cable trays and arrange all the lamps in the cable trays; in the chain connection, connect all the lamps with the same number into a loop. The WL01 loop and the WL02 loop are connected through Line 1 and Line 2, and then connect the other lamps on each Line 1 and Line 2 through arcs or broken lines, and then connect the lamps on different Line 1 and Line 2. Connect all the lamps into a whole to ensure that all the deployed lamps can be connected to the external power supply through the loop.
[0027] In the above method for automatic layout of underground garage lane lighting, in step S9, detect the connectivity of all cable trays and loops, erase the redundant light lines, and shrink and interrupt the non-directly connected loops.
[0028] Compared with the existing technologies, the advantages of the present invention are as follows: The lamps are automatically wired to each other, improving the drawing efficiency of the electrical professional basement design. In addition, compared with manual operation, it has higher accuracy in data control, reducing some errors in basic manual operations, such as output layer errors, inserting block errors, etc.; Select the design mode and parameter settings according to actual needs, and freely generate and update the design results according to your own needs; In the basement design, the data may be iterated repeatedly. The generation results of the previous time can be cleared each time during iteration, and an ideal lane lighting design result can be obtained, reducing the time consumed due to data iteration. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 is a schematic flow chart of the present invention;
[0030] Figure 2 is a schematic diagram of the input conditions of the present invention;
[0031] Figure 3 is a schematic diagram after the lane lines of the present invention are preprocessed;
[0032] Figure 4 is a schematic diagram after the lane center line of the present invention is expanded;
[0033] Figure 5 is a schematic diagram after the lane lines of the present invention are preprocessed;
[0034] Figure 6 is a wiring diagram of the lamps in the cable tray mode of the present invention;
[0035] Figure 7 is a wiring diagram of the lamps in the chain suspension mode of the present invention;
[0036] Figure 8 is an actual application diagram of the present invention;
[0037] Figure 9 is another actual application diagram of the present invention. DETAILED DESCRIPTION OF THE INVENTION
[0038] The present invention will be further described in detail below with reference to the drawings and specific embodiments.
[0039] As Figure 1 shown, an automatic layout method for lane lighting in an underground garage includes the following steps:
[0040] S1: Input conditions. The user only selects one or more room frame lines and executes the command. The program will automatically clear the results of the previous generated lane lighting, and identify the lane center line inside the frame line, and then complete the layout of the lane lighting lamps;
[0041] S2: Preprocess the lane lines to meet the electrical professional design requirements by removing sharp corners;
[0042] S3: Expand the center line of the lane to obtain the lamp line layout. When arranged in two rows, the lamp lines are symmetrically arranged relative to the center line of the lane;
[0043] S4: Make an extension treatment at the intersection of the center lines. At the intersection point, complete the lamp line to obtain the actual lamp line that can be arranged;
[0044] S5: Divide all lamp lines into Line 1 and Line 2;
[0045] S6: Arrange the lamps. When arranging, not only consider keeping the lamps evenly arranged, but also consider the interference of obstacles such as beams and columns;
[0046] S7: Number the lamps. Numbering the lamps mainly facilitates further wiring and subsequent processing in step S8;
[0047] S8: Connect the lamps. Connect all the lamps into a whole to ensure that all the arranged lamps can be connected to the external power supply through the circuit;
[0048] S9: Print the output result on the drawing finally.
[0049] Specifically, the input conditions in step S1 include the room frame line and the center line of the lane. The specific layout result is as Figure 2 shown.
[0050] In-depth, step S2 extracts the input data. According to the selected object by the user and layer filtering, the room frame line and the center line of the lane are obtained. It should be noted that when extracting, the layer status needs to be detected. If the specified layer is in an invisible state (frozen, closed, hidden), the data on that layer will be ignored for extraction. Since in garage drawing, one lane may often pass through multiple rooms, to obtain the accurate center line of the lane in the room, after extracting the lane line data, the lane line needs to be trimmed with the room frame line. At the same time, there are often non-90-degree intersections in the underground garage. Since electrical equipment such as wire troughs does not have bends within 90 degrees, it is necessary to avoid loops less than 90 degrees in design. This makes it necessary to check all the center lines of the lanes before arrangement and make the lines with an included angle less than 90 degrees perpendicular. The effect after processing is as Figure 3 shown.
[0051] Furthermore, as Figure 4As shown, in a double-row layout, it is necessary to expand the center line of the lane by a certain distance (denoted as Distance) to obtain the lamp line that can be arranged on both sides of the lane. Before step S3, the center lines that are connected end to end are merged into a single polyline, and the center lines (lines) that are not connected end to end are not processed. The resulting curve is stored in a collection (DBObjectCollection). It is expanded outward by a length of Distance to obtain a series of planar primitives. The bounding box is taken and broken at the nodes, and the resulting set of scattered lines is the lamp line that can be arranged. If the center lines that are connected end to end are not processed, there will be a gap in the primitives obtained at the corners after expansion, resulting in the breakage of adjacent lamp lines obtained subsequently.
[0052] Furthermore, after step S3, the lamp line that can be arranged is initially obtained, but the lamp line at this time is still incomplete because there is no lamp line around the intersection points. Therefore, it is necessary to complete the lamp line at the intersection points to obtain the truly arrangeable lamp line. Step S4 includes the following steps:
[0053] S41: Extend each lamp line by two lengths of Distance. If no other lamp line is detected at the extended endpoint, this small section of the extended line is ignored. If another lamp line is detected, this section of the lamp line is retained and stored in the extended line collection;
[0054] S42: After obtaining all the extended lines, traverse each crossroads and T-junction. According to the design requirements, the extended line on the longer side at the crossroads and the extended line parallel to the horizontal side at the T-junction are used as the lamp line and stored in the lamp line collection. In this way, the accurate lamp line that can be arranged is obtained;
[0055] S43: In addition, to ensure the connectivity of the entire lane lighting power system circuit, some non-lamp lines are supplemented at the crossroads and T-junctions. No lamps are arranged on them, but cables can be arranged to provide the connection relationship.
[0056] Such as Figure 5As shown, in the double-row layout mode, considering requirements such as aesthetics, designers often require that the lamps be symmetric about the center line of the lane. Therefore, the lamps on one side are arranged first, and then mapped to the other side through the center line of the lane. All lamp wires are grouped into Line 1 and Line 2. In step S5, the lamps on Line 1 are arranged first, and then the lamps on Line 2 are arranged by mapping through the center line of the lane; the lamp wires obtained in step S4 are actually a pile of scattered wires, that is, they are interrupted by other wires at each node. To facilitate subsequent processing, in step S5, all lamp wires with an exterior angle less than 45° are merged into one composite wire, and the remaining wires are not processed. At this time, all lamp wires are judged. If it is above the center line of the lane, it is regarded as Line 1, and the corresponding wire below is regarded as Line 2. After that, the lamps can be arranged using Line 1 and Line 2.
[0057] At the same time, in step S6, the lamps are arranged at equal intervals, requiring that the lamps arranged on the lamp wires maintain a certain distance and are arranged on the lamp wires as evenly as possible. At the same time, a certain distance (500) is left at both ends of the lamp wire where no lamps can be arranged. Denote the total length of the lamp wire as L and the lamp spacing as D. We obtain the estimated formula for the number of lamps to be arranged as n = (L – 2 * 500) / D. If n is negative, it means the lamp wire is too short and no lamps need to be arranged; if n is positive, the actual number of lamps is the smallest positive integer N greater than n. If N is odd, a lamp is arranged at the midpoint of the lamp wire, and then the remaining lamps are arranged at intervals of D on both sides in turn; if N is even, two lamps are arranged at positions D / 2 at both ends of the midpoint of the lamp wire, and then the remaining lamps are arranged at intervals of D on both sides in turn. The remaining layout modes need to avoid obstacles such as beams and columns, and the layout ideas are similar. Since the garage is usually a frame structure and there is no ceiling, the lamps can be arranged according to the building span.
[0058] Obviously, step S7 traverses each Line 1, sets the default number WL01 at one end, continues to traverse along the lamp wire, sets the next lamp with the number WL03, continues to traverse and then sets the next lamp with the number WL01, and so on to complete the numbering of all lamps; steps S5 and S6 are both for further processing of Line 1. The numbered lamps on Line 1 are mapped to Line 2, and the mapping position remains unchanged while the number increases, that is, the WL01 loop is mapped into the WL02 loop. In this way, the lamp layout and numbering functions are completed.
[0059] Obviously, next, all lamps need to be connected into a whole to ensure that all arranged lamps can be connected to the external power supply through the circuit. Step S8 is divided into a wire duct connection mode and a chain suspension connection mode; as Figure 6 shown, among them, in the wire duct connection, Line 1, Line 2, and non-lamp wires are all converted into wire ducts, and all lamps are arranged in the wire ducts and connected into a whole in the local area; as Figure 7As shown, the chain hoists are connected to form a circuit for all the lamps with the same number. The WL01 circuit and the WL02 circuit are connected by Lines 1 and 2. Then, the other lamps on each of Lines 1 and 2 are connected by arcs or broken lines, and then the lamps on different Lines 1 and 2 are connected. Ensure that each circuit forms an integral whole in the local area, and then an iterative search for the optimal lamp wiring scheme is carried out through genetic algorithms and the like.
[0060] Preferably, in step S9, the connectivity of all cable trays and circuits is detected, the redundant lamp wires are erased, and the non-directly connected circuits are shrunk and interrupted. Finally, the layer status of all drawing layers is detected, and the drawing layers required for thawing, opening, and unlocking are thawed, opened, and unlocked to avoid the problem that the result cannot be generated normally or the generated result is invisible when the layers to be used are frozen, closed, or locked. Then, all data such as lamps, numbers, and cable trays are printed on the drawing. The output result is as Figures 8 - 9 shown.
[0061] In summary, the principle of this embodiment is as follows: Based on the center line of the lane, Lines 1 and 2 for arranging lamps are constructed. Then, according to the actual design requirements, the lamps are arranged, numbered, and connected, so as to quickly obtain the lighting wiring diagram of the underground garage lane.
[0062] The specific embodiments described herein are merely illustrative of the spirit of the present invention. Those skilled in the art to which the present invention pertains can make various modifications or supplements to the described specific embodiments or use similar methods for substitution, but will not deviate from the spirit of the present invention or exceed the scope defined by the appended claims.
[0063] Although terms such as cable trays and chain hoists are used more frequently in this article, the possibility of using other terms is not excluded. The use of these terms is only to more conveniently describe and explain the essence of the present invention; interpreting them as any additional limitation is contrary to the spirit of the present invention.
Claims
1. An automatic layout method for the lighting of the underground garage lane, characterized in that, It includes the following steps: S1: Input conditions; S2: Preprocess the lane lines; extract the input data, and obtain the room frame lines and the lane center lines according to the selected objects and layer filtering by the user; S3: Expand the lane center lines to obtain the arranged lamp lines; before expansion, merge the center lines that are connected end to end into a single polyline, do not process the center lines that are not connected end to end, store the obtained curves in a set, expand outward by one unit length to obtain the planar elements, take their borders and break them at the nodes, and the obtained scatter line set is the lamp lines that can be arranged; S4: Make extension processing at the intersections of the center lines; S41: Extend each lamp line by two unit lengths. If no other lamp lines are detected at the extended endpoints, ignore this small section of the extended line. If other lamp lines are detected, retain this section of the lamp line and store it in the extended line set; S42: After obtaining all the extended lines, traverse each crossroads and T-shaped intersection. According to the design requirements, store the extended lines on the longer side at the crossroads and the extended lines parallel to the horizontal side at the T-shaped intersection as lamp lines in the lamp line set; S43: Supplement some non-lamp lines at the crossroads and T-shaped intersections; S5: Divide all the lamp lines into Line 1 and Line 2; first arrange the lamps on Line 1, and then arrange the lamps on Line 2 by mapping through the lane center line; in step S5, merge all the lamp lines with an exterior angle less than 45° into a single composite line. If it is above the lane center line, it is used as Line 1, and the corresponding line below is used as Line 2; S6: Lamp arrangement; The lamps are arranged at equal intervals; S7: Lamp numbering; traverse each Line 1, set the default number WL01 at one end, continue to traverse along the lamp line, set the next lamp with the number WL03, continue to traverse and set the next lamp with the number WL01, and so on to complete the numbering of all the lamps; map the numbered lamps on Line 1 to Line 2, with the mapping position unchanged and the number increased; S8: Lamp connection; connection by wire ducts and chain hoists; connection by wire ducts converts Line 1, Line 2, and non-lamp lines into wire ducts and arranges all the lamps in the wire ducts; connection by chain hoists connects all the lamps with the same number into a loop. The WL01 loop and the WL02 loop are connected through Line 1 and Line 2, and then connect the other lamps on each Line 1 and Line 2 through arcs or broken lines, and then connect the lamps on different Line 1 and Line 2; S9: Output the result.
2. The automatic layout method of the underground garage lane lighting according to claim 1, characterized in that, The input conditions in step S1 include the room frame lines and the lane center lines.
3. The automatic layout method of the underground garage lane lighting according to claim 1, wherein, Step S9 detects the connectivity of all the wire ducts and loops, erases the redundant lamp lines, and shrinks and breaks the non-directly connected loops.
Citation Information
Patent Citations
House-type-based whole-house intelligent water and electricity generation system in decoration design software
CN110727979A
Method for automatically arranging illuminating lamps and connecting wires based on Revit civil engineering space
CN112738963A
Device for generating wire duct and wire based on revit lighting lamp
CN115203930A