Automobile door and window speed regulation control method, system and equipment and storage medium
By establishing a mapping relationship between pressing parameters and output duty cycle, the speed of electric doors and windows is adjusted according to the user's pressing force and time, solving the problem of fixed speed of electric doors and windows and improving user experience and safety.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- WUHAN JIANGXIA CHUNENG AUTOMOBILE TECHNOLOGY R&D CO LTD
- Filing Date
- 2026-01-06
- Publication Date
- 2026-04-10
AI Technical Summary
In existing technologies, the opening and closing speeds of electric vehicle doors and windows are fixed, which cannot adapt to different environments and obstacles, resulting in poor user experience or potential accidents.
By establishing a mapping relationship between pressing parameters and output duty cycle, the moving speed of doors and windows is adjusted according to the user's pressing force and pressing time on the door and window buttons, thus achieving adaptive control.
It enables flexible adjustment of the speed of electric doors and windows, improving user experience and preventing accidents.
Smart Images

Figure CN121827647A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of automotive technology, specifically to a method, system, device, and storage medium for controlling the speed of automotive doors and windows. Background Technology
[0002] Currently, passenger car electric doors and windows use fixed opening and closing speeds. When electric doors and windows open and close at a slow speed, in extreme environments, if the user is in a hurry to open or close the doors and windows, the slow opening and closing speed can feel sluggish and easily cause accidents. When electric doors and windows open and close at a fast speed, if there are obstacles in the electric doors and windows, although the electric doors and windows have anti-pinch functions, there is a delay from detecting the obstacle to completely stopping. Even if there is an emergency stop, the obstacle may still be squeezed. Summary of the Invention
[0003] In view of the problems existing in the prior art, the present invention provides a method, system, device and storage medium for controlling the speed of automobile doors and windows, which can adaptively adjust the opening and closing speed of electric doors and windows to avoid accidents.
[0004] Other features and advantages of this application will become apparent from the following detailed description, or may be learned in part from practice of this application.
[0005] According to a first aspect of this application, a method for controlling the speed of automobile doors and windows is provided, comprising: Establish a mapping relationship between pressing parameters and output duty cycle, wherein the pressing parameters include pressing pressure and / or pressing time, the pressing pressure is the pressing pressure of the user pressing the switch button of the car door and window, and the pressing time is the pressing time of the user pressing the switch button of the car door and window; The system obtains the current pressing parameters of the user pressing the switch button of the car door window. The current pressing parameters include the current pressing pressure and / or the current pressing time. The current pressing parameters are input into the mapping relationship between pressing parameters and output duty cycle to obtain the current output duty cycle. Based on the current output duty cycle, the system obtains the current moving speed. Control the opening and closing of the car doors and windows at the current moving speed.
[0006] In some embodiments of this application, based on the foregoing scheme, when the pressing parameter includes pressing pressure, the mapping relationship between the pressing parameter and the output duty cycle is a first proportional relationship between the pressing pressure and the output duty cycle.
[0007] In some embodiments of this application, based on the foregoing scheme, when the pressing parameter includes pressing time, the mapping relationship between the pressing parameter and the output duty cycle is a second proportional relationship between the pressing time and the output duty cycle.
[0008] In some embodiments of this application, based on the foregoing scheme, when the pressing parameters include pressing pressure and pressing time; Set a first pressure threshold, a second pressure threshold, a first time threshold, and a second time threshold, wherein the second pressure threshold is greater than the first pressure threshold, and the second time threshold is greater than the first time threshold; When the pressing pressure is less than the second pressure threshold and the pressing time is less than the first time threshold, in the mapping relationship between the pressing parameters and the output duty cycle, the pressing parameters correspond to a fixed minimum output duty cycle; When the pressing pressure is greater than or equal to the second pressure threshold and the pressing time is less than the first time threshold, if the output duty cycle is less than or equal to the fixed maximum output duty cycle, then the mapping relationship between the pressing parameter and the output duty cycle is the first proportional relationship between the pressing pressure and the output duty cycle; if the output duty cycle is greater than the fixed maximum output duty cycle, then the pressing parameter corresponds to the fixed maximum output duty cycle. When the pressing pressure is less than the first pressure threshold, and the pressing time is greater than or equal to the first time threshold and less than the second time threshold, the mapping relationship between the pressing parameters and the output duty cycle is the second proportional relationship between the pressing time and the output duty cycle; When the pressing pressure is greater than or equal to the first pressure threshold and less than the second pressure threshold, and the pressing time is greater than or equal to the first time threshold and less than the second time threshold, the mapping relationship between the pressing parameters and the output duty cycle is a third proportional relationship between the pressing time, the pressing pressure and the output duty cycle. When the pressing pressure is greater than or equal to the second pressure threshold, and the pressing time is greater than or equal to the first time threshold and less than the second time threshold, if the output duty cycle is less than or equal to the fixed maximum output duty cycle, then the mapping relationship between the pressing parameter and the output duty cycle is a third proportional relationship between the pressing time, the pressing pressure, and the output duty cycle. If the output duty cycle is greater than the fixed maximum output duty cycle, then the pressing parameter corresponds to the fixed maximum output duty cycle. When the pressing pressure is any value and the pressing time is greater than or equal to the second time threshold, in the mapping relationship between the pressing parameters and the output duty cycle, the pressing parameters correspond to a fixed maximum output duty cycle.
[0009] In some embodiments of this application, based on the foregoing scheme, a first proportional relationship is established based on the first pressing coefficient, pressing pressure, first pressure threshold and output duty cycle; A second proportional relationship is established based on the second compression coefficient, compression time, first time threshold, and output duty cycle; A third proportional relationship is established based on the third pressing coefficient, pressing pressure, first pressure threshold, pressing time, first time threshold, and output duty cycle.
[0010] In some embodiments of this application, based on the foregoing scheme, the current moving speed is obtained based on the current output duty cycle, including: The current moving speed is obtained based on the current output duty cycle, motor back EMF constant, power supply rated voltage, and mechanical conversion factor.
[0011] In some embodiments of this application, based on the aforementioned scheme, if the car door or window is opened to a first preset opening threshold or closed to a second preset opening threshold, the car door or window opens and closes at a preset moving speed.
[0012] According to a second aspect of this application, an automotive door and window speed control system is provided, comprising: The model building module is used to establish the mapping relationship between pressing parameters and output duty cycle. The pressing parameters include pressing pressure and / or pressing time. The pressing pressure is the pressing pressure of the user pressing the switch button of the car door and window, and the pressing time is the pressing time of the user pressing the switch button of the car door and window. The acquisition module is used to acquire the current pressing parameters of the user pressing the switch button of the car door window. The current pressing parameters include the current pressing pressure and / or the current pressing time. The current pressing parameters are input into the mapping relationship between pressing parameters and output duty cycle to obtain the current output duty cycle. The current moving speed is obtained based on the current output duty cycle. The control module is used to control the opening and closing of the car doors and windows at the current moving speed.
[0013] According to a third aspect of this application, a computer-readable storage medium is provided that stores a computer program thereon, the computer program including executable instructions that, when executed by a processor, implement the method described above.
[0014] According to a fourth aspect of this application, an electronic device is provided, comprising: One or more processors; A memory for storing executable instructions of the processor, which, when executed by the one or more processors, cause the one or more processors to implement the method described above.
[0015] The beneficial effects of this application are as follows: This application provides a method, system, device, and storage medium for controlling the speed of automotive doors and windows. By establishing a mapping relationship between pressing parameters and output duty cycles, different output duty cycles can be obtained when different pressing parameters are output, thereby controlling different moving speeds of automotive doors and windows. This allows for adaptive adjustments to the opening and closing speeds of electric doors and windows when the user wants them to open and close at faster or slower speeds, preventing accidents.
[0016] It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and do not limit this application. Attached Figure Description
[0017] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and are intended to explain the invention, but do not constitute an undue limitation thereof. In the drawings: Figure 1 This is a flowchart of a method for controlling the speed of automobile doors and windows according to the present invention; Figure 2 This is a schematic diagram illustrating the output duty cycle of the present invention when the pressing parameters include pressing pressure and pressing time; Figure 3 This is a schematic diagram of an automotive door and window speed control system according to the present invention; Figure 4 This is a schematic diagram of an electronic device according to the present invention. Detailed Implementation
[0018] To make the objectives, features, and advantages of this invention more apparent and understandable, the technical solutions of the embodiments of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the embodiments described below are only some embodiments of this invention, and not all embodiments. Based on the embodiments of this invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this invention.
[0019] It should be understood that the terms "comprising" and other similar expressions in the specification, claims, and accompanying drawings of this invention are intended to cover a non-exclusive inclusion, such as a process, method, system, or apparatus that includes a series of steps or units and is not limited to the listed steps or units. Furthermore, "first" and "second" are used to distinguish different objects and are not intended to describe a specific order.
[0020] According to the first aspect of this application, Figure 1 As shown, this embodiment provides a method for controlling the speed of automobile doors and windows, including the following steps: Step S1: Establish a mapping relationship between pressing parameters and output duty cycle, wherein the pressing parameters include pressing pressure and / or pressing time, the pressing pressure is the pressing pressure of the user pressing the switch button of the car door and window, and the pressing time is the pressing time of the user pressing the switch button of the car door and window.
[0021] In this way, by establishing a mapping relationship between pressing parameters and output duty cycle, different output duty cycles can be obtained when different pressing parameters are output, thereby controlling different moving speeds of car doors and windows.
[0022] In this embodiment, the moving speed of the car doors and windows includes the opening speed and closing speed of the car doors and windows. The car doors and windows include car doors and car windows. Car doors include driver's door, passenger door, two rear doors, trunk door, etc., and car windows include side windows, sunroof glass, etc. This embodiment does not limit these.
[0023] In this embodiment, when it is necessary to control the preset moving speed of the car door and window, a mapping relationship between the preset pressing parameters and the output duty cycle is established for the car door and window.
[0024] In this embodiment, the switch button includes, but is not limited to, physical buttons and virtual buttons, and the switch button integrates pressure sensing and time detection.
[0025] In this embodiment, the moving speed of the car doors and windows includes the opening speed and closing speed of the car doors and windows.
[0026] In this embodiment, the pressing parameters include pressing time, pressing pressure, and a combination of pressing time and pressing pressure.
[0027] In some embodiments of this example, when the pressing parameter includes pressing pressure, the mapping relationship between the pressing parameter and the output duty cycle is a first proportional relationship between the pressing pressure and the output duty cycle, that is, the greater the pressing pressure, the greater the output duty cycle, and the greater the moving speed of the car door and window.
[0028] Specifically, a first proportional relationship is established based on the first pressing coefficient, pressing pressure, first pressure threshold, and output duty cycle, and the calculation formula is as follows:
[0029] in, The first pressure coefficient, The first pressure threshold, The pressing pressure, To fix the minimum output duty cycle, To output the duty cycle.
[0030] In some embodiments of this example, when the pressing parameter includes pressing time, the mapping relationship between the pressing parameter and the output duty cycle is a second direct proportional relationship between the pressing time and the output duty cycle, that is, the longer the pressing time, the larger the output duty cycle, and the greater the moving speed of the car door and window.
[0031] Specifically, a second proportional relationship is established based on the second press coefficient, press time, first time threshold, and output duty cycle, and the calculation formula is as follows:
[0032] in, This is the second pressure coefficient. The first time threshold, This refers to the pressing time.
[0033] In some embodiments of this example, when the pressing parameters include pressing time and pressing pressure, the mapping relationship between the pressing parameters and the output duty cycle is a third proportional relationship between the pressing time, the pressing pressure, and the output duty cycle. That is, the larger the product of the pressing time and the pressing pressure, the larger the output duty cycle and the greater the moving speed of the car door and window.
[0034] Specifically, a third proportional relationship is established based on the third press coefficient, press pressure, first pressure threshold, press time, first time threshold, and output duty cycle. The calculation formula is as follows:
[0035] in, This is the third pressure coefficient.
[0036] In some implementations of this embodiment, such as Figure 2 As shown, when the pressing parameters include pressing pressure and pressing time; Set the first pressure threshold. Second pressure threshold First time threshold Second time threshold Second pressure threshold Greater than the first pressure threshold Second time threshold Greater than the first time threshold ; When pressing pressure Less than the second pressure threshold And pressing time Less than the first time threshold In the mapping relationship between the pressing parameters and the output duty cycle, the pressing parameters correspond to a fixed minimum output duty cycle. .
[0037] When pressing pressure Greater than or equal to the second pressure threshold And pressing time Less than the first time threshold If the output duty cycle Less than or equal to the fixed maximum output duty cycle The mapping relationship between the pressing parameter and the output duty cycle is a first direct proportional relationship between the pressing pressure and the output duty cycle. If the output duty cycle Greater than the fixed maximum output duty cycle The pressing parameter corresponds to a fixed maximum output duty cycle. .
[0038] When pressing pressure Less than the first pressure threshold And pressing time Greater than or equal to the first time threshold And less than the second time threshold The mapping relationship between the pressing parameters and the output duty cycle is a second direct proportional relationship between the pressing time and the output duty cycle. .
[0039] When pressing pressure Greater than or equal to the first pressure threshold And less than the second pressure threshold And pressing time Greater than or equal to the first time threshold And less than the second time threshold The mapping relationship between the pressing parameters and the output duty cycle is a third direct proportional relationship between the pressing time, the pressing pressure, and the output duty cycle. .
[0040] When pressing pressure Greater than or equal to the second pressure threshold And pressing time Greater than or equal to the first time threshold And less than the second time threshold If the output duty cycle Less than or equal to the fixed maximum output duty cycle The mapping relationship between the pressing parameters and the output duty cycle is a third direct proportional relationship between the pressing time, the pressing pressure, and the output duty cycle. If the output duty cycle Greater than the fixed maximum output duty cycle The pressing parameter corresponds to a fixed maximum output duty cycle. .
[0041] When pressing pressure For any value, the pressing time Greater than or equal to the second time threshold In the mapping relationship between the pressing parameters and the output duty cycle, the pressing parameters correspond to a fixed maximum output duty cycle. .
[0042] Step S2: Obtain the current pressing parameters of the user pressing the switch button of the car door window. The current pressing parameters include the current pressing pressure and / or the current pressing time. Input the current pressing parameters into the mapping relationship between pressing parameters and output duty cycle to obtain the current output duty cycle. Obtain the current moving speed based on the current output duty cycle.
[0043] In some embodiments of this example, the current moving speed is obtained based on the current output duty cycle. Specifically, the current moving speed is obtained based on the current output duty cycle, the motor back electromotive force constant, the power supply rated voltage, and the mechanical conversion coefficient. The calculation formula is as follows:
[0044] in, Let be the back electromotive force constant of the motor. This is the rated voltage of the power supply. For mechanical conversion coefficient, This represents the current movement speed.
[0045] In this embodiment, when the current pressing parameters include the current pressing pressure, the current pressing pressure is input into the first proportional relationship between pressing pressure and output duty cycle to obtain the current output duty cycle.
[0046] Given the current press parameters, including the current press time, the current press time is input into the second proportional relationship between the press time and the output duty cycle to obtain the current output duty cycle.
[0047] Given that the current pressing parameters include the current pressing pressure and the current pressing time, the mapping relationship between the pressing parameters and the output duty cycle is determined based on the current pressing pressure and the current pressing time, thereby obtaining the current output duty cycle.
[0048] Thus, this embodiment can adaptively adjust the movement time of car doors and windows based on the current pressing pressure and / or the current pressing time to cope with various car door and window opening and closing situations.
[0049] Step S3: Control the car doors and windows to open and close at the current moving speed.
[0050] In some embodiments of this example, if the car door or window is opened to a first preset opening threshold or closed to a second preset opening threshold, the car door or window opens and closes at a preset moving speed. The first preset opening threshold and the second preset opening threshold can be set as needed, and this example does not limit this.
[0051] In one specific embodiment, the first preset opening threshold is 85% of the opening stroke, and the second preset opening threshold is 10% of the closing stroke. If the car door or window is above 85% of the opening stroke when it is open and below 10% of the closing stroke when it is closed, then the car door or window opens and closes at a preset moving speed, which is the initial moving speed.
[0052] According to the second aspect of this application, such as Figure 3 As shown, this embodiment provides a car door and window speed control system, including: The model building module is used to establish the mapping relationship between pressing parameters and output duty cycle. The pressing parameters include pressing pressure and / or pressing time. The pressing pressure is the pressing pressure of the user pressing the switch button of the car door and window, and the pressing time is the pressing time of the user pressing the switch button of the car door and window. The acquisition module is used to acquire the current pressing parameters of the user pressing the switch button of the car door window. The current pressing parameters include the current pressing pressure and / or the current pressing time. The current pressing parameters are input into the mapping relationship between pressing parameters and output duty cycle to obtain the current output duty cycle. The current moving speed is obtained based on the current output duty cycle. The control module is used to control the opening and closing of the car doors and windows at the current moving speed.
[0053] Specifically, this embodiment corresponds one-to-one with the above method embodiments. The functions of each module have been described in detail in the corresponding method embodiments, so they will not be repeated here.
[0054] According to a third aspect of this application, this embodiment provides a computer-readable storage medium having a computer program stored thereon, the computer program including executable instructions that, when executed by a processor, implement the method described above.
[0055] The present invention can implement all or part of the processes in the above methods, or it can be accomplished by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or system capable of carrying computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content included in the computer-readable medium can be appropriately added or removed according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electrical carrier signals and telecommunication signals.
[0056] According to the fourth aspect of this application, such as Figure 4 As shown, an electronic device is provided, comprising: One or more processors; Memory is used to store executable instructions for the processor, which, when executed by one or more processors, cause one or more processors to implement the methods described above.
[0057] Electronic devices are manifested in the form of general-purpose computing devices. Components of an electronic device may include, but are not limited to: at least one processor, at least one memory, and a bus connecting different system components (including memory and processor).
[0058] The processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor. The processor is the control center of a computer system, connecting all parts of the computer system through various interfaces and lines.
[0059] Memory can be used to store computer programs and / or modules. The processor implements various functions of the computer system by running or executing the computer programs and / or modules stored in the memory, and by accessing data stored in the memory. Memory can mainly include a program storage area and a data storage area. The program storage area can store the operating system and at least one application program required for a function (e.g., sound playback, image playback, etc.); the data storage area can store data created based on the use of the mobile phone (e.g., audio data, video data, etc.). Furthermore, memory can include high-speed random access memory, and can also include non-volatile memory, such as hard disks, RAM, plug-in hard disks, SmartMedia Cards (SMC), Secure Digital (SD) cards, Flash Cards, at least one disk storage device, flash memory device, or other volatile solid-state storage devices.
[0060] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, servers, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage and memory) containing computer-usable program code.
[0061] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), servers, and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A system that specifies functions in one or more boxes.
[0062] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including an instruction set implemented in a process. Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0063] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0064] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0065] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0066] The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for controlling the speed of automobile doors and windows, characterized in that, include: Establish a mapping relationship between pressing parameters and output duty cycle, wherein the pressing parameters include pressing pressure and / or pressing time, the pressing pressure is the pressing pressure of the user pressing the switch button of the car door and window, and the pressing time is the pressing time of the user pressing the switch button of the car door and window; The system obtains the current pressing parameters of the user pressing the switch button of the car door window. The current pressing parameters include the current pressing pressure and / or the current pressing time. The current pressing parameters are input into the mapping relationship between pressing parameters and output duty cycle to obtain the current output duty cycle. Based on the current output duty cycle, the system obtains the current moving speed. Control the opening and closing of the car doors and windows at the current moving speed.
2. The method according to claim 1, characterized in that: When the pressing parameters include pressing pressure, the mapping relationship between the pressing parameters and the output duty cycle is a first direct proportional relationship between the pressing pressure and the output duty cycle.
3. The method according to claim 1, characterized in that: When the pressing parameter includes pressing time, the mapping relationship between the pressing parameter and the output duty cycle is a second direct proportional relationship between the pressing time and the output duty cycle.
4. The method according to claim 1, characterized in that: When the compression parameters include compression force and compression time; Set a first pressure threshold, a second pressure threshold, a first time threshold, and a second time threshold, wherein the second pressure threshold is greater than the first pressure threshold, and the second time threshold is greater than the first time threshold; When the pressing pressure is less than the second pressure threshold and the pressing time is less than the first time threshold, in the mapping relationship between the pressing parameters and the output duty cycle, the pressing parameters correspond to a fixed minimum output duty cycle; When the pressing pressure is greater than or equal to the second pressure threshold and the pressing time is less than the first time threshold, if the output duty cycle is less than or equal to the fixed maximum output duty cycle, then the mapping relationship between the pressing parameter and the output duty cycle is the first proportional relationship between the pressing pressure and the output duty cycle; if the output duty cycle is greater than the fixed maximum output duty cycle, then the pressing parameter corresponds to the fixed maximum output duty cycle. When the pressing pressure is less than the first pressure threshold, and the pressing time is greater than or equal to the first time threshold and less than the second time threshold, the mapping relationship between the pressing parameters and the output duty cycle is the second proportional relationship between the pressing time and the output duty cycle; When the pressing pressure is greater than or equal to the first pressure threshold and less than the second pressure threshold, and the pressing time is greater than or equal to the first time threshold and less than the second time threshold, the mapping relationship between the pressing parameters and the output duty cycle is a third proportional relationship between the pressing time, the pressing pressure and the output duty cycle. When the pressing pressure is greater than or equal to the second pressure threshold, and the pressing time is greater than or equal to the first time threshold and less than the second time threshold, if the output duty cycle is less than or equal to the fixed maximum output duty cycle, then the mapping relationship between the pressing parameter and the output duty cycle is a third proportional relationship between the pressing time, the pressing pressure, and the output duty cycle. If the output duty cycle is greater than the fixed maximum output duty cycle, then the pressing parameter corresponds to the fixed maximum output duty cycle. When the pressing pressure is any value and the pressing time is greater than or equal to the second time threshold, in the mapping relationship between the pressing parameters and the output duty cycle, the pressing parameters correspond to a fixed maximum output duty cycle.
5. The method according to claim 4, characterized in that: A first proportional relationship is established based on the first pressing coefficient, pressing force, first pressure threshold, and output duty cycle; A second proportional relationship is established based on the second compression coefficient, compression time, first time threshold, and output duty cycle; A third proportional relationship is established based on the third pressing coefficient, pressing pressure, first pressure threshold, pressing time, first time threshold, and output duty cycle.
6. The method according to claim 1, characterized in that, The current movement speed is obtained based on the current output duty cycle, including: The current moving speed is obtained based on the current output duty cycle, motor back EMF constant, power supply rated voltage, and mechanical conversion factor.
7. The method according to claim 1, characterized in that, If the car doors and windows are opened to a first preset opening threshold or closed to a second preset opening threshold, the car doors and windows open and close at a preset moving speed.
8. A speed control system for automobile doors and windows, characterized in that, include: The model building module is used to establish the mapping relationship between pressing parameters and output duty cycle. The pressing parameters include pressing pressure and / or pressing time. The pressing pressure is the pressing pressure of the user pressing the switch button of the car door and window, and the pressing time is the pressing time of the user pressing the switch button of the car door and window. The acquisition module is used to acquire the current pressing parameters of the user pressing the switch button of the car door window. The current pressing parameters include the current pressing pressure and / or the current pressing time. The current pressing parameters are input into the mapping relationship between pressing parameters and output duty cycle to obtain the current output duty cycle. The current moving speed is obtained based on the current output duty cycle. The control module is used to control the opening and closing of the car doors and windows at the current moving speed.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, The computer program includes executable instructions that, when executed by a processor, implement the method of any one of claims 1-7.
10. An electronic device, characterized in that, include: One or more processors; A memory for storing executable instructions of the processor, which, when executed by the one or more processors, cause the one or more processors to perform the method according to any one of claims 1-7.