Passenger car steering performance graphic calculation method and device, electronic equipment and medium
By building bus frame graphics and building constraint rule graphics, the problem of lack of real-time graphic display of bus turn performance calculation in the existing technology is solved, and the rapid visual adjustment results are achieved, and work efficiency is improved.
Patent Information
- Application Number
- CN202411776984.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-04
- Publication Date
- 2025-03-28
AI Technical Summary
The lack of real-time graphic display in the calculation of bus turn performance in the prior art makes the results difficult to quickly understand and evaluate.
By obtaining the adjustable driving parameters and locked state driving parameters of the passenger bus target model, a passenger bus frame graphic is built, and a constraint rule graphic is built, the attributes and digital colors of the parameters are set, the driving parameters can be adjusted according to the preset performance, and the constraint rule graphic is updated to obtain visual result data.
The rapid visual adjustment results are achieved, greatly improving work efficiency, making the evaluation of bus steering performance more intuitive and efficient.
Smart Images

Figure CN119720380A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of passenger car steering performance calculation, and in particular to a passenger car steering performance graphic calculation method, device, electronic equipment and medium. Background Art
[0002] When calculating regulatory compliance data such as bus turning diameter and channel circle, current technology mainly relies on formula calculations or formula-based EXCEL models. Although these methods can produce the required results, they have a significant limitation, namely the lack of real-time graphical display, making it difficult to quickly understand and evaluate the results of bus performance. Summary of the invention
[0003] In order to solve the above technical problems, the embodiments of the present application provide a method, device, electronic device and medium for calculating the steering performance graph of a passenger car.
[0004] In a first aspect, an embodiment of the present application provides a method for calculating a steering performance graph of a bus, the method comprising:
[0005] Obtaining adjustable driving parameters and locked state driving parameters of a target bus model, and building a bus framework graphic according to the adjustable driving parameters and the locked state driving parameters;
[0006] Constructing a constraint rule graph according to the bus frame graph;
[0007] respectively setting the attributes and digital colors corresponding to the adjustable driving parameters and the locked state driving parameters;
[0008] Selecting a target adjustable driving parameter according to the preset turning performance of the target bus model, determining a position of the target adjustable driving parameter according to the attribute and digital color of the target adjustable driving parameter, and adjusting the target adjustable driving parameter according to the value of the target adjustable driving parameter;
[0009] The constraint rule graph is updated according to the adjusted target adjustable driving parameters to obtain a new constraint rule graph and visualization result data.
[0010] In one embodiment, the step of constructing a constraint rule graph based on the bus frame graph includes:
[0011] Setting a turning center on the periphery of the coach frame graphic;
[0012] The inner wheel turning angle line, the outer wheel turning angle line and the turning center of the bus are constrained to obtain a first constraint rule graph.
[0013] In one embodiment, the step of constructing a constraint rule graph based on the bus frame graph includes:
[0014] Determine the intersection of the rear axle of the target bus model and the inner side of the bus, determine the radius of the inner channel circle according to the distance between the intersection and the turning center, and obtain the inner channel circle according to the turning center and the radius of the inner channel circle;
[0015] Determine the farthest point on the outer side of the front wall of the target bus model, determine the radius of the outer channel circle according to the distance between the farthest point on the outer side of the front wall and the turning center, and obtain the outer channel circle according to the turning center and the radius of the outer channel circle;
[0016] Constraining the inner channel circle and the intersection point to obtain a second constraint rule graph;
[0017] The outer channel circle is constrained to the farthest point on the outer side of the front wall of the bus to obtain a third constraint rule graph.
[0018] In one embodiment, the respectively setting of the attributes and digital colors corresponding to the adjustable driving parameter and the locked state driving parameter includes:
[0019] Setting the attribute of the adjustable driving parameter to a variable attribute and the digital color to a first color;
[0020] The attribute of the lock state driving parameter is set to a quantitative attribute and the digital color is set to a second color.
[0021] In one embodiment, adjusting the target adjustable driving parameter according to the value of the target adjustable driving parameter includes:
[0022] Calculating the adjustment interval and adjustment range of the target adjustable driving parameter, and setting a plurality of adjustment values of the driving parameter to be adjusted according to the target adjustable driving parameter;
[0023] Input a plurality of the adjustment values into the position of the target adjustable driving parameter in batches.
[0024] In one embodiment, the updating of the constraint rule graph according to the adjusted target adjustable driving parameters to obtain a new constraint rule graph and visualization result data includes:
[0025] According to the adjustment value, the position, length and angle of the lines of the constraint rule graph are driven to adjust to obtain a new constraint rule graph;
[0026] Result data are calculated according to the adjustment value and the locking state driving parameter, and the result data are visualized to obtain visualized result data.
[0027] In one embodiment, after obtaining the new constraint rule graph and the visualization result data, the method further includes:
[0028] Determining whether the visualization result data satisfies the expected result, and if so, determining that the adjustment of the target adjustable driving parameter is completed;
[0029] If not, the constraint rule graph is reset or the adjustable driving parameter is reselected and adjusted until the visualization result data meets the expected result.
[0030] In a second aspect, an embodiment of the present application provides a bus steering performance graphic calculation device, the bus steering performance graphic calculation device comprising:
[0031] A building module, used for obtaining adjustable driving parameters and locked state driving parameters of a target bus model, and building a bus framework graphic according to the adjustable driving parameters and the locked state driving parameters;
[0032] A construction module, used for constructing a constraint rule graph according to the bus frame graph;
[0033] A setting module, used to respectively set the attributes and digital colors corresponding to the adjustable driving parameters and the locked state driving parameters;
[0034] an adjustment module, for selecting a target adjustable driving parameter according to a preset turning performance of a target bus model, determining a position of the target adjustable driving parameter according to an attribute and a digital color of the target adjustable driving parameter, and adjusting the target adjustable driving parameter according to a numerical value of the target adjustable driving parameter;
[0035] The updating module is used to update the constraint rule graph according to the adjusted target adjustable driving parameters to obtain a new constraint rule graph and visualization result data.
[0036] In a third aspect, an embodiment of the present application provides an electronic device including a memory and a processor, wherein the memory is used to store a computer program, and when the computer program is run by the processor, the method for calculating the bus steering performance graphics provided in the first aspect is executed.
[0037] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium storing a computer program, which, when running on a processor, executes the bus steering performance graphics calculation method provided in the first aspect.
[0038] The above-mentioned bus steering performance graphics calculation method provided by the present application obtains the adjustable driving parameters and the locked state driving parameters of the target bus model, builds the bus framework graphics according to the adjustable driving parameters and the locked state driving parameters; constructs the constraint rule graphics according to the bus framework graphics; respectively sets the attributes and digital colors corresponding to the adjustable driving parameters and the locked state driving parameters; selects the target adjustable driving parameters according to the preset turning performance of the target bus model, determines the position of the target adjustable driving parameters according to the attributes and digital colors of the target adjustable driving parameters, and adjusts the target adjustable driving parameters according to the numerical values of the target adjustable driving parameters; updates the constraint rule graphics according to the adjusted target adjustable driving parameters, and obtains new constraint rule graphics and visualization result data. By constructing the constraint rule graphics based on the bus framework graphics, adjusting the adjustable driving parameters to update the constraint rule graphics, and obtaining a new constraint rule graphics and visualization result data, the adjustment results can be quickly visualized, which greatly improves work efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the technical solution of the present application, the following is a brief introduction to the drawings required for use in the embodiments. It should be understood that the following drawings only illustrate certain embodiments of the present application and should not be regarded as limiting the scope of protection of the present application. In each of the drawings, similar components are numbered similarly.
[0040] Figure 1 A schematic diagram of a process flow of a method for calculating a steering performance graph of a passenger car provided in an embodiment of the present application is shown;
[0041] Figure 2 A schematic diagram of a bus frame diagram and a constraint rule diagram provided in an embodiment of the present application is shown;
[0042] Figure 3 Another schematic diagram of the process of calculating the steering performance graph of a passenger car provided by an embodiment of the present application is shown;
[0043] Figure 4 A schematic diagram of visualization result data provided by an embodiment of the present application is shown;
[0044] Figure 5 Another schematic diagram of a process flow of a bus steering performance graphical calculation method provided by an embodiment of the present application is shown;
[0045] Figure 6 A schematic diagram of the structure of a bus steering performance graphics calculation device provided in an embodiment of the present application is shown.
[0046] Icons: 600 - bus steering performance graphic calculation device, 601 - building module, 602 - construction module, 603 - setting module, 604 - adjustment module, 605 - update module. DETAILED DESCRIPTION
[0047] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments.
[0048] The components of the embodiments of the present application generally described and shown in the drawings herein may be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0049] Hereinafter, the terms "including", "having" and their cognates, which may be used in various embodiments of the present application, are intended only to indicate specific features, numbers, steps, operations, elements, components, or combinations of the foregoing items, and should not be understood as first excluding the existence of one or more other features, numbers, steps, operations, elements, components, or combinations of the foregoing items or adding the possibility of one or more features, numbers, steps, operations, elements, components, or combinations of the foregoing items.
[0050] Furthermore, the terms “first”, “second”, “third”, etc. are merely used for distinguishing descriptions and are not to be understood as indicating or implying relative importance.
[0051] Unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meanings as those generally understood by those skilled in the art to which the various embodiments of the present application belong. The terms (such as those defined in generally used dictionaries) will be interpreted as having the same meanings as the contextual meanings in the relevant technical field and will not be interpreted as having idealized meanings or overly formal meanings unless clearly defined in the various embodiments of the present application.
[0052] Example 1
[0053] An embodiment of the present application provides a method for calculating a graphics of a passenger car's steering performance.
[0054] See also Figure 1 The bus steering performance graph calculation method includes steps S101-105:
[0055] S101: Obtaining adjustable driving parameters and locked state driving parameters of a target bus model, and building a bus framework graphic according to the adjustable driving parameters and the locked state driving parameters.
[0056] In this embodiment, buses, as a widely used means of transportation, can be subdivided into multiple types according to their purpose, size, passenger capacity, design features, etc. A target bus model whose turning performance needs to be calculated is selected, and the adjustable driving parameters and locked state driving parameters of the bus model are obtained.
[0057] For example, adjustable drive parameters refer to parameters that can be flexibly adjusted according to needs during the design and simulation process. In the bus model, the adjustable drive parameters mainly include the turning angle of the outer wheel and the length of the bus. The locked state drive parameters are constant parameters determined according to the actual designed vehicle model, including the wheelbase, front and rear overhangs, kingpin center distance and vehicle width of the bus. The locked state drive parameters have been determined in the vehicle model design stage and usually do not change during the simulation and optimization process.
[0058] Optionally, after obtaining the above parameters, the two-dimensional sketch module in the CREO three-dimensional software is used to build the bus frame graphics. This module is endowed with functions such as line constraints, dimension drive, and graphic attribute settings, and can accurately construct the relevant dimensions and shapes of the bus steering system. In the sketch, the length outline, width outline, front overhang, wheelbase, kingpin center distance and other related points and lines of the bus are drawn and associated in the form of lines to build the bus frame graphics of the bus steering system. By adjusting the adjustable drive parameters, the CREO software simulates the bus model under the locked state drive parameters, and simulates the steering performance under different turning radii and bus lengths through the built bus frame graphics and the set constraint rule graphics, and evaluates whether the bus's maneuverability meets the design requirements.
[0059] S102: Constructing a constraint rule graph according to the bus framework graph.
[0060] In this embodiment, by setting the constraint rule graphics in the bus frame graphics, it can be ensured that the various elements in the bus frame graphics (such as the inner wheel turning angle line, outer wheel turning angle line, turning center, side wall and channel of the bus) maintain the correct relative position and relationship during the simulation process.
[0061] In one embodiment, S102 includes: setting a turning center outside the bus frame figure; constraining the inner wheel turning angle line, the outer wheel turning angle line and the turning center of the bus to obtain a first constraint rule figure.
[0062] In this embodiment, the inner wheel turning angle line of the bus is the path passed by the wheel close to the inside of the turn (usually the inner front wheel) during the turning process; the outer wheel turning angle line of the bus is the path passed by the wheel away from the inside of the turn (usually the outer front wheel) during the turning process. Since the turning radius of the outer wheel is larger when the bus turns, the outer wheel turning angle line will be farther away from the center of the turn than the inner wheel turning angle line.
[0063] For example, when the bus is turning, the axes of all wheels will intersect at one point (i.e., the turning center) to ensure that the bus can turn smoothly and stably. Therefore, it is necessary to set the first constraint rule graph, i.e., the inner wheel turning angle line and the outer wheel turning angle line always pass through the turning center of the bus regardless of how the position and angle are adjusted. Figure 2 ,By setting constraint rule graphics in the bus frame graphics, the inner wheel turning angle line, the outer wheel turning angle line and the turning center of the bus are constrained, ensuring the accuracy and reliability of the bus turning performance during the simulation, thus reflecting the real turning performance of the bus under different conditions.
[0064] See also Figure 3 In one embodiment, the S102 further includes steps S1021-S1024:
[0065] S1021: Determine the intersection of the rear axle of the target bus model and the inner side of the bus, determine the radius of the inner channel circle according to the distance between the intersection and the turning center, and obtain the inner channel circle according to the turning center and the inner channel circle radius.
[0066] In this embodiment, continue to see Figure 2 , is a constraint rule graphic display diagram. The rear axle of the bus is an important component connecting the rear wheel and the body. It is located at the rear of the bus and connected to the bottom of the body. The inner side of the bus is the part of the body close to the inner side of the turn. In the bus outline in the bus frame graphic, confirm the intersection of the position of the rear axle of the bus and the inner side of the bus. This intersection is the point where the inner wheel turning angle line is closest to the turning center during the turning process. The distance between the intersection and the turning center is the radius of the inner channel circle. The inner channel circle is drawn according to the turning center and the radius of the inner channel circle. The inner channel circle intuitively shows the minimum space range required by the bus during the turning process.
[0067] S1022: Determine the farthest point on the outer side of the front enclosure of the target bus model, determine the radius of the outer channel circle according to the distance between the farthest point on the outer side of the front enclosure and the turning center, and obtain the outer channel circle according to the turning center and the radius of the outer channel circle.
[0068] In this embodiment, the farthest point on the outside of the bus front wall (front part of the bus body) is found in the body contour. The farthest point will be used to determine the radius of the outer channel circle, which is the point of the outer wheel turning angle line farthest from the turning center during the turning process. The radius of the outer channel circle is determined according to the turning center and the farthest point on the outside of the front wall, and the outer channel circle is drawn according to the turning center and the radius of the outer channel circle. The outer channel circle intuitively shows the maximum space range required by the bus during the turning process, which helps designers evaluate the turning performance of the bus.
[0069] S1023: constraining the inner channel circle and the intersection point to obtain a second constraint rule graph.
[0070] In this embodiment, in order to ensure that the inner channel circle and the intersection maintain the correct relative position during the simulation, a second constraint rule graphic is set in the bus frame graphic to constrain the inner channel circle and the intersection. The second constraint rule graphic ensures that the inner channel circle always passes through the intersection during the simulation, thereby reflecting the actual relationship between the rear axle and the inner side wall when the bus turns.
[0071] S1024: Constrain the outer channel circle and the farthest point on the outer side of the front wall of the bus to obtain a third constraint rule graph.
[0072] In this embodiment, in order to ensure that the outer channel circle and the farthest point on the outside of the front enclosure maintain a correct relative position during the simulation, a third constraint rule graphic is set in the bus frame graphic to constrain the outer channel circle and the farthest point on the outside of the front enclosure. The third constraint rule graphic ensures that the outer channel circle always passes through the farthest point on the outside of the front enclosure during the simulation, reflecting the actual position of the outside of the front enclosure when the bus turns.
[0073] S103: respectively setting the attributes and digital colors corresponding to the adjustable driving parameter and the locked state driving parameter.
[0074] In this embodiment, it is first necessary to set the properties of the parameters and the digital colors of the parameters in the CREO modeling software, wherein the adjustable driving parameters can be changed according to user needs, such as the turning angle of the outer wheel, the length of the bus, etc., and the change of the adjustable driving parameters will directly affect the shape and size of the graphics; the locked state driving parameters are data determined according to the actual vehicle model design, and are usually not allowed to be changed, such as the wheelbase, front and rear overhangs, kingpin center distance, vehicle width, etc. of the bus; the parameters (i.e., result data) generated by the change of the driving graphics driven by the adjustable driving parameters are automatically calculated according to the changes in the adjustable driving parameters and the locked state driving parameters, and are used to evaluate the rationality of the bus design.
[0075] In one embodiment, S103 includes: setting the attribute of the adjustable driving parameter to a variable attribute and the digital color to a first color; setting the attribute of the locked state driving parameter to a quantitative attribute and the digital color to a second color.
[0076] In this embodiment, continue to see Figure 2 , the properties of adjustable driving parameters are set as variable properties, indicating that the values of these parameters can be changed, and the digital color is set to the first color such as white to distinguish and highlight these parameters. The properties of locked state driving parameters are set as quantitative properties, indicating that the values of these parameters are fixed, and the digital color is set to the second color such as brown to indicate that these parameters cannot be changed. The parameters (i.e., result data) generated by the change of the driving graph driven by the adjustable driving parameters are displayed in white brackets.
[0077] S104: Selecting a target adjustable driving parameter according to the preset turning performance of the target bus model, determining a position of the target adjustable driving parameter according to the attribute and digital color of the target adjustable driving parameter, and adjusting the target adjustable driving parameter according to the numerical value of the target adjustable driving parameter.
[0078] In this embodiment, the preset turning performance includes evaluation indicators such as the minimum turning radius and turning stability, wherein the minimum turning radius refers to the radius of the circle that the center point of the bus passes through when the bus can turn with the minimum path. A smaller turning radius means that the bus can complete the turn in a narrower space; turning stability refers to the ability of the bus to maintain a stable driving without side slipping or excessive tilting during the turning process. The target adjustable driving parameter is selected according to the preset turning performance that needs to be achieved. If the turning radius and turning stability of the bus need to be adjusted, the outer wheel angle of the adjustable driving parameter is selected as the target adjustable driving parameter. And according to the digital color and attribute of the selected adjustable driving parameter in the bus frame graphic, the position of the target adjustable driving parameter is determined, and the target adjustable driving parameter is adjusted according to the numerical value of the target adjustable driving parameter.
[0079] In one embodiment, S104 includes: calculating the adjustment interval and adjustment amplitude of the target adjustable driving parameter, and setting multiple adjustment values of the driving parameter to be adjusted according to the target adjustable driving parameter; and inputting the multiple adjustment values into the position of the target adjustable driving parameter in batches.
[0080] In this embodiment, if the target adjustable driving parameter is the outer wheel angle, the adjustment range of the outer wheel angle and the amplitude of each adjustment are determined according to the current outer wheel angle setting of the bus, the preset turning performance requirements, and the historical adjustment experience. And the bus dynamics model is determined. According to the calculated adjustment range and amplitude, a series of adjustment values that need to be tested are set, and these adjustment values are input in batches into the positions corresponding to the target adjustable driving parameter, and the outer wheel angle is gradually tested and adjusted to achieve the required turning performance.
[0081] S105: updating the constraint rule graph according to the adjusted target adjustable driving parameters to obtain a new constraint rule graph and visualization result data.
[0082] In this embodiment, the lines of the driving constraint rule graphs (such as the first constraint rule graph, the second constraint rule graph, and the third constraint rule graph) are adjusted according to the adjusted target adjustable driving parameters (such as the outer wheel turning angle and the length of the bus) to generate the adjusted constraint rule graphs and related visualization result data. Figure 2 , which is the data display chart before adjustment, see Figure 4 , which is a graph showing the result data calculated based on the adjusted values.
[0083] See also Figure 5 In one embodiment, the S105 includes S1051-S1052:
[0084] S1051: driving the position, length and angle of the lines of the constraint rule graph to be adjusted according to the adjustment value to obtain a new constraint rule graph.
[0085] In this embodiment, the multiple adjustment values obtained in step S104 are input into the positions of the target adjustable driving parameters in batches, the positions, lengths, angles and other attributes of the corresponding lines in the constraint rule graph are adjusted, and it is verified whether the adjusted constraint rule graph conforms to the preset constraint rules. An updated new constraint rule graph is obtained, which intuitively shows the influence of the adjusted driving parameters on the geometric relationship between the bus parameters.
[0086] S1052: Calculate result data according to the adjustment value and the locking state driving parameter, and visualize the result data to obtain visualized result data.
[0087] In this embodiment, based on the adjustment values and the locked state driving parameters, the calculation module of the CREO modeling software is combined with the bus dynamics model or other relevant algorithms to calculate the changed result data, which includes the distance between the inner channel circle and the outer channel circle, the force condition of the steering mechanism, the power requirement of the steering motor, and the stiffness and damping characteristics of the suspension.
[0088] Optionally, after the calculation results are visualized in digital form to obtain the visualized result data, they are embedded in the graphics of the bus frame graphics and the constraint rule graphics, and brackets and colors are set to display them in the bus frame graphics, so as to intuitively show the adjusted effect.
[0089] In one embodiment, after obtaining the new constraint rule graph and visualization result data, the method further includes: determining whether the visualization result data meets the expected result, and if so, determining that the adjustment of the target adjustable driving parameter is completed; if not, resetting the constraint rule graph or reselecting the adjustable driving parameter and adjusting it until the visualization result data meets the expected result.
[0090] In this embodiment, after obtaining the visualization result data, the visualization result data is compared with the preset expected result, and the expected result is determined based on the design goal, performance requirements, safety standards and other factors of the bus turning. If the visualization graph and the visualization result data meet the expected result, the process of determining the adjustable drive parameter of the adjustment target is completed. If the expected result is not met, it is necessary to reset the constraint rule graph or reselect the adjustable drive parameter. Repeat the above steps, and when the visualization result data finally meets the expected result, it is confirmed that the adjustment is completed, and the final parameter setting and result data may be used in the subsequent bus design, manufacturing or testing stage.
[0091] For example, the design team presets the expected turning performance results, such as the minimum turning radius not exceeding 12 meters and the lateral acceleration during turning must be kept within a certain range to ensure passenger comfort and the sideslip angle must be below the safety threshold. By adjusting the outer wheel angle, the calculated visualization data is compared with the preset expected results for a comprehensive evaluation.
[0092] The bus steering performance graphics calculation method provided in this embodiment obtains the adjustable driving parameters and the locked state driving parameters of the bus target model, builds the bus frame graphics according to the adjustable driving parameters and the locked state driving parameters; builds the constraint rule graphics according to the bus frame graphics; respectively sets the attributes and digital colors corresponding to the adjustable driving parameters and the locked state driving parameters; selects the target adjustable driving parameters according to the preset turning performance of the bus target model, determines the position of the target adjustable driving parameters according to the attributes and digital colors of the target adjustable driving parameters, and adjusts the target adjustable driving parameters according to the numerical values of the target adjustable driving parameters; updates the constraint rule graphics according to the adjusted target adjustable driving parameters, and obtains new constraint rule graphics and visualization result data. By constructing the constraint rule graphics based on the bus frame graphics, adjusting the adjustable driving parameters to update the constraint rule graphics, and obtaining a new constraint rule graphics and visualization result data, the adjustment results can be quickly visualized, which greatly improves work efficiency.
[0093] Example 2
[0094] In addition, an embodiment of the present application provides a bus steering performance graphics calculation device, which is applied to electronic equipment.
[0095] like Figure 6 As shown, the bus steering performance graphics calculation device 600 includes:
[0096] A building module 601 is used to obtain adjustable driving parameters and locked state driving parameters of a target bus model, and build a bus framework graphic according to the adjustable driving parameters and the locked state driving parameters;
[0097] A construction module 602 is used to construct a constraint rule graph according to the bus frame graph;
[0098] A setting module 603, used to respectively set the attributes and digital colors corresponding to the adjustable driving parameters and the locked state driving parameters;
[0099] An adjustment module 604 is used to select a target adjustable driving parameter according to the preset turning performance of the target bus model, determine the position of the target adjustable driving parameter according to the attribute and digital color of the target adjustable driving parameter, and adjust the target adjustable driving parameter according to the value of the target adjustable driving parameter;
[0100] The updating module 605 is used to update the constraint rule graph according to the adjusted target adjustable driving parameters to obtain a new constraint rule graph and visualization result data.
[0101] Optionally, the construction module 602 is further used to set a turning center outside the bus frame graphic; constrain the inner wheel turning angle line, outer wheel turning angle line and the turning center of the bus to obtain a first constraint rule graphic.
[0102] Optionally, the construction module 602 shown is also used to determine the intersection of the rear axle of the target bus model and the inner side wall of the bus, determine the radius of the inner channel circle according to the distance between the intersection and the turning center, and obtain the inner channel circle according to the turning center and the radius of the inner channel circle; determine the farthest point on the outer side of the front wall of the target bus model, determine the radius of the outer channel circle according to the distance between the farthest point on the outer side of the front wall and the turning center, and obtain the outer channel circle according to the turning center and the radius of the outer channel circle; constrain the inner channel circle and the intersection to obtain a second constraint rule graph; constrain the outer channel circle and the farthest point on the outer side of the front wall of the bus to obtain a third constraint rule graph.
[0103] Optionally, the setting module 603 is further used to set the attribute of the adjustable driving parameter to a variable attribute and the digital color to a first color; and set the attribute of the locked state driving parameter to a quantitative attribute and the digital color to a second color.
[0104] Optionally, the adjustment module 604 is also used to calculate the adjustment interval and adjustment amplitude of the target adjustable driving parameter, and set multiple adjustment values of the driving parameter to be adjusted according to the target adjustable driving parameter; and input the multiple adjustment values into the position of the target adjustable driving parameter in batches.
[0105] Optionally, the update module 605 shown is also used to adjust the position, length and angle of the lines of the constraint rule graphic according to the adjustment value to obtain a new constraint rule graphic; calculate the result data according to the adjustment value and the locking state driving parameters, and visualize the result data to obtain visualized result data.
[0106] Optionally, the update module 605 shown is also used to determine whether the visualization result data meets the expected result. If so, it is determined that the adjustment of the target adjustable driving parameter is completed; if not, the constraint rule graph is reset or the adjustable driving parameter is reselected and adjusted until the visualization result data meets the expected result.
[0107] The bus steering performance graph calculation device 600 provided in this embodiment can implement the bus steering performance graph calculation method provided in Example 1, and will not be described again here to avoid repetition.
[0108] The bus steering performance graphics calculation device provided in this embodiment obtains the adjustable driving parameters and the locked state driving parameters of the target bus model, builds the bus frame graphics according to the adjustable driving parameters and the locked state driving parameters; builds the constraint rule graphics according to the bus frame graphics; respectively sets the attributes and digital colors corresponding to the adjustable driving parameters and the locked state driving parameters; selects the target adjustable driving parameters according to the preset turning performance of the target bus model, determines the position of the target adjustable driving parameters according to the attributes and digital colors of the target adjustable driving parameters, and adjusts the target adjustable driving parameters according to the numerical values of the target adjustable driving parameters; updates the constraint rule graphics according to the adjusted target adjustable driving parameters, and obtains new constraint rule graphics and visualization result data. By constructing the constraint rule graphics based on the bus frame graphics, adjusting the adjustable driving parameters to update the constraint rule graphics, and obtaining a new constraint rule graphics and visualization result data, the adjustment results can be quickly visualized, which greatly improves work efficiency.
[0109] Example 3
[0110] In addition, an embodiment of the present application provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program runs on the processor, the bus steering performance graphics calculation method provided in Example 1 is executed.
[0111] The electronic device provided in the embodiment of the present invention can execute the steps of the bus steering performance graphics calculation method provided in the above method embodiment 1, which will not be described again here to avoid repetition.
[0112] Example 4
[0113] The present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method for calculating the bus steering performance graphics provided in Example 1 is implemented.
[0114] In this embodiment, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0115] The computer-readable storage medium provided in this embodiment can implement the bus steering performance graphical calculation method provided in Example 1, and will not be described again here to avoid repetition.
[0116] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or terminal including the element.
[0117] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0118] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A method for calculating the steering performance graph of a passenger car, characterized in that: The method comprises: Obtaining adjustable driving parameters and locked state driving parameters of a target bus model, and building a bus framework graphic according to the adjustable driving parameters and the locked state driving parameters; Constructing a constraint rule graph according to the bus frame graph; respectively setting the attributes and digital colors corresponding to the adjustable driving parameters and the locked state driving parameters; Selecting a target adjustable driving parameter according to the preset turning performance of the target bus model, determining a position of the target adjustable driving parameter according to the attribute and digital color of the target adjustable driving parameter, and adjusting the target adjustable driving parameter according to the value of the target adjustable driving parameter; The constraint rule graph is updated according to the adjusted target adjustable driving parameters to obtain a new constraint rule graph and visualization result data.
2. The method according to claim 1, characterized in that The step of constructing a constraint rule graph according to the bus frame graph comprises: Setting a turning center on the periphery of the coach frame graphic; The inner wheel turning angle line, the outer wheel turning angle line and the turning center of the bus are constrained to obtain a first constraint rule graph.
3. The method according to claim 1, characterized in that The step of constructing a constraint rule graph according to the bus frame graph comprises: Determine the intersection of the rear axle of the target bus model and the inner side of the bus, determine the radius of the inner channel circle according to the distance between the intersection and the turning center, and obtain the inner channel circle according to the turning center and the radius of the inner channel circle; Determine the farthest point on the outer side of the front wall of the target bus model, determine the radius of the outer channel circle according to the distance between the farthest point on the outer side of the front wall and the turning center, and obtain the outer channel circle according to the turning center and the radius of the outer channel circle; Constraining the inner channel circle and the intersection point to obtain a second constraint rule graph; The outer channel circle is constrained to the farthest point on the outer side of the front wall of the bus to obtain a third constraint rule graph.
4. The method according to claim 1, characterized in that The respectively setting of the attributes and digital colors corresponding to the adjustable driving parameters and the locked state driving parameters includes: Setting the attribute of the adjustable driving parameter to a variable attribute and the digital color to a first color; The attribute of the lock state driving parameter is set to a quantitative attribute and the digital color is set to a second color.
5. The method according to claim 1, characterized in that The step of adjusting the target adjustable driving parameter according to the value of the target adjustable driving parameter comprises: Calculating the adjustment interval and adjustment range of the target adjustable driving parameter, and setting a plurality of adjustment values of the driving parameter to be adjusted according to the target adjustable driving parameter; Input a plurality of the adjustment values into the position of the target adjustable driving parameter in batches.
6. The method according to claim 5, characterized in that The step of updating the constraint rule graph according to the adjusted target adjustable driving parameters to obtain a new constraint rule graph and visualization result data includes: According to the adjustment value, the position, length and angle of the lines of the constraint rule graph are driven to adjust to obtain a new constraint rule graph; Result data are calculated according to the adjustment value and the locking state driving parameter, and the result data are visualized to obtain visualized result data.
7. The method according to claim 1, characterized in that After obtaining the new constraint rule graph and visualization result data, the method further includes: Determining whether the visualization result data satisfies the expected result, and if so, determining that the adjustment of the target adjustable driving parameter is completed; If not, the constraint rule graph is reset or the adjustable driving parameter is reselected and adjusted until the visualization result data meets the expected result.
8. A bus steering performance graphics calculation device, characterized in that: The device comprises: A building module, used for obtaining adjustable driving parameters and locked state driving parameters of a target bus model, and building a bus framework graphic according to the adjustable driving parameters and the locked state driving parameters; A construction module, used for constructing a constraint rule graph according to the bus frame graph; A setting module, used to respectively set the attributes and digital colors corresponding to the adjustable driving parameters and the locked state driving parameters; an adjustment module, for selecting a target adjustable driving parameter according to a preset turning performance of a target bus model, determining a position of the target adjustable driving parameter according to an attribute and a digital color of the target adjustable driving parameter, and adjusting the target adjustable driving parameter according to a numerical value of the target adjustable driving parameter; The updating module is used to update the constraint rule graph according to the adjusted target adjustable driving parameters to obtain a new constraint rule graph and visualization result data.
9. An electronic device, characterized in that: The invention comprises a memory and a processor, wherein the memory stores a computer program, and the computer program executes the passenger car steering performance graph calculation method according to any one of claims 1 to 7 when the processor is running.
10. A computer-readable storage medium, characterized in that: The computer program is stored therein, and when the computer program is run on a processor, the method for calculating the steering performance graph of a passenger car according to any one of claims 1 to 7 is executed.