Summary of the invention
The present invention provides a kind of automobile fore suspension and rear suspension tire enveloping surface rapid generation and device, for solving the formation efficiency of tire enveloping surface in prior art and the problem that accuracy is low。
For achieving the above object, according to the first aspect of the invention, it is provided that a kind of automobile fore suspension and rear suspension tire enveloping surface rapid generation, and by the following technical solutions:
This rapid generation includes: obtains the ADAMS Suspension Model of automobile fore suspension and rear suspension and generates the generation parameter needed for tire enveloping surface;According to generating parameter modification ADAMS Suspension Model, and generate new ADAMS Suspension Model;According to the driving file generating the new ADAMS Suspension Model of parameter generation;New ADAMS Suspension Model analyzes " .WEV " file of the tire axle generating automobile fore suspension and rear suspension under the driving driving file;" .WEV " file of tire axle is converted to " .IGS " file of tire axle;" .IGS " file of tire axle is input to graphics software, generates the tire enveloping surface of automobile fore suspension and rear suspension。
Further, generate parameter to include: tire jitter parameter;Steering wheel angle parameter;Steering gear turn around parameters;The numbers such as tire condition。
Further, obtain the generation parameter generated needed for tire enveloping surface after also include: according to generating parameter list that parameter modification ADAMS Suspension Model set up and preserving amended parameter list;Or set up new parameter list according to generating parameter and preserve newly-established parameter list。
Further, include according to the driving file generating the new ADAMS Suspension Model of parameter generation: generate the driving file of new ADAMS Suspension Model according to numbers such as steering wheel angle parameter, steering gear turn around parameters and tire conditions;Preserve according to preset path and drive file。
Further, " .IGS " file that " .WEV " file of tire axle converts tire axle to is included: select " generating IGS file " key, by " .IGS " file that " .WEV " file translations is tire axle of the tire axle of the automobile fore suspension and rear suspension of harsh one-tenth, or " .WEV " file that input has generated, this document is converted into " .IGS " file of tire axle;" .IGS " file is carried out IGS formatting;" .IGS " file of tire axle after output formatting。
According to the second aspect of the invention, it is provided that a kind of automobile fore suspension and rear suspension tire enveloping surface quickly generates device, and by the following technical solutions:
This quickly generates device and includes: acquisition module, for obtaining the ADAMS Suspension Model of automobile fore suspension and rear suspension and generating the generation parameter needed for tire enveloping surface;Modified module, is used for according to generating parameter modification ADAMS Suspension Model, and generates new ADAMS Suspension Model;Drive file generating module, for according to the driving file generating the new ADAMS Suspension Model of parameter generation;" .WEV " file generating module, analyzes " .WEV " file of the tire axle generating automobile fore suspension and rear suspension for new ADAMS Suspension Model under the driving driving file;Modular converter, for converting " .IGS " file of tire axle to by " .WEV " file of tire axle;Tire enveloping surface generation module, for " .IGS " file of tire axle is input to graphics software, generates the tire enveloping surface of automobile fore suspension and rear suspension。
Further, quickly generate device and also include: parameter list modified module, for according to generating the parameter list set up of parameter modification ADAMS Suspension Model and preserving amended parameter list;Or parameter list sets up module, for setting up new parameter list and preserve newly-established parameter list according to generating parameter。
Further, generate parameter to include: tire jitter parameter;Steering wheel angle parameter;Steering gear turn around parameters;The numbers such as tire condition。
Further, file generating module is driven to include: to drive file generated submodule, for generating the driving file of new ADAMS Suspension Model according to numbers such as steering wheel angle parameter, steering gear turn around parameters and tire conditions;Preserve submodule, drive file for preserving according to preset path。
Further, modular converter includes: transform subblock, for selecting " generating IGS file " key, by " .IGS " file that " .WEV " file translations is tire axle of the tire axle of the automobile fore suspension and rear suspension of harsh one-tenth, or " .WEV " file that input has generated, this document is converted into " .IGS " file of tire axle;Formatting submodule, for carrying out IGS formatting to " .IGS " file;Output sub-module, for " .IGS " file of the tire axle after output formatting。
From the technique scheme of the present invention, according to the generation parameter generated needed for tire enveloping surface, quickly amendment ADAM model and driving file, " .IGS " file of general format of output 3D mapping software, it is achieved thereby that quickly, generate the tire enveloping surface of automobile fore suspension and rear suspension efficiently and accurately。By this emulation mode, greatly reduce automobile development cost, and improve automobile development efficiency。
Detailed description of the invention
Below in conjunction with accompanying drawing, embodiments of the invention are described in detail, but the multitude of different ways that the present invention can be defined by the claims and cover is implemented。
Fig. 1 represents the broad flow diagram of the automobile fore suspension and rear suspension tire enveloping surface rapid generation of the embodiment of the present invention。
Shown in Figure 1, this rapid generation comprises the following steps:
Step 101: obtain the ADAMS Suspension Model of automobile fore suspension and rear suspension and generate the generation parameter needed for tire enveloping surface。
In this step, under WINDOWS interface, VB(programming language, VisualBasic are used) the COMBOX(combo box control of software) select to emulate the ADAMS Suspension Model of the fore suspension and rear suspension of vehicle。And after pressing " confirming to select suspension " key, automatically opening up the EXCEL parameter list that this model is corresponding, this EXCEL parameter list is set up according to tire enveloping surface create-rule。Generate this EXCEL parameter list of generation parameter modification needed for tire enveloping surface with what obtain again, and preserve amended EXCEL parameter list。Being not set up EXCEL parameter list before ADAMS Suspension Model, then automatically open up the EXCEL parameter list of a standard, with VB software and EXCEL interface, input generates parameter, thus establishing a new EXCEL parameter list, and preserves this EXCEL parameter list。
In this step, generate parameter and specifically include that the numbers such as tire jitter parameter, steering wheel angle parameter, steering gear turn around parameters and tire condition。
Step 103: according to generating parameter modification ADAMS Suspension Model, and generate new ADAMS Suspension Model。
In this step, open selected ADAMS Suspension Model, search the SPL " SPLINE-2 " in model, according to generating parameter its content of renewal, and according to tire enveloping surface create-rule, when setting takes front suspension, containing turning to;When taking rear suspension, turning to is 0。Varying in size according to choosing the numbers such as tire simultaneously, generating " SPLINE-2 " content of varying number, thus generating new ADAMS Suspension Model。
Step 105: according to the driving file generating the new ADAMS Suspension Model of parameter generation。
In this step, following two is mainly included step by step:
1) the driving file of new ADAMS Suspension Model is generated according to numbers such as steering wheel angle parameter, steering gear turn around parameters and tire conditions。
This step by step in, according to tire enveloping surface create-rule, set by " input of unilateral maximum steering wheel angle ", be then automatically switched off " unilateral steering gear range " and input;Otherwise, by " unilateral steering gear range " input, then it is automatically switched off " input of unilateral maximum steering wheel angle " input。By the input of " unilateral maximum steering wheel angle " option, take " deactivate/jprim, the id=" 2 in the driving file prestored;By " unilateral steering gear range " option input, take " deactivate/jprim, the id=" 3 in the driving File prestored;To front suspension analysis, take " simulate/static, end=" in the driving File prestored (number+4 such as 9* tire condition);To rear suspension analysis, take prestore drive the numbers such as " simulate/static, end=" tire condition in File。Above-mentioned steering wheel angle parameter, steering gear turn around parameters, and vary in size in conjunction with numbers such as tire conditions, generate different driving files。
2) driving file is preserved according to preset path。
This step by step in, the driving file of generation is preserved according to its preset path。
Step 107: new ADAMS Suspension Model analyzes " .WEV " file of the tire axle generating automobile fore suspension and rear suspension under the driving driving file。
In this step, press " running ADAMS " key, under the driving driving file, automatically call ADAMS analyze, generate " .WEV " file of the tire axle of automobile fore suspension and rear suspension。
Such as: call ADAMS software with the SHELL () of VB:
pid=Shell("d:\adam_temp\run_adams_w.bat",vbNormalFocus)
hprocess=OpenProcess(process_query_information,0,pid)
exitevent=WaitForSingleObject(hprocess,infinite)
CallCloseHandle(hprocess)
In this step, the file that " .WEV " file of the tire axle of the automobile fore suspension and rear suspension generated is made up of point coordinates one by one, the file Bu Shi 3D mapping software general format of this form, need user, with 3D software, the point coordinates manual method in " .WEV " file is carried out tire axle generation, not only speed is slow, slightly do not note, will make mistakes。
Step 109: " .WEV " file of tire axle is converted to " .IGS " file of tire axle。
In this step, due to " .WEV " file Bu Shi 3D mapping software general format, in order to quickly generate tire axle, it is necessary to " .WEV " file to be converted to " .IGS " file of 3D mapping software general format, specifically include following step by step:
(1) " generating IGS file " key is selected, by " .IGS " file that " .WEV " file translations is tire axle of the tire axle of the automobile fore suspension and rear suspension of harsh one-tenth, or " .WEV " file that input has generated, this document is converted into " .IGS " file of tire axle。
This step by step in, select " generate IGS file " key, acquiescence opens " .WEV " file of the harsh one-tenth of selected Suspension Model, and " .WEV " file generated can be directly generated " .IGS " file。
(2) " .IGS " file is carried out IGS formatting。
This step by step in, for ensure generate " .IGS " file meet IGS form, format process with RTrim $ ()。
(3) " .IGS " file of the tire axle after output formatting。
This step by step in, " .IGS " file of output tire tire axle in each state, and added with mark。
Step 111: " .IGS " file of tire axle is input to graphics software, generates the tire enveloping surface of automobile fore suspension and rear suspension。
In this step, owing to " .IGS " file is the general format of 3D mapping software, simply entering this " .IGS " file, 3D mapping software is readily generated the tire enveloping surface of automobile fore suspension and rear suspension。
It is evidenced from the above discussion that, the automobile fore suspension and rear suspension tire enveloping surface rapid generation of the present invention, under WINDOS interface, according to tire enveloping surface create-rule, by obtaining the ADAMS Suspension Model of automobile fore suspension and rear suspension and generating the generation parameter needed for tire enveloping surface, generate new ADAMS Suspension Model according to generating parameter and drive file, call ADAMS and analyze " .WEV " file of the tire axle generating automobile fore suspension and rear suspension, and " .WEV " file is converted to " .IGS " file of the general format of 3D mapping software, it is achieved thereby that quickly, efficiently, accurately generate the tire enveloping surface of automobile fore suspension and rear suspension。By this emulation mode, greatly reduce automobile development cost, and improve automobile development efficiency。
Fig. 2 represents that the automobile fore suspension and rear suspension tire enveloping surface of the embodiment of the present invention quickly generates the structural schematic block diagram of device 200。
Shown in Figure 2, this quickly generates device 200 and specifically includes that
Acquisition module 210, for obtaining the ADAMS Suspension Model of automobile fore suspension and rear suspension and generating the generation parameter needed for tire enveloping surface。
In the present embodiment, the generation parameter needed for generating tire enveloping surface specifically includes that the numbers such as tire jitter parameter, steering wheel angle parameter, steering gear turn around parameters and tire condition。
Modified module 220, is used for according to generating parameter modification ADAMS Suspension Model, and generates new ADAMS Suspension Model。
Drive file generating module 230, for according to the driving file generating the new ADAMS Suspension Model of parameter generation。
" .WEV " file generating module 240, analyzes " .WEV " file of the tire axle generating automobile fore suspension and rear suspension for new ADAMS Suspension Model under the driving driving file;
Modular converter 250, for converting " .IGS " file of tire axle to by " .WEV " file of tire axle;
Tire enveloping surface generation module 260, for " .IGS " file of tire axle is input to graphics software, generates the tire enveloping surface of automobile fore suspension and rear suspension。
Wherein, file generating module 230 is driven to include:
Drive file generated submodule 231, for generating the driving file of new ADAMS Suspension Model according to numbers such as steering wheel angle parameter, steering gear turn around parameters and tire conditions。
Preserve submodule 233, drive file for preserving according to preset path。
Wherein, modular converter 250 includes:
Transform subblock 251, for selecting " generating IGS file " key, by " .IGS " file that " .WEV " file translations is tire axle of the tire axle of the automobile fore suspension and rear suspension of harsh one-tenth, or " .WEV " file that input has generated, this document is converted into " .IGS " file of tire axle。
Formatting submodule 253, for carrying out IGS formatting to " .IGS " file。
Output sub-module 255, for " .IGS " file of the tire axle after output formatting。
In the present embodiment, after the generation parameter needed for the ADAMS Suspension Model obtaining automobile fore suspension and rear suspension and generation tire enveloping surface, quickly generating device 200 can also include:
Parameter list modified module, for according to generating the parameter list set up of parameter modification ADAMS Suspension Model and preserving amended parameter list;Or parameter list sets up module, for setting up new parameter list and preserve newly-established parameter list according to generating parameter。
It is evidenced from the above discussion that, the automobile fore suspension and rear suspension tire enveloping surface of the present invention quickly generates device 200, by arranging acquisition module 210, obtains the ADAMS Suspension Model of automobile fore suspension and rear suspension and generates the generation parameter needed for tire enveloping surface;Modified module 220 it is set and drives file generating module 230, generate new ADAMS Suspension Model according to generating parameter and drive file;" .WEV " file generating module 240 is set, calls ADAMS and analyze " .WEV " file of the tire axle generating automobile fore suspension and rear suspension;Modular converter 250 is set, " .WEV " file is converted to " .IGS " file of the general format of 3D mapping software, it is achieved thereby that quickly, efficiently and accurately generate automobile fore suspension and rear suspension tire enveloping surface。
In sum, the automobile fore suspension and rear suspension tire enveloping surface rapid generation of the present invention and device, according to the generation parameter generated needed for tire enveloping surface, quickly amendment ADAM model and driving file, " .IGS " file of general format of output 3D mapping software, it is achieved thereby that quickly, generate the tire enveloping surface of automobile fore suspension and rear suspension efficiently and accurately。By this emulation mode, greatly reduce automobile development cost, and improve automobile development efficiency。
Being above the preferred embodiment of the present invention, it is noted that for those skilled in the art, under the premise without departing from the principles of the invention, it is also possible to make some improvements and modifications, these improvements and modifications also should be regarded as protection scope of the present invention。