Method and device for adjusting vehicle seat, electronic equipment and storage medium
By calculating the maximum adjustable distance of the vehicle seat adjustment motor and controlling the adjustment process in real time, the problem of interference with the vehicle body or obstacles during vehicle seat adjustment is solved, achieving safe and efficient seat adjustment.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GUANGZHOU AUTOMOBILE GROUP CO LTD
- Filing Date
- 2023-07-24
- Publication Date
- 2026-04-24
AI Technical Summary
In existing technologies, vehicle seats are prone to interference with the vehicle body or obstacles during adjustment, and there is a lack of effective means to avoid interference.
By determining the current position of the vehicle seat adjustment motor in different adjustable directions and the distance between the front stall point, the maximum adjustable distance is calculated, and the adjustment motor is controlled in real time to avoid interference.
While providing maximum adjustability, it avoids interference between the vehicle seat and the vehicle body or obstacles during adjustment, improving the accuracy and safety of the adjustment process.
Smart Images

Figure CN117022062B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle control technology, and more specifically, to a method, device, electronic device, and storage medium for adjusting a vehicle seat. Background Technology
[0002] With the rapid development of technology, users have increasingly higher demands for vehicle comfort. To improve the user experience, adjustment switches are installed on vehicle seats. Pressing the switch activates the seat adjustment motor, allowing the user to adjust the seat to a comfortable position. While the adjustment switch is pressed and active, the seat motor continues to operate until it reaches a mechanical stall position or the vehicle seat interferes with or collides with the vehicle body or obstacles. Therefore, preventing the vehicle seat from interfering with the vehicle body or obstacles during adjustment has become a pressing issue. Summary of the Invention
[0003] In view of this, embodiments of this application propose a method, apparatus, electronic device, and storage medium for adjusting a vehicle seat to improve the above-mentioned problems.
[0004] According to a first aspect of the embodiments of this application, a method for adjusting a vehicle seat is provided. The method includes: determining the current position of an adjustment motor corresponding to the vehicle seat in different adjustable directions; determining the current distance between the adjustment motor and a front stall point in each of the different adjustable directions based on the current position of the adjustment motor in each of the different adjustable directions, wherein the different adjustable directions include seat back forward, seat back backward, seat horizontal slide rail forward, seat horizontal slide rail backward, seat height upward, and seat height downward, and the front stall point is an extreme position point in the forward direction of the seat back, the forward direction of the seat horizontal slide rail, and the upward direction of the seat height; determining the maximum adjustable distance of the adjustment motor in each of the different adjustable directions based on the current distance between the adjustment motor and the front stall point in each of the different adjustable directions; and adjusting the vehicle seat based on the current distance between the adjustment motor and the front stall point in each of the different adjustable directions and the maximum adjustable distance of the adjustment motor in each of the different adjustable directions.
[0005] According to a second aspect of the present application, a vehicle seat adjustment device is provided. The device includes: a current position determination module, configured to determine the current position of an adjustment motor corresponding to the vehicle seat in different adjustable directions; a current distance determination module, configured to determine the current distance between the adjustment motor and a front stall point in different adjustable directions based on the current position of the adjustment motor in different adjustable directions, wherein the different adjustment directions include seat back forward, seat back backward, seat horizontal slide rail forward, seat horizontal slide rail backward, seat height upward, and seat height downward, and the front stall point is an extreme position point in the seat back forward direction, seat horizontal slide rail forward direction, and seat height upward direction; a maximum adjustable distance determination module, configured to determine the maximum adjustable distance of the adjustment motor in different adjustable directions based on the current distance between the adjustment motor and the front stall point in different adjustable directions; and an adjustment module, configured to adjust the vehicle seat based on the current distance between the adjustment motor and the front stall point in different adjustable directions and the maximum adjustable distance of the adjustment motor in different adjustable directions.
[0006] According to a third aspect of the embodiments of this application, an electronic device is provided, comprising: a processor; and a memory storing computer-readable instructions, wherein when executed by the processor, the computer-readable instructions implement the vehicle seat adjustment method as described above.
[0007] According to a fourth aspect of the present application, a computer-readable storage medium is provided that stores computer-readable instructions thereon, which, when executed by a processor, implement the vehicle seat adjustment method described above.
[0008] In this application's solution, the current distance between the adjustment motor and the front stall point in different adjustable directions is first determined based on the current position of the adjustment motor corresponding to the vehicle seat in different adjustable directions. Then, the maximum adjustable distance of the adjustment motor in different adjustable directions can be determined based on this current distance. This allows for adjustment of the vehicle seat based on the current distance between the adjustment motor and the front stall point in different adjustable directions, as well as the maximum adjustable distance of the adjustment motor in different adjustable directions. This solution, by real-time acquisition of the vehicle seat's current position and real-time calculation of the maximum adjustable distance in different adjustable directions, provides the user with maximum adjustability while preventing interference between the vehicle seat and the vehicle body during adjustment by limiting the maximum adjustable distance.
[0009] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit the invention. Attached Figure Description
[0010] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort.
[0011] Figure 1 This is a schematic flowchart illustrating a method for adjusting a vehicle seat according to an embodiment of this application.
[0012] Figure 2 This is a schematic flowchart illustrating a method for adjusting a vehicle seat according to another embodiment of this application.
[0013] Figure 3 This is a flowchart illustrating the specific steps of step 240 according to an embodiment of this application.
[0014] Figure 4 This is a schematic diagram of the adjustment of the slide rail adjustment motor according to an embodiment of this application.
[0015] Figure 5 This is a schematic diagram of the adjustment of the height adjustment motor according to an embodiment of this application.
[0016] Figure 6 This is a schematic diagram of the adjustment of the backrest adjustment motor according to an embodiment of this application.
[0017] Figure 7 This is a schematic flowchart illustrating a method for adjusting a vehicle seat according to various embodiments of this application.
[0018] Figure 8 This is a schematic flowchart illustrating a method for adjusting a vehicle seat according to another embodiment of this application.
[0019] Figure 9 This is a schematic flowchart illustrating a method for adjusting a vehicle seat according to another embodiment of this application.
[0020] Figure 10 This is a block diagram of a vehicle seat adjustment device according to an embodiment of this application.
[0021] Figure 11 This is a hardware structure diagram of an electronic device according to an embodiment of this application.
[0022] The accompanying drawings have illustrated specific embodiments of the present invention, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the inventive concept in any way, but rather to illustrate the concept of the invention to those skilled in the art through specific embodiments. Detailed Implementation
[0023] Exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, these exemplary embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided to make this application more comprehensive and complete, and to fully convey the concept of the exemplary embodiments to those skilled in the art.
[0024] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0025] Furthermore, the described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. Numerous specific details are provided in the following description to give a thorough understanding of embodiments of this application. However, those skilled in the art will recognize that the technical solutions of this application can be practiced without one or more of the specific details, or other methods, apparatuses, steps, etc., can be employed. In other instances, well-known methods, apparatuses, implementations, or operations are not shown or described in detail to avoid obscuring various aspects of this application.
[0026] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices. The flowcharts shown in the accompanying drawings are merely illustrative and do not necessarily include all content and operations / steps, nor do they necessarily have to be performed in the described order. For example, some operations / steps can be decomposed, while others can be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.
[0027] Please see Figure 1 , Figure 1 This application illustrates a method for adjusting a vehicle seat according to an embodiment of the present application. In a specific embodiment, this method for adjusting a vehicle seat can be applied to, for example... Figure 10 The vehicle seat adjustment device 500 and the electronic device 600 equipped with the vehicle seat adjustment device 500 are shown. Figure 11 The specific process of this embodiment will be described below. Of course, it is understood that this method can be executed by an electronic device with computing power, such as a desktop computer, laptop computer, in-vehicle terminal, or vehicle processor. The following will focus on... Figure 1 The process shown will be described in detail. The method for adjusting the vehicle seat may specifically include the following steps:
[0028] Step 110: Determine the current position of the adjustment motor corresponding to the vehicle seat in different adjustable directions.
[0029] In one approach, the adjustable directions of the vehicle seat's adjustment motor can include height, horizontal direction, and fore-and-aft direction of the seat back. The vehicle seat can be adjusted directly by the adjustment motor, or it can be driven by a driver to achieve adjustment in different adjustable directions. Optionally, each adjustable direction may have its own corresponding adjustment motor.
[0030] One approach is to determine the current position of the vehicle seat's adjustment motor in different adjustable directions by acquiring the operating status of the adjustment motor. Optionally, the adjustment motor can be a Hall motor, and the vehicle's Electronic Control Unit (ECU) can then determine the current position of the vehicle seat in different adjustable directions by acquiring changes in the Hall waveform of the adjustment motor.
[0031] As another approach, corresponding motor parameters can be pre-set for the different adjustable positions of the vehicle seat. That is, a mapping relationship is set between the different adjustable positions and the motor parameters. In this way, the current parameters of the motor can be obtained in real time, and the current position of the adjustment motor corresponding to the vehicle seat in different adjustable directions can be determined based on the current parameters and the mapping relationship between the different adjustable positions and the motor parameters.
[0032] Step 120: Based on the current position of the adjusting motor in different adjustable directions, determine the current distance between the adjusting motor and the front stall point in different adjustable directions. The different adjustable directions include seat back forward, seat back backward, seat horizontal slide rail forward, seat horizontal slide rail backward, seat height upward, and seat height downward. The front stall point is the extreme position point in the seat back forward direction, seat horizontal slide rail forward direction, and seat height upward direction.
[0033] One approach is to pre-record the extreme positions of the front stall points of the adjusting motor in different adjustable directions. This facilitates determining the current distance between the current position of the adjusting motor and the front stall points in different adjustable directions. Optionally, the drive direction of the adjusting motor in different adjustable directions can be set before the vehicle leaves the factory. This drive direction indicates the direction in which the adjusting motor does not need to determine the maximum adjustable distance, and the adjusting motor is driven according to this drive direction. When the adjusting motor adjusts to the extreme position of the drive direction corresponding to the different adjustable directions, the adjusting motor stalls. At this time, the position parameters of the adjusting motor can be recorded, and the current distance of the adjusting motor in different adjustable directions can be determined based on the current position of the adjusting motor in different adjustable directions and the position parameters of the front stall points in different adjustable directions. Optionally, the different adjustment directions include seat back forward, seat back backward, seat horizontal slide rail forward, seat horizontal slide rail backward, seat height up, and seat height down.
[0034] Step 130: Determine the maximum adjustable distance of the adjusting motor in different adjustable directions based on the current distance between the adjusting motor and the front stall point in different adjustable directions.
[0035] One approach is to determine the current distance between the front stall points of the regulating motor in different adjustable directions, and then determine the maximum adjustable distance of the regulating motor in each adjustable direction. Specifically, the maximum adjustable distance of the regulating motor in each adjustable direction refers to the maximum adjustable distance of the regulating motor from its current position in the opposite direction to the front stall points in different adjustable directions. Optionally, the maximum adjustable distance of the regulating motor in different adjustable directions can be determined based on the corresponding algorithms for each adjustable direction.
[0036] Step 140: Adjust the vehicle seat according to the current distance between the adjusting motor and the front stall point in different adjustable directions and the maximum adjustable distance of the adjusting motor in different adjustable directions.
[0037] One approach to adjusting the vehicle seat is to determine whether to control the adjustment motor for adjustment based on the relationship between the current distance between the adjustment motor and the stall point at the front end of each adjustable direction, and the maximum adjustable distance of the adjustment motor in each adjustable direction. Optionally, for each adjustable direction, if the current distance of the adjustment motor at the current position in each adjustable direction is greater than or equal to the maximum adjustable distance in the corresponding adjustable direction, it can be determined that the adjustment motor can no longer be adjusted in the current direction of movement, and the adjustment motor is controlled to be turned off to prevent the adjustment motor from interfering with the vehicle seat or obstacles. If the current distance of the adjustment motor at the current position in each adjustable direction is less than the maximum adjustable distance in the corresponding adjustable direction, it can be determined that the adjustment motor can be controlled to adjust the vehicle seat, and the adjustment motor can be controlled to adjust the vehicle seat via a control switch.
[0038] In the embodiments of this application, the current distance between the adjustment motor and the front stall point in different adjustable directions is first determined based on the current position of the adjustment motor corresponding to the vehicle seat in different adjustable directions. Then, the maximum adjustable distance of the adjustment motor in different adjustable directions can be determined based on the current distance between the adjustment motor and the front stall point in different adjustable directions. This allows for adjustment of the vehicle seat based on the current distance between the adjustment motor and the front stall point in different adjustable directions and the maximum adjustable distance of the adjustment motor in different adjustable directions. This solution collects the current position of the vehicle seat in real time and calculates the maximum adjustable distance of the vehicle seat in different adjustable directions in real time. While providing the user with maximum adjustable space, limiting the maximum adjustable distance avoids interference between the vehicle seat and the vehicle body during adjustment.
[0039] Figure 2 This application illustrates a method for adjusting a vehicle seat according to an embodiment of the present application. The specific process of this embodiment will be described below. It is understood that this method can be executed by an electronic device with computing power, such as a desktop computer, laptop computer, in-vehicle terminal, or in-vehicle infotainment screen. The following will focus on... Figure 2 The process shown will be described in detail. The method for adjusting the vehicle seat may specifically include the following steps:
[0040] Step 210: Determine the current position of the adjustment motor corresponding to the vehicle seat in different adjustable directions.
[0041] Step 220: Based on the current position of the adjusting motor in different adjustable directions, determine the current distance between the adjusting motor and the front stall point in different adjustable directions. The different adjustable directions include seat back forward, seat back backward, seat horizontal slide rail forward, seat horizontal slide rail backward, seat height upward, and seat height downward. The front stall point is the extreme position point in the seat back forward direction, seat horizontal slide rail forward direction, and seat height upward direction.
[0042] Step 230: Obtain the limit parameters of the front stall point of the adjustable motor in different adjustable directions.
[0043] One approach is to pre-record the position parameters of the adjusting motor corresponding to different movement directions in each adjustment direction. Then, when the position parameters corresponding to the front stall point of the adjusting motor in different adjustable directions are determined, they are fitted to determine the limiting parameters of the front stall point of the adjusting motor in different adjustable directions. Optionally, the limiting parameters of the adjusting motor in different adjustable directions can be stored in a local database to facilitate obtaining the limiting parameters of the adjusting motor corresponding to the vehicle seat in different adjustable directions when adjusting the vehicle seat.
[0044] Optionally, the motor parameters and position parameters of the adjusting motor in different adjustment directions can be determined by observing the Hall waveform of the adjusting motor. Then, the limit parameters of the adjusting motor corresponding to the vehicle seat in different adjustable directions can be determined by fitting the motor parameters and position parameters. For example, when the adjusting motor moves the vehicle seat towards the front of the vehicle, each time a falling edge of the Hall waveform is detected, the current motor parameter is recorded, and the position parameter corresponding to the current position is decremented by one unit value until the adjusting motor reaches the limit position of the slide rail corresponding to the vehicle seat. Here, the position parameter can be the number of grids of the slide rail corresponding to the vehicle seat. When the adjusting motor moves the vehicle seat towards the rear of the vehicle, each time a falling edge of the Hall waveform is detected, the current motor parameter is recorded, and the position parameter corresponding to the current position is incremented by one unit value until the adjusting motor reaches the limit position of the slide rail corresponding to the vehicle seat.
[0045] Step 240: Determine the maximum adjustable distance in different adjustable directions based on the limit parameters of the front stall point of the adjustable motor in different adjustable directions and the current distance between the adjustable motor and the front stall point in different adjustable directions.
[0046] One approach is to determine the maximum adjustable distance of the motor in different adjustable directions based on the limit parameters of the motor's front stall point in different adjustable directions and the current distance between the motor and the front stall point in different adjustable directions, using a preset algorithm. The preset algorithm can be a quadratic equation.
[0047] Optionally, when determining the maximum adjustable distance of the motor in a certain adjustable direction, the maximum adjustable distance in that adjustable direction is calculated based on the current distance of the vehicle seat in other adjustable directions besides that adjustable direction and the limit parameters of other adjustable directions.
[0048] In some embodiments, such as Figure 3 As shown, the adjustment motor includes a slide rail adjustment motor, a backrest adjustment motor, and a height adjustment motor. Step 240 includes:
[0049] Step 241: Determine the current slide rail distance between the slide rail adjusting motor and the front stall point of the slide rail adjusting motor at the current position; determine the current backrest distance between the backrest adjusting motor and the front stall point of the backrest adjusting motor at the current position; and determine the current height distance between the height adjusting motor and the front stall point of the height adjusting motor at the current position.
[0050] As one method, the current slide rail distance refers to the distance between the slide rail adjusting motor at its current position and its front stop point; the current backrest distance refers to the distance between the backrest adjusting motor at its current position and its front stop point; and the current height distance refers to the distance between the height adjusting motor at its current position and its front stop point. Optionally, the current slide rail distance can be determined based on the parameter difference between the motor parameters corresponding to the slide rail adjusting motor at its current position and the motor parameters at the front stop point. Similarly, the current backrest distance and current height distance can be determined.
[0051] Step 242: Determine the maximum adjustable distance of the slide rail of the slide rail adjustment motor based on the current backrest distance and the current height distance.
[0052] One approach is to consider the current backrest distance and height distance of the vehicle seat in its current position, as well as the limit parameters corresponding to the front stall point of the slide rail adjustment motor, the backrest adjustment motor, and the height adjustment motor. Alternatively, this can be achieved using the formula X0 = P000 + P010*X + P001*Y + P020*X. 2 +P011*Z*Y+P002*Y 2Where X0 is the maximum adjustable distance of the slide rail adjustment motor, and P000, P010, P001, P020, P011, and P002 are constants determined based on the limit parameters corresponding to the front stall point of the slide rail adjustment motor, the backrest adjustment motor, and the height adjustment motor, respectively. Optionally, the maximum slide rail adjustment distance is the maximum adjustable distance between the vehicle seat and the obstacle in the slide rail direction corresponding to the current position of the slide rail adjustment motor. Figure 4 As shown, the maximum adjustable distance of the slide rail adjusting motor at the current position is S1.
[0053] Step 243: Determine the maximum height adjustable distance of the height adjustment motor based on the current backrest distance and the current slide rail distance.
[0054] One approach is to consider the current backrest distance and slide rail distance of the vehicle seat in its current position, as well as the limit parameters corresponding to the front stall point of the slide rail adjustment motor, the backrest adjustment motor, and the height adjustment motor. Alternatively, this can be achieved using the formula Y0 = P100 + P110*X + P101*Z + P120*X. 2 +P111*Z*X+P102*Z 2 Where Y0 is the maximum adjustable height distance of the height adjustment motor, and P100, P110, P101, P120, P111, and P102 are constants determined based on the limit parameters of the slide rail adjustment motor at the front stall point, the backrest adjustment motor at the front stall point, and the height adjustment motor at the front stall point, respectively. Optionally, the maximum height adjustment distance is the maximum adjustable distance between the vehicle seat and the obstacle in the height direction corresponding to the current position of the height adjustment motor. Figure 5 As shown, the maximum adjustable distance of the height adjustment motor at the current position is S2.
[0055] Step 244: Determine the maximum adjustable backrest distance of the backrest adjustment motor based on the current slide rail distance and the current height distance.
[0056] One approach is to consider the current slide rail distance and current height distance of the vehicle seat in its current position, as well as the limit parameters corresponding to the front stall point of the slide rail adjustment motor, the backrest adjustment motor, and the height adjustment motor. Alternatively, this can be achieved using the formula Z0 = P200 + P210*X + P201*Y + P220*X. 2 +P211*Y*X+P202*Y 2Where Y0 is the maximum adjustable height distance of the height adjustment motor, and P200, P210, P201, P220, P211, and P202 are constants determined based on the limit parameters of the slide rail adjustment motor at the front stall point, the backrest adjustment motor at the front stall point, and the height adjustment motor at the front stall point, respectively. Optionally, the maximum backrest adjustment distance is the maximum adjustable distance between the vehicle seat and the obstacle in the backrest direction corresponding to the current position of the backrest adjustment motor. Figure 6 As shown, the maximum adjustable distance of the backrest adjustment motor in the current position is S3.
[0057] Please continue to participate. Figure 2 Step 250: Adjust the vehicle seat according to the current distance between the adjusting motor and the front stall point in different adjustable directions and the maximum adjustable distance of the adjusting motor in different adjustable directions.
[0058] For a detailed description of steps 210-220 and 250, please refer to steps 110-120 and 140, which will not be repeated here.
[0059] In this embodiment, the maximum adjustable distance of the motor in different adjustable directions is determined by adjusting the limit parameters of the front stall point of the motor in different adjustable directions and adjusting the current distance between the front stall points of the motor in different adjustable directions, thereby ensuring the accuracy of the maximum adjustable distance of the motor in different adjustable directions.
[0060] Figure 7 This application illustrates a method for adjusting a vehicle seat according to an embodiment of the present application. The specific process of this embodiment will be described below. It is understood that this method can be executed by an electronic device with computing power, such as a desktop computer, laptop computer, in-vehicle terminal, or in-vehicle infotainment screen. The following will focus on... Figure 7 The process shown will be described in detail. The method for adjusting the vehicle seat may specifically include the following steps:
[0061] Step 310: Determine the current position of the adjustment motor corresponding to the vehicle seat in different adjustable directions.
[0062] As one approach, when determining the current position of the vehicle seat adjustment motor in different adjustable directions, it is possible to first determine whether the movement direction of the vehicle seat adjustment point in different directions is the same as the preset direction. Only when it is determined that it is the same as the preset direction is the current position of the vehicle seat adjustment motor in different adjustable directions determined. Each adjustable direction has its own corresponding preset direction. For example, when adjusting the vehicle seat via a slide rail adjustment motor, its preset direction can be set to the direction facing the rear of the vehicle.
[0063] In some embodiments, step 310 includes: obtaining the movement direction of the adjustment motor corresponding to the vehicle seat in different adjustable directions; if the movement direction is opposite to the direction of the front stall point in different adjustable directions, then determining the current position of the adjustment motor corresponding to the vehicle seat in different adjustment directions.
[0064] One approach is to determine the movement direction of the vehicle seat in different adjustable directions by acquiring the sensing data of the motor sensor, or by acquiring the Hall waveform of the adjustment motor in different adjustable directions.
[0065] In one approach, when it is determined that the direction of movement of the adjustment motor in different adjustable directions is opposite to the direction of the front stall point in different adjustable directions, it can be determined that the vehicle seat may interfere with or collide with the vehicle body or obstacles. In order to avoid this situation, the current position of the adjustment motor in different adjustable directions can be determined, so as to facilitate the control of the adjustment motor based on the current position of the adjustment motor in different adjustable directions, thereby controlling the adjustment of the vehicle seat.
[0066] Step 320: Obtain the limit positions corresponding to the front stall point of the adjustable motor in different adjustable directions.
[0067] One approach is to pre-set the position parameters of the regulating motor in different adjustable directions. After determining the stall point of the regulating motor, the limit positions corresponding to the stall point in different adjustable directions can be determined based on the position parameters at which the regulating motor stalls. Alternatively, during factory setup, multiple unit sections can be set for the regulating rails corresponding to different adjustment directions. Each unit section has a set unit position parameter, and position markers for these unit sections are set sequentially. These position markers indicate the corresponding order of each unit section. Then, after determining that the regulating motor has stalled, the position markers are obtained to correspond to the sequence of the stalled unit sections. Finally, based on this sequence and the unit position parameters of each unit section, the limit positions corresponding to the stall point in different adjustment directions are determined.
[0068] Step 330: Determine the difference between the current position of the regulating motor in different adjustable directions and the limit position corresponding to the front stall point in the corresponding adjustable direction, and determine the difference as the current distance of the regulating motor in different adjustable directions.
[0069] One approach is to determine the limit positions corresponding to the front stall points of the adjusting motor in different adjustable directions, then subtract the limit positions from the current positions in those directions to obtain the current position of the adjusting motor. This difference between the current position and the limit positions in different adjustable directions gives the current distance of the adjusting motor in each direction. Optionally, the current slide rail distance for the slide rail adjusting motor is the difference between the limit positions of the front stall points and the current position of the slide rail adjusting motor; the current backrest distance for the backrest adjusting motor is the difference between the limit positions of the front stall points and the current position of the backrest adjusting motor; and the current height distance for the height adjusting motor is the difference between the limit positions of the front stall points and the current position of the height adjusting motor.
[0070] Step 340: Determine the maximum adjustable distance of the adjusting motor in different adjustable directions based on the current distance between the adjusting motor and the front stall point in different adjustable directions.
[0071] Step 350: Adjust the vehicle seat according to the current distance between the adjusting motor and the front stall point in different adjustable directions and the maximum adjustable distance of the adjusting motor in different adjustable directions.
[0072] The specific steps of steps 340-350 can be found in steps 130-140, and will not be repeated here.
[0073] In this embodiment, by adjusting the limit positions corresponding to the front stall points of the motor in different adjustable directions, the difference between the current position of the motor in different adjustable directions and the limit positions corresponding to the front stall points in the corresponding adjustable directions is determined. This difference is used to determine the current distance of the motor in different adjustable directions, thereby ensuring the accuracy of the current distance of the motor in different adjustable directions based on the maximum adjustable distance of the motor in different adjustable directions.
[0074] Figure 8 This application illustrates a method for adjusting a vehicle seat according to an embodiment of the present application. The specific process of this embodiment will be described below. It is understood that this method can be executed by an electronic device with computing power, such as a desktop computer, laptop computer, in-vehicle terminal, or in-vehicle infotainment screen. The following will focus on... Figure 8 The process shown will be described in detail. The method for adjusting the vehicle seat may specifically include the following steps:
[0075] Step 410: Determine the current position of the adjustment motor corresponding to the vehicle seat in different adjustable directions.
[0076] Step 420: Based on the current position of the adjusting motor in different adjustable directions, determine the current distance between the adjusting motor and the front stall point in different adjustable directions. The different adjustable directions include seat back forward, seat back backward, seat horizontal slide rail forward, seat horizontal slide rail backward, seat height upward, and seat height downward. The front stall point is the extreme position point in the forward direction of the seat back, the forward direction of the seat horizontal slide rail, and the upward direction of the seat height.
[0077] Step 430: Determine the maximum adjustable distance of the adjusting motor in different adjustable directions based on the current distance between the adjusting motor and the front stall point in different adjustable directions.
[0078] The specific steps of steps 410-430 can be found in steps 110-130, and will not be repeated here.
[0079] Step 440: Determine whether the current distance between the adjusting motor and the front stall point of the adjustable direction is greater than or equal to the maximum adjustable distance of the adjustable direction.
[0080] One approach to adjusting a vehicle seat is to determine whether to control the adjustment motor for adjustment by considering the relationship between the current distance between the adjustment motor and the front stall point in different adjustable directions and the maximum adjustable distance of the adjustment motor in different adjustable directions. Therefore, the relationship between the current distance between the adjustment motor and the front stall point in the adjustable direction and the maximum adjustable distance in the adjustable direction can be determined first, i.e., whether the current distance between the adjustment motor and the front stall point in the adjustable direction is greater than or equal to the maximum adjustable distance in the adjustable direction.
[0081] Step 450: If the current distance between the front stall points of the adjustable motor in the adjustable direction is greater than or equal to the maximum adjustable distance in the adjustable direction, then the adjustable motor is turned off to stop adjusting the vehicle seat.
[0082] As a method, if it is determined that the current distance between the front stall point of the adjustment motor in the adjustable direction is greater than or equal to the maximum adjustable distance in the adjustable direction, it can be determined that the adjustment motor can no longer make adjustments. In order to avoid the adjustment motor from interfering with the vehicle body or obstacles by adjusting the vehicle seat, the adjustment motor is controlled to be turned off, so as to stop the vehicle and adjust the vehicle seat.
[0083] As another method, if it is determined that the current distance between the stall points of the adjusting motor in the adjustable direction is less than the maximum adjustable distance in the adjustable direction, it can be determined that the adjusting motor can be further adjusted, and the vehicle seat can then be adjusted according to the maximum adjustable distance in the adjustable direction. Optionally, adjusting the vehicle seat according to the maximum adjustable distance in the adjustable direction can involve obtaining an adjustment command for the vehicle seat, and adjusting the vehicle seat to the target position or the position corresponding to the maximum adjustable distance based on the target position indicated in the adjustment command and the maximum adjustable distance of the vehicle seat in different directions. The adjustment command can be a voice command issued by the user, or an adjustment command sent to the vehicle by the user through an electronic device connected to the vehicle for a target position.
[0084] In some embodiments, the method further includes: if the current distance between the front stall points of the adjustable motor in the adjustable direction is greater than or equal to the maximum adjustable distance in the adjustable direction, then outputting a prompt message.
[0085] As one approach, when the current distance between the stall points at the front end of the adjustable direction of the motor is greater than or equal to the maximum adjustable distance of the adjustable direction, a prompt message can be generated and output to inform the user that the vehicle seat can no longer be adjusted. Optionally, the prompt message can be a voice prompt or a text prompt. When the prompt message is a voice prompt, it can be played through the vehicle's media control module or through an electronic device connected to the vehicle. When the prompt message is a text prompt, it can be displayed as a pop-up window on the vehicle's infotainment screen or on an electronic device connected to the vehicle.
[0086] In this embodiment, the determination of whether to control the adjustment motor to make further adjustments to the vehicle seat is made by determining the relationship between the current distance of the adjustable direction of the adjustment motor and the maximum adjustable direction of the adjustable direction, thus ensuring the accuracy of the adjustment of the vehicle seat.
[0087] Figure 9 This is a schematic diagram illustrating the adjustment process of a vehicle seat according to an embodiment of this application, such as... Figure 9As shown, after receiving a drive request from the regulating motor, the electronic device can obtain the front stall point parameters of the regulating motor. Optionally, the electronic device can pre-learn the front stall point parameters of the regulating motor in different regulating directions and store these parameters. Then, the electronic device determines whether it has acquired the front stall point parameter of the adjustment motor. If it is determined that the front stall point parameter of the adjustment motor has not been acquired, it can be determined that the electronic device has not learned the front stall point parameter of the adjustment motor. In this case, the adjustment of the adjustment motor is not restricted, that is, the adjustment motor can be controlled to adjust based on the adjustment command of the vehicle seat. If it is determined that the front stall point parameter of the adjustment motor has been acquired, it can be determined that the electronic device has learned the front stall point parameter of the adjustment motor. Then, it can be determined whether the adjustment direction of the adjustment motor is the same as the direction corresponding to the front stall point. Optionally, the direction corresponding to the front stall point includes the forward direction of the vehicle seat slide rail, the upward direction of the vehicle seat height, and the backward direction of the vehicle seat back. If the adjustment direction of the adjustment motor is the same as the direction of the front stall point, it can be determined that there is no need to restrict the control of the adjustment motor, and the adjustment motor can be controlled to adjust based on the adjustment command. If it is determined that the adjustment direction of the adjustment motor is opposite to the direction corresponding to the front stall point, it is determined that the adjustment of the adjustment motor needs to be restricted to avoid interference or collision between the vehicle seat and the vehicle body or obstacles during the adjustment of the adjustment motor. First, determine the current distance between the adjusting motor at its current position and the front stall point. Optionally, this distance can be determined by comparing the motor parameters at the current position with those at the front stall point. Then, determine the current maximum adjustable distance of the adjusting motor based on its current position. This allows you to decide whether to stop the adjusting motor based on both the current maximum adjustable distance and the current distance from the front stall point. If the current distance is greater than or equal to the current maximum adjustable distance, it indicates the adjusting motor is about to interfere with or collide with the vehicle body or obstacle, and the adjusting motor should be stopped. If the current distance is less than the current maximum adjustable distance, it indicates the adjusting motor still has adjustable range. The current distance from the front stall point is then determined again based on the motor's real-time position, and the decision to stop the adjusting motor is made again based on the updated current distance. Figure 10 This is a block diagram illustrating a vehicle seat adjustment device according to an embodiment of this application, such as... Figure 10 As shown, the vehicle seat adjustment device 500 includes: a current position determination module 510, a current distance determination module 520, a maximum adjustable distance determination module 530, and an adjustment module 540.
[0088] The current position determination module 510 is used to determine the current position of the adjustment motor corresponding to the vehicle seat in different adjustable directions; the current distance determination module 520 is used to determine the current distance between the adjustment motor and the front stall point in different adjustable directions based on the current position of the adjustment motor in different adjustable directions, wherein the different adjustment directions include seat back forward, seat back backward, seat horizontal slide rail forward, seat horizontal slide rail backward, seat height upward, and seat height downward, and the front stall point is the extreme position point in the seat back forward direction, seat horizontal slide rail forward direction, and seat height upward direction; the maximum adjustable distance determination module 530 is used to determine the maximum adjustable distance of the adjustment motor in different adjustable directions based on the current distance between the adjustment motor and the front stall point in different adjustable directions; the adjustment module 540 is used to adjust the vehicle seat based on the current distance between the adjustment motor and the front stall point in different adjustable directions and the maximum adjustable distance of the adjustment motor in different adjustable directions.
[0089] In some embodiments, the adjusting motor includes a slide rail adjusting motor, a backrest adjusting motor, and a height adjusting motor. The maximum adjustable distance determining module 530 includes: a current distance determining unit, configured to determine the current slide rail distance of the slide rail adjusting motor at the current position relative to the front end stall point of the slide rail adjusting motor in the adjusting direction, the current backrest distance of the backrest adjusting motor at the current position relative to the front end stall point of the backrest adjusting motor in the adjusting direction, and the current height distance of the height adjusting motor at the current position relative to the front end stall point of the height adjusting motor in the adjusting direction; a maximum slide rail adjustable distance determining unit, configured to determine the maximum slide rail adjustable distance of the slide rail adjusting motor based on the current backrest distance and the current height distance; a maximum height adjustable distance determining unit, configured to determine the maximum height adjustable distance of the height adjusting motor based on the current backrest distance and the current slide rail distance; and a maximum backrest adjustable distance determining unit, configured to determine the maximum backrest adjustable distance of the backrest adjusting motor based on the current slide rail distance and the current height distance.
[0090] In some embodiments, the maximum adjustable distance determination module 530 further includes: a limit parameter acquisition unit, configured to acquire the limit parameters of the front stall point of the adjustable motor in different adjustable directions; and a maximum adjustable distance determination unit, configured to determine the maximum adjustable distance in different adjustable directions based on the limit parameters of the front stall point of the adjustable motor in different adjustable directions and the current distance between the adjustable motor and the front stall point in different adjustable directions.
[0091] In some embodiments, the current distance determination module 520 includes: an extreme position acquisition unit, configured to acquire the extreme positions corresponding to the front stall points of the regulating motor in different adjustable directions; and a current distance determination unit, configured to determine the difference between the current position of the regulating motor in the different adjustable directions and the extreme position corresponding to the front stall point in the corresponding adjustment direction, and to determine the difference as the current distance of the regulating motor in the different adjustable directions.
[0092] In some embodiments, for each of the different adjustable directions, the adjustment module 540 includes: a determining unit, configured to determine whether the current distance between the adjusting motor and the front stall point of the adjustable direction is greater than or equal to the maximum adjustable distance of the adjustable direction; and a first processing unit, configured to turn off the adjusting motor to stop adjusting the vehicle seat if the current distance between the adjusting motor and the front stall point of the adjustable direction is greater than or equal to the maximum adjustable distance of the adjustable direction.
[0093] In some embodiments, the adjustment module 540 further includes a prompting unit, configured to output a prompting message if the current distance between the front stall points of the adjustable motor in the adjustable direction is greater than or equal to the maximum adjustable distance in the adjustable direction.
[0094] In some embodiments, the current position determination module 510 includes: a motion direction acquisition unit, configured to acquire the motion direction of the adjustment motor corresponding to the vehicle seat in different adjustable directions; and a current position determination unit, configured to determine the current position of the adjustment motor corresponding to the vehicle seat in different adjustment directions if the motion direction is opposite to the direction of the front stall point in different adjustable directions.
[0095] According to one aspect of the embodiments of this application, a cloud server is also provided, such as... Figure 11 As shown, the cloud server 600 includes a processor 610 and one or more memories 620. The one or more memories 620 are used to store program instructions executed by the processor 610. When the processor 610 executes the program instructions, it implements the above-described vehicle seat adjustment method.
[0096] Furthermore, the processor 610 may include one or more processing cores. The processor 610 runs or executes instructions, programs, code sets, or instruction sets stored in the memory 620, and retrieves data stored in the memory 620. Optionally, the processor 610 may be implemented using at least one hardware form selected from Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 610 may integrate one or a combination of several of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the displayed content; and the modem handles wireless communication. It is understood that the modem may also not be integrated into the processor and may be implemented using a separate communication chip.
[0097] According to one aspect of this application, a computer-readable storage medium is also provided, which may be included in the cloud server described in the above embodiments; or it may exist independently and not assembled into the cloud server. The aforementioned computer-readable storage medium carries computer-readable instructions that, when executed by a processor, implement the methods in any of the above embodiments.
[0098] It should be noted that the computer-readable medium shown in the embodiments of this application can be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, portable compact disc read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this application, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such transmitted data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to wireless, wired, etc., or any suitable combination thereof.
[0099] The units described in the embodiments of this application can be implemented in software or hardware, and the described units can also be located in a processor. The names of these units do not necessarily limit the specific unit itself.
[0100] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. Each block in a flowchart or block diagram may represent a module, segment, or portion of code, which contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0101] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein.
[0102] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.
Claims
1. A method for adjusting a vehicle seat, characterized in that, The method includes: Determine the current position of the adjustment motor corresponding to the vehicle seat in different adjustable directions; Based on the current position of the adjusting motor in different adjustable directions, the current distance between the adjusting motor and the front stall point in different adjustable directions is determined. The different adjustable directions include seat back forward, seat back backward, seat horizontal slide rail forward, seat horizontal slide rail backward, seat height upward, and seat height downward. The front stall point is the extreme position point in the seat back forward direction, seat horizontal slide rail forward direction, and seat height upward direction. Based on the current distance between the regulating motor and the front stall point in different adjustable directions, determine the maximum adjustable distance of the regulating motor in different adjustable directions; The vehicle seat is adjusted based on the current distance between the adjusting motor and the front stall point in different adjustable directions and the maximum adjustable distance of the adjusting motor in different adjustable directions; The adjustable motor includes a slide rail adjustable motor, a backrest adjustable motor, and a height adjustable motor. Determining the maximum adjustable distance of the adjustable motor in different adjustable directions based on the current distance between the adjustable motor and the front stall point in different adjustable directions includes: Determine the current slide rail distance between the slide rail adjusting motor and the front stall point of the adjustable direction of the slide rail adjusting motor, determine the current backrest distance between the backrest adjusting motor and the front stall point of the adjustable direction of the backrest adjusting motor, and determine the current height distance between the height adjusting motor and the front stall point of the adjustable direction of the height adjusting motor. The maximum adjustable distance of the slide rail adjustment motor is determined based on the current backrest distance and the current height distance. The maximum adjustable height distance of the height adjustment motor is determined based on the current backrest distance and the current slide rail distance. The maximum adjustable backrest distance of the backrest adjustment motor is determined based on the current slide rail distance and the current height distance.
2. The method according to claim 1, characterized in that, Determining the maximum adjustable distance of the regulating motor in different adjustable directions based on the current distance between the regulating motor and the front stall point in different adjustable directions includes: Obtain the limit parameters of the front stall point of the adjustable motor in different adjustable directions; The maximum adjustable distance in different adjustable directions is determined based on the limit parameters of the front stall point of the adjustable motor in different adjustable directions and the current distance between the adjustable motor and the front stall point in different adjustable directions.
3. The method according to claim 1, characterized in that, Determining the current distance of the regulating motor in different adjustable directions from the current position to the front stall point includes: Obtain the extreme positions corresponding to the front stall point of the adjustable motor in different adjustable directions; Determine the difference between the current position of the regulating motor in different adjustable directions and the limit position corresponding to the front stall point in the corresponding adjustable direction, and determine the difference as the current distance of the regulating motor in different adjustable directions.
4. The method according to claim 1, characterized in that, For each of the different adjustable directions, adjusting the vehicle seat based on the current distance between the adjusting motor and the stall point at the front end of the different adjustable direction and the maximum adjustable distance of the adjusting motor in the different adjustable directions includes: Determine whether the current distance between the adjustable motor and the front stall point of the adjustable direction is greater than or equal to the maximum adjustable distance of the adjustable direction; If the current distance between the front stall points of the adjustable motor in the adjustable direction is greater than or equal to the maximum adjustable distance in the adjustable direction, the adjustable motor is turned off to stop adjusting the vehicle seat.
5. The method according to claim 4, characterized in that, The method further includes: If the current distance between the front stall points of the adjustable motor in the adjustable direction is greater than or equal to the maximum adjustable distance in the adjustable direction, a prompt message will be output.
6. The method according to any one of claims 1-5, wherein determining the current position of the adjustment motor corresponding to the vehicle seat in different adjustable directions comprises: Obtain the movement direction of the adjustment motor corresponding to the vehicle seat in different adjustable directions; If the direction of movement is opposite to the direction of the front stall point in different adjustable directions, then the current position of the adjustment motor corresponding to the vehicle seat in different adjustable directions is determined.
7. A vehicle seat adjustment device, characterized in that, The device includes: The current position determination module is used to determine the current position of the adjustment motor corresponding to the vehicle seat in different adjustable directions; The current distance determination module is used to determine the current distance between the adjusting motor and the front stall point in different adjustable directions based on the current position of the adjusting motor in different adjustable directions. The different adjustable directions include seat back forward, seat back backward, seat horizontal slide rail forward, seat horizontal slide rail backward, seat height upward, and seat height downward. The front stall point is the extreme position point in the seat back forward direction, seat horizontal slide rail forward direction, and seat height upward direction. The maximum adjustable distance determination module is used to determine the maximum adjustable distance of the adjustable motor in different adjustable directions based on the current distance between the adjustable motor and the front stall point in different adjustable directions. An adjustment module is used to adjust the vehicle seat based on the current distance between the adjustment motor and the front stall point in different adjustable directions and the maximum adjustable distance of the adjustment motor in different adjustable directions; The adjustable motor includes a slide rail adjustable motor, a backrest adjustable motor, and a height adjustable motor. Determining the maximum adjustable distance of the adjustable motor in different adjustable directions based on the current distance between the adjustable motor and the front stall point in different adjustable directions includes: Determine the current slide rail distance between the slide rail adjusting motor and the front stall point of the adjustable direction of the slide rail adjusting motor, determine the current backrest distance between the backrest adjusting motor and the front stall point of the adjustable direction of the backrest adjusting motor, and determine the current height distance between the height adjusting motor and the front stall point of the adjustable direction of the height adjusting motor. The maximum adjustable distance of the slide rail adjustment motor is determined based on the current backrest distance and the current height distance. The maximum adjustable height distance of the height adjustment motor is determined based on the current backrest distance and the current slide rail distance. The maximum adjustable backrest distance of the backrest adjustment motor is determined based on the current slide rail distance and the current height distance.
8. An electronic device, characterized in that, The electronic device includes: processor; A memory storing computer-readable instructions that, when executed by the processor, implement the method as described in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium contains program code that can be invoked by a processor to execute the method as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Vehicle seat stroke determination method and device and vehicle
CN115214431A