Gear control method, electronic equipment and vehicle
By obtaining information from the gear lever and parking button during vehicle wheel rotation tests, the system can determine and switch to a non-parking gear, thus resolving the safety risks caused by accidental gear shifting and improving the safety of wheel rotation tests.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-22
- Publication Date
- 2026-03-13
AI Technical Summary
During vehicle wheel rotation testing, if the vehicle is mistakenly shifted to park, it may cause a rigid collision between the pawl and ratchet inside the transmission, resulting in an increase in instantaneous impact torque. This could lead to pawl breakage, gear tooth chipping, or transmission housing rupture, causing loss of vehicle control and damage to the testing equipment, posing a safety risk.
A gear control method and device are provided, which obtains information about the gear lever and parking button under a preset operating mode, determines the current gear, and switches it to a non-parking gear when needed, avoiding direct switching to the parking gear. Power transmission is controlled by electronic or hydraulic control to ensure safety.
This effectively avoids the safety risks caused by the vehicle accidentally shifting to parking gear during the wheel rotation test, improves the safety of the vehicle during the preset working condition test, and prevents gearbox damage and equipment loss.
Smart Images

Figure CN121654731A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of vehicle testing technology, and more particularly to a gear control method, electronic equipment, and vehicle. Background Technology
[0002] Automobile manufacturing requires various performance tests, among which wheel swivel testing involves fixing the vehicle's wheels to a wheel swivel test bench (simulating road loads and conditions) to comprehensively verify the performance and reliability of the entire vehicle and its core systems in a controlled environment. Wheel swivel testing includes noise and vibration testing, maximum speed testing, hill-climbing performance testing, and emissions testing. During these tests, the vehicle must be in a non-parking gear. If the vehicle enters parking mode during wheel swivel testing, it may cause the wheel swivel motor to stall, and in more serious cases, it could cause the vehicle to fly off the test bench, posing a safety risk. Summary of the Invention
[0003] To address the aforementioned technical problems, this disclosure provides a gear control method, electronic device, and vehicle to resolve the safety risks caused by the vehicle being in parking gear during performance testing under preset operating conditions.
[0004] A first aspect of this disclosure provides a gear control method, the method comprising: when a vehicle is in a preset operating mode or within a preset time period after exiting the preset operating mode, and when it is detected that the vehicle needs to switch to a parking gear, acquiring the vehicle's gear lever information and parking button information, wherein the preset operating mode is a performance test mode simulating the vehicle driving on actual roads; determining the vehicle's current gear based on the gear lever information and parking button information; and when the current gear is not a target gear, controlling the current gear to be the target gear, wherein the target gear is a non-parking gear.
[0005] In some embodiments of this disclosure, before obtaining the vehicle's gear lever information and parking button information when it is detected that the vehicle needs to be switched to the parking gear, the method further includes: detecting whether the vehicle meets a preset condition, wherein the preset condition is a trigger condition for the vehicle to be in the parking gear; if the vehicle meets the preset condition, then it is determined that the vehicle needs to be switched to the parking gear; or, in response to the driver's gear lever switching operation, receiving a gear shifting request corresponding to the gear lever switching operation; if the gear shifting request indicates that the vehicle's gear should be switched to the parking gear, then it is determined that the vehicle needs to be switched to the parking gear; or, in response to the driver's power-down operation, receiving a power-down request corresponding to the power-down operation, and determining that the vehicle needs to be switched to the parking gear based on the power-down request.
[0006] In some embodiments of this disclosure, detecting whether a vehicle is in a preset scenario includes: acquiring the vehicle's charging status information and cabin perception information; when the charging status information indicates that the charging gun is in the connected state, and / or the cabin perception information indicates that the driver's seat is in the zero-pressure state, determining that the vehicle meets the preset conditions; or, when the charging status information indicates that the charging gun is in the unconnected state, and the cabin perception information indicates that the driver's seat is not in the zero-pressure state, determining that the vehicle does not meet the preset conditions.
[0007] In some embodiments of this disclosure, when the vehicle exits the preset operating mode, the method further includes: detecting the wheel speed of the vehicle; if the wheel speed is detected to be greater than or equal to the preset wheel speed, restoring the vehicle to normal driving state; or, if the wheel speed is detected to be less than the preset wheel speed and the duration of the vehicle exiting the preset operating mode is outside the preset time period, if the vehicle is detected to meet the preset conditions, or if a gear shifting request is received, then the vehicle's gear is shifted to the parking gear.
[0008] In some embodiments of this disclosure, when the duration of the vehicle exiting the preset operating mode is a preset time period, the state value corresponding to the preset operating mode is set to a preset value and stored. The preset value is used to indicate that the vehicle has not completely finished the test. When the duration of the vehicle exiting the preset operating mode is outside the preset time period, the state value is the preset value, and a power-down request is received, the vehicle's gear is controlled to the target gear, and the current gear status of the vehicle is stored. When the vehicle is powered on again, the vehicle is restored to the state when the power-down request was received, based on the stored gear status and state value.
[0009] In some embodiments of this disclosure, when the vehicle's wheel speed is detected to be greater than a preset wheel speed and the duration of exiting the preset operating mode is outside a preset time period, the state value corresponding to the preset operating mode is set to a non-preset value, and the vehicle is restored to normal driving state.
[0010] In some embodiments of this disclosure, the test bench speed, vehicle transmission system parameters, and wheel radius are obtained in a preset working condition mode; the theoretical wheel speed of the vehicle is determined based on the test bench speed, transmission system parameters, and wheel radius; and the duration of a preset time period is determined based on the vehicle's preset deceleration and theoretical wheel speed. The duration of the preset time period is a threshold value for determining whether the vehicle is still in a test transition state after it exits the preset working condition mode.
[0011] In some embodiments of this disclosure, before activating the preset operating mode, the method further includes: detecting whether the vehicle's battery voltage is within a preset range; if the battery voltage is detected to be within the preset range, detecting whether the wheel speed difference between any two of the vehicle's four drive wheels is less than a preset difference during a test period; if the wheel speed difference is detected to be less than the preset difference, activating the preset operating mode in response to the driver's selection operation.
[0012] A second aspect of this disclosure provides a gear control device, the gear control device comprising: The information acquisition module is used to acquire the vehicle's gear lever information and parking button information when the vehicle needs to switch to the parking gear during a preset time period after the vehicle is in or out of the preset operating condition mode. The preset operating condition mode is a performance test mode that simulates the vehicle driving on actual roads. The gear position determination module is used to determine the current gear of the vehicle based on the gear lever information and the parking button information; The vehicle control module is used to control the current gear to the target gear (non-parking gear) when the current gear is not the target gear.
[0013] In some embodiments of this disclosure, the gear control device further includes a vehicle detection module. Before acquiring the vehicle's gear lever information and parking button information when it is detected that the vehicle needs to be switched to the parking gear, the vehicle detection module is used to detect whether the vehicle meets a preset condition, which is a trigger condition for the vehicle to be in the parking gear. If the vehicle meets the preset condition, it is determined that the vehicle needs to be switched to the parking gear. Alternatively, in response to the driver's gear lever switching operation, a gear switching request corresponding to the gear lever switching operation is received. If the gear switching request indicates that the vehicle's gear should be switched to the parking gear, it is determined that the vehicle needs to be switched to the parking gear. Alternatively, in response to the driver's start / stop button power-off operation, a power-off request corresponding to the start / stop button power-off operation is received, and the vehicle needs to be switched to the parking gear is determined based on the power-off request.
[0014] In some embodiments of this disclosure, the vehicle detection module is specifically used to acquire vehicle charging status information and cabin perception information; when the charging status information indicates that the charging gun is in the connected state, and / or the cabin perception information indicates that the driver's seat is in the zero-pressure state, the vehicle is determined to meet the preset conditions; or, when the charging status information indicates that the charging gun is in the unconnected state, and the cabin perception information indicates that the driver's seat is not in the zero-pressure state, the vehicle is determined not to meet the preset conditions.
[0015] In some embodiments of this disclosure, after the vehicle exits the preset operating mode, the vehicle detection module is further used to detect the wheel speed of the vehicle; if the wheel speed is detected to be greater than or equal to the preset wheel speed, the vehicle is restored to normal driving state; or, if the wheel speed is detected to be less than the preset wheel speed and the duration of the vehicle exiting the preset operating mode is outside the preset time period, if the vehicle is detected to meet the preset conditions, or if a gear shifting request is received, the vehicle's gear is shifted to the parking gear.
[0016] In some embodiments of this disclosure, the vehicle control module is further configured to: set the state value corresponding to the preset operating mode to a preset value and store the state value when the duration of the vehicle exiting the preset operating mode is a preset time period; when the duration of the vehicle exiting the preset operating mode is outside the preset time period, the state value is the preset value, and a power-down request is received, control the vehicle's gear to the target gear and store the current gear status of the vehicle; when the vehicle is powered on again, restore the vehicle to the state when the power-down request was received, based on the stored gear status and state value.
[0017] In some embodiments of this disclosure, the vehicle control module is further configured to set the state value corresponding to the preset operating mode to a non-preset value and restore the vehicle to normal driving state when it detects that the wheel speed of the vehicle is greater than the preset wheel speed and the duration of exiting the preset operating mode is outside the preset time period.
[0018] In some embodiments of this disclosure, the information acquisition module is further configured to acquire the test bench rotation speed, vehicle transmission system parameters, and wheel radius in a preset working condition mode; determine the theoretical wheel speed of the vehicle based on the test bench rotation speed, transmission system parameters, and wheel radius; and determine the duration of a preset time period based on the vehicle's preset deceleration and theoretical wheel speed. The duration of the preset time period is a threshold value for determining whether the vehicle is still in a test transition state after it exits the preset working condition mode.
[0019] In some embodiments of this disclosure, before activating the preset operating mode, the vehicle detection module is further configured to detect whether the vehicle's battery voltage is within a preset range; if the battery voltage is detected to be within the preset range, the module detects whether the wheel speed difference between any two of the vehicle's four drive wheels is less than a preset difference during the test period; if the wheel speed difference is detected to be less than the preset difference, the preset operating mode is activated in response to the driver's selection operation.
[0020] A third aspect of this disclosure provides an electronic device, including: processor; Memory, used to store executable instructions; The processor is used to read executable instructions from memory and execute the executable instructions to implement the gear control method provided in the first aspect above.
[0021] A fourth aspect of this disclosure provides a computer-readable storage medium storing a computer program that, when executed by a processor, causes the processor to implement the gear control method provided in the first aspect.
[0022] A fifth aspect of this disclosure provides a computer program product comprising a computer program or instructions that, when executed by a processor, implement the gear control method of the first aspect described above.
[0023] A sixth aspect of this disclosure provides a vehicle that includes electronic equipment provided in the third aspect.
[0024] The technical solution provided in this disclosure has the following advantages: The gear control method, electronic device, and vehicle provided in this disclosure can, within a preset time period after the vehicle is in a preset operating mode or after exiting the preset operating mode, obtain the vehicle's gear lever information and parking button information when it is detected that the vehicle needs to switch to the parking gear; determine the vehicle's current gear based on the gear lever information and parking button information; and control the current gear to be the target gear when the current gear is not the target gear, which is a non-parking gear, through intelligent gear control. This allows the target gear to replace the parking gear within a preset time period after the vehicle is in or exits the preset operating mode, preventing the gear from unexpectedly entering the parking gear and improving vehicle safety during preset operating condition testing. Because the vehicle's drive wheels rotate at high speed with the test bench during the preset operating condition mode or within a preset time period after exiting the preset operating condition mode, if the vehicle's gear is directly shifted to parking, the pawl inside the transmission will rigidly collide with the high-speed rotating ratchet. This sudden increase in instantaneous impact torque far exceeds the pawl's design limits, leading to pawl breakage, gear tooth chipping, or transmission housing rupture, causing vehicle loss of control and damage to the test equipment. The target gear is a non-parking gear, which has no mechanical locking and relies solely on electronic or hydraulic control for power transmission. This avoids the risks associated with the vehicle being in parking while running on the preset operating condition test bench, achieving the safety improvement effect of the preset operating condition mode. Attached Figure Description
[0025] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0026] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0027] Figure 1 This is a flowchart of a gear control method provided in an embodiment of this disclosure; Figure 2 This is a flowchart of another gear control method provided in this embodiment; Figure 3 This is a flowchart of another gear control method provided in this disclosure embodiment; Figure 4 This is a schematic diagram of the structure of a gear control device provided in an embodiment of this disclosure; Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure. Detailed Implementation
[0028] To better understand the above-mentioned objectives, features, and advantages of this disclosure, the solutions disclosed herein will be further described below. It should be noted that, unless otherwise specified, the embodiments and features described herein can be combined with each other.
[0029] Numerous specific details are set forth in the following description in order to provide a full understanding of this disclosure, but this disclosure may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only some, and not all, of the embodiments of this disclosure.
[0030] It should be understood that the steps described in the method embodiments of this disclosure may be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of this disclosure is not limited in this respect.
[0031] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0032] It should be noted that the terms "a" and "a plurality of" used in this disclosure are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".
[0033] Typically, automobiles undergo performance testing during factory manufacturing. One such test is the wheel swivel test, which involves fixing the vehicle's wheels to a wheel swivel test bench (simulating road loads and conditions) to comprehensively verify the performance and reliability of the entire vehicle and its core systems in a controlled environment. During performance testing scenarios (such as wheel swivel tests), the vehicle must be in a non-parking gear. This is because if the vehicle is directly shifted to parking, the pawl inside the transmission will rigidly collide with the high-speed rotating ratchet. The instantaneous impact torque will suddenly increase, far exceeding the pawl's design limits, leading to pawl breakage, gear tooth chipping, or transmission housing rupture. This can cause loss of vehicle control, damage to testing equipment, and stalling of the wheel swivel motor. In more serious cases, the vehicle may even fly off the wheel swivel test bench, posing a safety risk.
[0034] To avoid the aforementioned problems, this disclosure provides a gear control method. This method, within a preset time period after the vehicle is in or has exited the wheel-turning mode, substitutes the parking gear with a target gear when a shift to parking is required. This improves vehicle safety during wheel-turning tests and avoids the risks associated with the vehicle being in parking gear while running on the wheel-turning test bench. The method is described below with reference to specific embodiments.
[0035] Figure 1 This is a flowchart of a gear control method provided in an embodiment of the present disclosure. The method can be executed by a gear control device, which can be implemented in software and / or hardware. The gear control device can be configured in an electronic device, such as a server or terminal, wherein the terminal specifically includes an in-vehicle terminal, a computer, or a tablet computer, etc.
[0036] like Figure 1 As shown, the gear control method provided in this embodiment includes the following steps.
[0037] S101. When the vehicle is in a preset operating mode or within a preset time period after exiting the preset operating mode, and it is detected that the vehicle needs to switch to the parking gear, the vehicle's gear lever information and parking button information are obtained.
[0038] In this embodiment of the disclosure, the preset operating condition mode is a performance test mode that simulates the vehicle driving on actual roads. For example, the preset operating condition mode is a hub-and-spoke mode.
[0039] In this embodiment of the disclosure, the preset time period can be a time period set according to actual needs. For example, the preset time period can be 15 seconds or 20 seconds.
[0040] In this embodiment of the disclosure, the gear lever information may be the location information of the vehicle's gear lever. The gear lever information can be used to indicate the current gear position of the vehicle.
[0041] In this embodiment of the disclosure, the parking key information indicates whether the vehicle's parking key is in a parking state; the parking key information is used to indicate whether the vehicle is currently in the parking gear.
[0042] Specifically, during a preset time period when the vehicle is in or out of the swivel mode, the electronic device obtains the vehicle's gear lever information and parking button information when it detects that the vehicle needs to be switched to the parking gear.
[0043] S102. Determine the vehicle's current gear based on the gear lever information and parking button information.
[0044] In one example, after acquiring the vehicle's gear lever information and parking button information, the electronic device can determine the vehicle's current gear position based on the gear lever information and parking button information.
[0045] For example, when the gear lever information is in neutral, the vehicle is determined to be in neutral (also known as N gear); as another example, when the gear lever information is in drive, the vehicle is determined to be in drive (also known as D gear); and as yet another example, when the gear lever information is in reverse, the vehicle is determined to be in reverse (also known as R gear).
[0046] For example, when the parking button information is in the parking state, it is determined that the vehicle's current gear is in the parking gear (also known as P gear); as another example, when the parking button information is in the non-parking state, it is determined that the vehicle's current gear is not in the parking gear.
[0047] Furthermore, the gear control device can combine the parking button information and the gear lever information to determine the vehicle's current gear. For example, when the parking button information is "non-parking" and the gear lever information is "neutral," the vehicle's current gear is determined to be neutral. However, if the parking button information is "parking" but the gear lever information is "neutral," then the vehicle's parking button or gear lever is faulty, requiring further inspection to determine the actual faulty component.
[0048] Understandably, the gear control device uses a dual-judgment logic, combining information from the gear lever and the parking button, to accurately identify the vehicle's current gear status. Based on the gear lever's neutral, drive, and reverse position information, it can directly determine N, D, and R gears. The parking / non-parking status of the parking button clearly indicates whether P gear is engaged, achieving comprehensive coverage of all gears: drive, reverse, neutral, and park. This dual-information cross-verification avoids gear misjudgment caused by a single signal malfunction (such as a faulty gear lever position sensor or parking button signal interference), improving gear determination accuracy and providing reliable status information for gear control and parking switching in throttle mode.
[0049] Understandably, the vehicle's current gear can be any one of forward, reverse, or neutral.
[0050] S103. When the current gear is not the target gear, control the current gear to be the target gear.
[0051] The target gear is a non-parking gear. The target gear can be neutral.
[0052] For example, when the current gear is a drive or reverse gear, shift the current gear to neutral. When the current gear is neutral, keep the current gear.
[0053] Optionally, the target gear can also be a forward or reverse gear. For example, when briefly switching between emissions and acceleration tests in dynamometer mode, if the current gear is in neutral, it can be shifted to a forward gear.
[0054] Based on the above Figure 1 The method shown can, within a preset time period after the vehicle is in a preset operating mode or after exiting the preset operating mode, obtain the vehicle's gear lever information and parking button information when it is detected that the vehicle needs to switch to the parking gear; determine the vehicle's current gear based on the gear lever information and parking button information; and control the current gear to be the target gear when the current gear is not the target gear, which is a non-parking gear.
[0055] Therefore, intelligent gear control can replace the parking gear with the target gear during a preset time period, either when the vehicle is in or after exiting the preset operating mode. This prevents the gear from unexpectedly shifting into parking and improves vehicle safety during preset operating condition testing. Because the vehicle's drive wheels rotate at high speed during the preset operating mode or the preset time period after exiting it, directly shifting to parking would cause a rigid collision between the transmission pawl and the high-speed rotating ratchet. This sudden increase in instantaneous impact torque could far exceed the pawl's design limits, leading to pawl breakage, gear tooth chipping, or transmission housing rupture, resulting in vehicle loss of control and damage to the testing equipment. Since the target gear is a non-parking gear, which has no mechanical locking and relies solely on electronic or hydraulic power transmission, the risks associated with the vehicle being in parking during preset operating condition bench testing are avoided, achieving the safety improvement effect of the preset operating condition mode.
[0056] In an optional example, based on the foregoing embodiments, as described above, when it is detected that the vehicle needs to be switched to the parking gear, before obtaining the vehicle's gear lever information and parking button information, the gear control device can also detect whether the vehicle meets preset conditions; if the vehicle meets the preset conditions, it is determined that the vehicle needs to be switched to the parking gear.
[0057] The preset conditions are either the vehicle being in a driver-off-leash scenario or the charging gun being connected. Understandably, these preset conditions require the vehicle to be in the parking position and are not subject to restriction.
[0058] In some optional implementations, the gear control device acquires vehicle charging status information and cabin perception information; when the charging status information indicates that the charging gun is in the connected state, and / or the cabin perception information indicates that the driver's seat is in the zero-pressure state, it determines that the vehicle meets the preset conditions; or, when the charging status information indicates that the charging gun is in the disconnected state, and the cabin perception information indicates that the driver's seat is not in the zero-pressure state, it determines that the vehicle does not meet the preset conditions.
[0059] The charging status information is used to indicate whether the charging gun is connected or disconnected.
[0060] Cockpit perception information is used to indicate whether the driver's seat is in a zero-pressure state or not.
[0061] Optionally, the gear control device can also respond to the driver's gear lever switching operation by receiving a gear shifting request corresponding to the gear lever switching operation; if the gear shifting request indicates that the vehicle's gear should be switched to the parking gear, then it is determined that the vehicle needs to be switched to the parking gear.
[0062] The gear shift request is used to request a change of gear in the vehicle.
[0063] Optionally, the gear control device can also respond to the driver's power-off operation, receive the power-off request corresponding to the power-off operation, and determine that the vehicle needs to be switched to the parking gear based on the power-off request.
[0064] The power-down request is used to request the vehicle to be powered down.
[0065] In the embodiments of this disclosure, when the gear control device receives a P gear shift request, a power-off request, or the vehicle meets any of the preset conditions, it determines that the vehicle needs to be shifted to the parking gear.
[0066] Understandably, the gear control device can accurately identify the charging gun connection scenario by obtaining charging status information such as whether the charging gun is connected or not, and can accurately determine the driver departure scenario by obtaining information such as whether the driver has left the vehicle or not, as well as respond to the driver's gear shifting operation and power-off operation, to accurately determine whether the vehicle needs to be shifted to the parking gear. In order to ensure that in the scenarios of the driver leaving the vehicle, the vehicle charging, power-off, or manual operation of the gear lever to enter the parking gear, the vehicle can directly switch to the target gear, which improves the safety and practicality of the gear control in the wheel rotation mode, and ensures that the vehicle does not switch to the parking gear during the wheel rotation test and within the preset time period of the wheel rotation test.
[0067] In an alternative example, based on the foregoing embodiments, as described above, such as... Figure 2 As shown, Figure 2 This is a flowchart of another gear control method provided in this embodiment; after the vehicle exits the preset operating mode, the gear control device can also perform the following method steps, including: S201, Detect the wheel speed of the vehicle.
[0068] Specifically, the gear control device can obtain the wheel speed of each wheel of the vehicle based on a preset wheel speed sensor, add up the wheel speeds of each wheel of the vehicle and calculate the average value to obtain the wheel speed of the vehicle.
[0069] Understandably, the algorithm of averaging the wheel speeds of multiple wheels can offset the random errors of a single wheel speed sensor (such as deviations caused by wear on the gear ring or signal interference), resulting in a smaller absolute error in the wheel speed measurement, far superior to the accuracy of single-sensor detection, thus providing a reliable data basis for gear control. At the same time, it can avoid wheel speed misjudgments caused by slippage on one side of the wheel or sensor malfunction, ensuring the consistency of wheel speed data in hub-and-spoke mode.
[0070] S202. If the detected wheel speed is greater than or equal to the preset wheel speed, restore the vehicle to normal driving state.
[0071] The preset wheel speed can be set according to actual conditions and is not limited. For example, the preset wheel speed is 130 revolutions per minute.
[0072] In some alternative implementations, after obtaining the vehicle's wheel speed, the gear control device compares the vehicle's wheel speed with a preset wheel speed to determine whether the vehicle's wheel speed is greater than the preset wheel speed. If it is determined that the wheel speed is greater than or equal to the preset wheel speed, the vehicle resumes normal driving.
[0073] Understandably, when the vehicle exits the swivel mode and the wheel speed exceeds the preset threshold, it indicates that the vehicle's driving state has stabilized. Only then is the swivel test completely finished. Therefore, the vehicle is then restored to normal driving mode to avoid power conflict caused by the superposition of swivel load and normal driving resistance.
[0074] Optionally, if the wheel speed is detected to be less than the preset wheel speed and the duration of the vehicle exiting the wheel rotation mode is outside the preset time period, the gear control device executes S203.
[0075] S203. If the wheel speed is detected to be less than the preset wheel speed and the vehicle has been out of the preset operating mode for a period of time that is outside the preset time period, if the vehicle meets the preset conditions or a gear shifting request is received, the vehicle's gear will be shifted to the parking gear.
[0076] Specifically, if the wheel speed is detected to be less than the preset wheel speed and the vehicle exits the swivel mode for a period of time that is outside the preset time period, and if the vehicle is detected to be in a driver off-leash scenario, or a charging gun connection scenario, or a gear shift request is received, the vehicle's gear will be shifted to the parking gear.
[0077] Understandably, if the vehicle exits the preset time period of the swivel mode and the vehicle's wheel speed is less than the preset threshold, the vehicle may still be in the swivel test bench or test site scheduling state (such as moving at low speed to the parking area). At this time, since the vehicle's wheel speed is low and it has exited the swivel mode, there will be no safety issues even if the vehicle is switched to the parking gear. Therefore, when the vehicle is in a scenario where the driver is off-duty, or in a scenario where the charging gun is connected, or when a gear switching request is received, it is permissible to directly switch the vehicle to the parking gear, improving the smoothness and controllability of the scheduling process. This satisfies the parking requirements after testing without affecting the operating habits of regular usage scenarios.
[0078] In an alternative example, based on the foregoing embodiments, as described above, such as... Figure 3 As shown, Figure 3 This is a flowchart of another gear control method provided in this disclosure embodiment. The gear control device can also perform the following steps: S301. When the vehicle exits the preset operating mode for a preset time period, set the status value corresponding to the preset operating mode to a preset value and store the status value.
[0079] In this embodiment of the disclosure, a preset value is used to indicate that the vehicle has not completely finished the test.
[0080] Specifically, the gear control device can set the state value corresponding to the wheel mode to a preset value when the vehicle exits the wheel mode for a preset time period (e.g., 20 seconds), and store the state value locally so that the state value can be read from the local device after the vehicle wakes up from sleep or when the power is turned off and then on again, and the vehicle can be restored to the state where the vehicle test is not completely over based on the state value.
[0081] In some optional implementations, when the gear control device detects that the vehicle's wheel speed is greater than the preset wheel speed and the duration of exiting the preset operating mode is outside the preset time period, it can also set the state value corresponding to the preset operating mode to a non-preset value and restore the vehicle to normal driving state.
[0082] Understandably, when the vehicle's wheel speed is detected to be greater than the preset wheel speed, and the time spent exiting the preset operating mode is outside the preset time period, it indicates that the vehicle's wheel speed is high after a long period of time since it exited the preset operating mode, meaning the vehicle has resumed normal driving. At this point, resetting the status value in time can prevent the vehicle from still being constrained by the wheel rotation mode during normal driving.
[0083] S302. When the duration of the vehicle exiting the preset operating mode is outside the preset time period, the status value is a preset value, and a power-down request is received, the vehicle's gear is controlled to the target gear, and the current gear status of the vehicle is stored.
[0084] For example, when the vehicle exits the swivel mode for a period of time that is outside the preset time period, the status value is a preset value, and a power-down request is received, the vehicle's gear is set to neutral, and the current gear status (neutral) of the vehicle is stored locally.
[0085] Understandably, when a vehicle exits the preset operating mode for a duration outside the preset time period, its status value is a preset value, and a power-down request is received, it indicates that the vehicle received the power-down request while the test was not fully completed. If the vehicle is powered down directly at this point, it will revert to its initial state upon power-up. However, during the preset operating mode test, the vehicle generates a massive amount of critical data. Some of this data needs to be uploaded to the backend server via the vehicle's onboard system or exported locally via a diagnostic tool after the test. Therefore, directly powering down would lead to problems such as test data loss, calibration parameter invalidation, and test process interruption. To avoid this issue, before powering down, the vehicle records the current gear position and the corresponding status value of the preset operating mode, ensuring the continuity and integrity of the preset operating mode test process.
[0086] S303. When the vehicle is powered on again, the vehicle is restored to the state it was in when the power-off request was received, based on the stored gear position and status value.
[0087] In this embodiment of the disclosure, the vehicle's state includes the gear position and the vehicle's mode.
[0088] For example, taking the gear position as neutral and the status value as a preset value, when the vehicle is powered on again, the gear position is restored to neutral according to the stored gear position and status value, and the vehicle mode is restored to the state where the vehicle test has not been completely completed.
[0089] based on Figure 3 The method shown involves the gear control device setting the status value corresponding to the preset operating mode to a preset value and storing the status value when the vehicle exits the preset operating mode for a preset time period. The preset value is used to indicate that the vehicle has not completely finished the test. When the vehicle exits the preset operating mode for a time period outside the preset time period, the status value is the preset value, and a power-down request is received, the vehicle's gear is controlled to the target gear, and the current gear status of the vehicle is stored. When the vehicle is powered on again, the vehicle's status is restored according to the stored gear status and status value.
[0090] Therefore, when a vehicle goes into sleep mode or is accidentally powered down due to testing (such as energy consumption testing), the vehicle's gear position and the state values of the preset operating condition mode test before power-down can be saved. This makes it easy for the vehicle to accurately restore its state to the state before power-down when it is powered on or woken up again, by using the stored state values and gear position. This avoids problems such as test data loss, calibration parameter failure, and test process interruption caused by power-down, eliminates the need to restart the test process, reduces the cost of repeated testing, and ensures the continuity and integrity of the preset operating condition mode test process.
[0091] In an optional example, based on the foregoing embodiments, as described above, before activating the preset operating mode, the gear control device detects whether the vehicle's battery voltage is within a preset range; if the battery voltage is detected to be within the preset range, then during the test period, it detects whether the wheel speed difference between any two of the vehicle's four drive wheels is less than a preset difference; if the wheel speed difference is detected to be less than the preset difference, then in response to the driver's selection operation, the preset operating mode is activated.
[0092] In this embodiment, the preset voltage range can be set according to actual conditions and is not limited. The preset voltage range can be the preset voltage range of a high-voltage battery or a low-voltage battery. For example, the battery voltage range of new energy vehicles is typically 300V–420V (pure electric) and 200V–350V (hybrid) for high-voltage batteries; and typically 12.0V–14.5V (12V system) and 24.0V–28.5V (24V system) for low-voltage batteries, with a 5% fluctuation range allowed.
[0093] In this embodiment of the disclosure, the preset difference can be dynamically determined according to the type of hub test and is not limited. For example, when the hub test is a steady-state test, the preset difference is less than or equal to 2 km / h; as another example, when the hub test is a transient test, the preset difference is less than or equal to 3 km / h.
[0094] Understandably, the preset difference is dynamically determined based on the type of hub test, which can avoid the reasonable wheel speed difference caused by the test conditions from erroneously triggering the prohibition logic.
[0095] Optionally, before activating the hub mode, if the gear control device detects that the vehicle's battery voltage is not within the preset range, or if it detects that the wheel speed difference between any two of the vehicle's four drive wheels is greater than or equal to a preset difference during the test period, it will send a prompt message indicating that the vehicle is not allowed to enter hub mode at the current moment.
[0096] Understandably, the gear shift control device first accurately detects the vehicle battery voltage before startup, and then dynamically presets the difference between steady-state and transient operating conditions. During the test period, it comprehensively monitors the wheel speed difference between every two drive wheels. The preset operating mode is only activated when the battery voltage is within the preset range, all wheel speed differences are less than the corresponding preset difference, and the driver's selection is responded to. Simultaneously, it promptly sends warning messages when the battery voltage is abnormal or wheel speed differences exceed the limit. This design comprehensively considers both battery power supply stability and wheel speed synchronization, effectively avoiding risks such as control module failure due to abnormal voltage, transmission shocks caused by inconsistent wheel speeds, and vehicle jerking. Furthermore, the dynamically adaptable preset wheel speed difference design prevents erroneous triggering of the prohibition logic under reasonable operating conditions, improving the adaptability and accuracy of mode activation. Clear warning messages allow the driver to promptly understand the vehicle's status, reducing invalid operations and test interruptions, and improving the safety and reliability of the preset operating mode test.
[0097] In an optional example, based on the foregoing embodiments, as described above, before executing the gear control method described above, the gear control device can also acquire the test bench speed, vehicle transmission system parameters, and wheel radius in the preset operating mode; determine the vehicle's theoretical wheel speed based on the test bench speed, transmission system parameters, and wheel radius; and determine the duration of the preset time period based on the vehicle's preset deceleration and theoretical wheel speed.
[0098] The transmission system parameters include the current gear ratio of the gearbox, the final drive ratio, and the transmission efficiency.
[0099] The preset deceleration is determined based on the vehicle type and test scenario. For example, the preset deceleration range for new energy vehicles (without engine drag) is between 0.3 m / s² and 0.5 m / s²; the preset deceleration range for fuel vehicles (with engine drag) is between 0.6 m / s² and 0.8 m / s². This parameter needs to be calibrated through real vehicle testing to ensure that the deceleration is within the range that the vehicle's braking system can withstand and that the vehicle can be brought to a stop quickly.
[0100] Specifically, the gear control device acquires the speed signal of the test bench through a speed sensor (such as a photoelectric encoder) on the rotating test bench, retrieves the current gear ratio, final drive ratio, and transmission efficiency from the pre-stored database of the vehicle control system, calculates the actual wheel radius based on the tire specifications of the vehicle configuration, calculates the product between the current gear ratio and the final drive ratio to obtain the vehicle's total transmission ratio, determines the theoretical wheel speed based on the test bench speed, total transmission ratio, and transmission efficiency, and determines the vehicle's theoretical wheel speed based on the theoretical wheel speed and wheel radius.
[0101] The theoretical wheel speed is determined based on the test bench speed, total transmission ratio, and transmission efficiency. This includes calculating the product of the total transmission ratio and the transmission efficiency, and then calculating the ratio between the test bench speed and this product to obtain the theoretical wheel speed of the vehicle.
[0102] After determining the vehicle's theoretical wheel speed, since the vehicle receives no power input after the hub-and-spoke mode is disengaged, it decelerates solely through the braking or transmission system resistance. According to the formula for uniformly decelerated linear motion, when the vehicle comes to a complete stop, the preset time interval is the ratio between the theoretical wheel speed and the preset deceleration. Optionally, to ensure complete vehicle stability, a 2-3 second redundancy time should be added to the actual value of the preset time interval.
[0103] Understandably, the gear control device collects the test bench speed through the speed sensor of the test bench in the preset working condition mode, retrieves the transmission system parameters such as the current gear ratio of the transmission, the transmission ratio of the main reducer and the transmission efficiency, and calculates the actual wheel radius based on the tire specifications. After the total transmission ratio is converted and the transmission efficiency is compensated, the theoretical wheel speed of the vehicle is accurately derived. Then, combined with the scenario-based preset deceleration of new energy vehicles and fuel vehicles, the basic duration is calculated by the uniform deceleration linear motion formula and the redundant time is added to determine the final preset time period.
[0104] By comprehensively considering the actual test conditions of the vehicle (test bench speed and transmission characteristics) and the type of the vehicle itself, the preset time period is accurately determined. This avoids the mechanical shock caused by switching to parking gear too early due to a fixed time period or the problem of affecting the convenience of driving operation by switching to parking gear too late. Furthermore, through multi-parameter collaborative calculation and redundant design, it ensures that the vehicle can be completely stable and stationary after exiting the preset working condition mode, thereby improving the accuracy of gear control and ensuring the safety, stability and reliability of the entire preset working condition mode test process.
[0105] Figure 4 This is a schematic diagram of the structure of a gear control device provided in an embodiment of this disclosure.
[0106] In this embodiment, the gear control device can be located within an electronic device and is understood as a functional module of the aforementioned electronic device. Specifically, the electronic device can be a server or a terminal, wherein the terminal specifically includes an in-vehicle terminal, a computer, or a tablet computer, etc., without limitation.
[0107] like Figure 4 As shown, the gear control device 400 may include an information acquisition module 401, a gear determination module 402, and a vehicle control module 403.
[0108] The information acquisition module 401 is used to acquire the vehicle's gear lever information and parking button information when the vehicle needs to switch to the parking gear during a preset time period after the vehicle is in a preset working mode or after exiting the preset working mode. The gear position determination module 402 is used to determine the current gear of the vehicle based on the gear lever information and the parking button information; The vehicle control module 403 is used to control the current gear to the target gear when the current gear is not the target gear, and the target gear is a non-parking gear.
[0109] In this embodiment, when the vehicle needs to switch to parking gear during a preset time period after exiting the preset operating mode, the vehicle's gear lever information and parking button information are obtained. Based on the gear lever information and parking button information, the vehicle's current gear is determined. When the current gear is not the target gear, the current gear is controlled to become the target gear, which is a non-parking gear. Thus, during the preset time period after exiting the preset operating mode, the target gear can be replaced with the parking gear through intelligent gear control, preventing the gear from unexpectedly entering the parking gear and improving the vehicle's safety during preset operating condition testing. Because the vehicle's drive wheels rotate at high speed on the preset test bench during the preset operating condition mode or within a preset time period after exiting the preset operating condition mode, if the vehicle's gear is directly shifted to parking, the pawl inside the transmission will rigidly collide with the high-speed rotating ratchet. This sudden increase in instantaneous impact torque far exceeds the pawl's design limits, potentially causing the pawl to break, gear teeth to chip, or the transmission housing to crack, leading to vehicle loss of control and damage to the testing equipment. The target gear, however, is a non-parking gear. Non-parking gears have no mechanical locking and rely solely on electronic or hydraulic control for power transmission, thus avoiding the risks associated with the vehicle being in parking while running on the preset operating condition test bench. This achieves the safety improvement effect of the preset operating condition mode.
[0110] In some embodiments of this disclosure, the gear control device further includes a vehicle detection module 404.
[0111] When the vehicle is detected to need to shift to the parking gear, before obtaining the vehicle's gear lever information and parking button information, the vehicle detection module 404 checks whether the vehicle meets preset conditions, which are trigger conditions for the vehicle to be in the parking gear. If the vehicle meets the preset conditions, it is determined that the vehicle needs to shift to the parking gear. Alternatively, in response to the driver's gear lever shifting operation, the module receives a gear shifting request corresponding to the gear lever shifting operation. If the gear shifting request indicates that the vehicle's gear should be shifted to the parking gear, it is determined that the vehicle needs to shift to the parking gear. Alternatively, in response to the driver's power-down operation, the module receives a power-down request corresponding to the power-down operation and determines that the vehicle needs to shift to the parking gear based on the power-down request.
[0112] In some embodiments of this disclosure, the vehicle detection module 404 is specifically used to acquire vehicle charging status information and cabin perception information; when the charging status information indicates that the charging gun is in the connected state, and / or the cabin perception information indicates that the driver's seat is in the zero-pressure state, the vehicle is determined to meet the preset conditions; or, when the charging status information indicates that the charging gun is in the unconnected state, and the cabin perception information indicates that the driver's seat is not in the zero-pressure state, the vehicle is determined not to meet the preset conditions.
[0113] In some embodiments of this disclosure, the vehicle detection module 404 is further configured to detect the wheel speed of the vehicle after the vehicle exits the preset operating mode; if the wheel speed is detected to be greater than or equal to the preset wheel speed, the vehicle is restored to normal driving state; or, if the wheel speed is detected to be less than the preset wheel speed and the duration of the vehicle exiting the preset operating mode is outside the preset time period, if the vehicle meets the preset conditions, or if a gear shifting request is received, the vehicle's gear is shifted to parking gear.
[0114] In some embodiments of this disclosure, the vehicle control module 403 is further configured to: set the state value corresponding to the preset operating mode to a preset value and store the state value when the duration of the vehicle exiting the preset operating mode is a preset time period; when the duration of the vehicle exiting the preset operating mode is outside the preset time period, the state value is the preset value, and a power-down request is received, control the vehicle's gear to the target gear and store the current gear status of the vehicle; when the vehicle is powered on again, restore the vehicle to the state when the power-down request was received according to the stored gear status and state value.
[0115] In some embodiments of this disclosure, the vehicle control module 403 is further configured to set the state value corresponding to the preset operating mode to a non-preset value and restore the vehicle to normal driving state when it detects that the wheel speed of the vehicle is greater than the preset wheel speed and the duration of exiting the preset operating mode is outside the preset time period.
[0116] In some embodiments of this disclosure, the information acquisition module 401 is further configured to acquire the test bench speed, vehicle transmission system parameters, and wheel radius in the preset working condition mode; determine the theoretical wheel speed of the vehicle based on the test bench speed, transmission system parameters, and wheel radius; and determine the duration of the preset time period based on the vehicle's preset deceleration and theoretical wheel speed. The duration of the preset time period is a threshold value for determining whether the vehicle is still in the test transition state after it exits the preset working condition mode.
[0117] In some embodiments of this disclosure, before activating the preset operating condition mode, the vehicle detection module 404 is further configured to detect whether the vehicle's battery voltage is within a preset range; if the battery voltage is detected to be within the preset range, the vehicle detects whether the wheel speed difference between any two of its four drive wheels is less than a preset difference during the test period; if the wheel speed difference is detected to be less than the preset difference, the preset operating condition mode is activated in response to the driver's selection operation.
[0118] It should be noted that, Figure 4 The gear control device 400 shown can execute the various steps in the above method embodiments and realize the various processes and effects in the above method embodiments, which will not be elaborated here.
[0119] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure.
[0120] In this embodiment of the disclosure, Figure 5 The electronic device shown can be a server or a terminal. Specifically, the terminal includes in-vehicle terminals, computers, or tablets, etc., without limitation.
[0121] like Figure 5 As shown, the electronic device may include a processor 510 and a memory 520 storing computer program instructions.
[0122] Specifically, the processor 510 may include a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement the embodiments of this disclosure.
[0123] Memory 520 may include a large-capacity storage device for information or instructions. For example, and not limitingly, memory 520 may include a hard disk drive (HDD), a floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or a Universal Serial Bus (USB) drive, or a combination of two or more of these. Where appropriate, memory 520 may include removable or non-removable (or fixed) media. Where appropriate, memory 520 may be internal or external to the integrated gateway device. In a particular embodiment, memory 520 is a non-volatile solid-state memory. In a particular embodiment, memory 520 includes read-only memory (ROM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (Electrically Programmable ROM, EPROM), an electrically erasable programmable PROM (EEPROM), an electrically alterable ROM (EAROM), or flash memory, or a combination of two or more of these.
[0124] The processor 510 reads and executes computer program instructions stored in the memory 520 to perform the steps of the gear control method provided in the embodiments of this disclosure.
[0125] In one example, the electronic device may also include a transceiver 530 and a bus 540. Wherein, as... Figure 5 As shown, the processor 510, memory 520 and transceiver 530 are connected via bus 540 and communicate with each other.
[0126] Bus 540 may include hardware, software, or both. For example, and not limitingly, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industrial Standard Architecture (ISA) bus, an Infinite Bandwidth Interconnect, a Low Pin Count (LPC) bus, a memory bus, a MicroChannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local Bus (VLB) bus, or other suitable buses, or a combination of two or more of these. Where appropriate, bus 540 may include one or more buses.
[0127] This disclosure also provides a computer-readable storage medium that can store a computer program. When the computer program is executed by a processor, the processor enables the processor to implement the gear control method provided in this disclosure.
[0128] When the computer program is executed by the processor, the processor can perform the following steps: when the vehicle is in a preset operating mode or within a preset time period after exiting the preset operating mode, and when it is detected that the vehicle needs to switch to the parking gear, the processor obtains the vehicle's gear lever information and parking button information. The preset operating mode is a performance test mode that simulates the vehicle driving on actual roads. Based on the gear lever information and parking button information, the processor determines the vehicle's current gear. When the current gear is not the target gear, the processor controls the current gear to be the target gear, which is a non-parking gear.
[0129] Therefore, during a preset time period when the vehicle is in or out of a preset operating mode, intelligent gear control can replace the parking gear with the target gear, preventing the gear from unexpectedly shifting into parking and improving vehicle safety during preset operating condition testing. Because the vehicle's drive wheels rotate at high speed with the preset operating condition test bench during the preset operating condition mode or the preset time period after exiting the mode, if the vehicle's gear directly shifts to parking, the pawl inside the transmission will rigidly collide with the high-speed rotating ratchet. This sudden increase in instantaneous impact torque far exceeds the pawl's design limits, potentially causing pawl breakage, gear tooth chipping, or transmission housing rupture, leading to vehicle loss of control and damage to the testing equipment. Since the target gear is a non-parking gear, which has no mechanical locking and relies solely on electronic or hydraulic control for power transmission, the risks associated with the vehicle being in parking while running on the preset operating condition test bench are avoided, achieving the safety improvement effect of the preset operating condition mode.
[0130] In some embodiments of this disclosure, before obtaining the vehicle's gear lever information and parking button information when it is detected that the vehicle needs to be switched to the parking gear, the method further includes: detecting whether the vehicle meets a preset condition, wherein the preset condition is a trigger condition for the vehicle to be in the parking gear; if the vehicle meets the preset condition, then it is determined that the vehicle needs to be switched to the parking gear; or, in response to the driver's gear lever switching operation, receiving a gear shifting request corresponding to the gear lever switching operation; if the gear shifting request indicates that the vehicle's gear should be switched to the parking gear, then it is determined that the vehicle needs to be switched to the parking gear; or, in response to the driver's power-down operation, receiving a power-down request corresponding to the power-down operation, and determining that the vehicle needs to be switched to the parking gear based on the power-down request.
[0131] In some embodiments of this disclosure, detecting whether a vehicle is in a preset scenario includes: acquiring the vehicle's charging status information and cabin perception information; when the charging status information indicates that the charging gun is in the connected state, and / or the cabin perception information indicates that the driver's seat is in the zero-pressure state, determining that the vehicle meets the preset conditions; or, when the charging status information indicates that the charging gun is in the unconnected state, and the cabin perception information indicates that the driver's seat is not in the zero-pressure state, determining that the vehicle does not meet the preset conditions.
[0132] In some embodiments of this disclosure, when the vehicle exits the preset operating mode, the method further includes: detecting the wheel speed of the vehicle; if the wheel speed is detected to be greater than or equal to the preset wheel speed, restoring the vehicle to normal driving state; or, if the wheel speed is detected to be less than the preset wheel speed and the duration of the vehicle exiting the preset operating mode is outside the preset time period, if the vehicle is detected to meet the preset conditions, or if a gear shifting request is received, then the vehicle's gear is shifted to the parking gear.
[0133] In some embodiments of this disclosure, when the duration of the vehicle exiting the preset operating mode is a preset time period, the state value corresponding to the preset operating mode is set to a preset value and stored. The preset value is used to indicate that the vehicle has not completely finished the test. When the duration of the vehicle exiting the preset operating mode is outside the preset time period, the state value is the preset value, and a power-down request is received, the vehicle's gear is controlled to the target gear, and the current gear status of the vehicle is stored. When the vehicle is powered on again, the vehicle is restored to the state when the power-down request was received, based on the stored gear status and state value.
[0134] In some embodiments of this disclosure, when the vehicle's wheel speed is detected to be greater than a preset wheel speed and the duration of exiting the preset operating mode is outside a preset time period, the state value corresponding to the preset operating mode is set to a non-preset value, and the vehicle is restored to normal driving state.
[0135] In some embodiments of this disclosure, the test bench speed, vehicle transmission system parameters, and wheel radius are obtained in a preset working condition mode; the theoretical wheel speed of the vehicle is determined based on the test bench speed, transmission system parameters, and wheel radius; and the duration of a preset time period is determined based on the vehicle's preset deceleration and theoretical wheel speed. The duration of the preset time period is a threshold value for determining whether the vehicle is still in a test transition state after it exits the preset working condition mode.
[0136] In some embodiments of this disclosure, before activating the preset operating mode, the method further includes: detecting whether the vehicle's battery voltage is within a preset range; if the battery voltage is detected to be within the preset range, detecting whether the wheel speed difference between any two of the vehicle's four drive wheels is less than a preset difference during a test period; if the wheel speed difference is detected to be less than the preset difference, activating the preset operating mode in response to the driver's selection operation.
[0137] The aforementioned storage medium may include, for example, a memory 520 containing computer program instructions, which can be executed by a processor 510 of an electronic device to complete the gear control method provided in this embodiment. Optionally, the storage medium may be a non-transitory computer-readable storage medium, such as a read-only memory (ROM), random access memory (RAM), external cache memory, compact disc ROM (CD-ROM), magnetic tape, floppy disk, flash memory, and optical data storage device. By way of illustration and not limitation, RAM is available in various forms, such as static random access memory (SRAM) and dynamic random access memory (DRAM).
[0138] This disclosure also provides a vehicle that includes electronic devices that can implement the various processes and effects described in the above embodiments of this disclosure, which will not be elaborated here.
[0139] This disclosure also provides a computer program product, which includes a computer program or instructions. When the computer program or instructions are executed by a processor, they implement the gear control method provided in this disclosure and can achieve the various processes and effects in the above-described embodiments of this disclosure, which will not be elaborated here.
[0140] The above description is merely a specific embodiment of this disclosure, enabling those skilled in the art to understand or implement it. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this disclosure. Therefore, this disclosure is not to be limited to the embodiments described herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for controlling gear position, characterized in that, The method includes: Within a preset time period after the vehicle is in or exits the preset operating mode, when it is detected that the vehicle needs to switch to the parking gear, the gear lever information and parking button information of the vehicle are obtained. The preset operating mode is a performance test mode that simulates the vehicle driving on actual roads. The current gear of the vehicle is determined based on the gear lever information and the parking button information; When the current gear is not the target gear, the current gear is controlled to be the target gear, and the target gear is a non-parking gear.
2. The method according to claim 1, characterized in that, Before obtaining the vehicle's gear lever information and parking button information when it is detected that the vehicle needs to be switched to the parking gear position, the method further includes: Detect whether the vehicle meets preset conditions, wherein the preset conditions are trigger conditions that require the vehicle to be in the parking gear position; If the vehicle meets the preset conditions, then it is determined that the vehicle needs to be switched to the parking gear. or, In response to the driver's gear shifting operation, receive the gear shifting request corresponding to the gear shifting operation; If the gear shift request indicates that the vehicle's gear should be shifted to the parking gear, then it is determined that the vehicle needs to be shifted to the parking gear. or, In response to the driver's power-down operation, a power-down request corresponding to the power-down operation is received, and based on the power-down request, it is determined that the vehicle needs to be switched to the parking gear.
3. The method according to claim 2, characterized in that, The detection of whether the vehicle meets the preset conditions includes: Obtain the vehicle's charging status information and cabin perception information; When the charging status information indicates that the charging gun is in the connected state, and / or the cabin perception information indicates that the driver's seat is in the zero pressure state, it is determined that the vehicle meets the preset conditions. Alternatively, when the charging status information indicates that the charging gun is not connected and the cabin perception information indicates that the driver's seat is not in the zero-pressure state, it is determined that the vehicle does not meet the preset conditions.
4. The method according to any one of claims 1-3, characterized in that, After the vehicle exits the preset operating mode, the method further includes: Detect the wheel speed of the vehicle; If the wheel speed is detected to be greater than or equal to the preset wheel speed, the vehicle is restored to normal driving status; Alternatively, if the wheel speed is detected to be less than the preset wheel speed, and the duration for which the vehicle exits the preset operating mode is outside the preset time period, then if the vehicle meets the preset conditions, or if the gear shift request is received, the vehicle's gear is shifted to the parking gear.
5. The method according to claim 4, characterized in that, The method further includes: When the vehicle exits the preset operating condition mode for a period of time equal to the preset time period, the status value corresponding to the preset operating condition mode is set to a preset value and the status value is stored. The preset value is used to indicate that the vehicle has not completely finished the test. When the duration of the vehicle exiting the preset operating mode is outside the preset time period, the status value is the preset value, and the power-down request is received, the vehicle's gear is controlled to the target gear, and the current gear status of the vehicle is stored. When the vehicle is powered on again, the vehicle is restored to the state it was in when the power-down request was received, based on the stored gear position and state value.
6. The method according to claim 5, characterized in that, The method further includes: When it is detected that the wheel speed of the vehicle is greater than the preset wheel speed, and the duration of exiting the preset operating mode is outside the preset time period, the state value corresponding to the preset operating mode is set to a non-preset value, and the vehicle is restored to normal driving state.
7. The method according to claim 5 or 6, characterized in that, The method further includes: The test bench speed, the vehicle's transmission system parameters, and the wheel radius are obtained in the preset working condition mode. The theoretical wheel speed of the vehicle is determined based on the test bench rotation speed, the transmission system parameters, and the wheel radius. Based on the vehicle's preset deceleration and the theoretical wheel speed, the duration of the preset time period is determined. The duration of the preset time period is a threshold value for determining whether the vehicle is still in a test transition state after it exits the preset operating condition mode.
8. The method according to claim 7, characterized in that, Before activating the preset operating mode, the method further includes: Detect whether the battery voltage of the vehicle is within a preset range; If the battery voltage is detected to be within the preset range, then during the test period, it is detected whether the wheel speed difference between any two of the four drive wheels of the vehicle is less than a preset difference. If the wheel speed differences are all detected to be less than the preset difference value, the preset operating mode is activated in response to the driver's selection operation.
9. An electronic device, characterized in that, include: processor; Memory, used to store executable instructions; The processor is configured to read the executable instructions from the memory and execute the executable instructions to implement the gear control method according to any one of claims 1-8.
10. A vehicle, characterized in that, Including the electronic device as described in claim 9.