Vehicle control methods, devices, equipment and media
By setting a locking interval and monitoring switching characteristics in real time in the vehicle's dual-mode door system, abnormal events can be identified and target control strategies can be determined, thus solving the problem of mechanical damage during mode switching in traditional door systems and achieving higher safety and reliability.
Patent Information
- Application Number
- CN202611306543.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-26
- Publication Date
- 2026-11-17
AI Technical Summary
Traditional dual-mode door systems in vehicles are prone to mechanical damage during mode switching, resulting in insufficient safety and reliability.
By setting the locking range of the door switching mechanism, the movement position and switching characteristics are monitored in real time, abnormal events are identified, and the target control strategy is determined based on the locking range and real-time position, thus avoiding mechanical damage caused by a single reversal strategy.
This improves the safety and reliability of door mode switching, avoids mechanical damage caused by abnormal events, and ensures the stable operation of the door system under different working conditions.
Smart Images

Figure CN123109476A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle door control technology, and in particular to a vehicle control method, device, equipment and medium. Background Technology
[0002] With the increasing demand for personalized vehicles and the growing need for convenient parking in urban areas, dual-mode door systems integrating swing doors and scissor doors have gradually become a research and development hotspot in the automotive industry. In recent years, dual-mode door systems integrating swing doors and scissor doors have emerged. These systems connect the two modes via a switching mechanism such as a locking lever and sliding rails: when the switching mechanism is in the first position, the door opens horizontally via swing hinges; when switched to the second position, the door switches to scissor hinges and opens upwards.
[0003] In traditional control schemes, when abnormal resistance or position deviation is detected during mode switching, the switching action will be paused or the drive mechanism will return to the initial mode to avoid mechanical jamming. However, traditional schemes may suffer mechanical damage during the return process, resulting in insufficient safety and reliability of mode switching. Summary of the Invention
[0004] The purpose of this application is to provide a vehicle control method, device, equipment, and medium that can solve the problem of mechanical damage during the reversal process in traditional methods, which leads to insufficient safety and reliability of mode switching.
[0005] In a first aspect, embodiments of this application provide a vehicle control method, the vehicle including a door switching mechanism; the door switching mechanism is used to switch the vehicle's door control mode; the method includes: The locking range is set according to the mechanical characteristics of the door switching mechanism; Upon receiving the command to switch the door control mode, the real-time movement position and switching characteristics of the door switching mechanism are obtained. Based on the switching characteristics, determine whether there are any abnormal events during the switching process of the door control mode; In the event of the aforementioned abnormal event, the target door control mode and target control strategy are determined based on the real-time movement position and the locking interval. The door switching mechanism is switched to the target door control mode according to the target control strategy.
[0006] Optionally, the door control mode includes: a first control mode and a second control mode; the mechanical feature includes: a drive force reversal point; The step of setting the locking range based on the mechanical characteristics of the door switching mechanism includes: The first locking point is determined based on the first driving force flipping point in the movement of the door switching mechanism from the first position of the first control mode to the second position of the second control mode; The second locking point is determined based on the second driving force flipping point in the first position of the first control mode when the door switching mechanism moves from the second position of the second control mode to the first position of the first control mode; The locking interval is determined based on the first locking point and the second locking point.
[0007] Optionally, the mechanical feature includes a meshing point; The step of setting the locking range based on the mechanical characteristics of the door switching mechanism includes: The first locking point is determined based on the first engagement point in the movement of the door switching mechanism from the first position in the first control mode to the second position in the second control mode; the first engagement point represents the position where the limit switch in the first control mode is in the engaged state; The second locking point is determined based on the second engagement point in the first position of the first control mode as the door switching mechanism moves from the second position of the second control mode to the first position; the second engagement point represents the position where the limit switch of the second control mode is in the engaged state; The locking interval is determined based on the first locking point and the second locking point.
[0008] Optionally, the mechanical feature includes the driving force of the door switching mechanism; The step of setting the locking range based on the mechanical characteristics of the door switching mechanism includes: The first locking point is determined based on the first driving point in which the door switching mechanism moves from the first position in the first control mode to the second position in the second control mode; the first driving point represents the position where the driving force required for the door switching mechanism to retract to the first position reaches a first preset proportion of the driving force limit value of the door switching mechanism; The second locking point is determined based on the second driving point in which the door switching mechanism moves from the second position of the second control mode to the first position of the first control mode; the second driving point represents the position where the driving force required for the door switching mechanism to retract to the first position reaches a second preset proportion of the driving force limit value of the door switching mechanism; The locking interval is determined based on the first locking point and the second locking point.
[0009] Optionally, the switching feature includes: movement resistance or movement position deviation; The step of determining whether there are abnormal events during the switching process of the door control mode based on the switching characteristics includes: Obtain the moving resistance during the movement of the door switching mechanism; The movement position deviation of the door switching mechanism is determined based on the movement position; An abnormal event occurs during the switching of the door control mode if the moving resistance is greater than or equal to the resistance threshold, or if the moving position deviation is greater than or equal to the deviation threshold.
[0010] Optionally, determining the target door control mode and target control strategy based on the movement position and locking interval in the presence of the abnormal event includes: The location where the abnormal event occurred is determined based on the real-time movement location; If the abnormal triggering location is within the locked interval, a first target control strategy is obtained. Set the door control mode that the user needs to switch to in the switching command to the target door control mode; If the abnormal triggering location is outside the locked interval, a second target control strategy is obtained. Set the door control mode before executing the switching command to the target door control mode.
[0011] Optionally, switching the door switching mechanism to the target door control mode according to the target control strategy includes: When the abnormal triggering position is within the locking range, the driving force of the door switching mechanism is adjusted according to the first target control strategy to generate the first driving force; The door switching mechanism is controlled to switch to the target door control mode according to the first driving force; If the abnormal triggering location is outside the locked interval, a second driving force opposite to the switching command is generated according to the second target control strategy. The second driving force controls the door switching mechanism to revert to the target door control mode.
[0012] Secondly, embodiments of this application provide a vehicle control device, the vehicle including a door switching mechanism; the door switching mechanism is used to switch the vehicle door control mode; the device includes: A locking interval setting module is used to set a locking interval based on the mechanical characteristics of the door switching mechanism; The data acquisition module is used to acquire the real-time movement position and switching characteristics of the door switching mechanism when the door control mode switching command is received. An abnormal event judgment module is used to determine whether an abnormal event exists during the switching process of the door control mode based on the switching characteristics. The target door control mode determination module is used to determine the target door control mode based on the movement position and locking interval in the event of the abnormal event. The control module is used to control the door switching mechanism to switch to the target door control mode.
[0013] Thirdly, embodiments of this application provide an electronic device, including: a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the method described above.
[0014] Fourthly, embodiments of this application provide a computer-readable storage medium on which a computer program is stored, which, when executed by a processor, implements the method described above.
[0015] Compared with the prior art, the embodiments of this application have the following advantages: In this embodiment, a locking interval is set based on the mechanical characteristics of the door switching mechanism. Upon receiving a door control mode switching command, the real-time movement position and switching characteristics of the door switching mechanism are acquired. Based on the switching characteristics, it is determined whether any abnormal events occur during the door control mode switching process. If abnormal events occur, the target door control mode and target control strategy are determined based on the real-time movement position and locking interval. The door switching mechanism is then switched to the target door control mode according to the target control strategy. By pre-setting the locking interval, the final adjusted door control mode and control strategy are determined by identifying the positional relationship between the real-time movement position and the locking interval when abnormal events occur. This avoids mechanical damage to the door switching mechanism caused by a single reversal strategy, ensuring the safety and reliability of mode switching. Attached Figure Description
[0016] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0017] Figure 1 This is a flowchart illustrating the steps of a vehicle control method provided in an embodiment of this application; Figure 2 This is a schematic diagram of the structure of a dual-mode door switching mechanism provided in an embodiment of this application; Figure 3This is a schematic diagram of the structure of a vehicle control device provided in an embodiment of this application; Figure 4 This is a schematic diagram of an electronic device provided in an embodiment of this application; Figure 5 This is a schematic diagram of a computer-readable storage medium provided in an embodiment of this application. Detailed Implementation
[0018] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0019] The terms "first," "second," etc., used in this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein. Furthermore, in this application, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0020] The following description, in conjunction with the accompanying drawings, details a vehicle control method, system, electronic device, and storage medium provided in this application through specific embodiments and application scenarios.
[0021] In recent years, dual-mode door systems integrating swing door and scissor door functions have gradually emerged. Such systems switch between two modes through a movable switching mechanism (such as a locking lever, sliding rail assembly, etc.): when the switching mechanism is in the first position, the door moves in swing door mode; when the switching mechanism is in the second position, the door moves in scissor door mode.
[0022] During mode switching, the switching mechanism needs to move from one extreme position to another. Traditional solutions utilize sensors (limit switches, motor current, motor travel) to monitor for anomalies in real time during the switching process. Once an anomaly is detected (such as increased resistance or positional deviation), the switching action is immediately paused or reversed. This "stop upon encountering an obstacle" strategy is safe under normal circumstances, but it may pose greater risks in certain specific phases.
[0023] However, in this overall scheme, once the switching mechanism moves past a certain critical position (e.g., the locking lever passes the mechanical dead point, the semi-locked position, or the midpoint of its stroke), the mechanism can no longer safely return to the original mode, or the return itself would cause greater mechanical damage. If a pause or return is still executed at this point, it will instead cause the mechanism to be in an intermediate state that is "neither mode A nor mode B," potentially leading to locking, jamming, or even permanent damage. Existing technology does not distinguish this special stage and lacks a targeted control strategy. In summary, existing technologies are susceptible to mechanical damage during the rollback process, resulting in insufficient safety and reliability in mode switching.
[0024] Reference Figure 1 The diagram illustrates a flowchart of a vehicle control method provided in an embodiment of this application, which may specifically include the following steps: Step 101: Set the locking range according to the mechanical characteristics of the door switching mechanism; Specifically, the vehicle has at least two door control modes, and the door switching mechanism needs to be moved to different positions to switch between different door control modes.
[0025] In specific implementations, such as Figure 2 The diagram shows a schematic representation of a dual-mode door switching mechanism. Figure 2 Limit switches 101 and 102 represent two different door control modes, used to detect whether the switching mechanism 301 has reached the switching position. When the door switching mechanism 301 is in the position shown in the diagram, pin 303 disengages from latch 203, pin 302 disengages from 202, limit switch 101 is triggered, and the door is in the first control mode unlocked state (exemplarily, it can be set to a swing door control mode). Mounting plate 201 can detach from the locked state, realizing the opening method of the first control mode. When the switching mechanism 301 moves downward, pin 302 enters latch 202, pin 303 enters latch 203, and limit switch 102 is triggered simultaneously, and the door is in the second control mode locked state (exemplarily, it can be set to a scissor door control mode), realizing the opening method of the second control mode.
[0026] In this application, a locking range is set based on the mechanical characteristics of the door switching mechanism. If the door switching mechanism performs a retraction operation within the locking range, the probability of mechanical damage to the door switching mechanism is relatively high, and the safety and reliability of mode switching cannot be guaranteed.
[0027] Step 102: Upon receiving the door control mode switching command, obtain the real-time movement position and switching characteristics of the door switching mechanism; In this embodiment, the switching command is used to control the door switching mechanism to move from the first position corresponding to the first control mode to the second position corresponding to the second control mode, or from the second position corresponding to the second control mode to the first position corresponding to the first control mode. When a door control mode switching command is received, it is necessary to monitor the real-time movement position of the door switching mechanism and the switching characteristics of the door switching mechanism during the movement process, so as to provide data support for subsequent judgment and selection of target door control mode and target control strategy.
[0028] Step 103: Determine whether there are any abnormal events during the switching process of the door control mode based on the switching characteristics; During the movement of the door switching mechanism, abnormal events may occur due to equipment aging or environmental changes. For example, abnormal events may include excessive moving resistance or deformation of the mechanical structure.
[0029] Therefore, in this embodiment, the switching characteristics during the movement of the door switching mechanism can be used to determine whether there is an abnormal event, providing a risk assessment basis for the subsequent target door control mode and target control strategy.
[0030] Step 104: In the event of the aforementioned abnormal event, determine the target door control mode and target control strategy based on the real-time movement position and the locking interval; In this embodiment, in the event of an abnormal event, it is highly likely that forcibly switching modes by increasing the driving force of the door switching mechanism will cause mechanical damage. Therefore, it is necessary to combine the real-time movement position and the locking interval to determine whether the current door switching mechanism is within the locking interval, and select the door control mode with lower risk as the target door control mode and the target control strategy of the target door control mode to avoid the double superposition of the risk of switching in the locking interval and the risk of switching due to abnormal events.
[0031] In practical implementation, considering the influence of environmental parameters on the mechanical characteristics of the door switching mechanism, the starting point of the locking interval can be dynamically adjusted according to the environmental parameters. For example, environmental parameters may include temperature, slope, etc. Taking temperature as an example, in low-temperature environments, the viscosity of the lubricating grease in each moving pair of the switching mechanism increases, the overall resistance of the mechanism increases, and the actual positions of the mechanical dead point and engagement point may shift. In this case, the starting point of the locking interval can be locked in advance, extending the locking interval forward to avoid premature interruption due to abnormal resistance outside the interval, thereby improving the accuracy of the target door control mode and target control strategy selection.
[0032] Step 105: Switch the door switching mechanism to the target door control mode according to the target control strategy; Specifically, after selecting the target door control mode with the lowest risk, the driving force of the door switching mechanism is adjusted based on the target control strategy. Based on the adjusted driving force, the door switching mechanism is switched to the position corresponding to the target door control mode, thereby realizing the switching of the door control mode.
[0033] In this embodiment, a locking interval is set based on the mechanical characteristics of the door switching mechanism. Upon receiving a door control mode switching command, the real-time movement position and switching characteristics of the door switching mechanism are acquired. Based on the switching characteristics, it is determined whether any abnormal events occur during the door control mode switching process. If abnormal events occur, the target door control mode and target control strategy are determined based on the real-time movement position and locking interval. The door switching mechanism is then switched to the target door control mode according to the target control strategy. By pre-setting the locking interval, the final adjusted door control mode and control strategy are determined by identifying the positional relationship between the real-time movement position and the locking interval when abnormal events occur. This avoids mechanical damage to the door switching mechanism caused by a single reversal strategy, ensuring the safety and reliability of mode switching.
[0034] In one embodiment of this application, the mechanical features include at least one of the driving force reversal point, engagement point, and driving force of the door switching mechanism; Specifically, the steps for setting the locking interval based on the driving force reversal point are as follows: Step A1: Determine the first locking point based on the first driving force flipping point when the door switching mechanism moves from the first position of the first control mode to the second position of the second control mode; In this example, the driving force reversal point represents the point where the driving force of the door switching mechanism reverses during its movement, which is also the position of the mechanical dead point. At this position, it is impossible to safely reverse the drive.
[0035] Therefore, it is necessary to pre-determine the corresponding locking points for the movement positions of the control modes to be switched to as needed.
[0036] Specifically, when it is necessary to switch to the second control mode, the door switching mechanism is located at the first position corresponding to the first control mode. Therefore, the first driving force reversal point, which is the point where the driving force reversal point occurs during the movement of the door switching mechanism from the first position corresponding to the first control mode to the second position corresponding to the second control mode, is set as the first locking point.
[0037] Step A2: Determine the second locking point based on the second driving force flipping point in the movement of the door switching mechanism from the second position of the second control mode to the first position of the first control mode; When it is necessary to switch to the first control mode, the door switching mechanism is located in the second position corresponding to the second control mode. Therefore, the second driving force reversal point, which is the driving force reversal point during the movement of the door switching mechanism from the second position corresponding to the second control mode to the first position corresponding to the first control mode, is set as the second locking point. Step A3: Determine the locking interval based on the first locking point and the second locking point.
[0038] Then, the first locking point and the second locking point are used as the starting positions of the locking interval, and the position between the first locking point and the second locking point is set as the locking interval, that is, the uninterruptible interval.
[0039] This embodiment uses the driving force reversal point as the boundary of the locking interval, ensuring that the locking interval is directly determined by the actual mechanical characteristics of the mechanism, rather than relying on empirical estimation or fixed thresholds, thus guaranteeing the engineering accuracy of the interval boundary. Furthermore, it determines the locking point separately for both the switching from the first control mode to the second control mode and the reverse switching, adapting to the actual situation where the driving force reversal point position may differ under different switching directions. This makes the locking interval specific in both bidirectional switching processes. After the locking interval is determined, subsequent control logic can switch to a forced completion strategy when the mechanism enters the interval, avoiding pause or reversal operations after the mechanism has passed the mechanical dead point. This prevents the switching mechanism from remaining in an intermediate state that is neither a swing door mode nor a scissor door mode, effectively reducing the risk of locking, jamming, and permanent damage to transmission components, and improving the reliability and safety of the dual-mode door switching process.
[0040] In one embodiment of this application, the step of setting the locking interval based on the engagement point is as follows: Step B1: Determine the first locking point based on the first engagement point of the door switching mechanism moving from the first position of the first control mode to the second position of the second control mode; the first engagement point represents the position where the limit switch of the first control mode is in the engaged state; In this embodiment, the basis for setting the locking interval may also include the engagement point. The engagement point indicates that when the door switching mechanism reaches this position, there will be a locking mechanism corresponding to the control mode in an engaged state. If the door switching mechanism is stopped in the middle of the engagement point, the door switching mechanism will be in a half-engaged state and cannot be unlocked by conventional drive. Therefore, it is necessary to pre-determine the corresponding engagement point for each movement position required by the control mode to be switched to.
[0041] Specifically, when it is necessary to switch to the second control mode, the door switching mechanism is located at the first position corresponding to the first control mode. Therefore, the first engagement point where the limit switch of the first control mode is engaged during the movement of the door switching mechanism from the first position corresponding to the first control mode to the second position corresponding to the second control mode is set as the first locking point.
[0042] Step B2: Determine the second locking point based on the second engagement point of the door switching mechanism moving from the second position of the second control mode to the first position of the first control mode; the second engagement point represents the position where the limit switch of the second control mode is in the engaged state; When it is necessary to switch to the first control mode, the door switching mechanism is located in the second position corresponding to the second control mode. Therefore, the second engagement point where the limit switch of the second control mode is engaged during the movement of the door switching mechanism from the second position corresponding to the second control mode to the first position corresponding to the first control mode should be set as the second locking point.
[0043] Step B3: Determine the locking interval based on the first locking point and the second locking point.
[0044] Then, the first locking point and the second locking point are used as the starting positions of the locking interval, and the position between the first locking point and the second locking point is set as the locking interval, that is, the uninterruptible interval.
[0045] In this embodiment, the engagement point reflects the actual position of the limit switch entering the engagement state. Once the switching mechanism crosses this point, the locking mechanism is engaged. If it stops midway, the mechanism will fall into a semi-engaged state, making it impossible to unlock by conventional drive. It can only be disassembled by external force, resulting in high maintenance costs and long repair times. Using the engagement point as the boundary of the locking interval ensures that the definition of the uninterrupted interval directly corresponds to the actual mechanical engagement relationship of the locking mechanism, guaranteeing the accuracy of the interval boundary. After the locking interval is determined, the subsequent control logic can switch to a forced completion strategy when the mechanism enters the interval, avoiding pause or reversal operations in the semi-engaged state. This effectively prevents the mechanism from remaining in the dangerous intermediate state of semi-engagement, reducing the risk of locking and jamming, and ensuring the reliability of the dual-mode door switching process.
[0046] In one embodiment of this application, the step of setting the locking interval based on the driving force of the door switching mechanism is as follows: Step C1: Determine the first locking point based on the first driving point of the door switching mechanism moving from the first position in the first control mode to the second position in the second control mode; the first driving point represents the position where the driving force required for the door switching mechanism to retract to the first position reaches a first preset proportion of the driving force limit value of the door switching mechanism; In this embodiment, the basis for setting the locking interval may also include the driving force of the door switching mechanism. The driving force of the door switching mechanism represents the driving force required to move the door switching mechanism. If the driving force is too large, it will cause the drive unit to be overloaded and a driving force failure will occur, so that the current vehicle is in a state that is neither the first control mode nor the second control mode, and the door cannot be opened. Therefore, the locking range needs to be pre-set for the driving force of the control mode to be switched to as needed.
[0047] Specifically, when it is necessary to switch to the second control mode, the door switching mechanism is located at the first position corresponding to the first control mode. Therefore, the first driving point where the driving force required for the door switching mechanism to return to the first position during the movement from the first position corresponding to the first control mode to the second position corresponding to the second control mode is greater than or equal to the first driving force threshold is set as the first locking point. The first driving force threshold is calculated based on the product of the driving force limit value and the first preset ratio. The first preset ratio is determined based on experimental calibration. For example, the first preset ratio can be set to 70%.
[0048] Step C2: Determine the second locking point based on the second driving point in the movement of the door switching mechanism from the second position of the second control mode to the first position of the first control mode; the second driving point represents the position where the driving force required for the door switching mechanism to retract to the first position reaches a second preset proportion of the driving force limit value of the door switching mechanism; When it is necessary to switch to the first control mode, the door switching mechanism is located at the second position corresponding to the second control mode. Therefore, the second driving point where the driving force required for the door switching mechanism to return to the second position during the movement from the second position corresponding to the second control mode to the first position corresponding to the first control mode is greater than or equal to the second driving force threshold is set as the second locking point. The second driving force threshold is calculated based on the product of the driving force limit value and the second preset ratio. The second preset ratio is determined based on experimental calibration and can be different from or the same as the first preset ratio.
[0049] Step C3: Determine the locking interval based on the first locking point and the second locking point.
[0050] Then, the first locking point and the second locking point are used as the starting positions of the locking interval, and the position between the first locking point and the second locking point is set as the locking interval, that is, the uninterruptible interval.
[0051] In this embodiment, the boundary determination criterion for the locking interval is based on whether the driving force required for the door switching mechanism to retract to its original position reaches the driving force limit value. This allows the definition of the uninterrupted interval to directly reflect the actual load capacity of the drive unit. When the switching mechanism crosses this driving point, the driving force required for retraction is close to the limit output of the drive unit. If a retraction operation is performed at this time, the drive unit will be unable to respond normally due to overload, and the door switching mechanism will remain stuck in the intermediate state, preventing the door from opening. Using the driving force threshold as the determination condition for the locking point, compared to fixed position calibration, can directly correlate with the actual load capacity of the drive unit under different operating conditions, avoiding locking or jamming caused by insufficient driving force leading to retraction failure. At the same time, corresponding driving force thresholds are set for bidirectional switching, and the first preset ratio and the second preset ratio can be different, which can adapt to the actual situation of asymmetrical retraction driving force requirements under different switching directions. This ensures that the locking interval matches the actual load boundary of the drive unit in both directions and facilitates adaptation and adjustment according to the performance of the drive unit of different vehicle models, improving the versatility and engineering applicability of the solution.
[0052] Optionally, since the mechanism characteristics reflected by the driving force reversal point, engagement point, and driving force threshold are different, the locking intervals determined based on the driving force of the power reversal point, engagement point, and door switching mechanism are different. Based on this, this application can determine the first locking sub-interval based on the power reversal point; determine the second locking sub-interval based on the engagement point; and determine the third locking sub-interval based on the driving force of the door switching mechanism. Then, the union of the first, second, and third locking sub-intervals is set as the final locking interval. By taking the union of the three sub-intervals as the final locking interval, all positions that may cause the mechanism to fall into a dangerous intermediate state under different mechanical conditions can be included in the uninterruptible range, achieving the most comprehensive protection. In addition, the final locking interval can be set based on the overlapping interval of the first locking sub-interval, the second locking sub-interval, and the third locking sub-interval; only the location where all three judgment conditions confirm that there is a risk can be included in the uninterruptible range, which can effectively reduce the length of the interval, reduce the frequency of triggering the forced completion strategy, and minimize the intervention in the normal switching process while ensuring safety.
[0053] The two selection methods can be set based on user preferences, respectively adapting to different application scenarios with higher security requirements or higher switching efficiency requirements, making the definition of the locking range flexible.
[0054] In one embodiment of this application, the switching feature includes: movement resistance or movement position deviation; The step of determining whether there are abnormal events during the switching process of the door control mode based on the switching characteristics includes: Obtain the moving resistance during the movement of the door switching mechanism; The movement position deviation of the door switching mechanism is determined based on the movement position; An abnormal event occurs during the switching of the door control mode if the moving resistance is greater than or equal to the resistance threshold, or if the moving position deviation is greater than or equal to the deviation threshold.
[0055] In one embodiment of this application, the switching features include movement resistance and movement position deviation, which are used to characterize the operating state of the door switching mechanism during the mode switching process.
[0056] Specifically, during the mode switching process of the door switching mechanism, the movement resistance of the switching mechanism during movement can be indirectly calculated using force sensors or motor current. This movement resistance reflects the mechanical load borne by the switching mechanism at its current travel position. Simultaneously, the real-time movement position of the switching mechanism is acquired and compared with a preset theoretical trajectory or desired position to obtain the movement position deviation. This deviation reflects the degree of deviation between the actual and expected movement of the switching mechanism.
[0057] When the moving resistance is greater than or equal to the pre-calibrated resistance threshold, it indicates that the switching mechanism has encountered mechanical obstacles beyond the normal range on its movement path, such as interference from foreign objects, hinge deformation, or lubrication failure. When the moving position deviation is greater than or equal to the pre-calibrated deviation threshold, it indicates that the actual movement trajectory of the switching mechanism has significantly deviated from the expected trajectory, possibly indicating a structural abnormality. The occurrence of either of these two situations constitutes an abnormal event in the current switching process, requiring the triggering of subsequent control strategy responses.
[0058] This embodiment, by simultaneously monitoring two switching characteristics—movement resistance and movement position deviation—can comprehensively determine whether anomalies occur during the switching process from two dimensions: mechanical load and motion trajectory. Compared to relying on only a single parameter for anomaly detection, this improves the coverage and accuracy of anomaly identification. Using resistance thresholds and deviation thresholds as judgment conditions provides clear quantitative standards for triggering abnormal events, offering a reliable basis for anomaly determination for subsequently implementing differentiated control strategies inside and outside the locked area.
[0059] In one embodiment of this application, determining the target door control mode and target control strategy based on the movement position and locking interval in the presence of the abnormal event includes: The location where the abnormal event occurred is determined based on the real-time movement location; If the abnormal triggering location is within the locked interval, a first target control strategy is obtained. Set the door control mode that the user needs to switch to in the switching command to the target door control mode; If the abnormal triggering location is outside the locked interval, a second target control strategy is obtained. Set the door control mode before executing the switching command to the target door control mode.
[0060] In one embodiment of this application, when an abnormal event is determined during the switching of the door control mode, it is necessary to combine the specific location of the abnormality and the pre-defined locking interval to determine the target door control mode and target control strategy to be adopted subsequently.
[0061] Specifically, based on the real-time movement position of the switching mechanism, the abnormal trigger position when an abnormal event occurs is determined, that is, the travel position of the switching mechanism at the instant the abnormality is detected. Then, this abnormal trigger position is compared with a pre-determined locking interval, and different strategy matching logic is executed according to the comparison result.
[0062] When the abnormal trigger position is within the locking range, it indicates that the switching mechanism has passed critical positions such as mechanical dead points, engagement points, or driving force critical points. At this point, the mechanism no longer has the conditions to safely return to the original mode. Therefore, the first target control strategy is matched, and the core logic of this strategy is to force the switching to complete. That is, the door control mode that the user expects to switch to in the switching command is set as the target door control mode, and the switching mechanism is controlled to continue moving towards the target position until the mode switch is completed.
[0063] When the abnormal trigger location is outside the locked range, it indicates that the switching mechanism has not yet crossed the critical position and still has the conditions to safely return to the original mode. Therefore, a second target control strategy is obtained. The core logic of this strategy is safe return, which sets the door control mode before the switching command is executed to the target door control mode, controls the switching mechanism to return to the limit position corresponding to the original mode, and restores the stable state before the switch.
[0064] By comparing the abnormal trigger location with the locked interval, differentiated handling of abnormal responses is achieved: a forced switch is completed within the locked interval, and a safe return to the original mode is achieved outside the locked interval, thus matching the control strategy with the actual mechanical state of the mechanism. This method avoids the risk of locking or jamming caused by performing a return operation after the mechanism has passed the critical position, and also avoids the potential safety hazards caused by blindly forcing a switch before the mechanism has passed the critical position, thus balancing the safety and reliability of mode switching.
[0065] In one embodiment of this application, switching the door switching mechanism to the target door control mode according to the target control strategy includes: When the abnormal triggering position is within the locking range, the driving force of the door switching mechanism is adjusted according to the first target control strategy to generate the first driving force; The door switching mechanism is controlled to switch to the target door control mode according to the first driving force; If the abnormal triggering location is outside the locked interval, a second driving force opposite to the switching command is generated according to the second target control strategy. The second driving force controls the door switching mechanism to revert to the target door control mode.
[0066] In this embodiment, when the abnormal trigger location is within the locking range, the first target control strategy is executed. At this time, the driving force of the door switching mechanism is adjusted to generate a first driving force. The direction of the first driving force is consistent with the target direction indicated by the switching command, and its magnitude can be adaptively adjusted according to the current abnormality type. For example, when the movement resistance is too high, the driving force output can be appropriately increased to overcome the obstacle. Subsequently, the door switching mechanism is controlled to continue moving towards the target position according to the first driving force until the switching mechanism reaches the limit position corresponding to the target door control mode, completing the mode switching. After that, mechanical locking is performed (such as electromagnetic lock engagement, limit switch confirmation) and a switching completion signal is sent.
[0067] Furthermore, due to the existence of abnormal events, it is also necessary to prohibit subsequent mode switching requests based on the completion of mode switching to avoid further damage to the door switching mechanism and issue an alarm prompt. For example, the system can prompt the user with information such as "Mode switching is complete but the system is abnormal, please check" through the instrument panel, central control screen or sound. When the abnormal trigger location is outside the locked range, the second target control strategy is executed. At this time, a second driving force is generated in the opposite direction to the switching command, that is, the direction of the driving force is towards the original position of the switching mechanism before the switching command was executed. According to the second driving force, the door switching mechanism is controlled to move in the opposite direction, retracting to the limit position corresponding to the door control mode before the switching command was executed, so that the switching mechanism returns to the stable state before the switching, and an alarm message is immediately issued. At the same time, maintenance information is generated and sent to the maintenance center.
[0068] This embodiment generates a first driving force aligned with the target direction within the locking zone to force the switching process, and generates a second driving force opposite to the switching direction outside the locking zone for safe retraction. This ensures that the direction of the driving force and the control logic are adapted to the mechanical state of the switching mechanism. This method provides sufficient driving force to ensure smooth switching when the door switching mechanism is within the locking zone, preventing it from stalling in the intermediate state due to insufficient driving force. Furthermore, it promptly reverses the driving force to a safe position before the door switching mechanism enters the locking zone, preventing further escalation of the anomaly. Therefore, it effectively protects the door switching mechanism under different operating conditions, improving the operational safety of the dual-mode door system.
[0069] This application embodiment sets a locking interval based on the mechanical characteristics of the door switching mechanism; upon receiving a door control mode switching command, it acquires the real-time movement position and switching characteristics of the door switching mechanism; based on the switching characteristics, it determines whether there are any abnormal events during the door control mode switching process; if abnormal events exist, it determines the target door control mode and target control strategy based on the real-time movement position and locking interval; and switches the door switching mechanism to the target door control mode according to the target control strategy. By pre-setting the locking interval, and identifying the positional relationship between the real-time movement position and the locking interval when abnormal events occur, the final adjusted door control mode and control strategy are determined, avoiding mechanical damage to the door switching mechanism caused by a single regress strategy, and ensuring the safety and reliability of mode switching.
[0070] It should be noted that, for the sake of simplicity, the method embodiments are all described as a series of actions. However, those skilled in the art should understand that the embodiments of this application are not limited to the described order of actions, because according to the embodiments of this application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of this application.
[0071] Reference Figure 3 The diagram shows a structural schematic of a vehicle control device provided in an embodiment of this application, which may specifically include the following modules: The locking interval setting module 201 is used to set the locking interval according to the mechanical characteristics of the door switching mechanism; The data acquisition module 202 is used to acquire the real-time movement position and switching characteristics of the door switching mechanism when the door control mode switching command is acquired. The abnormal event judgment module 203 is used to determine whether there is an abnormal event during the switching process of the door control mode based on the switching characteristics. The target door control mode determination module 204 is used to determine the target door control mode based on the movement position and locking interval in the event of the abnormal event. The control module 205 is used to control the door switching mechanism to switch to the target door control mode.
[0072] In one embodiment of this application, the door control mode includes: a first control mode and a second control mode; the mechanical feature includes: a driving force reversal point; the locking interval setting module 201 includes: The first setting submodule is used to determine the first locking point based on the first driving force flipping point when the door switching mechanism moves from the first position of the first control mode to the second position of the second control mode; The second setting submodule is used to determine the second locking point based on the second driving force flipping point in the movement of the door switching mechanism from the second position of the second control mode to the first position of the first control mode; The first locking interval setting submodule is used to determine the locking interval based on the first locking point and the second locking point.
[0073] In one embodiment of this application, the mechanical feature includes an engagement point; the locking interval setting module 201 includes: The third setting submodule is used to determine the first locking point based on the first engagement point when the door switching mechanism moves from the first position of the first control mode to the second position of the second control mode; the first engagement point represents the position where the limit switch of the first control mode is in the engaged state; The fourth setting submodule is used to determine the second locking point based on the second engagement point in the second position of the second control mode when the door switching mechanism moves from the second position of the second control mode to the first position of the first control mode; the second engagement point represents the position where the limit switch of the second control mode is in the engaged state; The second locking interval setting submodule is used to determine the locking interval based on the first locking point and the second locking point.
[0074] In one embodiment of this application, the mechanical feature includes the driving force of the door switching mechanism; the locking interval setting module 201 includes: The fifth setting submodule is used to determine a first locking point based on a first driving point in which the door switching mechanism moves from a first position in the first control mode to a second position in the second control mode; the first driving point represents a position where the driving force required for the door switching mechanism to retract to the first position reaches a first preset proportion of the driving force limit value of the door switching mechanism. The sixth setting submodule is used to determine the second locking point based on the second driving point in the second position of the second control mode when the door switching mechanism moves from the second position of the second control mode to the first position of the first control mode; the second driving point represents the position where the driving force required for the door switching mechanism to retract to the first position reaches a second preset proportion of the driving force limit value of the door switching mechanism; The third locking interval setting submodule is used to determine the locking interval based on the first locking point and the second locking point.
[0075] In one embodiment of this application, the switching feature includes: movement resistance or movement position deviation; the abnormal event judgment module 203: The movement resistance acquisition submodule is used to acquire the movement resistance during the movement of the door switching mechanism; The movement position deviation acquisition submodule is used to determine the movement position deviation of the door switching mechanism based on the movement position; An abnormal event judgment submodule is used to determine if an abnormal event exists during the switching of the door control mode when the moving resistance is greater than or equal to a resistance threshold, or the moving position deviation is greater than or equal to a deviation threshold.
[0076] In one embodiment of this application, the target door control mode determination module 204 includes: An abnormal trigger location determination submodule is used to determine the abnormal trigger location where the abnormal event occurs based on the real-time movement location. The first target control strategy matching submodule is used to match the first target control strategy when the abnormal triggering position is within the locking interval. The first target door control mode determination submodule is used to set the door control mode that the user needs to switch to in the switching instruction as the target door control mode. The second target control strategy matching submodule is used to match a second target control strategy when the abnormal triggering location is outside the locked interval range. The second target door control mode determination submodule is used to set the door control mode before the execution of the switching command to the target door control mode.
[0077] In one embodiment of this application, the control module 205 includes: The first driving force generation submodule is used to adjust the driving force of the door switching mechanism according to the first target control strategy and generate the first driving force when the abnormal triggering position is within the locking range. The first control submodule is used to control the door switching mechanism to switch to the target door control mode according to the first driving force. The second driving force generation submodule is used to generate a second driving force opposite to the switching command according to the second target control strategy when the abnormal triggering position is outside the locking range. The second control submodule is used to control the door switching mechanism to revert to the target door control mode according to the second driving force.
[0078] As the system implementation is basically similar to the method implementation, it is described in a relatively simple way. For relevant details, please refer to the description of the method implementation.
[0079] like Figure 4 As shown, in another embodiment provided in this application, an electronic device 500 is also provided, including a memory 510 and a processor 520. The memory 510 and the processor 520 are connected via a bus for communication. The memory 510 stores a computer program, which can run on the processor 520 to implement the above steps.
[0080] like Figure 5 As shown, in another embodiment provided in this application, a computer-readable storage medium 601 is also provided, which stores a computer program that implements the methods described in the above embodiments when executed by a processor.
[0081] Those skilled in the art will understand that embodiments of this application can be provided as methods, apparatus, or computer program products. Therefore, embodiments of this application can take the form of entirely hardware embodiments, entirely software embodiments, or embodiments combining software and hardware aspects. Furthermore, embodiments of this application can take the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0082] Although preferred embodiments of the present invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of the present invention.
[0083] Those skilled in the art will understand that embodiments of this application can be provided as methods, apparatus, or computer program products. Therefore, embodiments of this application can take the form of entirely hardware embodiments, entirely software embodiments, or embodiments combining software and hardware aspects. Furthermore, embodiments of this application can take the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0084] This application describes embodiments with reference to flowchart illustrations and / or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0085] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing terminal device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0086] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal equipment, causing a series of operational steps to be performed on the computer or other programmable terminal equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable terminal equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0087] Although preferred embodiments of the present application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of the present application.
[0088] It should also be noted that, in this document, relational terms such as "first" and "second" are used only 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 terminal device 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 terminal device. 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 terminal device that includes said element.
[0089] The vehicle control method provided by the present invention has been described in detail above. Specific examples have been used to illustrate the principle and implementation of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core idea of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation and application scope based on the idea of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.
Claims
1. A vehicle control method characterized by, The vehicle includes a door switching mechanism; the door switching mechanism is used to switch the door control mode of the vehicle; the method includes: The locking range is set according to the mechanical characteristics of the door switching mechanism; Upon receiving the command to switch the door control mode, the real-time movement position and switching characteristics of the door switching mechanism are obtained. Based on the switching characteristics, determine whether there are any abnormal events during the switching process of the door control mode; In the event of the aforementioned abnormal event, the target door control mode and target control strategy are determined based on the real-time movement position and the locking interval. The door switching mechanism is switched to the target door control mode according to the target control strategy.
2. The method according to claim 1, characterized in that, The door control modes include: a first control mode and a second control mode; the mechanical features include: a driving force reversal point; The step of setting the locking range based on the mechanical characteristics of the door switching mechanism includes: The first locking point is determined based on the first driving force flipping point in the movement of the door switching mechanism from the first position of the first control mode to the second position of the second control mode; The second locking point is determined based on the second driving force flipping point in the first position of the first control mode when the door switching mechanism moves from the second position of the second control mode to the first position of the first control mode; The locking interval is determined based on the first locking point and the second locking point.
3. The method according to claim 2, characterized in that, The mechanical features include engagement points; The step of setting the locking range based on the mechanical characteristics of the door switching mechanism includes: The first locking point is determined based on the first engagement point in the movement of the door switching mechanism from the first position in the first control mode to the second position in the second control mode; the first engagement point represents the position where the limit switch in the first control mode is in the engaged state; The second locking point is determined based on the second engagement point in the first position of the first control mode as the door switching mechanism moves from the second position of the second control mode to the first position; the second engagement point represents the position where the limit switch of the second control mode is in the engaged state; The locking interval is determined based on the first locking point and the second locking point.
4. The method according to claim 2, characterized in that, The mechanical feature includes the driving force of the door switching mechanism; The step of setting the locking range based on the mechanical characteristics of the door switching mechanism includes: The first locking point is determined based on the first driving point in which the door switching mechanism moves from the first position in the first control mode to the second position in the second control mode; the first driving point represents the position where the driving force required for the door switching mechanism to retract to the first position reaches a first preset proportion of the driving force limit value of the door switching mechanism; The second locking point is determined based on the second driving point in which the door switching mechanism moves from the second position of the second control mode to the first position of the first control mode; the second driving point represents the position where the driving force required for the door switching mechanism to retract to the first position reaches a second preset proportion of the driving force limit value of the door switching mechanism; The locking interval is determined based on the first locking point and the second locking point.
5. The method according to claim 1, characterized in that, The switching features include: movement resistance or movement position deviation; The step of determining whether there are abnormal events during the switching process of the door control mode based on the switching characteristics includes: Obtain the moving resistance during the movement of the door switching mechanism; The movement position deviation of the door switching mechanism is determined based on the movement position; An abnormal event occurs during the switching of the door control mode if the moving resistance is greater than or equal to the resistance threshold, or if the moving position deviation is greater than or equal to the deviation threshold.
6. The method according to claim 1, characterized in that, In the event of the aforementioned abnormal event, determining the target door control mode and target control strategy based on the movement position and locking range includes: The location where the abnormal event occurred is determined based on the real-time movement location; If the abnormal triggering location is within the locked interval, a first target control strategy is obtained. Set the door control mode that the user needs to switch to in the switching command to the target door control mode; If the abnormal triggering location is outside the locked interval, a second target control strategy is obtained. Set the door control mode before executing the switching command to the target door control mode.
7. The method according to claim 6, characterized in that, The step of switching the door switching mechanism to the target door control mode according to the target control strategy includes: When the abnormal triggering position is within the locking range, the driving force of the door switching mechanism is adjusted according to the first target control strategy to generate the first driving force; The door switching mechanism is controlled to switch to the target door control mode according to the first driving force; If the abnormal triggering location is outside the locked interval, a second driving force opposite to the switching command is generated according to the second target control strategy. The second driving force controls the door switching mechanism to revert to the target door control mode.
8. A vehicle control device, characterized in that, The vehicle includes a door switching mechanism; the door switching mechanism is used to switch the vehicle's door control mode; the device includes: A locking interval setting module is used to set a locking interval based on the mechanical characteristics of the door switching mechanism; The data acquisition module is used to acquire the real-time movement position and switching characteristics of the door switching mechanism when the door control mode switching command is received. An abnormal event judgment module is used to determine whether an abnormal event exists during the switching process of the door control mode based on the switching characteristics. The target door control mode determination module is used to determine the target door control mode based on the movement position and locking interval in the event of the abnormal event. The control module is used to control the door switching mechanism to switch to the target door control mode.
9. An electronic device, characterized in that, include: A memory, a processor, and a computer program stored on the memory, wherein the processor executes the computer program to implement the method of any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium, which, when executed by a processor, implements the method as described in any one of claims 1-7.
