Disclosure of Invention
The embodiment of the application aims to provide a snow removing method and device for a vehicle, the vehicle and electronic equipment, which can realize automatic snow removing of the vehicle, improve the snow removing speed, avoid adding an additional snow removing device, have short snow removing time and high snow removing efficiency and can reduce the cost.
In a first aspect, an embodiment of the present application provides a snow removing method for a vehicle, the method including:
Acquiring transmission parameters of the vehicle;
Constructing a transfer function according to the transmission parameters;
performing spectral response analysis on the transfer function to obtain change data of torque frequency;
Obtaining snow removing power required by snow removing according to the torque frequency change data;
And removing snow from the vehicle according to the snow removing power.
In the implementation process, the transfer function is constructed and the spectral response analysis is carried out on the transfer function, so that the change data of torque frequency can be obtained, the snow removing power required by snow removing can be accurately obtained according to the change data, the automatic snow removing of the vehicle is realized, the snow removing speed is improved, an additional snow removing device is not required to be added, the snow removing time is short, the snow removing efficiency is high, and the cost can be reduced.
Further, the step of constructing a transfer function according to the transmission parameters includes:
Constructing a transmission model according to the transmission parameters;
and constructing the transfer function according to the transmission model.
In the implementation process, the transmission model and the transfer function are constructed according to the transmission parameters, so that errors in the calculation process can be reduced, and the transmission parameters can be accurately calculated.
Further, a transmission model is constructed from the transmission parameters by:
Wherein J m is the motor moment of inertia in the transmission parameter, T m is the motor torque, θ m is the motor rotation angle in the transmission parameter, T d1 is the half-shaft driving moment in the transmission parameter, K 1 is the equivalent torsional rigidity in the transmission parameter, C 1 is the equivalent damping in the transmission parameter, and J w is the tire moment of inertia in the transmission parameter.
In the implementation process, the transmission model can be accurately constructed according to the transmission parameters, and the relation between the transmission parameters and the motor torque is completely expressed, so that the calculation time is shortened.
Further, the transfer function is constructed from the transmission model by the following formula:
Wherein G(s) is the transfer function, T m(s) is the input of the transfer function (the motor torque is taken as the input of the transfer function), θ m(s) is the output of the transfer function (the motor rotation angle is taken as the output of the transfer function), J m is the motor moment of inertia in the transmission parameter, K 1 is the equivalent torsional stiffness in the transmission parameter, and C 1 is the equivalent damping in the transmission parameter.
In the implementation process, the transfer function is constructed according to the transmission model, so that the transfer function can accurately express the relation among a plurality of transmission parameters, the accuracy is improved, and the error is reduced.
Further, the step of obtaining snow removing power required for snow removing according to the change data of the torque frequency includes:
Acquiring a snow removing gear of the vehicle;
Obtaining the corresponding torque frequency of the snow removing gear according to the change data of the torque frequency;
and obtaining the snow removing power required by the snow removing according to the torque frequency corresponding to the snow removing gear.
In the implementation process, the torque frequency of the snow removing gear is obtained according to the change data of the torque frequency, so that the obtained snow removing power is more accurate, power loss or power shortage cannot be caused, the snow removing of the vehicle is facilitated, and the snow removing efficiency is improved.
Further, the step of obtaining the snow removing power required for the snow removing according to the torque frequency corresponding to the snow removing gear comprises the following steps:
Obtaining motor torque according to the torque frequency corresponding to the snow removing gear;
And obtaining the snow removing power required by the snow removing according to the motor torque.
In the implementation process, the snow removing power required by snow removing is obtained according to the motor torque, so that the time required by snow removing can be shortened, the snow removing operation of a vehicle can be controlled more conveniently according to the motor torque, and the snow removing process is perfected.
In a second aspect, an embodiment of the present application further provides a snow removing apparatus for a vehicle, the apparatus including:
the acquisition module is used for acquiring transmission parameters of the vehicle;
The construction module is used for constructing a transfer function according to the transmission parameters;
The analysis module is used for carrying out spectral response analysis on the transfer function to obtain change data of torque frequency;
The data acquisition module is used for acquiring snow removal power required by snow removal according to the change data of the torque frequency;
and the snow removing module is used for removing snow from the vehicle according to the snow removing power.
In the implementation process, the transfer function is constructed and the spectral response analysis is carried out on the transfer function, so that the change data of torque frequency can be obtained, the snow removing power required by snow removing can be accurately obtained according to the change data, the automatic snow removing of the vehicle is realized, the snow removing speed is improved, an additional snow removing device is not required to be added, the snow removing time is short, the snow removing efficiency is high, and the cost can be reduced.
Further, the construction module is further configured to:
Constructing a transmission model according to the transmission parameters;
and constructing the transfer function according to the transmission model.
In the implementation process, the transmission model and the transfer function are constructed according to the transmission parameters, so that errors in the calculation process can be reduced, and the transmission parameters can be accurately calculated.
In a third aspect, an embodiment of the present application provides a vehicle including the snow removing device of the vehicle of the second aspect.
In a fourth aspect, an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method according to any one of the first aspects when the computer program is executed.
In a fifth aspect, an embodiment of the present application provides a computer readable storage medium, where instructions are stored, when the instructions are executed on a computer, to cause the computer to perform the method according to any one of the first aspects.
In a sixth aspect, embodiments of the present application provide a computer program product, which when run on a computer causes the computer to perform the method according to any of the first aspects.
Additional features and advantages of the disclosure will be set forth in the description which follows, or in part will be obvious from the description, or may be learned by practice of the techniques of the disclosure.
And can be implemented in accordance with the teachings of the specification, the following detailed description of the preferred embodiments of the application, taken in conjunction with the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application.
It should be noted that like reference numerals and letters refer to like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only to distinguish the description, and are not to be construed as indicating or implying relative importance.
The following describes in further detail the embodiments of the present application with reference to the drawings and examples. The following examples are illustrative of the application and are not intended to limit the scope of the application.
Example 1
Fig. 1 is a schematic flow chart of a snow removing method for a vehicle according to an embodiment of the present application, as shown in fig. 1, the method includes:
s1, acquiring transmission parameters of a vehicle;
s2, constructing a transfer function according to the transmission parameters;
s3, carrying out spectral response analysis on the transmission function to obtain change data of torque frequency;
s4, obtaining snow removing power required by snow removing according to the change data of the torque frequency;
And S5, removing snow from the vehicle according to the snow removing power.
In the implementation process, the transfer function is constructed and the spectral response analysis is carried out on the transfer function, so that the change data of torque frequency can be obtained, the snow removing power required by snow removing can be accurately obtained according to the change data, the automatic snow removing of the vehicle is realized, the snow removing speed is improved, an additional snow removing device is not required to be added, the snow removing time is short, the snow removing efficiency is high, and the cost can be reduced.
Further, S2 includes:
constructing a transmission model according to the transmission parameters;
And constructing a transfer function according to the transmission model.
In the implementation process, the transmission model and the transfer function are constructed according to the transmission parameters, so that errors in the calculation process can be reduced, and the transmission parameters can be accurately calculated.
In the embodiment of the application, the automatic snow removing function of the vehicle is realized through the transmission system of the vehicle, and the automatic snow removing function is shown in fig. 2 and is a transmission system structure of the vehicle, and the automatic snow removing function comprises a motor, a speed reducer, a half shaft, wheels and the like.
The transmission parameters are acquired through a transmission system, and a transmission model can be constructed. Assuming that the wheel brake does not rotate, and assuming that the left and right half shafts are stressed identically, only given the motor torque, a transmission model can be constructed:
wherein J m is the motor moment of inertia in the transmission parameters, T m is the motor torque, θ m is the motor rotation angle in the transmission parameters, T d1 is the half-shaft driving moment in the transmission parameters, K 1 is the equivalent torsional rigidity in the transmission parameters, C 1 is the equivalent damping in the transmission parameters, and J w is the tire moment of inertia in the transmission parameters.
In the implementation process, the transmission model can be accurately constructed according to the transmission parameters, and the relation between the transmission parameters and the motor torque is completely expressed, so that the calculation time is shortened.
Further, the transfer function is constructed from the transmission model by the following formula:
Where G(s) is the transfer function, T m(s) is the input of the transfer function (the input of the motor torque as the transfer function), θ m(s) is the output of the transfer function (the output of the motor rotation angle as the transfer function), J m is the motor moment of inertia in the transmission parameters, K 1 is the equivalent torsional stiffness in the transmission parameters, and C 1 is the equivalent damping in the transmission parameters.
In the implementation process, the transfer function is constructed according to the transmission model, so that the transfer function can accurately express the relation among a plurality of transmission parameters, the accuracy is improved, and the error is reduced.
In S3, the spectral response analysis of the transfer function shows that when the torque frequency reaches a certain value, a resonance peak is generated, which is specifically shown as strong vehicle body shake, so that the change data of the torque frequency can be obtained as shown in fig. 3.
Further, S4 includes:
Acquiring a snow removing gear of a vehicle;
according to the change data of the torque frequency, the torque frequency corresponding to the snow removing gear is obtained;
And obtaining the snow removing power required by snow removing according to the torque frequency corresponding to the snow removing gear.
In the implementation process, the torque frequency of the snow removing gear is obtained according to the change data of the torque frequency, so that the obtained snow removing power is more accurate, power loss or power shortage cannot be caused, the snow removing of the vehicle is facilitated, and the snow removing efficiency is improved.
Further, the step of obtaining snow removing power required for snow removing according to the torque frequency corresponding to the snow removing gear comprises the steps of:
Obtaining motor torque according to torque frequency corresponding to the snow removing gear;
and obtaining the snow removing power required by snow removing according to the torque of the motor.
In the implementation process, the snow removing power required by snow removing is obtained according to the motor torque, so that the time required by snow removing can be shortened, the snow removing operation of a vehicle can be controlled more conveniently according to the motor torque, and the snow removing process is perfected.
When the vehicle needs to remove snow, the vehicle is in a stopped state, and the snow removing system is activated at the moment to enable the vehicle to be in a stopped state, so that front-back movement of the vehicle in the snow removing process is prevented.
Since the motor controller of the vehicle controls the driving motor output torque T m, where T m is composed of the bias torque T offset and the alternating torque T alternate, i.e., T m=Toffset+Talternate. The primary function of the biasing torque T offset is to eliminate shaft backlash in the driveline and prevent cogging from occurring to damage driveline components. The main function of the alternating torque T alternate is to generate vehicle body vibration, and the alternating torque can be set as sinusoidal alternating torque, namely, T alternate =A×sin ωt, wherein A is the amplitude of the alternating torque, and ω is the frequency of the alternating torque. The amplitude A of alternating torque can be adjusted, so that the amplitude of shaking of the vehicle body can be adjusted, and when the snow on the vehicle body is thicker, the larger the snow removing gear is required, the larger the alternating torque amplitude A is set.
Therefore, according to the embodiment of the application, the torque frequency (particularly, the torque frequency of alternating torque) can be used for controlling the torque of the motor, and as shown in the analysis result of the frequency spectrum response, when the input torque frequency reaches a certain value omega 3, the transmission system and the vehicle body can generate larger vibration due to resonance. Therefore, when the torque frequency omega of the alternating torque T alternae is adjusted, and when the snow on the vehicle body is thick and a larger snow removing gear is needed, the omega=omega 3 is realized, and when the torque frequency reaches omega 3, the value of the motor torque is correspondingly increased, the snow removing power is enhanced, and the snow removing effect is the best.
The snow removing gear is set as three gears, and the torque frequency of alternating torque is respectively set from weak to strong as 1 gear omega 1, 2 gear omega 2 and 3 gear omega 3.
According to the embodiment of the application, the torque of the motor of the electric drive system is regulated, the shaking of the vehicle body is actively caused, the effect of rapidly removing snow is achieved, the existing hardware equipment of the vehicle is utilized, the additional cost is not required to be increased, and the control is simple and reliable.
Example two
In order to perform a corresponding method of the above-described embodiments to achieve the corresponding functions and technical effects, a snow removing apparatus for a vehicle, as shown in fig. 4, is provided below, the apparatus comprising:
The acquisition module 1 is used for acquiring transmission parameters of the vehicle;
A construction module 2 for constructing a transfer function according to the transmission parameters;
the analysis module 3 is used for carrying out spectral response analysis on the transfer function to obtain change data of the torque frequency;
a data obtaining module 4 for obtaining snow removing power required for snow removing according to the change data of the torque frequency;
and the snow removing module 5 is used for removing snow on the vehicle according to the snow removing power.
In the implementation process, the transfer function is constructed and the spectral response analysis is carried out on the transfer function, so that the change data of torque frequency can be obtained, the snow removing power required by snow removing can be accurately obtained according to the change data, the automatic snow removing of the vehicle is realized, the snow removing speed is improved, an additional snow removing device is not required to be added, the snow removing time is short, the snow removing efficiency is high, and the cost can be reduced.
Further, the building module 2 is further configured to:
constructing a transmission model according to the transmission parameters;
And constructing a transfer function according to the transmission model.
In the implementation process, the transmission model and the transfer function are constructed according to the transmission parameters, so that errors in the calculation process can be reduced, and the transmission parameters can be accurately calculated.
Further, the construction module 2 is also configured to construct a transmission model from transmission parameters by:
wherein J m is the motor moment of inertia in the transmission parameters, T m is the motor torque, θ m is the motor rotation angle in the transmission parameters, T d1 is the half-shaft driving moment in the transmission parameters, K 1 is the equivalent torsional rigidity in the transmission parameters, C 1 is the equivalent damping in the transmission parameters, and J w is the tire moment of inertia in the transmission parameters.
In the implementation process, the transmission model can be accurately constructed according to the transmission parameters, and the relation between the transmission parameters and the motor torque is completely expressed, so that the calculation time is shortened.
Further, the construction module 2 is further configured to construct the transfer function from the transmission model by:
Where G(s) is the transfer function, T m(s) is the input of the transfer function (the input of the motor torque as the transfer function), θ m(s) is the output of the transfer function (the output of the motor rotation angle as the transfer function), J m is the motor moment of inertia in the transmission parameters, K 1 is the equivalent torsional stiffness in the transmission parameters, and C 1 is the equivalent damping in the transmission parameters.
In the implementation process, the transfer function is constructed according to the transmission model, so that the transfer function can accurately express the relation among a plurality of transmission parameters, the accuracy is improved, and the error is reduced.
Further, the data obtaining module 4 is further configured to:
Acquiring a snow removing gear of a vehicle;
according to the change data of the torque frequency, the torque frequency corresponding to the snow removing gear is obtained;
And obtaining the snow removing power required by snow removing according to the torque frequency corresponding to the snow removing gear.
In the implementation process, the torque frequency of the snow removing gear is obtained according to the change data of the torque frequency, so that the obtained snow removing power is more accurate, power loss or power shortage cannot be caused, the snow removing of the vehicle is facilitated, and the snow removing efficiency is improved.
Further, the data obtaining module 4 is further configured to:
Obtaining motor torque according to torque frequency corresponding to the snow removing gear;
and obtaining the snow removing power required by snow removing according to the torque of the motor.
In the implementation process, the snow removing power required by snow removing is obtained according to the motor torque, so that the time required by snow removing can be shortened, the snow removing operation of a vehicle can be controlled more conveniently according to the motor torque, and the snow removing process is perfected.
The snow removing device for a vehicle described above may implement the method of the first embodiment described above. The options in the first embodiment described above also apply to this embodiment, and are not described in detail here.
The rest of the embodiments of the present application may refer to the content of the first embodiment, and in this embodiment, no further description is given.
Example III
The embodiment of the application provides a vehicle, comprising a snow removing device of the vehicle of the second embodiment.
Example IV
An embodiment of the present application provides an electronic device including a memory for storing a computer program and a processor that runs the computer program to cause the electronic device to execute the snow removing method of the vehicle of the first embodiment.
Alternatively, the electronic device may be a server.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application. The electronic device may include a processor 51, a communication interface 52, a memory 53, and at least one communication bus 54. Wherein the communication bus 54 is used to enable direct connection communication of these components. Wherein the communication interface 52 of the device in the embodiment of the present application is used for signaling or data communication with other node devices. The processor 51 may be an integrated circuit chip with signal processing capabilities.
The processor 51 may be a general-purpose processor including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc., or may be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The disclosed methods, steps, and logic blocks in the embodiments of the present application may be implemented or performed. The general purpose processor may be a microprocessor or the processor 51 may be any conventional processor or the like.
The Memory 33 may be, but is not limited to, random access Memory (Random Access Memory, RAM), read Only Memory (ROM), programmable Read Only Memory (Programmable Read-Only Memory, PROM), erasable Read Only Memory (Erasable Programmable Read-Only Memory, EPROM), electrically erasable Read Only Memory (Electric Erasable Programmable Read-Only Memory, EEPROM), etc. The memory 53 has stored therein computer readable instructions which, when executed by the processor 51, enable the apparatus to perform the steps described above in relation to the embodiment of the method of fig. 1.
Optionally, the electronic device may further include a storage controller, an input-output unit. The memory 53, the memory controller, the processor 51, the peripheral interface, and the input/output unit are electrically connected directly or indirectly to each other, so as to realize data transmission or interaction. For example, the components may be electrically coupled to each other via one or more communication buses 54. The processor 51 is arranged to execute executable modules stored in the memory 53, such as software functional modules or computer programs comprised by the device.
The input-output unit is used for providing the user with the creation task and creating the starting selectable period or the preset execution time for the task so as to realize the interaction between the user and the server. The input/output unit may be, but is not limited to, a mouse, a keyboard, and the like.
It will be appreciated that the configuration shown in fig. 5 is merely illustrative, and that the electronic device may also include more or fewer components than shown in fig. 5, or have a different configuration than shown in fig. 5. The components shown in fig. 5 may be implemented in hardware, software, or a combination thereof.
In addition, an embodiment of the present application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the snow removing method of the vehicle of the first embodiment.
The present application also provides a computer program product which, when run on a computer, causes the computer to perform the method described in the method embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The apparatus embodiments described above are merely illustrative, for example, of the flowcharts and block diagrams in the figures that illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based devices which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form a single part, or each module may exist alone, or two or more modules may be integrated to form a single part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. The storage medium includes various media capable of storing program codes such as a U disk, a mobile hard disk, a ROM, a RAM, a magnetic disk or an optical disk.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and variations will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application. It should be noted that like reference numerals and letters refer to like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures.
The above description is merely illustrative of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about variations or substitutions within the scope of the present application, and the application is intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be defined by the protection scope of the claims.
It is noted that relational terms such as first and second, and the like are 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. Moreover, 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 one does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises an element.