Electrical control cabinet parametrization drive system
Technical field
The present invention relates to a kind of structural parameters drive system, especially relate to a kind of electrical control cabinet parametrization drive system.
Background technology
Electrical control cabinet is as a underlying carrier of power industry, and simple, general, seriation characteristics that its structure has mostly are unity of form for the structure of cabinet type of the same race and sheet metal component that element size is associated with the rack profile usually.At present, the drawing majority of electrical control cabinet also rests on the aspect of two-dimentional CAD, the engineering structure designer was in the face of client's customization demand in the past, easily to revise tens and even hundreds of and open drawing, and to calculate one by one and the revisions on drawings size, not only inefficiency is omitted easily, even the size miscount; Secondly, design drawing is as the important evidence of production and processing, the two dimension drawing is shortcoming intuitively not, it is unreasonable to meet with into design easily, by the time process and assemble is found mistake again, will do over again, the seller's seven sale that causes equipment like this, influence the prestige of company, so under market environment with keen competition day by day,, how further to shorten design time in order to satisfy the personalized day by day market demand, improve and once design accuracy and improve the punctual delivery rate, come the satisfying personalized market demand with the large-scale customization design philosophy, be the target of enterprise and the diligent pursuit of designer always.
In recent years, along with the notion of parametrization design and popularizing and promoting of Three-dimensional Design Software, make repetition, simple working such as designer's revisions on drawings size become easily, easy.Some companies with good conditionsi progressively use parametrization to design on Three-dimensional Design Software and set up model, in order to the generation of lifting model and the speed of modification, and then improve design efficiency greatly, shorten the research and development time.At present, use Three-dimensional Design Software to set up model cashier's office in a shop in electrical control based on top-down parameter system, as shown in Figure 1, only need be in the general assembly (GA) model given master variable parameter, its each parts parameter model all can change thereupon, than two-dimentional in the past drawing, the efficient of not only revising model improves greatly, and its accuracy substantially also can be guaranteed, though the logicality of top-down parameter system is strong, various parameters relationships come into plain view, but it calls between multiple cabinet type and has very flexible when having the parts parameter, shortcomings such as extensibility is weak, the top-down logical relation that promptly is subjected to rely between parameter influences, and can not the parameter of part and subassembly be revised separately; And for different parts, if quote part in certain parts, then the parameter in the part must reset.Top-down parameter system has well solved the modification of dimension problem in cabinet type of the same race, but it is used between multiple cabinet type and still has many limitation.
Summary of the invention
Technical matters to be solved by this invention provides between the multiple cabinet type of a kind of electrical control cabinet and calls flexibly mutually between the parts, not limited by the logical relation on its parameter, and parameter just need not to revise once setting, also provide simultaneously a kind of from the cabinet type search, drawing search, parameter modification are printed to drawing, and a whole set of automatically performs system.
For solving the problems of the technologies described above, the invention provides a kind of electrical control cabinet parametrization drive system, comprise electrical control cabinet parametrization drive system client and the general picture library of parametrization, described electrical control cabinet parametrization drive system client comprises following each functional module:
The cabinet type is searched module: be used for searching known electrical control cabinet model in the cabinet type tables of data of standard;
Cabinet type drawing search module: the electrical control cabinet model that is used for the match search appointment;
Cabinet type parts matching module: the information in the cabinet type tables of data of the rack wiring layout opened in the Three-dimensional Design Software and standard is mated;
Parts drawing reuse module: be used at the controlled drawing that meets this requirement of the path searching of appointment, and file;
Parametrization driver module: be used for all model of parts of dimensional parameters driving wiring layout on request, comprise the generation engineering drawing, and be stored in specified path;
Drawing examination and output module: be used for the engineering drawing that generates is examined, and the drawing that passes through printed publish picture;
The general picture library of described parametrization comprises the general assembly part of all electrical control cabinet models and the three-dimensional plot and the engineering drawing of each parts.
Set up the general picture library of described parametrization based on free-standing master variable parameter system, the process of foundation is: at first extract the key variables parameter from each variable parameter of electrical control cabinet, with the key variables parameter that extracts as the total parameter of each parts, the parameter of each parts inside and these total parameter correlations join, and do not have the logical relation on the parameter between each parts.
The cabinet type tables of data of described standard is included in the worksheet of all rack models of electrical control cabinet in the Excel document, and each worksheet includes the attribute of corresponding cabinet type, comprises code name, title, state and the parameter of each parts; Described status information is whether be used for the mark parts are standard components, if promptly can ignore these parts when driving parameter; Described parameter information is to be used for mark parts and which master variable parameter correlation connection.
Described parametrization standard drawing lab setting is in the computer that has comprised client.
The beneficial effect that the present invention reached:
The present invention is that the variable to model is provided with parameter in Solid Edge Three-dimensional Design Software, realize that by setting up Visual Basic (VB) language program mutual parameter drives, with information such as Excel document storage parts relevant code name, title and parameters, and be framework with free-standing master variable parameter system, realized the dimensional parametric design of electrical control cabinet, develop the multiple model cabinet parts picture library in the electrical control cabinet, studied the relation of the assembling and the parametrization design of sheet metal component three-dimensional modeling method and parts; Simultaneously, the present invention has realized the fast parameter driving of model by setting up the electrical control cabinet parameterized model, automatically generate engineering drawing and printing, improve the efficient of publishing picture greatly, and guaranteed the accuracy of design, reduced structure designer's working strength; The successful Application of electrical control cabinet driving parameter system has verified that also free-standing master variable parameter designing is rationally with reliable, well solve between each parts shortcomings such as versatility difference and extendability be weak, for the general picture library of parametrization of setting up the different model electrical control cabinet provides reliable enforcement schemes.
Description of drawings
Fig. 1 is existing top-down parameter system figure;
Fig. 2 is free-standing master variable parameter system figure of the present invention;
Fig. 3 is a program flow diagram of the present invention.
Embodiment
Below in conjunction with accompanying drawing the present invention is further described.Following examples only are used for technical scheme of the present invention more clearly is described, and can not limit protection scope of the present invention with this.
The invention provides a kind of electrical control cabinet dimensional parametric design method that adopts free-standing master variable parameter designing.
Stand alone type master variable parameter designing determines that certain subject binds master variable parameter common in the paper mulberry (or claiming the key variables parameter), newly-built associated master variable parameter in each part and subassembly then, remaining parameter all with these several master variable parameter associations, need only in each part or the parts and change the master variable parameter, there is not logical relation on the parameter with other part or parts, as shown in Figure 2, solid line is represented the three-dimensional constraining relation among the figure, and dotted line is represented parameters relationship.Shortcomings such as very flexible, the extensibility that exists in the top-down parameter system of so just good solution is weak.
After the three-dimensional model of part or parts is set up, be example with electrical control cabinet Qianmen part, corresponding master variable parameter is rack height H and width W, adds parameter.
INTERFACE DESIGN: utilize the visualization technique of VB, create VB and use the householder interface.By window file storing path, electrical control cabinet model, master variable parameter and parts name etc. are shown, finish electrical control cabinet parametrization modification by controls such as " coupling " inspection, " retrieval " file and " driving " operations.Each forms and control property are provided with the coding code.Drive the retrieval that the most important thing is file and drive the new model code of generation for parametrization.
As shown in Figure 3, be program flow diagram of the present invention, behind the program start, the path at first is set, carries out the cabinet type and select, retrieval, search installation drawing, carry out " coupling " then and check that Automatic Program compares the parts name of listing in its parts name and the standard cabinet type tables of data, if identical, then be labeled as " coupling ", enter driving parameter, Automatic Program is searched the parameter of revising each parts by the given size of client, carries out drawing examination then, prints and publish picture.If not " coupling " then returned the cabinet type and selected, reselect the cabinet type.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the technology of the present invention principle; can also make some improvement and distortion, these improvement and distortion also should be considered as protection scope of the present invention.