Driving seat adjusting method and device, computer equipment and storage medium
By real-time detection of road width and driver attitude and automatic adjustment of driver seats, the driver's visual range is solved by solving the problem of limited driver's visual range when the road becomes narrower or obstacles exist, and improving driving safety and experience.
Patent Information
- Application Number
- CN202411485901.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-23
- Publication Date
- 2025-01-07
AI Technical Summary
During the vehicle's driving process, especially when the road width becomes narrower or there are obstacles, the driver needs to lean sideways or lean forward to check the road conditions, resulting in limited visual range and affecting driving safety and experience.
By real-time detection of the road width and driver's attitude in front, the seat height and position of the driver's seat are automatically adjusted, and the driver's visual range is expanded without the driver changing his body posture and improving driving safety and experience.
During the vehicle driving, the seats are automatically adjusted to expand the driver's field of vision, improve driving safety, and return to its original position when the driver operates the steering wheel or presses the accelerator, improving the driving experience.
Smart Images

Figure CN119261695A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of seat adjustment, and in particular to a method, device, computer equipment and storage medium for adjusting a driver's seat. Background Art
[0002] At present, when a vehicle is driving on a narrow road without a center line, if there is an oncoming vehicle, there are obstacles such as landslides and falling rocks on the road ahead, or there are large potholes on the road ahead, which narrows the width of the passable road ahead, or for example, when the vehicle is just starting or parking, drivers with less driving experience need to turn sideways and / or lean forward to check the road conditions, or even get off the car to check the road conditions, which makes the user's driving experience need to be improved. Moreover, if a driver with less driving experience chooses to turn sideways or lean forward to check the road conditions instead of getting off the car to check the road conditions out of a fluke mentality, the limited visual range caused by turning sideways or leaning forward may affect driving safety. Summary of the invention
[0003] Based on this, a driver's seat adjustment method, device, computer equipment and storage medium are provided to adjust the driver's seat when the width of the passable road ahead becomes narrower, thereby expanding the driver's visual range, eliminating the need for the driver to change his body posture to check the road conditions, and improving the driver's driving experience.
[0004] In a first aspect, a method for adjusting a driver's seat is provided, the method comprising:
[0005] When the vehicle is in a driving state, the redundant road width ahead and the first driver posture are detected in real time, wherein the redundant road width ahead is equal to the passable road width ahead minus the vehicle width;
[0006] When the redundant road width ahead is smaller than a preset width, if the first driver posture is leaning forward and / or sideways, a first height adjustment value and a longitudinal distance adjustment value are calculated according to the redundant road width ahead;
[0007] The driver's seat is raised according to the first height adjustment value, and the driver's seat is moved forward according to the longitudinal distance adjustment value; the second driver's posture is detected in real time, and when it is detected that the second driver's posture is operating the steering wheel and / or pressing the accelerator pedal, the driver's seat is restored to the position before adjustment.
[0008] In combination with the first aspect, in a first possible implementation of the first aspect, calculating the first height adjustment value according to the front redundant road width includes:
[0009] Acquire a maximum ascendable height and a preset first threshold and a second threshold;
[0010] Based on the maximum riseable height, the front redundant road width, the first threshold and the second threshold, the first height adjustment value is calculated according to a first preset relationship, wherein the first preset relationship includes:
[0011]
[0012] H adj1 represents the first height adjustment value, H rem represents the maximum height that can be raised, W red represents the redundant road width ahead, TH1 represents the first threshold, and TH2 represents the second threshold.
[0013] In combination with the first possible implementation of the first aspect, in a second possible implementation of the first aspect, calculating the longitudinal distance adjustment value according to the front redundant road width includes:
[0014] Obtaining the maximum forward movement distance of the driver's seat;
[0015] Based on the maximum movable distance, the front redundant road width, the first threshold and the second threshold, the longitudinal distance adjustment value is calculated according to a second preset relationship, wherein the second preset relationship includes:
[0016]
[0017] L adj is the longitudinal distance adjustment value, L for_max is the maximum forward distance, L cur is the current distance.
[0018] In combination with the first aspect, in a third possible implementation of the first aspect, the method further includes:
[0019] When the vehicle gear is in the reverse gear or is switched from the parking gear to the driving gear, detecting the driving speed, the third driver posture, and the driving speed of the shortest distance from an obstacle to the vehicle body within a preset range of the vehicle;
[0020] When the shortest distance is less than a preset distance and the driving speed is lower than a preset vehicle speed, if the third driver posture is leaning forward and / or sideways, a second height adjustment value and a backrest angle adjustment value are calculated according to the shortest distance and a preset safety distance;
[0021] The driver's seat is raised according to the second height adjustment value, and the backrest of the driver's seat is tilted forward according to the backrest angle adjustment value; when it is monitored that the driving speed is zero or greater than the preset speed, the driver's seat is restored to the position before adjustment.
[0022] In combination with the third implementable embodiment of the first aspect, in a fourth implementable embodiment of the first aspect, calculating the second height adjustment value according to the shortest distance and a preset safety distance includes:
[0023] Obtaining a maximum ascendable height and a preset third threshold;
[0024] Based on the shortest distance, the safety distance, the maximum riseable height and the third threshold, the second height adjustment value is calculated according to a third preset relationship, wherein the third preset relationship includes:
[0025]
[0026] H adj2 represents the second height adjustment value, L saf Indicates the safety distance, L cur_min represents the shortest distance, TH3 represents the third threshold, H rem Indicates the maximum height that can be raised.
[0027] In combination with the fourth possible implementation method of the first aspect, in a fifth possible implementation method of the first aspect, calculating the backrest angle adjustment value according to the shortest distance and a preset safety distance includes:
[0028] Get the current backrest angle and the preset backrest angle threshold;
[0029] Based on the shortest distance, the safety distance, the third threshold, the backrest angle threshold and the current backrest angle, the backrest angle adjustment value is calculated according to a fourth preset relationship, wherein the fourth preset relationship includes:
[0030]
[0031] θ adj represents the backrest angle adjustment value, θ th represents the backrest angle threshold, θ cur Indicates the current backrest angle.
[0032] In combination with the first aspect, in a sixth possible implementation of the first aspect, the method further includes:
[0033] When the vehicle is about to enter a ramp, detecting the slope of the ramp and the distance between the driver's line of sight and the windshield in the horizontal direction;
[0034] When the slope of the ramp is greater than a preset slope, calculating a third height adjustment value according to the slope of the ramp and the interval distance;
[0035] The driver's seat is raised according to the third height adjustment value; when the vehicle drives off the ramp, the driver's seat is restored to the position before adjustment.
[0036] In a second aspect, a driver's seat adjustment device is provided, the device comprising:
[0037] A detection module, used for detecting the width of a redundant road ahead and a first driver posture in real time when the vehicle is in a driving state, wherein the width of the redundant road ahead is equal to the width of a passable road ahead minus the width of the vehicle;
[0038] a calculation module, configured to calculate a first height adjustment value and a longitudinal distance adjustment value according to the width of the redundant road ahead when the width of the redundant road ahead is less than a preset width and if the first driver posture is a body leaning forward and / or sideways;
[0039] The adjustment module is used to raise the driver's seat according to the first height adjustment value and move the driver's seat forward according to the longitudinal distance adjustment value; detect the second driver's posture in real time, and when it is detected that the second driver's posture is operating the steering wheel and / or pressing the accelerator pedal, restore the driver's seat to the position before adjustment.
[0040] In a third aspect, a computer device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the driver's seat adjustment method described in any one of the first aspect or the first to sixth possible implementations of the first aspect are implemented.
[0041] In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the driver's seat adjustment method described in any one of the first aspect or the first to sixth embodiments of the first aspect are implemented.
[0042] The above-mentioned driver seat adjustment method, device, computer equipment and storage medium detect the redundant road width and the first driver posture in real time when the vehicle is in a driving state, and the redundant road width in front is equal to the width of the passable road in front minus the vehicle width; when the redundant road width in front is less than the preset width, if the first driver posture is leaning forward and / or sideways, the first height adjustment value and the longitudinal distance adjustment value are calculated according to the redundant road width in front; the driver seat is automatically raised according to the first height adjustment value, and the driver seat is automatically moved forward according to the longitudinal distance adjustment value, at which time the driver's visual range is increased so that the driver can see the road conditions ahead clearly, thereby improving driving safety, and there is no need for the driver to lean forward or sideways to check the road conditions, thereby improving the user's driving experience; when the user operates the steering wheel and / or presses the accelerator pedal after checking the road conditions, it will be detected that the first driver posture is operating the steering wheel and / or pressing the accelerator pedal, and in order to enable the driver to drive the vehicle in a comfortable manner, the driver seat is automatically restored to the position before adjustment, without the driver manually adjusting the seat position. Therefore, compared with the prior art, the beneficial effects of the present application are: automatically adjusting the driver's seat when the width of the passable road ahead becomes narrower, expanding the driver's visual range so that the driver can understand the road conditions ahead, thereby improving driving safety. The driver does not need to actively change his posture to check the road conditions, and the seat position can be automatically restored when the driver operates the vehicle, thereby improving the driver's driving experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 A schematic diagram of a process of adjusting a driver's seat in one embodiment;
[0044] Figure 2 A schematic diagram of a process of adjusting a driver's seat in one embodiment;
[0045] Figure 3 A schematic diagram of a process of adjusting a driver's seat in one embodiment;
[0046] Figure 4 1 is a structural block diagram of a driver's seat adjustment device in one embodiment. DETAILED DESCRIPTION
[0047] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0048] It should be noted that the illustrations provided in this embodiment only illustrate the basic concept of the present application in a schematic manner, and therefore the drawings only show components related to the present application rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.
[0049] The structures, proportions, sizes, etc. illustrated in the drawings in this specification are only used to match the contents disclosed in the specification so as to facilitate understanding and reading by persons familiar with this technology. They are not used to limit the conditions under which this application can be implemented, and therefore have no substantive technical significance. Any structural modification, change in proportion or adjustment of size, without affecting the effects and purposes that can be achieved by this application, should still fall within the scope of the technical contents disclosed in this application.
[0050] The directions or positional relationships indicated by the terms "upper", "lower", "left", "right", "middle", "longitudinal", "lateral", "horizontal", "inner", "outer", "radial", "circumferential" and the like in this specification are based on the directions or positional relationships shown in the drawings and are only for the convenience of simplifying the description. They do not indicate or imply that the devices or elements referred to must have a specific direction, be constructed and operate in a specific direction, and therefore cannot be understood as limiting the present application. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance.
[0051] When a vehicle is driving on a narrow road without a center line, when there is an oncoming vehicle, an obstacle or a large pothole on the road ahead, the width of the passable road ahead becomes narrower, or when the vehicle is just starting or stopping, novice drivers or drivers with insufficient driving experience need to lean sideways or forward to check the road conditions, or even get off the vehicle to check the road conditions, which results in the user's driving experience being left to be improved. If the driver chooses not to get off the vehicle but leans sideways or forward to check the road conditions, the limited visual range may affect driving safety.
[0052] To this end, the present application proposes a driver's seat adjustment method, device, computer equipment and storage medium. When the vehicle is in a driving state, if the width of the drivable road ahead becomes narrower and it is detected that the driver's body is leaning forward and / or sideways, the driver's seat is automatically raised and moved forward to expand the driver's visual range to understand the road conditions ahead, thereby improving driving safety. The driver does not need to actively change his posture to check the road conditions, and the seat position can be automatically restored when the driver has checked the road conditions and manipulated the vehicle, without the driver's manual operation, thereby improving the driver's driving experience.
[0053] Next, the present application will be described in detail through the following examples.
[0054] In one embodiment, Figure 1 As shown, a method for adjusting a driver's seat is provided, comprising the following steps:
[0055] Step 102, when the vehicle is in a driving state, detecting in real time the width of a redundant road ahead and a first driver posture, wherein the redundant road ahead width is equal to the width of a passable road ahead minus the width of the vehicle;
[0056] Step 104, when the redundant road width ahead is smaller than a preset width, if the first driver posture is leaning forward and / or sideways, calculating a first height adjustment value and a longitudinal distance adjustment value according to the redundant road width ahead;
[0057] Step 106: raise the driver's seat according to the first height adjustment value, and move the driver's seat forward according to the longitudinal distance adjustment value; detect the second driver's posture in real time, and when it is detected that the second driver's posture is operating the steering wheel and / or pressing the accelerator pedal, restore the driver's seat to the position before adjustment.
[0058] When the vehicle is driving, it continuously detects obstacles on both sides of the road ahead through laser radar and other detection equipment, including oncoming vehicles, potholes on the road, fallen rocks and landslides, which may cause the vehicle to be unable to drive normally. By detecting obstacles, the width of the passable road ahead can be detected. The width of the passable road ahead is obtained by subtracting the width of all obstacles from the total width of the road ahead. Then, the width of the redundant road ahead can be obtained by subtracting the width of the vehicle from the width of the passable road ahead.
[0059] At the same time, a camera is installed at a position such as the A-pillar or the rearview mirror inside the vehicle, and the camera continuously collects the driver's posture image information, and the driver's posture image information is processed by an image processing algorithm or a machine learning algorithm to identify the first driver's posture. It should be noted that the driver's posture image information collected by the camera has been authorized in advance by the driver.
[0060] When the redundant road ahead is narrow, a novice driver or an inexperienced driver may lean forward and / or sideways to check the road conditions. In this case, in order to provide the driver with a wider visual range, the driver's seat is automatically raised and moved forward. Therefore, when the redundant road ahead is narrower than the preset width and the first driver posture is that the driver leans forward, and / or, the redundant road ahead is narrower than the preset width and the first driver posture is that the driver sideways, the height to which the driver's seat needs to be raised and the distance to which it needs to be moved forward are calculated based on the redundant road ahead. The specific value of the preset width can be set based on the minimum road redundant width corresponding to the normal driving of the vehicle by the driver without changing his posture to check the road ahead.
[0061] Calculating the first height adjustment value according to the redundant road width in front includes: obtaining a maximum height that can be raised and a preset first threshold and a second threshold, where the maximum height that can be raised is the distance between the current seat position and the position where the seat moves to the highest position; calculating the first height adjustment value according to a first preset relationship based on the maximum height that can be raised, the redundant road width in front, the first threshold and the second threshold, where the first preset relationship includes:
[0062]
[0063] H adj1 represents the first height adjustment value, H rem represents the maximum height that can be raised, W red represents the redundant road width ahead, TH1 represents the first threshold, and TH2 represents the second threshold.
[0064] Further, the longitudinal distance adjustment value is calculated according to the redundant road width in front, including: obtaining the maximum forward movable distance of the driver's seat, the maximum forward movable distance being the interval distance between the current seat position and the position where the seat is moved to the frontmost position; based on the maximum forward movable distance, the redundant road width in front, the first threshold and the second threshold, the longitudinal distance adjustment value is calculated according to a second preset relationship, the second preset relationship including:
[0065]
[0066] L adj is the longitudinal distance adjustment value, L for_max is the maximum forward distance, L cur is the current distance.
[0067] The specific values of the above-mentioned first threshold and second threshold can be determined by calibration tests based on different vehicle models, but after substituting the calibrated first threshold and second threshold into the first preset relationship and the second preset relationship, the first preset relationship and the second preset relationship need to satisfy the following rules: when the width of the redundant road ahead exceeds the first threshold, the larger the width of the redundant road ahead, the smaller the visual range required by a novice driver or a driver with insufficient driving experience, and the corresponding first height adjustment value and longitudinal distance adjustment value are also smaller; conversely, the smaller the width of the redundant road ahead, the larger the visual range required by a novice driver or a driver with insufficient driving experience, and the corresponding first height adjustment value and longitudinal distance adjustment value are also larger; since the seat cannot be raised and moved forward infinitely, when the width of the redundant road ahead does not exceed the first threshold, the driver's seat is directly raised to the maximum height that can be raised, that is, raised to the highest position, and the driver's seat is moved forward to the maximum distance that can be moved forward, that is, moved to the frontmost position.
[0068] After calculating the first height adjustment value and the longitudinal distance adjustment value, the driver's seat is automatically raised by the first height adjustment value, and the driver's seat is automatically moved forward by the longitudinal distance adjustment value, thereby providing the driver with a larger visual range, allowing the driver to better observe the road conditions ahead, thereby improving driving safety.
[0069] Since the driver will operate the vehicle after checking the road conditions, in order to ensure that the driver can drive the vehicle comfortably, after detecting the driver's operation information of the vehicle, such as turning the steering wheel, stepping on the accelerator pedal, etc., the driver's seat will be automatically lowered and moved back, and the driver's seat will be restored to the position before adjustment.
[0070] Specifically, the driver's operation image information can be collected by a camera installed at a position such as the vehicle's A-pillar or the rearview mirror inside the vehicle and a camera installed near the accelerator pedal, and the driver's operation image information can be processed by an image processing algorithm or a machine learning algorithm to identify whether the second driver's posture is the operation direction and / or the accelerator pedal is pressed; or by installing a touch sensor on the steering wheel, the touch sensor is used to detect whether the driver operates the steering wheel, and by monitoring whether the throttle opening becomes larger to determine whether the driver presses the accelerator pedal, thereby obtaining the second driver's posture. When it is detected that the second driver's posture is the driver operating the steering wheel and / or pressing the accelerator pedal, the driver's seat is restored to the position before it is raised and moved forward, so that the driver can drive the vehicle in a comfortable state; if the vehicle has not passed the narrow road, it will return to step 102, and steps 102 to 106 will be executed cyclically until the vehicle passes the narrow road. The above-mentioned entire adjustment process is performed automatically without the need for manual operation by the driver, thereby improving the driver's experience.
[0071] In some embodiments, considering that when the width of the passable road ahead becomes narrower, the driver will generally drive the vehicle carefully to slowly pass through the narrow road. Therefore, after detecting that the vehicle passes through the narrow road, that is, when the width of the redundant road ahead is not less than the preset width, the driver's seat can be restored to the position before adjustment.
[0072] In one scenario, when the vehicle is just starting or parking, if there are obstacles near the vehicle, a novice driver or a driver with insufficient driving experience may also lean forward or sideways or even get out of the vehicle to check the road conditions. Therefore, in a preferred embodiment, in order to provide the driver in this scenario with a wider visual range and improve the driver's experience, the driver's seat height is automatically raised and the driver's seat is moved forward. Specifically, if Figure 2 As shown, the driver seat adjustment method also includes the following steps:
[0073] Step 202, when the vehicle gear is in the reverse gear or is switched from the parking gear to the driving gear, detecting the driving speed, the third driver posture, and the shortest distance from an obstacle to the vehicle body within a preset range of the vehicle;
[0074] Step 204, when the shortest distance is less than a preset distance and the driving speed is lower than a preset vehicle speed, if the third driver posture is leaning forward and / or sideways, a second height adjustment value and a backrest angle adjustment value are calculated according to the shortest distance and a preset safety distance;
[0075] Step 206, raising the driver's seat according to the second height adjustment value, and tilting the backrest of the driver's seat forward according to the backrest angle adjustment value; when it is monitored that the driving speed is zero or greater than the preset speed, restoring the driver's seat to the position before adjustment.
[0076] When the vehicle is parked, the gear is shifted into the reverse gear. When the vehicle just starts, the gear is shifted from the parking gear to the forward gear or reverse gear to drive out of the parking space. Therefore, the vehicle can be detected by the gear change when it is parked or just started. In this scenario, the driving speed is detected by the speed sensor, the driver's posture image information is collected by the camera installed at the A-pillar or the rearview mirror inside the vehicle, and the driver's posture image information is processed by the image processing algorithm or the machine learning algorithm to identify the third driver's posture. All obstacles near the vehicle are detected in real time by the detection equipment such as laser radar, and the distance from each obstacle to the vehicle body is measured by laser ranging, and the minimum value of all measured distances is taken as the shortest distance from the obstacle to the vehicle body.
[0077] When the shortest distance is less than the preset distance and the driving speed is lower than the preset speed, that is, the distance from the obstacle to the vehicle body is relatively close, a novice driver or an inexperienced driver may lean forward and / or sideways to check the road conditions. At this time, it is detected that the third driver posture is leaning forward and / or sideways. In order to provide the driver with a wider visual range, the height that the driver's seat needs to be raised and the angle that the driver's seat back needs to be tilted forward are calculated based on the shortest distance and the preset safety distance, and then the driver's seat is automatically raised and moved forward.
[0078] The specific value of the preset distance can be set based on the shortest distance between the vehicle body and obstacles corresponding to normal driving of the vehicle so that the driver can check the road conditions ahead without changing his posture. Since the vehicle speed is generally low when the vehicle is parked or just starting to leave a parking space, the safety risk of the driver changing his posture while driving the vehicle is relatively small. Therefore, the specific value of the preset speed can be set as small as possible.
[0079] The second height adjustment value is calculated according to the shortest distance and the preset safety distance, including: obtaining a maximum height that can be raised and a preset third threshold value, where the maximum height that can be raised is the distance between the current seat position and the highest position where the seat is moved; based on the shortest distance, the safety distance, the maximum height that can be raised and the third threshold value, the second height adjustment value is calculated according to a third preset relationship, where the third preset relationship includes:
[0080]
[0081] H adj2 represents the second height adjustment value, L saf Indicates the safety distance, L cur_min represents the shortest distance, TH3 represents the third threshold, H rem Indicates the maximum height that can be raised.
[0082] Further, calculating the backrest angle adjustment value according to the shortest distance and the preset safety distance includes: obtaining the current backrest angle and the preset backrest angle threshold; based on the shortest distance, the safety distance, the third threshold, the backrest angle threshold and the current backrest angle, calculating the backrest angle adjustment value according to a fourth preset relationship, wherein the fourth preset relationship includes:
[0083]
[0084] θ adj represents the backrest angle adjustment value, θ th represents the backrest angle threshold, θ cur Indicates the current backrest angle.
[0085] The specific values of the above-mentioned safety distance, the third threshold value, and the backrest angle threshold value can be determined by calibration tests based on different vehicle models, but after substituting the calibrated third threshold value into the third preset relationship, the third preset relationship and the fourth preset relationship need to satisfy the following rules: when the value after deducting the shortest distance from the safety distance does not exceed the third threshold value, that is, when the shortest distance is relatively large, the larger the shortest distance, the smaller the visual range required by the novice driver or the driver with insufficient driving experience, and the corresponding second height adjustment value and backrest angle adjustment value are also smaller; conversely, the smaller the shortest distance, the larger the visual range required by the novice driver or the driver with insufficient driving experience, and the corresponding second height adjustment value and backrest angle adjustment value are also larger; since the seat cannot be infinitely raised and the seat back cannot be infinitely tilted, and an excessive forward tilt angle will cause discomfort to the driver, when the value after deducting the shortest distance from the safety distance exceeds the third threshold value, that is, the shortest distance is relatively small, the driver's seat is directly raised to the maximum height that can be raised, that is, raised to the highest position, and the driver's seat back is tilted forward by the current backrest angle minus the angle corresponding to the backrest angle threshold, that is, tilted forward to the position of the backrest angle threshold. Generally, the seat back angle cannot be lower than 100°, otherwise the driver may feel uncomfortable, so the seat back angle threshold can be set to 100°.
[0086] After calculating the second height adjustment value and the backrest angle adjustment value, the driver's seat is automatically raised by the second height adjustment value, and the backrest of the driver's seat is automatically tilted forward by the angle corresponding to the current backrest angle minus the backrest angle adjustment value, thereby providing the driver with a larger visual range, allowing the driver to better observe the road conditions ahead, thereby improving driving safety.
[0087] Since the vehicle speed is relatively low when parking or starting, the driver's seat can be adjusted during the parking or starting process. After the vehicle is parked, the driving speed will be detected as zero. In order to ensure that the driver can operate the vehicle comfortably next time, the driver's seat will be restored to the position before adjustment when the driving speed is detected as zero; or, after the vehicle leaves the parking space and starts, the driving speed will be detected to exceed the preset speed. In order to ensure that the driver can drive the vehicle comfortably in the subsequent journey, the driver's seat will be restored to the position before adjustment when the driving speed is detected to exceed the preset speed.
[0088] In one scenario, when a vehicle is traveling from the bottom of a slope to the top and finally onto a flat surface, there may be a visual blind spot due to the large slope, which may prevent the driver from fully understanding the road conditions ahead, affecting driving safety. Therefore, in a preferred embodiment, in order to provide the driver with a better visual range in this scenario and thereby improve driving safety, the vehicle monitors the road conditions ahead in real time while driving. When it is detected that the road conditions ahead are a ramp, the height of the driver's seat is automatically raised to provide the driver with a better field of vision. After the vehicle leaves the ramp, the driver's seat is automatically restored to its original position. The entire process is automatically adjusted without the need for manual operation by the driver, thereby improving the driver's experience. Specifically, if Figure 3 As shown, the driver seat adjustment method also includes the following steps:
[0089] Step 302, when the vehicle is about to enter a ramp, detecting the slope of the ramp and the distance between the driver's line of sight and the windshield in the horizontal direction;
[0090] Step 304, when the slope of the ramp is greater than the preset slope, calculating a third height adjustment value according to the slope of the ramp and the interval distance;
[0091] Step 306: Raise the driver's seat according to the third height adjustment value; when the vehicle drives off the ramp, restore the driver's seat to the position before adjustment.
[0092] When the vehicle is driving, the camera collects images of the road ahead in real time, and the images of the road ahead are processed by image processing algorithms or machine learning algorithms to identify the road condition type of the road ahead. When the road condition type of the road ahead is identified as a ramp, it means that the vehicle is about to enter the ramp. At this time, the slope of the ramp and the horizontal distance between the driver's line of sight and the windshield are detected; when the slope of the ramp is greater than the preset slope, it means that the ramp ahead is steeper, and there is a high possibility of a visual blind spot when driving off the ramp. Therefore, the height that the driver's seat needs to be raised is calculated based on the slope of the ramp and the distance; when the slope of the ramp is less than or equal to the preset slope, it means that the slope ahead is relatively gentle, and there is a low possibility of a visual blind spot when driving off the ramp. Therefore, the height of the driver's seat is not adjusted at this time.
[0093] The specific value of the preset slope can be set according to the minimum slope value corresponding to no visual blind spot after driving off the ramp. In one embodiment, the third height adjustment value is calculated based on the ramp slope and the interval distance using the fifth preset relationship, and the fifth preset relationship includes: H adj3 = sinα×d, where H adj3represents the third height adjustment value, α represents the ramp slope and is an angle slope value, and d represents the interval distance. In other embodiments, the third height adjustment value may also be calculated according to the following method: third height adjustment value={[min(ramp slope, 20%)-3%] / 17}×maximum riseable height, and the ramp slope in the relational expression is a percentage slope value.
[0094] After calculating the third height adjustment value, the driver's seat is automatically raised by the third height adjustment value, thereby providing the driver with a larger visual range so that the driver can better observe the road conditions ahead, thereby improving driving safety; after the vehicle drives off the ramp, in order to ensure that the driver can subsequently drive the vehicle comfortably, the driver's seat is restored to the position before adjustment.
[0095] In a preferred embodiment, after the driver gets on the vehicle, the camera inside the vehicle recognizes the driver's facial information, and after the driver adjusts the seat, the driver's facial information and seat position data are associated and saved in a database; when the driver gets on the vehicle next time, the seat position data corresponding to the driver's facial information is obtained from the database through facial recognition, and the driver's seat is adjusted according to the obtained seat position data; if the driver's facial information and its corresponding seat position data are not found in the database, it is considered that the current driver is a new driver, and the new driver is asked "whether to automatically adjust the seat position" through the information interaction display screen or the intelligent voice system.
[0096] If the new driver selects "Yes", the driver's seat automatic adjustment mode will be entered: the driver's eye height is obtained through face recognition by the in-car camera, and the driver's seat height is adjusted so that the driver's line of sight falls at 60% of the windshield in the horizontal direction, and the distance from the top of the head to the roof is not less than 10 cm, then the seat height adjustment is completed; the infrared sensor or ranging radar installed under the vehicle dashboard measures the current driver's sitting posture and the position of the accelerator pedal, and detects whether the driver's sole can touch the brake pedal. During this process, the information interactive display screen or the intelligent voice system prompts the current driver to "Please place your foot on the brake pedal to match the best seat position for you". After the current driver places his foot on the brake pedal, the position of the driver's seat is adjusted in the front and rear direction until the driver's heel can touch the ground and the sole of the foot is close to the brake pedal in the current sitting posture, and the lateral distance between the knee and the dashboard is not less than 5 cm, then the front and rear position adjustment of the seat is considered to be completed; the driver's seat back angle is adjusted to the default angle, such as any angle between 100° and 110°.
[0097] If the new driver selects "No", the new driver's seat position adjustment learning mode is entered: after the new driver manually adjusts the seat height, the position of the driver's eyes falling on the front windshield in the horizontal direction is recorded through the front camera of the driver, for example, the driver's eyes fall at 50% of the front windshield in the horizontal direction, that is, the center of the field of vision; when the new driver manually adjusts the front and rear position of the seat, the infrared sensor or ranging radar installed under the vehicle instrument panel records the distance between the new driver's knees and the position under the instrument panel, and detects whether the driver's soles are in contact with the brake pedal. If not, the driver is prompted that "the current sitting posture may not be able to effectively step on the brake pedal, and further adjustment is recommended"; the corresponding backrest angle data after the new driver adjusts the seat backrest is recorded; when the new driver adjusts the seat and does not change the seat position, the seat height data, front and rear position data and backrest angle data are associated with the new driver's facial information and stored in the database. Next time when the new driver enters the vehicle or other vehicles of the same model, the height, front and rear position and backrest angle of the driver's seat are automatically adjusted to make the position of the driver's seat the same as the position adjusted by the new driver last time.
[0098] In order to ensure the comfort of the driver, the seat position should be adjusted at an appropriate speed. If it is adjusted too quickly, the driver may feel uncomfortable. If it is adjusted too slowly, the seat may not be adjusted in place even after the vehicle has passed through a narrow road or ramp or has stopped or started. Therefore, in a preferred embodiment, the speed of adjustment is matched according to the vehicle speed. The specific adjustment method is as follows: when the vehicle is driving on a ramp, the adjustment speed is increased according to the increase in vehicle speed, and the specific speed is determined according to the actual vehicle calibration; when the vehicle is driving on a regular road and encounters a narrowing of the passable road ahead, the adjustment is made according to the distance between the obstacle or pothole ahead and the vehicle. If the distance is far, the adjustment can be made slowly, but the adjustment must be completed before the vehicle passes the obstacle or pothole. If the distance is close to the obstacle or pothole, the adjustment should be made quickly, and the specific adjustment speed is determined according to the driver's feeling during the actual vehicle calibration; when the vehicle is parking, starting, leaving or entering the warehouse, etc., the adjustment is made at the fastest speed to ensure the driver's field of vision.
[0099] In a preferred embodiment, a general principle for seat position adjustment is set, and any of the above embodiments needs to be carried out under the requirements of this general principle. The general principle includes: identifying the distance from the top of the driver's head to the roof of the vehicle through the in-vehicle camera, when the seat is automatically raised, the distance from the top of the driver's head to the roof of the vehicle is at least about one fist; identifying the driver's eyes through the in-vehicle camera, when the seat is automatically lowered, the driver's eye sight should be at least 3 cm higher than the vehicle instrument panel; detecting the distance between the driver's knees and the position below the instrument panel through detection equipment such as the in-vehicle camera, infrared sensor or radar sensor, when the seat moves forward and backward, the distance between the driver's knees and the position below the instrument panel does not exceed 2 cm.
[0100] In some embodiments, a collision sensor is used to identify whether a vehicle collision has occurred. When a vehicle collision is detected, it is detected whether there is anyone behind the driver's seat. If no one is there, the driver's seat is automatically lowered to the lowest and moved to the rearmost position, and the backrest angle is adjusted to greater than 110°.
[0101] In the above-mentioned driver's seat adjustment method, the driver's seat is automatically adjusted when the width of the passable road ahead becomes narrower, when the vehicle is parked, started or driving on a slope, including at least one of the seat height, front and rear position and backrest tilt angle, thereby expanding the driver's visual range so that the driver can understand the road conditions ahead and avoid visual blind spots that affect driving safety as much as possible; there is no need for the driver to actively change his posture to check the road conditions, and the driver's seat is automatically restored to the position before adjustment after passing a narrow road, passing a ramp, completing parking or starting, without the need for the driver to perform manual operation, thereby improving the driver's experience.
[0102] It should be understood that although Figure 1-3 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1-3 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.
[0103] In one embodiment, Figure 4 As shown, a driver seat adjustment device is provided, comprising: a detection module, a calculation module and an adjustment module, wherein:
[0104] A detection module, used for detecting the width of a redundant road ahead and a first driver posture in real time when the vehicle is in a driving state, wherein the width of the redundant road ahead is equal to the width of a passable road ahead minus the width of the vehicle;
[0105] a calculation module, configured to calculate a first height adjustment value and a longitudinal distance adjustment value according to the width of the redundant road ahead when the width of the redundant road ahead is less than a preset width and if the first driver posture is a body leaning forward and / or sideways;
[0106] The adjustment module is used to raise the driver's seat according to the first height adjustment value and move the driver's seat forward according to the longitudinal distance adjustment value; detect the second driver's posture in real time, and when it is detected that the second driver's posture is operating the steering wheel and / or pressing the accelerator pedal, restore the driver's seat to the position before adjustment.
[0107] In a specific implementation, the calculation module is used to calculate the first height adjustment value according to the redundant road width ahead, specifically including: obtaining the maximum riseable height and the preset first threshold and second threshold; based on the maximum riseable height, the redundant road width ahead, the first threshold and the second threshold, calculating the first height adjustment value according to a first preset relationship, wherein the first preset relationship includes:
[0108]
[0109] H adj1 represents the first height adjustment value, H rem represents the maximum height that can be raised, W red represents the redundant road width ahead, TH1 represents the first threshold, and TH2 represents the second threshold.
[0110] In a specific implementation, the calculation module is used to calculate the longitudinal distance adjustment value according to the redundant road width ahead, specifically including: obtaining the maximum forward movable distance of the driver's seat; based on the maximum forward movable distance, the redundant road width ahead, the first threshold and the second threshold, calculating the longitudinal distance adjustment value according to a second preset relationship, wherein the second preset relationship includes:
[0111]
[0112] L adj is the longitudinal distance adjustment value, L for_max is the maximum forward distance, L cur is the current distance.
[0113] In a preferred embodiment, the detection module is also used to detect the driving speed, the third driver posture and the shortest distance from the obstacle to the vehicle body within a preset range of the vehicle when the vehicle gear is in the reverse gear or is switched from the parking gear to the driving gear; the calculation module is also used to calculate the second height adjustment value and the backrest angle adjustment value according to the shortest distance and the preset safety distance when the shortest distance is less than the preset distance and the driving speed is lower than the preset vehicle speed if the third driver posture is leaning forward and / or sideways; the adjustment module is also used to raise the driver's seat according to the second height adjustment value, and tilt the backrest of the driver's seat forward according to the backrest angle adjustment value; when it is monitored that the driving speed is zero or greater than the preset vehicle speed, the driver's seat is restored to the position before adjustment.
[0114] In a specific implementation, the calculation module is used to calculate the second height adjustment value according to the shortest distance and the preset safety distance, specifically including: obtaining the maximum riseable height and a preset third threshold; based on the shortest distance, the safety distance, the maximum riseable height and the third threshold, calculating the second height adjustment value according to a third preset relationship, the third preset relationship including:
[0115]
[0116] H adj2 represents the second height adjustment value, L saf Indicates the safety distance, L cur_min represents the shortest distance, TH3 represents the third threshold, H rem Indicates the maximum height that can be raised.
[0117] In a specific implementation, the calculation module is used to calculate the backrest angle adjustment value according to the shortest distance and the preset safety distance, specifically including: obtaining the current backrest angle and the preset backrest angle threshold; based on the shortest distance, the safety distance, the third threshold, the backrest angle threshold and the current backrest angle, calculating the backrest angle adjustment value according to a fourth preset relationship, the fourth preset relationship including:
[0118]
[0119] θ adj represents the backrest angle adjustment value, θ th represents the backrest angle threshold, θ cur Indicates the current backrest angle.
[0120] In a preferred embodiment, the detection module is also used to detect the slope of the ramp and the horizontal distance between the driver's line of sight and the windshield when the vehicle is about to enter the ramp; the calculation module is also used to calculate a third height adjustment value according to the slope of the ramp and the distance when the slope of the ramp is greater than a preset slope; the adjustment module is also used to raise the driver's seat according to the third height adjustment value; when the vehicle exits the ramp, the driver's seat is restored to the position before adjustment.
[0121] For the specific definition of the driver's seat adjustment device, please refer to the definition of the driver's seat adjustment method above, which will not be repeated here. Each module in the above-mentioned driver's seat adjustment device can be implemented in whole or in part by software, hardware and their combination. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0122] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the driver seat adjustment method described in the above embodiment are implemented.
[0123] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the driver seat adjustment method described in the above embodiment are implemented.
[0124] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0125] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0126] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A method for adjusting a driver's seat, characterized in that: include: When the vehicle is in a driving state, the redundant road width ahead and the first driver posture are detected in real time, wherein the redundant road width ahead is equal to the passable road width ahead minus the vehicle width; When the redundant road width ahead is smaller than a preset width, if the first driver posture is leaning forward and / or sideways, a first height adjustment value and a longitudinal distance adjustment value are calculated according to the redundant road width ahead; Raising the driver's seat according to the first height adjustment value, and moving the driver's seat forward according to the longitudinal distance adjustment value; The second driver's posture is detected in real time, and when it is detected that the second driver's posture is operating the steering wheel and / or pressing the accelerator pedal, the driver's seat is restored to the position before adjustment.
2. The method for adjusting the driver's seat according to claim 1, characterized in that: Calculating a first height adjustment value according to the front redundant road width includes: Acquire a maximum ascendable height and a preset first threshold and a second threshold; Based on the maximum riseable height, the front redundant road width, the first threshold and the second threshold, the first height adjustment value is calculated according to a first preset relationship, wherein the first preset relationship includes: H adj1 represents the first height adjustment value, H rem represents the maximum height that can be raised, W red represents the redundant road width ahead, TH1 represents the first threshold, and TH2 represents the second threshold.
3. The method for adjusting the driver's seat according to claim 2, characterized in that: Calculating the longitudinal distance adjustment value according to the front redundant road width includes: Obtaining the maximum forward movement distance of the driver's seat; Based on the maximum movable distance, the front redundant road width, the first threshold and the second threshold, the longitudinal distance adjustment value is calculated according to a second preset relationship, wherein the second preset relationship includes: L adj is the longitudinal distance adjustment value, L for_max is the maximum forward distance, L cur is the current distance.
4. The method for adjusting the driver's seat according to claim 1, characterized in that: The method further comprises: When the vehicle gear is in the reverse gear or is switched from the parking gear to the driving gear, detecting the driving speed, the third driver posture, and the shortest distance from an obstacle to the vehicle body within a preset range of the vehicle; When the shortest distance is less than a preset distance and the driving speed is lower than a preset vehicle speed, if the third driver posture is leaning forward and / or sideways, a second height adjustment value and a backrest angle adjustment value are calculated according to the shortest distance and a preset safety distance; The driver's seat is raised according to the second height adjustment value, and the backrest of the driver's seat is tilted forward according to the backrest angle adjustment value; when it is monitored that the driving speed is zero or greater than the preset speed, the driver's seat is restored to the position before adjustment.
5. The method for adjusting the driver's seat according to claim 4, characterized in that: Calculating a second height adjustment value according to the shortest distance and a preset safety distance includes: Obtaining a maximum ascendable height and a preset third threshold; Based on the shortest distance, the safety distance, the maximum riseable height and the third threshold, the second height adjustment value is calculated according to a third preset relationship, wherein the third preset relationship includes: H adj2 represents the second height adjustment value, L saf Indicates the safety distance, L cur_min represents the shortest distance, TH3 represents the third threshold, H rem Indicates the maximum height that can be raised.
6. The method for adjusting the driver's seat according to claim 5, characterized in that: Calculating the backrest angle adjustment value according to the shortest distance and the preset safety distance includes: Get the current backrest angle and the preset backrest angle threshold; Based on the shortest distance, the safety distance, the third threshold, the backrest angle threshold and the current backrest angle, the backrest angle adjustment value is calculated according to a fourth preset relationship, wherein the fourth preset relationship includes: θ adj represents the backrest angle adjustment value, θ th represents the backrest angle threshold, θ cur Indicates the current backrest angle.
7. The method for adjusting the driver's seat according to claim 1, characterized in that: The method further comprises: When the vehicle is about to enter a ramp, detecting the slope of the ramp and the distance between the driver's line of sight and the windshield in the horizontal direction; When the slope of the ramp is greater than a preset slope, calculating a third height adjustment value according to the slope of the ramp and the interval distance; The driver's seat is raised according to the third height adjustment value; when the vehicle drives off the ramp, the driver's seat is restored to the position before adjustment.
8. A driver's seat adjustment device, characterized in that: The device comprises: A detection module, used for detecting the width of a redundant road ahead and a first driver posture in real time when the vehicle is in a driving state, wherein the width of the redundant road ahead is equal to the width of a passable road ahead minus the width of the vehicle; a calculation module, configured to calculate a first height adjustment value and a longitudinal distance adjustment value according to the width of the redundant road ahead when the width of the redundant road ahead is less than a preset width and if the first driver posture is a body leaning forward and / or sideways; The adjustment module is used to raise the driver's seat according to the first height adjustment value and move the driver's seat forward according to the longitudinal distance adjustment value; detect the second driver's posture in real time, and when it is detected that the second driver's posture is operating the steering wheel and / or pressing the accelerator pedal, restore the driver's seat to the position before adjustment.
9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the driver seat adjustment method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the driver seat adjustment method according to any one of claims 1 to 7 are implemented.