Background
At present, the design of cars adopts streamline design as the main trend, the pursuit of curve is beautiful, and the design factors of curves and curved surfaces are widely adopted in the design of new car types, so that the appearance of car window glass is more and more designed into double-curvature curved surfaces. As shown in a schematic diagram of a large glass surface shown in fig. 1, firstly, a clay molding of a window glass is molded, and then, the large glass surface is obtained according to shape data of the clay molding, the more common window surfaces are a barrel surface and a torus surface, especially, the number of barrel surfaces is large, in addition, some automobile molding designs set certain requirements on a window glass lifting inclination angle, and it is desirable that the inclination angle is larger as well as better, for example, the front door window glass lifting inclination angle is larger than 9-13 degrees.
The window lifting means that the window glass is driven to run in a preset track (namely a window frame guide rail) through a window lifter, and a guide groove sealing strip is arranged in a window frame. In the design of automobile, in the design of window glass, a window frame, a guide groove and a glass lifter guide rail, the smooth running of the window glass is ensured according to the same guide line, and the clamping stagnation condition of the running process of the window glass caused by the mismatch of radians between the window glass and the window glass is avoided. It should be noted that the guide line is not a true line, and represents a running track of the window glass.
The design of the car window lifting guide line is a key input of the design of a car door system, when the guide line is designed, the car window glass needs to meet the modeling requirement, and the motion checking deviation requirement of the car window glass also needs to be considered, generally, the Y-direction motion deviation and the X-direction motion deviation of the car window glass in the whole motion process are both required to be less than 0.5mm, and the Y-direction motion deviation is required to be less than 0.25mm, wherein the X-direction is a horizontal direction, the Y-direction is a direction vertical to a glass surface, and the vertical X-direction and the Y-direction are Z-directions.
In the prior art, to meet the requirement of motion deviation, a guideline is generated by a point accumulation method, see the schematic diagram of the guideline generation process shown in fig. 2A-2C, and the process is as follows:
firstly, after the approximate shape of the window glass is trimmed from the large surface of the glass, taking an upper end point A (shown in figure 2A) of a vertical edge (also called a glass B column) on the right side of the window glass, and carrying out rotary motion on the whole window glass according to the motion track of the window glass until the point A moves downwards to an end point position, which is also called a lower stop point B (shown in figure 2C); calculating an angle alpha of the point A moving to the point B rotating around the X axis and an angle beta of the point A moving to the point B rotating around the Y axis, and calculating a Pitch value P between the two rotation motions as beta/alpha;
then, point a is rotated around the X axis by an angle of 0.25 ° step by an appropriate angle α, e.g., 0.25 °, to obtain a '(fig. 2A), and then point a' is rotated around the Y axis by an angle of 0.25P to obtain point a1 (fig. 2B); rotating the point A1 around the X axis by a step angle of 0.25 degrees to obtain A1 ', and then rotating the A1' around the Y axis by an angle of 0.25P to obtain A2; obtaining enough points, namely A, A1, A2, An;
finally, the points A, A1, A2, An are connected into a smooth Spline curve, and the smooth Spline curve is projected to the barrel surface provided by the modeling in the normal direction, so that the required guide line is obtained.
However, the above method is only suitable for glass surfaces with cylindrical surface and barrel surface shapes, is not suitable for circular ring surfaces, and is not high in precision, and in addition, the motion inclination angle of the window glass needs to be repeatedly adjusted to manufacture the guide line meeting the motion deviation requirement, so that the generation efficiency of the guide line is low.
Disclosure of Invention
In view of the above, an object of the embodiments of the present invention is to provide a method and a device for generating a guide line for a window regulator, which can be applied to different types of window glass surfaces and have high generation efficiency of the guide line.
The embodiment of the application provides a method for generating a guide line of a glass lifting system, which comprises the following steps:
selecting a tangent point at the lower right of the vehicle window glass based on a model corresponding to the large glass surface containing the vehicle window glass;
selecting two initial mapping points from the right vertical side of the car window glass;
mapping the two initial mapping points to an auxiliary plane which passes through the tangent point and is tangent to the large glass surface to obtain two target mapping points;
generating a straight line passing through the two target mapping points;
mapping the straight line to the large glass surface to obtain a curve which passes through the two initial mapping points and spans the motion area of the window glass; the curve is the glazing system guide line.
Optionally, the one tangent point selected at the lower right of the window glass includes:
dividing a square area containing the window glass motion area from the glass large surface, and taking a lower right corner point of the square area as the tangent point;
accordingly, said mapping said two initial mapping points onto a secondary plane passing through said tangent point and tangent to said glass major surface comprises:
mapping the two initial mapping points onto a secondary plane passing through the tangent point and tangent to the four-sided region;
correspondingly, the mapping the straight line onto the glass large surface comprises:
and mapping the straight line onto the four square areas.
Optionally, the mapping the two initial mapping points onto an auxiliary plane passing through the tangent point and tangent to the four-sided region includes:
and taking the initial mapping points and the four-side area as input data, and operating an unfolding develop command of cata software to map the two initial mapping points onto an auxiliary plane which passes through the tangent point and is tangent to the four-side area.
Optionally, the mapping the straight line onto the large glass surface includes:
and operating an unfolding develop command of cata software by taking the straight line, the auxiliary plane and the four-side area as input data to map the straight line to the four-side area.
Optionally, the two initial mapping points are:
the upper end point and the lower end point of the right vertical edge of the vehicle window glass;
or, a point on the right vertical side near the upper end point and a point near the lower end point.
The embodiment of the present application further provides a device for generating a guide line for a glass lifting system, including:
the system comprises a tangent point selection unit, a model selection unit and a control unit, wherein the tangent point selection unit is used for selecting a tangent point at the lower right of the vehicle window glass based on a model corresponding to the large glass surface containing the vehicle window glass;
the mapping point selection unit is used for selecting two initial mapping points from the right vertical side of the vehicle window glass;
the point mapping unit is used for mapping the two initial mapping points to an auxiliary plane which passes through the tangent point and is tangent to the large glass surface to obtain two target mapping points;
a straight line generating unit for generating a straight line passing through the two target mapping points;
the straight line mapping unit is used for mapping the straight line to the large glass surface to obtain a curve which passes through the two initial mapping points and spans the motion area of the window glass; the curve is the glazing system guide line.
Optionally, the tangent point selecting unit includes:
the area acquisition subunit is used for dividing a square area containing the window glass movement area from a large glass surface based on a model corresponding to the large glass surface containing the window glass;
a tangent point selecting subunit, configured to use a lower right corner point of the square region as the tangent point;
accordingly, the point mapping unit includes:
a point mapping subunit, configured to map the two initial mapping points onto an auxiliary plane that passes through the tangent point and is tangent to the four-sided region;
accordingly, the straight line mapping unit includes:
and the straight line mapping subunit is used for mapping the straight line to the four-side area.
Optionally, the point mapping subunit specifically includes:
and taking the initial mapping points and the four-side area as input data, and operating an unfolding develop command of cata software to map the two initial mapping points onto an auxiliary plane which passes through the tangent point and is tangent to the four-side area.
Optionally, the straight line mapping subunit specifically includes:
and operating an unfolding develop command of cata software by taking the straight line, the auxiliary plane and the four-side area as input data to map the straight line to the four-side area.
Optionally, the two initial mapping points are:
the upper end point and the lower end point of the right vertical edge of the vehicle window glass;
or, a point on the right vertical side near the upper end point and a point near the lower end point.
According to the method and the device for generating the guide line of the glass lifting system, firstly, a tangent point is selected at the right lower side of the window glass in the large glass surface, and two initial mapping points are selected from the right vertical side of the window glass; then, mapping the two initial mapping points to an auxiliary plane which passes through the tangent point and is tangent to the large glass surface to obtain two target mapping points; and finally, generating a straight line passing through the two target mapping points, and mapping the straight line onto the large glass surface to obtain a curve passing through the two initial mapping points and crossing the motion area of the window glass, wherein the curve is a guide line of the glass lifting system. Therefore, compared with the prior art, the method has the advantages that the movement inclination angle of the window glass does not need to be adjusted repeatedly, the guide line of the glass lifting system can be generated through two times of mapping operation, namely point mapping is performed firstly and then line mapping is performed, and the generation method is high in generation efficiency and suitable for window glass surfaces of different styles.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The following first describes the barrel surface pattern and torus surface pattern related to the vehicle window glass surface:
referring to the schematic diagram of the drum face shown in fig. 3, drum face Barrel, which is the drum face obtained by rotating the curve Y ═ f (X) in the XY plane along the X axis, has the equation: y is2+Z2=F(X)2(ii) a Referring to the schematic view of the torus shown in fig. 4, the torus is a curved surface obtained by a circle K with a radius R rotating in a half-level R along the normal direction of the circle, the circle K is a generatrix, the circle R is a pilot line, and the geometric equation is as follows:
wherein a is more than or equal to 0 and less than or equal to 2 pi, and theta is more than or equal to 0 and less than or equal to 2 pi.
In general, the curvature characteristics of different types of glass surfaces are different, and the method of fitting the guide line is different. The simple guide line design method is applicable to Barrel surface Barrel or Torus Torus, the operation steps of the method are simple, the requirements of motion deviation of 0.5mm in the Y direction and 0.25mm in the X direction can be met under the condition that the motion inclination angle of the window glass is not changed, and the design and updating efficiency of the guide line of the glass lifting system is greatly improved.
Referring to fig. 5, a flow chart of a method for generating a guide line of a glass lifting system according to an embodiment of the present application is schematically shown, the method includes the following steps:
s501: and selecting a tangent point at the lower right of the vehicle window glass based on a model corresponding to the large glass surface containing the vehicle window glass.
In the present embodiment, the guide line is generated based on a glass large surface model, and the window paste model is included in the glass large surface, and the model parameters of the window paste model are included in the glass large surface model.
Based on the glass large-surface model, a tangent point is selected from the glass large surface, and specifically, the glass large surface is taken as a reference curved surface, and a point close to the guide line in the glass large surface is taken as the tangent point.
Because the window glass is larger than the glass surface, a square area containing the window glass movement area can be divided from the glass surface, and the corner point of the square area close to the guide line is taken as the tangent point, so that the final movement checking deviation precision of the guide line can be improved by adopting the dividing and cutting mode, and the schematic diagram of the square area shown in fig. 6 is shown. Therefore, in an embodiment of the present application, S501 may specifically include: and dividing a square area containing the window glass motion area from the large glass surface based on a model corresponding to the large glass surface containing the window glass, and taking the lower right corner point of the square area as the tangent point.
It should be noted that, since the square region is a partial glass surface divided from the glass large surface, and the glass large surface is a curved surface, the square region is also a curved surface in practice, and only when viewed in a direction facing the window glass surface on the glass large surface, the divided partial glass surface is a square region.
S502: two initial reflection points are selected from the right vertical side of the vehicle window glass.
The two initial reflection points may be any two points on the right vertical side of the window glass. Specifically, as shown in fig. 6, in one embodiment of the present application, the two initial mapping points may be: the upper end point a1 and the lower end point a2 of the right vertical side of the window glass; or a point on the right vertical side near the upper end point a1 and a point near the lower end point a 2.
In this embodiment, when the window glass, the window frame, the channel, and the lifter rail are designed using a guide line obtained by using the upper end point a1 and the lower end point a2 or points close to the upper end point a1 and the lower end point a2 as the initial mapping points and performing the subsequent steps, the deviation of the movement check of the window glass is lower than that of the initial mapping points at other positions.
S503: and mapping the two initial mapping points to an auxiliary plane which passes through the tangent point and is tangent to the large glass surface to obtain two target mapping points.
In this embodiment, the large glass surface is tangent to the auxiliary plane, and the tangent point is the tangent point selected in S501.
Based on the specific implementation of dividing the four square regions in S501, S503 may include: the two initial mapping points are mapped onto a secondary plane passing through the tangent point and tangent to the four-sided region. Specifically, the two initial mapping points may be mapped by a unfolding (develop) command of the cata software, and the two target mapping points and the tangent point may form an auxiliary plane tangent to the glass large surface. The cata is high-grade CAD/CAM software developed by French Dasuo airplane company, the cata software enjoys high reputation in the design field of airplanes, automobiles, ships and the like due to the powerful surface design function, and the cata surface modeling function provides an extremely rich modeling tool to support the modeling requirements of users.
Further, in an embodiment of the present application, S503 may specifically include: and taking the initial mapping points and the four-side area as input data, and operating an unfolding develop command of cata software to map the two initial mapping points onto an auxiliary plane which passes through the tangent point and is tangent to the four-side area.
In such an implementation, the point spread mapping may be implemented using the develop command of the cata software. Specifically, after the cata software is opened, the GSO module needs to be loaded, and then the develop command provided by the GSO module can be used for mapping two initial mapping points. Referring to the schematic view of the develop command dialog window shown in fig. 7, a user may select an initial mapping Point (e.g., an upper end Point a1 of a vertical edge on the right side of a window glass) as Wire to develop, select the four-side region as a Support surface, select a lower corner Point of the four-side region as Point, then execute a develop command, and map the initial mapping Point onto an auxiliary plane through a mapping function of the develop command to obtain a corresponding target mapping Point (e.g., a target mapping Point b1 shown in fig. 8); if the above operation is also performed with respect to another initial mapping point (for example, the lower end point a2 of the right vertical side of the window glass), another target mapping point (for example, the target mapping point b2 shown in fig. 8) corresponding to the another initial mapping point can be obtained. It can be seen that the plane formed by the two object mapping points b1 and b2 and the tangent point is the auxiliary plane.
S504: a straight line passing through the two target mapping points is generated.
Connecting the two target mapping points to obtain a longer straight line.
For example, referring to fig. 8, the straight line may be a longer straight line after the target mapping points b1 and b2 are extended in opposite directions.
S505: mapping the straight line to the large glass surface to obtain a curve which passes through the two initial mapping points and spans the motion area of the window glass; the curve is the glazing system guide line.
In this embodiment, after the straight line is mapped to the large surface of the glass, a curve is obtained, and the curve is used as a guide line to meet the length requirement of the guide line.
Based on the specific implementation of dividing the four square regions in S501, S504 may include: and mapping the straight line onto the four-square area to obtain a curve which passes through the two initial mapping points and spans the motion area of the window glass. Specifically, the straight line can be mapped onto the four-sided region by an unfolding (develop) command of the cata software, resulting in a curve passing through two initial mapping points.
Further, in an embodiment of the present application, S503 may include: and operating an unfolding develop command of cata software by taking the straight line, the auxiliary plane and the four-side area as input data to map the straight line to the four-side area.
In such an embodiment, the line unrolling mapping may also be implemented using the develop command of the cata software. Specifically, referring to the schematic view of the develop command dialog window shown in fig. 7, the auxiliary plane may be generated in advance, then, the user may select a straight line passing through two target mapping points (for example, a straight line passing through points b1 and b2 shown in fig. 8) as Wire to develop, select the auxiliary plane as Wire plane, select the four-side region as Support surface, select a lower corner Point of the four-side region as Point, then, execute a develop command, and map the straight line passing through the two target mapping points onto the four-side region through a mapping function of the develop command, so as to obtain a curve passing through two initial mapping points (for example, a curve passing through points a1 and a2 shown in fig. 8), which is a guide line of the glass lifting system.
It should be noted that, in this embodiment, a related program may be edited, so as to automatically select input data of a develoop and automatically execute a mapping function of a develoop command, thereby reducing operation steps of a user.
In order to illustrate the feasibility of the application, the following steps are that Barrel surface Barrel and Torus are respectively fitted by using clay modeling data of a certain vehicle type, a guide line is designed by using the guide line generating method (point/line unfolding command method), the motion of the window glass is checked, and the deviation meets the design requirement:
meanwhile, the method is used for designing guide lines for other vehicle types and performing motion checking, and the deviation conditions meet the design requirements, and the method is specifically as follows:
| item
|
Glass surface type
|
Inclination of motion
|
Deviation in Y direction
|
Deviation in X direction
|
| XX-01
|
Barrel
|
11.3°
|
0.029mm
|
0.02mm
|
| XX-02
|
Barrel
|
14.098°
|
0.019mm
|
0.088mm
|
| XX-03
|
Barrel
|
9.8°
|
0.013mm
|
0.028mm |
Therefore, the method provided by the application is adopted to design the guide line, is simple and efficient, has high precision of motion checking deviation, and is completely suitable for the guide line design of various hyperbolic glass surface glass lifting systems.
Therefore, compared with the prior art, the method for generating the guide line of the glass lifting system provided by the embodiment of the application does not need to repeatedly adjust the movement inclination angle of the window glass, the guide line of the glass lifting system can be generated through two mapping operations, namely point mapping and line mapping, and the generating method is high in generating efficiency and suitable for window glass surfaces of different styles.
Referring to fig. 9, a schematic composition diagram of a device for generating a guide line for a glass lifting system according to an embodiment of the present application is provided, where the device 900 includes:
the tangent point selecting unit 901 is used for selecting a tangent point at the lower right of the window glass based on a model corresponding to the large glass surface containing the window glass;
a mapping point selecting unit 902, configured to select two initial mapping points from the right vertical side of the window glass;
a point mapping unit 903, configured to map the two initial mapping points onto an auxiliary plane that passes through the tangent point and is tangent to the glass large surface, so as to obtain two target mapping points;
a straight line generation unit 904 for generating a straight line passing through the two object mapping points;
a straight line mapping unit 905, configured to map the straight line onto the large glass surface, so as to obtain a curve that passes through the two initial mapping points and spans the motion area of the window glass; the curve is the glazing system guide line.
In an embodiment of the present application, the tangent point selecting unit 901 includes:
the area acquisition subunit is used for dividing a square area containing the window glass movement area from a large glass surface based on a model corresponding to the large glass surface containing the window glass;
a tangent point selecting subunit, configured to use a lower right corner point of the square region as the tangent point;
accordingly, the point mapping unit 903 includes:
a point mapping subunit, configured to map the two initial mapping points onto an auxiliary plane that passes through the tangent point and is tangent to the four-sided region;
accordingly, the straight line mapping unit 905 includes:
and the straight line mapping subunit is used for mapping the straight line to the four-side area.
In an embodiment of the present application, the point mapping subunit specifically includes:
and taking the initial mapping points and the four-side area as input data, and operating an unfolding develop command of cata software to map the two initial mapping points onto an auxiliary plane which passes through the tangent point and is tangent to the four-side area.
In an embodiment of the present application, the straight line mapping subunit specifically includes:
and operating an unfolding develop command of cata software by taking the straight line, the auxiliary plane and the four-side area as input data to map the straight line to the four-side area.
In one embodiment of the present application, the two initial mapping points are:
the upper end point and the lower end point of the right vertical edge of the vehicle window glass;
or, a point on the right vertical side near the upper end point and a point near the lower end point.
The generating device comprises a processor and a memory, the tangent point selecting unit 901, the mapping point selecting unit 902, the point mapping unit 903, the straight line generating unit 904 and the straight line mapping unit 905 are all stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be provided with one or more than one kernel, and the generation efficiency of the guide line is improved by adjusting the kernel parameters.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
Compared with the prior art, the device for generating the guide line of the glass lifting system does not need to repeatedly adjust the movement inclination angle of the window glass, can generate the guide line of the glass lifting system through two mapping operations, namely point mapping and line mapping, and is high in generating efficiency and suitable for window glass surfaces of different styles.
The present application further provides a computer program product adapted to perform program code for initializing the following method steps when executed on a data processing device:
selecting a tangent point at the lower right of the vehicle window glass based on a model corresponding to the large glass surface containing the vehicle window glass;
selecting two initial mapping points from the right vertical side of the car window glass;
mapping the two initial mapping points to an auxiliary plane which passes through the tangent point and is tangent to the large glass surface to obtain two target mapping points;
generating a straight line passing through the two target mapping points;
mapping the straight line to the large glass surface to obtain a curve which passes through the two initial mapping points and spans the motion area of the window glass; the curve is the glazing system guide line.
As can be seen from the above description of the embodiments, those skilled in the art can clearly understand that all or part of the steps in the above embodiment methods can be implemented by software plus a necessary general hardware platform. Based on such understanding, the technical solution of the present application may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network communication device such as a media gateway, etc.) to execute the method according to the embodiments or some parts of the embodiments of the present application.
It should be noted that, for the apparatuses disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple, and for the relevant points, refer to the description of the method.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.