Automatic Drawing Method for Wiring Diagram of Low-Voltage Power Distribution Cabinet Combining Exclusion Method and Saturation Method
By combining the repulsion method and the saturation method, the wiring diagram of low voltage distribution cabinets is automatically drawn, which solves the problems of low drawing efficiency and high labor costs in the existing technology, and achieves fast and accurate wiring diagram drawing, supporting actual engineering design.
Patent Information
- Application Number
- CN202310427006.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-20
- Publication Date
- 2025-08-01
- Estimated Expiration
- 2043-04-20
AI Technical Summary
The wiring diagram drawing of the existing medium and low voltage distribution cabinets has a large workload, low efficiency, high labor costs and high error rate, and lacks automated and fast and accurate drawing methods.
Combining the repulsion method and saturation method, by collecting load data, using AutoCAD.NET technology to automatically draw the wiring diagram of the low-voltage distribution cabinet, use the same-name load repulsion method and the electric cabinet quantity saturation method to allocate the drawer, and use the drawer graphics library to draw the wiring diagram.
It realizes automatic, fast and accurate drawing of low-voltage distribution cabinet wiring diagrams, improves work efficiency, reduces labor costs, and meets actual engineering design needs.
Smart Images

Figure CN116485939B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of auxiliary power design, and in particular to an automatic drawing method for wiring diagrams of low-voltage distribution cabinets that combines the exclusion method and the saturation method. Background Art
[0002] Low-voltage complete switchgear and control equipment are commonly known as low-voltage switch cabinets, also known as low-voltage distribution cabinets. It refers to complete electrical equipment with AC and DC voltages below 1000V. The low-voltage distribution cabinet market in China has been maintaining a rapid growth trend with the construction and implementation of smart grids, infrastructure, investment in the manufacturing industry, and the development of the new energy industry.
[0003] In the design of auxiliary power, CAD is usually used to draw the wiring diagrams of low-voltage distribution cabinets. During the drawing process, it is necessary to calculate the distribution of distribution cabinets and drawers inside the distribution cabinets according to the input load data, and a large number of relevant data need to be marked. Manual drawing not only has a large workload, low efficiency, time-consuming and laborious, but also has a high labor cost and error rate. Therefore, there is an urgent need for a method that can automatically, quickly, and accurately draw the wiring diagrams of low-voltage distribution cabinets. Summary of the Invention
[0004] The technical problem to be solved by the present invention is to provide an automatic drawing method for wiring diagrams of low-voltage distribution cabinets that combines the exclusion method and the saturation method, realizing that the program replaces manual work and automatically, quickly, and accurately drawing the wiring diagrams of low-voltage distribution cabinets.
[0005] To solve the above technical problems, the technical solution adopted by the present invention is: an automatic drawing method for wiring diagrams of low-voltage distribution cabinets that combines the exclusion method and the saturation method, and the steps are as follows:
[0006] Step 1: Collect the power load, electric heating load, and lighting load data of the booster station to form a load data set L. The data in the load data set L includes load name, installed power, and number of circuits; set the parameters for generating the wiring diagram of the distribution cabinet, including the maximum number C of distribution cabinets b , the maximum number C of distribution cabinets in each row during drawing r , the number C of drawers included in each distribution cabinet d , the number C of drawers between the spare drawers in the distribution cabinet s [[ID=3*]];
[0007] Step 2: Create a comparison table T between working current and the number of drawers, calculate the number of drawers used for each type of load, and then arrange the distribution cabinets and the drawers in the distribution cabinets based on the same-name load exclusion method and the distribution cabinet number saturation method;
[0008] Step 3: Create a drawer graphics library, which includes occupied drawer primitives and spare drawer primitives, and draw the wiring diagram of the power distribution cabinet using technologies such as AutoCAD.NET according to the calculated layout of the power distribution cabinet and the drawers.
[0009] A further improvement of the technical solution of the present invention is that: the number of drawers that the load can occupy is 1 / 2 or an integer greater than or equal to 1; in the drawers of the power distribution cabinet, the positions of one type of spare drawer are fixedly set, and the positions are determined according to C s number, and are fixedly set in the (C s +1) integer multiple drawers of the power distribution cabinet, and the number of occupied drawers is 1.
[0010] A further improvement of the technical solution of the present invention is that: the specific steps of Step 2 are as follows:
[0011] Step 2.1: Create a comparison table T of working current and the number of drawers. The format of the data items in T is {current I t , number of drawers E};
[0012] Step 2.2: Traverse the load data set L, calculate the working current I i of the load L i , and then look up in the comparison table T for a number of drawers E i that satisfies I t ≤I i , and E i is the number of drawers that the load L i needs to be allocated, where i represents the serial number of the load in L;
[0013] Step 2.3: Set the power distribution cabinet set L b , initially L b is an empty set. If the number of drawers already allocated to each power distribution cabinet is E a , then the number of drawers that each power distribution cabinet can still allocate E f =C d -E a ;
[0014] Step 2.4: Start allocating the power distribution cabinets. Set a counting variable I. I represents the I-th item in the set L. Then the current load is L[I], and initially I = 1;
[0015] Step 2.5: Take the condition that the number of drawers that can be allocated in the power distribution cabinet is greater than or equal to the number of drawers that need to be occupied, that is, E f ≥E i , and according to the same-name load exclusion method, that is, look up in L b for the power distribution cabinet set L i that can arrange E t drawers, in L tFind the first power distribution cabinet B in which the overload L[I] has not been arranged e , if there is no B that meets the conditions e , then execute step 2.6, otherwise jump to step S2.8;
[0016] Step 2.6: If the number of power distribution cabinets in the set L b is less than the maximum number of power distribution cabinets C b , it means that a new power distribution cabinet can still be allocated. Then add a new power distribution cabinet to the set L b , and assign the new power distribution cabinet to the power distribution cabinet B e ; According to the power cabinet quantity saturation method, that is, if the number of the set L b is greater than or equal to C b , it means that a new power distribution cabinet cannot be allocated. Then find the first power distribution cabinet in L b with the least arranged overload L[I], and assign it to the power distribution cabinet B e ;
[0017] Step 2.7: If B e has not been assigned to a power distribution cabinet, it means that the number of power distribution cabinets is insufficient, generate a failure, and end the entire generation process;
[0018] Step 2.8: Start to allocate drawers in the power distribution cabinet B e . If the load L i needs to occupy 1 / 2 of a drawer, and there is a drawer marked as "1 / 2 standby" in the power distribution cabinet, then preferentially allocate the drawer marked as "1 / 2 standby" in the power distribution cabinet B e , otherwise allocate E i [[ID=۳۹]]drawers to B e ;
[0019] Step 2.9: Calculate the number of drawers already allocated in the power distribution cabinet B e . If the calculated number is not an integer, then add 1 / 2 to the already allocated quantity, and mark the added 1 / 2 drawer as a "1 / 2 standby" drawer to ensure the integer integrity of the drawer;
[0020] Step 2.10: Calculate the total number C e of the drawers already allocated in the power distribution cabinet B z , calculate the remainder R of C z +1 and C s . If C z +1≤C d and R = 0, then a spare drawer needs to be allocated to L[I];
[0021] Step 2.11: Calculate the number of circuits of L[I], the number of circuits of L[I] = the number of circuits of L[I] - 1;
[0022] Step 2.12: Calculate I = I + 1. If I is less than or equal to the number of items in the load data set L, otherwise jump to step S2.5;
[0023] Step 2.13: Remove the loads with a loop count of 0 from the load data set L;
[0024] Step 2.14: If the number of loads in the load data set L is not 0, then jump to step S2.4;
[0025] Step 2.15: Process the distribution cabinets where the number of drawers is not full, that is, the number of drawers in the distribution cabinet has not reached C d of the distribution cabinets. Mark the unoccupied drawers in the distribution cabinets with insufficient layout as spare drawers, and mark the drawers marked as "1 / 2 to be used" in the distribution cabinets as spare drawers;
[0026] Step 2.16: Sort the positions of the load drawers in each distribution cabinet in ascending order according to the number of drawers occupied by the loads. The principle is that the positions of the fixed-position spare drawers remain unchanged, that is, the positions of the spare drawers at integer multiples of (C s +1) remain unchanged. First, arrange the load drawers occupied by each load, and then place the spare drawers except those at integer multiples of (C s +1).
[0027] A further improvement in the technical solution of the present invention is that the specific steps of step 3 are as follows:
[0028] Step 3.1: Create a drawer graphics library, and the graphics library includes occupied drawer graphic elements and spare drawer graphic elements;
[0029] Step 3.2: Use AutoCAD.NET technology to draw the drawers in the distribution cabinet set L b into AutoCAD. The drawn graphics are read from the drawer graphics library according to the drawer type;
[0030] Step 3.3: During the drawing process of the drawers, perform line breaks according to the maximum number C r of distribution cabinets set for each row, and rename the numbers of the loads assigned to different distribution cabinets. At the same time, draw information such as load names, working currents, switchgear numbers, and loop numbers into the wiring diagram according to actual requirements.
[0031] Due to the adoption of the above technical solutions, the technical progress achieved by the present invention is as follows: By setting the limiting rules of the same-name load exclusion method and the distribution cabinet quantity saturation method, it takes into account the situation of automatically distributing different loads to different distribution cabinets, and at the same time considers the maximum number of distribution cabinets for distribution, which conforms to the actual engineering design. By using the method of the present invention to replace the manual wiring and marking work, the wiring diagram of the distribution cabinet can be quickly drawn, greatly improving the work efficiency, reducing the labor cost, and providing strong support for the design of actual projects. Description of the Drawings
[0032] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings;
[0033] Figure 1 is the rendering of the wiring diagram of the low-voltage power distribution cabinet;
[0034] Figure 2 Power load data;
[0035] Figure 3 Electrical load data;
[0036] Figure 4 Lighting load data;
[0037] Figure 5 Table of comparison between working current and number of drawers;
[0038] Figure 6 Spare drawer element;
[0039] Figure 7 is the occupied drawer element;
[0040] Figure 8 Detailed drawing of the power distribution cabinet. Detailed Embodiment
[0041] The following further elaborates on the present invention in conjunction with embodiments:
[0042] An automatic drawing method for the wiring diagram of a low-voltage power distribution cabinet combining the exclusion method and the saturation method, the steps are as follows:
[0043] Step 1: Collect the power load, electrothermal load, and lighting load data of the booster station to form a load data set L. The data in the load data set L includes load name, installed power, and number of circuits. The power load data is as Figure 2 shown, the electrothermal load data is as Figure 3 shown, and the lighting load data is as Figure 4 shown.
[0044] Set the parameters for generating the wiring diagram of the power distribution cabinet, where the maximum number of power distribution cabinets C b = 6, the maximum number of power distribution cabinets in each row during drawing C r = 3, the number of drawers included in each power distribution cabinet C d = 11, the number of drawers between the spare drawers in the power distribution cabinet C s=8; the number of drawers that can be occupied by the load is 1 / 2 or an integer greater than or equal to 1,
[0045] The spare drawers in the distribution cabinet are divided into three categories: one is the spare drawer with a fixed position, one is the spare drawer in the distribution cabinet that is marked as unoccupied at the end of the load arrangement drawer, and the other is the spare drawer marked as "1 / 2 standby" at the end of the load arrangement drawer.
[0046] There is a type of spare drawer in the distribution cabinet with a fixed position, which is fixed in the (C s +1) because the number of drawers is 11, C s =8, so this type of spare drawer is fixedly set in the 9th drawer in the distribution cabinet, occupying one drawer. The 9th drawer of the distribution cabinet is a spare drawer in a fixed position.
[0047] Step 2: Create a table T comparing operating current and drawer quantity, calculate the number of drawers used for each load, and then arrange the distribution cabinets and drawers within them based on the same-name load exclusion method and the cabinet quantity saturation method. A total of five distribution cabinets are allocated. The specific steps are as follows:
[0048] Step 2.1: If Figure 5 The table T of working current and drawer quantity is created as shown in the figure. The format of the data item in T is {current I t , number of drawers E};
[0049] Step 2.2: Traverse the load data set L and calculate the load L i Working current I i , then search for a match in the comparison table T that satisfies I i ≤I t Number of drawers E i , E i That is the load L i The number of drawers to be allocated, where i represents the load's index in L;
[0050] Step 2.3: Set the distribution cabinet set L b , initially L b is an empty set, and the number of drawers allocated to each distribution cabinet is E a , then each distribution cabinet can also allocate the number of drawers E f =C d -E a ;
[0051] Step 2.4: Start allocating distribution cabinets and set a counting variable I, where I represents the I-th item in the set L. The current load is L[I], and I = 1 initially.
[0052] Step 2.5: When the number of allocable drawers in the power distribution cabinet is greater than or equal to the number of drawers to be occupied, i.e., E f ≥E i As a condition, according to the method of excluding loads with the same name, that is, searching in L b for the set L of power distribution cabinets where E i drawers can be arranged, in L t search for the first power distribution cabinet B t in which the load L[I] has not been arranged. If there is no B e that meets the conditions, then execute Step 2.6; otherwise, jump to Step S2.8; e
[0053] Step 2.6: If the number of the set of power distribution cabinets L b is less than the maximum number C of power distribution cabinets b , it means that new power distribution cabinets can still be allocated. Then add new power distribution cabinets to the set L b , and assign the new power distribution cabinet to the power distribution cabinet B e ; According to the method of power distribution cabinet quantity saturation, that is, if the number of the set L b is greater than or equal to C b , it means that new power distribution cabinets cannot be allocated. Then search for the first power distribution cabinet in L b with the least arranged load L[I] and assign it to the power distribution cabinet B e ;
[0054] Step 2.7: If B e is not allocated to a power distribution cabinet, it means that the number of power distribution cabinets is insufficient, generate a failure, and end the entire generation process;
[0055] Step 2.8: Start to allocate drawers in the power distribution cabinet B e . If the load L i needs to occupy 1 / 2 drawers and there are drawers marked as "1 / 2 standby" in the power distribution cabinet, then preferentially allocate the drawers marked as "1 / 2 standby" in the power distribution cabinet B e , otherwise allocate E i drawers to B e ;
[0056] Step 2.9: Calculate the number of drawers already allocated in the power distribution cabinet B e . If the calculated number is not an integer, then add 1 / 2 to the already allocated number and mark the added 1 / 2 drawers as "1 / 2 standby" drawers to ensure the integer integrity of the drawers;
[0057] Step 2.10: Calculate the total number C e of the drawers already allocated in the power distribution cabinet B z , calculate C z +1 and Cs The remainder R, if C z +1≤C d And R=0, then the spare drawer needs to be allocated to L[I];
[0058] Step 2.11: Calculate the number of loops in L[I]: number of loops in L[I] = number of loops in L[I] - 1.
[0059] Step 2.12: Calculate I = I + 1. If I is less than or equal to the number of items in the load data set L, otherwise jump to step S2.5.
[0060] Step 2.13: Remove the loads with zero circuit number in the load data set L;
[0061] Step 2.14: If the number of loads in the load data set L is not 0, jump to step S2.4;
[0062] Step 2.15: Handle the distribution cabinet that is not fully allocated, that is, the number of drawers does not reach C d For a distribution cabinet, mark the unoccupied drawers in a fully-equipped distribution cabinet as spare drawers, and mark the drawers marked "1 / 2 standby" in the distribution cabinet as spare drawers;
[0063] Step 2.16: Sort the positions of the load drawers in the distribution cabinet from small to large according to the number of load drawers. The principle is that the position of the spare drawers in the fixed position remains unchanged, that is, (C s +1) The positions of the spare drawers at integer multiples remain unchanged. The drawers occupied by each load are arranged first, and then the drawers except (C s +1) Spare drawers other than spare drawers at integer multiples.
[0064] Step 3: Create a drawer graphics library, which includes occupied drawer graphics and spare drawer graphics. Based on the calculated distribution cabinet and drawer layout, use AutoCAD.NET technology to draw the distribution cabinet wiring diagram. The specific steps are as follows:
[0065] Step 3.1: Create a drawer graphics library, which includes occupied drawer graphics and spare drawer graphics. Spare drawer graphics are as follows: Figure 6 As shown, the occupied elements are as follows Figure 7 shown
[0066] Step 3.2: Assemble the distribution cabinet L b The drawers in the program are drawn into AutoCAD using AutoCAD.NET technology, and the drawn graphics are read from the drawer graphics library according to the drawer type.
[0067] Step 3.3: During the drawer drawing process, set the maximum number of distribution cabinets per row C rPerform line break drawing, rename the numbers of the loads assigned to different distribution cabinets, and at the same time draw information such as load names, working currents, switchgear numbers, and circuit numbers into the wiring diagram according to actual requirements. As Figure 1 shown, it is the wiring diagram drawn by using the method of the present invention.
[0068] The embodiments described above are only descriptions of the preferred embodiments of the present invention, and do not limit the scope of the present invention. Without departing from the design spirit of the present invention, various deformations and improvements made by those of ordinary skill in the art to the technical solution of the present invention shall fall within the protection scope determined by the claims of the present invention.
Claims
1. An automatic drawing method for the wiring diagram of a low-voltage power distribution cabinet that combines the rejection method and the saturation method, characterized in that: The steps are as follows: Step 1: Collect the power load, electrothermal load, and lighting load data of the booster station to form a load data set L. The data in the load data set L includes the load name, installed power, and number of circuits; Set the parameters for generating the wiring diagram of the distribution cabinet, including the maximum number C of distribution cabinets b , the maximum number C of distribution cabinets per row when drawing r , the number C of drawers contained in each distribution cabinet d , the number C of drawers between the spare drawers in the distribution cabinet s ; Step 2: Create a comparison table T of working current and the number of drawers, calculate the number of drawers used for each load, and then arrange the distribution cabinets and the drawers in the distribution cabinets based on the same-name load exclusion method and the distribution cabinet quantity saturation method. The specific steps of Step 2 are as follows: Step 2.1: Create a comparison table T between the working current and the number of drawers, and the format of the data items in T is {current I t , number of drawers E}; Step 2.2: Traverse the load data set L and calculate the working current I of the load L i Then, look up in the comparison table T for a drawer quantity E that satisfies I i ≤ I i The drawer quantity E t is the drawer quantity that the load L i needs to be allocated, where i represents the serial number of the load in L; i E i is the drawer quantity that the load L Step 2.3: Set the distribution cabinet set L b , initially L b is an empty set, and the number of drawers already allocated to each distribution cabinet is E a , then the number of drawers that can still be allocated to each distribution cabinet E f = C d - E a ; Step 2.4: Start to allocate the distribution cabinets. Set a counting variable I. I represents the I-th item in the set L, so the current load is L[I]. Initially, I = 1; Step 2.5: With the number of drawers that can be allocated in the distribution cabinet being greater than or equal to the number of drawers that need to be occupied, i.e., E f ≥E i as the condition, according to the method of rejecting loads with the same name, that is, searching in L b for the set of distribution cabinets L i that can accommodate E t drawers, searching in L t for the first distribution cabinet B e in which the load L[I] has not been arranged. If there is no B e that meets the condition, then execute Step 2.6; otherwise, jump to Step S2.8; Step 2.6: If the number of distribution cabinet sets L b is less than the maximum number C of distribution cabinets b , it indicates that new distribution cabinets can still be allocated. Then, add a new distribution cabinet to the set L b , and assign the new distribution cabinet to distribution cabinet B e ; According to the cabinet quantity saturation method, that is, if the number of the set L b is greater than or equal to C b , it indicates that new distribution cabinets cannot be allocated. Then, find the first distribution cabinet with the least overloaded L[I] arranged in L b , and assign it to distribution cabinet B e ; Step 2.7: If B e is not assigned to the distribution cabinet, it means that the number of distribution cabinets is insufficient, the generation fails, and the entire generation process ends; Step 2.8: Start to allocate drawers in distribution cabinet B e If the load L i requires 1 / 2 of a drawer and there are drawers marked "1 / 2 standby" in the distribution cabinet, then preferentially allocate the drawers marked "1 / 2 standby" in e distribution cabinet B. Otherwise, allocate E i drawers to B e ; Step 2.9: Calculate switchgear cabinet B e the number of drawers already allocated in it. If the calculated number is not an integer, add 1 / 2 to the already allocated number, and mark the added 1 / 2 drawer as a "1 / 2 standby" drawer to ensure the integer integrity of the drawers; Step 2.10: Calculate the distribution cabinet B e The total number C of the drawers already allocated in z , calculate C z C + 1 and C s The remainder R, if C z C + 1 ≤ C d and R = 0, then a spare drawer needs to be allocated to L[I]; Step 2.11: Calculate the number of circuits of L[I]. The number of circuits of L[I] = the number of circuits of L[I] - 1; Step 2.12: Calculate I = I + 1. If I is less than or equal to the number of items in the load data set L, otherwise jump to Step S2.5; Step 2.13: Remove the loads with 0 number of circuits from the load data set L; Step 2.14: If the number of loads in the load data set L is not 0, then jump to Step S2.4; Step 2.15: Handle the distribution cabinet that is not fully allocated, that is, the number of drawers does not reach C d For a distribution cabinet that is not fully occupied, mark the unoccupied drawers in the cabinet as "spare drawers" and mark the drawers marked "1 / 2 standby" in the distribution cabinet as spare drawers; Step 2.16: Sort the positions of each load drawer in the power distribution cabinet from small to large according to the number of load-occupied drawers. The principle is that the position of the spare drawer at a fixed position remains unchanged, that is, the position of the spare drawer at the integer multiple of (C s +1) remains unchanged. First, arrange the load-occupied drawers, and then place the spare drawers except for the spare drawers at the integer multiples of (C s +1); Step 3: Create a drawer graphics library. The graphics library includes occupied drawer primitives and spare drawer primitives, and draw the wiring diagram of the distribution cabinet using AutoCAD.NET technology according to the calculated arrangement of the distribution cabinets and drawers.
2. The automatic drawing method of the wiring diagram of the low-voltage power distribution cabinet combining the exclusion method and the saturation method according to claim 1, wherein: The number of drawers that the load can occupy is 1 / 2 or an integer greater than or equal to 1; among the drawers of the power distribution cabinet, the positions of a type of spare drawers are fixedly set, and the positions are determined according to C s The number is determined and fixedly set in the (C s +1)-th integer multiple of drawers in the power distribution cabinet, and the number of occupied drawers is 1.
3. The automatic drawing method of the wiring diagram of the low-voltage power distribution cabinet combining the exclusion method and the saturation method according to claim 2, characterized in that: The specific steps of Step 3 are as follows: Step 3.1: Create a drawer graphics library. The graphics library includes occupied drawer primitives and spare drawer primitives; Step 3.2: Draw the drawers in the distribution cabinet set L b into AutoCAD by using AutoCAD.NET technology. The drawn graphics are read from the drawer graphics library according to the drawer type; Step 3.3: During the drawing of the drawer, draw a new line according to the maximum number C of each row of power distribution cabinets set r and rename the numbers of the loads assigned to different power distribution cabinets. At the same time, draw the load name, working current, switchgear number, and circuit number information into the wiring diagram according to actual requirements.
Citation Information
Patent Citations
Automatic generation method of secondary electrical schematic diagrams based on Auto CAD
CN103400007A
Method using COMOS platform to achieve electric wiring cabinet grouping
CN108153996A