System and method for enabling / disabling configuration of straight-line driving assistance compensation function, and vehicle
Patent Information
- Application Number
- PCT/CN2025/148247
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2025-03-24
- Filing Date
- 2025-12-31
- Publication Date
- 2026-10-01
Smart Images

Figure CN2025148247_01102026_PF_FP_ABST
Abstract
Description
A switch configuration system and method for straight-line driving assist compensation function, and a vehicle
[0001] Cross-reference to related applications
[0002] This invention claims priority to Chinese Patent Application No. 202510350378.2, filed with the China National Intellectual Property Administration on March 24, 2025, entitled "A Switch Configuration System and Method for Straight-Line Driving Assist Compensation Function, and a Vehicle", the entire contents of which are incorporated herein by reference and constitute a part of this invention for all purposes. Technical Field
[0003] This invention belongs to the field of intelligent vehicle driving assistance technology, and particularly relates to a switch configuration system and method for straight-line driving assistance compensation function, and a vehicle. Background Technology
[0004] The statements in this section are merely background information related to the present invention and do not necessarily constitute prior art.
[0005] With the rapid development of the automotive manufacturing industry and intelligent technologies, the number of cars on the road is constantly increasing. Cars are no longer just a means of transportation; people's needs for cars are shifting from a "driver-centric" to a "passenger-centric" concept, which has greatly improved the convenience and safety of travel. Due to the increasing number of driving scenarios and frequencies, factors such as crosswinds, road conditions, suspension, and tire pressure can cause the vehicle to lose its straight-line driving ability without additional driver assistance. To address this issue, current methods often use crosswind compensation and / or lane departure compensation to assist the vehicle in maintaining straight-line driving, reducing driver intervention in straight-line driving conditions. For example, when the vehicle veers to one side, the electric power steering (EPS) system can adjust the auxiliary compensation torque to reduce driver intervention in steering wheel operation.
[0006] Current auxiliary compensation functions typically detect the rack force acting on the steering gear rack during straight-line driving, as well as information such as vehicle lateral acceleration, yaw angle, vehicle speed, steering wheel angle and speed, and torsion bar torque. They then internally calculate the theoretical output torque required for the vehicle to maintain straight-line driving, thereby reducing driver intervention and keeping the vehicle in a straight line. However, when using auxiliary compensation functions such as crosswind compensation and lane departure compensation to address vehicle drift, the effectiveness varies depending on the vehicle, vehicle condition, driving stage, road surface, and driving habits. Currently, there is no way to adaptively and personally adjust and apply the compensation function based on these different situations.
[0007] Taking different stages of vehicle use as an example, in the early stages of vehicle use, there are no issues like vehicle pulling to one side. At this time, there's no need for driver assistance functions to intervene; the relevant functions should be turned off to minimize the impact on driving. However, in the later stages of vehicle use, after durability testing, the effects of the suspension and tires become more pronounced, causing the vehicle to fail to meet driving performance requirements. At this point, vehicle pulling to one side occurs, and the driver assistance function needs to be activated. However, currently, it's not possible to personalize the on / off state of the driver assistance function for the same vehicle, making it unsuitable for different driving conditions. Summary of the Invention
[0008] To address the shortcomings of the prior art, this invention provides a system and method for configuring the on / off state of the straight-line driving assist compensation function, as well as a vehicle. By introducing a writing device, a function switch device, and a domain controller / gateway, the on / off state of the assist compensation function in the EPS controller can be adjusted and configured, solving the problem that the prior art cannot personalize the on / off state of assist compensation functions such as crosswind and / or lane departure compensation when addressing different needs of the same vehicle.
[0009] In a first aspect, the present invention provides a switch configuration system for a straight-line driving assist compensation function.
[0010] A switch configuration system for straight-line driving assistance compensation function includes an EPS controller, a writing device, a function switch device, and a domain controller / gateway; wherein the domain controller / gateway communicates with the function switch device, the EPS controller, and the writing device respectively to assist the EPS controller in signal interaction with the writing device and the function switch device respectively;
[0011] The flashing device is used to read the control program in the EPS controller and flash different application software control programs in the EPS controller; wherein, the flashing includes flashing the application layer configuration parameter A in the application software and updating the calibration layer configuration parameter B;
[0012] The functional switching device is used to generate switching commands for controlling calibration layer configuration parameters B;
[0013] The EPS controller is used to determine the application layer configuration parameter A and the calibration layer configuration parameter B according to the software control program or switch instruction written in the software, and then to determine the function port opening conditions according to the two configuration parameters, and configure the switch of the auxiliary compensation function according to the judgment result.
[0014] In a further technical solution, the application software in the EPS controller is divided into an application layer and a calibration layer. The application layer has an application layer configuration parameter A, and the calibration layer has a calibration layer configuration parameter B.
[0015] A further technical solution includes the following on / off configuration for the auxiliary compensation function:
[0016] When both application layer configuration parameter A and calibration layer configuration parameter B are configured to be enabled, it is determined that the conditions for enabling the auxiliary compensation function port are met. At this time, the auxiliary compensation function port is enabled to assist the vehicle in maintaining straight-line driving.
[0017] Conversely, if the conditions for enabling the auxiliary compensation function port are not met, the auxiliary compensation function port will be configured not to be enabled.
[0018] Secondly, the present invention provides a method for configuring a switch for a straight-line driving assist compensation function.
[0019] A method for configuring a straight-line driving assist compensation function switch, implemented based on the straight-line driving assist compensation function switch configuration system proposed in the first aspect, the method comprising:
[0020] Based on the software control program or switch command written, determine the application layer configuration parameter A and the calibration layer configuration parameter B;
[0021] The conditions for enabling the function port are determined based on the application layer configuration parameter A and the calibration layer configuration parameter B, and the switch of the auxiliary compensation function is configured according to the determination result.
[0022] When both application layer configuration parameter A and calibration layer configuration parameter B are configured to be enabled, it is determined that the conditions for enabling the auxiliary compensation function port are met. At this time, the auxiliary compensation function port is enabled to assist the vehicle in maintaining straight-line driving.
[0023] Conversely, if the conditions for enabling the auxiliary compensation function port are not met, the auxiliary compensation function port will be configured not to be enabled.
[0024] A further technical solution involves configuring the auxiliary compensation function switch according to the switching command, including:
[0025] In the EPS controller, the default application layer configuration parameter A is turned on. By judging whether the EPS controller calibration layer configuration parameter B is turned on or off, it is determined whether the auxiliary compensation function is enabled.
[0026] If the calibration layer configuration parameter B is in the open state, the application layer configuration parameter A is in the open state for judgment. At this time, the conditions for opening the auxiliary compensation function port are met, and the function is enabled.
[0027] If the calibration layer configuration parameter B is in the off state, the judgment is made in conjunction with the application layer configuration parameter A being in the on state. At this time, the conditions for opening the auxiliary compensation function port are not met, and the function is turned off.
[0028] Further technical solutions also include:
[0029] When the auxiliary compensation function is enabled, the calibration layer configuration parameter B remains enabled by turning on the function switch, and the auxiliary compensation function in the EPS controller remains enabled. Conversely, the calibration layer configuration parameter B is switched from enabled to disabled by turning off the function switch, and the auxiliary compensation function in the EPS controller is switched from enabled to disabled.
[0030] Further technical solutions also include:
[0031] When the auxiliary compensation function is off, the calibration layer configuration parameter B is switched from off to on by turning on the function switch device. At this time, the auxiliary compensation function in the EPS controller is switched from off to on. Conversely, the calibration layer configuration parameter B remains off by turning off the function switch device. At this time, the auxiliary compensation function in the EPS controller remains off.
[0032] A further technical solution involves configuring the auxiliary compensation function's on / off state based on the flashed software control program, including:
[0033] In the EPS controller, the default application layer configuration parameter A is turned on. By judging whether the EPS controller calibration layer configuration parameter B is turned on or off, it is determined whether the auxiliary compensation function is enabled.
[0034] When the auxiliary compensation function is turned on or off, it first determines whether the application software control program has been flashed, and then determines whether the EPS controller has been calibrated.
[0035] Based on the status of the application layer configuration parameter A and calibration layer configuration parameter B after flashing and updating, determine the conditions for enabling the auxiliary compensation function port, and configure the switch of the auxiliary compensation function according to the determination result.
[0036] A further technical solution involves first determining whether to flash the application software control program. If application flashing is performed, the status of application layer configuration parameter A in the flashed application software is determined, and the updated configuration parameter A is stored in memory. Otherwise, if application flashing is not performed, application layer configuration parameter A remains in its original state, and subsequent calibration and update determination is performed directly.
[0037] A further technical solution involves determining whether the EPS controller needs to be updated for calibration. If a calibration update is performed, the status of the calibration layer configuration parameter B in the updated application software is determined, and the updated configuration parameter B is stored in memory. Otherwise, if no calibration update is performed, the calibration layer configuration parameter B remains in its original state.
[0038] Thirdly, the present invention also provides a vehicle.
[0039] A vehicle includes a vehicle body and a switch configuration system for a straight-line driving assistance compensation function as described in the first aspect above, or a switch configuration method for performing a straight-line driving assistance compensation function as described in the second aspect above.
[0040] The above one or more technical solutions have the following beneficial effects:
[0041] 1. This invention provides a system and method for configuring the on / off state of the straight-line driving assistance compensation function, as well as a vehicle. By introducing a writing device, a function switch device, and a domain controller / gateway, the on / off state of the assistance compensation function in the EPS controller can be adjusted and configured, solving the problem that the existing technology cannot personalize the on / off state of assistance compensation functions such as crosswind and / or lane departure compensation when facing different needs of the same vehicle.
[0042] 2. In the auxiliary compensation function switch configuration method proposed in this invention, for the EPS controller, according to the driver's needs, the on or off state of its auxiliary compensation functions such as crosswind and / or lane deviation compensation can be changed at a designated maintenance location by using diagnostic equipment or flashing equipment. This can help the driver reduce the need for extra manual force to keep the vehicle straight during driving, allowing the driver to make personalized adjustments and processing of the auxiliary functions according to the actual state of the vehicle. Furthermore, the compensation curve learned during the straight driving process will be calibrated on a real vehicle during the development stage and integrated into the software based on the actual vehicle situation, so as to facilitate the activation of personalized auxiliary compensation functions.
[0043] Advantages of additional aspects of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description
[0044] The accompanying drawings, which form part of this invention, are used to provide a further understanding of the invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an improper limitation of the invention.
[0045] Figure 1 is an overall structural block diagram of the switch configuration system for the straight-line driving assistance compensation function according to an embodiment of the present invention;
[0046] Figure 2 is a control flowchart for enabling or disabling the auxiliary compensation function inside the EPS controller in an embodiment of the present invention.
[0047] Figure 3 is a flowchart of configuring the auxiliary compensation function switch state according to the switch command in an embodiment of the present invention;
[0048] Figure 4 is a flowchart of configuring the auxiliary compensation function switch state according to the software control program written in an embodiment of the present invention. Detailed Implementation
[0049] It should be noted that the following detailed descriptions are exemplary and are intended only to describe specific embodiments and to provide further explanation of the invention, and are not intended to limit the scope of exemplary embodiments of the invention. Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. Furthermore, it should be understood that when the terms "comprising" and / or "including" are used in this specification, they indicate the presence of features, steps, operations, devices, components, and / or combinations thereof.
[0050] Example 1
[0051] This embodiment provides a switch configuration system for a straight-line driving assist compensation function, as shown in Figure 1, including an EPS controller, a writing device, a function switch device, and a domain controller / gateway. Wherein:
[0052] (1) The domain controller / gateway communicates with the function switch, EPS controller and writing device respectively. The domain controller / gateway is used to receive and forward relevant signals and instructions during the implementation of the auxiliary compensation function. In this embodiment, the domain controller / gateway assists the EPS controller in signal interaction with the writing device and function switch respectively.
[0053] (2) The flashing device refers to a tool that can support EPS to meet the flashing specifications. It can be flashed by a single device or by the whole vehicle. In this embodiment, the flashing device is used to read the control program in the EPS controller and flash different application software control programs in the EPS controller. The flashing includes flashing the application layer configuration parameter A in the application software and updating the calibration layer configuration parameter B.
[0054] (3) Function switch device refers to a tool that can change the on / off status of EPS auxiliary compensation function through specific instructions. In this embodiment, crosswind compensation is used as an example. The function switch device specifically refers to a tool that supports Unified Diagnostic Services (UDS) instructions. It can support changing the crosswind compensation function switch status of a single device or modifying the crosswind compensation function switch through the whole vehicle. In this embodiment, the function switch device is used to generate the switch instructions for controlling the calibration layer configuration parameter B.
[0055] (4) EPS controller, which is used to determine the application layer configuration parameter A and the calibration layer configuration parameter B according to the software control program or switch instruction written, and then judge the function port opening conditions according to the two configuration parameters, and configure the switch of the auxiliary compensation function according to the judgment result.
[0056] Furthermore, the application software in the aforementioned EPS controller is divided into an application layer and a calibration layer. The application layer has application layer configuration parameter A, and the calibration layer has calibration layer configuration parameter B. Therefore, the switching configuration for the auxiliary compensation function is as follows:
[0057] When both application layer configuration parameter A and calibration layer configuration parameter B are configured to be enabled, the conditions for enabling the auxiliary compensation function port are met, and the auxiliary compensation function port is enabled to assist the vehicle in maintaining straight-line driving. Conversely, if the conditions for enabling the auxiliary compensation function port are not met, the auxiliary compensation function port is disabled.
[0058] The system proposed in this embodiment uses the EPS controller as the actuator and utilizes a domain controller / gateway to receive and forward function switch commands. Based on this, it achieves the opening and closing of the auxiliary compensation function switch by modifying diagnostic equipment and / or flashing different software through a flashing device. This system achieves the opening and closing of the function switch through the interconnection of the entire process.
[0059] Example 2
[0060] This embodiment proposes a method for configuring a straight-line driving assist compensation function switch, based on the switch configuration system for the straight-line driving assist compensation function proposed in Embodiment 1. The application software in the EPS controller is divided into an application layer and a calibration layer. The application layer has application layer configuration parameter A, and the calibration layer has calibration layer configuration parameter B. The configuration method is shown in Figure 2, including:
[0061] (2.1) Determine the application layer configuration parameter A and the calibration layer configuration parameter B based on the software control program or switch command written;
[0062] (2.2) The conditions for enabling the function port are determined based on the application layer configuration parameter A and the calibration layer configuration parameter B. The switch of the auxiliary compensation function is configured according to the determination result. Furthermore, when both the application layer configuration parameter A and the calibration layer configuration parameter B are configured to be enabled, it is determined that the conditions for enabling the auxiliary compensation function port are met, and the auxiliary compensation function port is configured to be enabled to assist the vehicle in maintaining straight-line driving; otherwise, it is determined that the conditions for enabling the auxiliary compensation function port are not met, and the auxiliary compensation function port is configured to be disabled.
[0063] As one implementation method, as shown in Figure 3, the auxiliary compensation function switch is configured according to the switch command, including:
[0064] (3.1) The default application layer configuration parameter A in the EPS controller is in the open state. By judging whether the state of the EPS controller calibration layer configuration parameter B is open or closed, it is determined whether the auxiliary compensation function is enabled.
[0065] Specifically, if the calibration layer configuration parameter B is in the open state, the condition for enabling the auxiliary compensation function port is met, and the function is enabled, in conjunction with the application layer configuration parameter A being in the open state. If the calibration layer configuration parameter B is in the closed state, the condition for enabling the auxiliary compensation function port is not met, and the function is disabled, in conjunction with the application layer configuration parameter A being in the open state.
[0066] (3.2) When the auxiliary compensation function is enabled, the calibration layer configuration parameter B is kept in the open state by turning on the function switch device. At this time, the auxiliary compensation function in the EPS controller is kept in the open state. Conversely, the calibration layer configuration parameter B is switched from the open state to the closed state by turning off the function switch device. At this time, the auxiliary compensation function in the EPS controller is switched from the open state to the closed state.
[0067] (3.3) When the auxiliary compensation function is off, the calibration layer configuration parameter B is switched from the off state to the on state by turning on the function switch device. At this time, the auxiliary compensation function in the EPS controller is switched from the off state to the on state. Conversely, the calibration layer configuration parameter B is kept off by turning off the function switch device. At this time, the auxiliary compensation function in the EPS controller remains off.
[0068] As one implementation method, as shown in Figure 4, the auxiliary compensation function is configured to switch on and off according to the flashed software control program, including:
[0069] (4.1) The default application layer configuration parameter A in the EPS controller is turned on. By judging whether the status of the EPS controller calibration layer configuration parameter B is turned on or off, it is determined whether the auxiliary compensation function is enabled.
[0070] (4.2) When the auxiliary compensation function is enabled or disabled, it is first determined whether to flash the application software control program. If the application is flashed, the state of the application layer configuration parameter A in the flashed application software is determined and updated and stored. Otherwise, if the application is not flashed, the application layer configuration parameter A remains in its original state and the subsequent calibration update is directly determined.
[0071] Next, it is determined whether the EPS controller needs to be updated for calibration. If a calibration update is performed, the status of the calibration layer configuration parameter B in the updated application software is checked, and the updated configuration parameter B is stored in memory. Otherwise, if no calibration update is performed, the calibration layer configuration parameter B remains in its original state.
[0072] Next, based on the status of the application layer configuration parameter A and calibration layer configuration parameter B after flashing and updating, the conditions for enabling the auxiliary compensation function port are determined, and the switch of the auxiliary compensation function is configured according to the determination result.
[0073] The specific on / off configuration of the above auxiliary compensation function is as follows:
[0074] (4.2.1) When the auxiliary compensation function is enabled:
[0075] (4.2.1.1) First, determine whether the application software control program needs to be flashed. Specifically, when flashing the application software control program, refer to the corresponding flashing diagnostic instructions. Flashing can only be performed when the EPS controller meets the preset flashing conditions and receives the corresponding diagnostic instructions. It does not distinguish between devices, as long as the flashing environment is met. Therefore, when the flashing device sends a flashing request, the EPS controller, under the above conditions, completes the flashing according to the flashing rules and reports the flashing completion status. At this point, it can be determined that the application software control program has been flashed in the EPS; otherwise, the application software has not been flashed.
[0076] During application flashing, the status of application layer configuration parameter A in the application software being flashed is determined as either open or closed, and the updated status is stored in memory. Furthermore, if the EPS controller successfully updates the application software during application flashing and application layer configuration parameter A is open, application configuration parameter A within the EPS controller remains open, and this open status is stored. Application configuration parameter A does not change its open or closed state with power cycling of the EPS controller. Conversely, if the EPS controller successfully updates the application software during application flashing and application layer configuration parameter A is closed, application configuration parameter A within the EPS controller switches from open to closed, and this closed state is stored. Application configuration parameter A does not change its open or closed state with power cycling of the EPS controller.
[0077] Conversely, if no application flashing is performed, the current application layer configuration parameter A is maintained, and subsequent calibration update checks are directly performed.
[0078] (4.2.1.2) Continue to determine whether the EPS controller has updated its calibration. Similarly, when flashing (or updating), refer to the corresponding flashing diagnostic command. Flashing can only be performed when the EPS controller meets the preset flashing conditions and receives the corresponding diagnostic command. It does not distinguish between devices, as long as the flashing environment is met. Therefore, when the flashing device sends a flashing request, the EPS controller, under the above conditions, completes the flashing according to the flashing rules and reports the flashing completion status. At this point, it can be determined that the calibration in the EPS has been updated; otherwise, it has not been updated.
[0079] When the EPS controller is rewriting (or updating) its calibration, it determines whether the calibration configuration parameter B is in an open or closed state, and stores the updated information. Furthermore, when the calibration is updated, if the EPS controller successfully updates the calibration software and the calibration layer configuration parameter B in the calibration software is in an open state, the calibration configuration parameter B within the EPS controller remains in an open state. The open / closed state of calibration configuration parameter B does not change with the power-on / off state of the EPS controller. In this case, by determining that both application configuration parameter A and calibration configuration parameter B are in an open state, the auxiliary compensation function for crosswind and / or deviation compensation meets the opening conditions and is activated. Conversely, when the calibration is updated, if the EPS controller successfully updates the calibration software and the configuration parameter B in the calibration software is in a closed state, the calibration configuration parameter B within the EPS controller switches from an open state to a closed state. The open / closed state of calibration configuration parameter B does not change with the power-on / off state of the EPS controller.
[0080] Conversely, if no calibration update is performed, the current calibration layer configuration parameter B is maintained.
[0081] (4.2.1.3) Based on the above, the conditions for enabling the auxiliary compensation function port are determined according to the status of the application layer configuration parameter A and the calibration layer configuration parameter B after flashing and updating. The switch of the auxiliary compensation function is configured according to the judgment result.
[0082] Specifically, if the application configuration parameter A is in a closed state and the calibration configuration parameter B is in a closed state, then the auxiliary compensation for crosswind compensation and / or deviation compensation does not meet the conditions for function activation and is therefore disabled; if the application configuration parameter A is in a closed state and the calibration configuration parameter B is in a closed state, then the auxiliary compensation for crosswind compensation and / or deviation compensation does not meet the conditions for function activation and is therefore disabled; if the application configuration parameter A is in a closed state and the calibration configuration parameter B is in a closed state, then the auxiliary compensation for crosswind compensation and / or deviation compensation does not meet the conditions for function activation and is therefore disabled; if the application configuration parameter A is in a closed state and the calibration configuration parameter B is in a closed state, then the auxiliary compensation for crosswind compensation and / or deviation compensation meets the conditions for function activation and is therefore enabled.
[0083] (4.2.2) When the auxiliary compensation function is turned off:
[0084] (4.2.2.1) First, determine whether to flash the application software control program. When flashing the application, determine whether the application layer configuration parameter A in the application software being flashed is in an open or closed state, and update and store it in memory.
[0085] Furthermore, when the application is flashed, if the EPS controller successfully updates the application software and the application layer configuration parameter A of the application software is in the open state, the application configuration parameter A in the EPS controller will also remain in the open state. At this time, the open state of the application configuration parameter A in the EPS controller will be stored, and the application configuration parameter A will not change its open or closed state when the EPS controller is powered on or off. However, when the application is flashed, if the EPS controller successfully updates the application software and the application layer configuration parameter A of the application software is in the closed state, the application configuration parameter A in the EPS controller will switch from the open state to the closed state, and the closed state of the application configuration parameter A in the EPS controller will be stored, and the application configuration parameter A will not change its open or closed state when the EPS controller is powered on or off.
[0086] Conversely, if no application flashing is performed, the current application layer configuration parameter A is maintained, and subsequent calibration update checks are directly performed.
[0087] (4.2.2.2) Continue to determine whether the EPS controller needs to update its calibration. Specifically, when the EPS controller is writing (or updating) its calibration, determine whether the status of the calibration configuration parameter B being written (or updated) is on or off, and then update and store it in memory.
[0088] Furthermore, when calibration is updated, if the EPS controller successfully updates the calibration software and the calibration layer configuration parameter B in the calibration software is in the open state, the calibration configuration parameter B in the EPS controller remains in the open state. The calibration configuration parameter B does not change its open / closed state with the power-on and power-off of the EPS controller. At this time, by judging that the application configuration parameter A is in the open state and the calibration configuration parameter B is in the open state, the auxiliary compensation function for crosswind and / or deviation compensation meets the opening conditions and is opened. However, when calibration is updated, if the EPS controller successfully updates the calibration software and the configuration parameter B in the calibration software is in the closed state, the calibration configuration parameter B in the EPS controller switches from the open state to the closed state. The calibration configuration parameter B does not change its open / closed state with the power-on and power-off of the EPS controller.
[0089] Conversely, if no calibration update is performed, the current calibration layer configuration parameter B is maintained.
[0090] (4.2.2.3) Based on the above, the conditions for enabling the auxiliary compensation function port are determined according to the status of the application layer configuration parameter A and the calibration layer configuration parameter B after flashing and updating. The switch of the auxiliary compensation function is configured according to the judgment result.
[0091] Specifically, if the application configuration parameter A is in a closed state and the calibration configuration parameter B is in a closed state, then the auxiliary compensation for crosswind compensation and / or deviation compensation does not meet the conditions for function activation and is therefore disabled; if the application configuration parameter A is in a closed state and the calibration configuration parameter B is in a closed state, then the auxiliary compensation for crosswind compensation and / or deviation compensation does not meet the conditions for function activation and is therefore disabled; if the application configuration parameter A is in a closed state and the calibration configuration parameter B is in a closed state, then the auxiliary compensation for crosswind compensation and / or deviation compensation does not meet the conditions for function activation and is therefore disabled; if the application configuration parameter A is in a closed state and the calibration configuration parameter B is in a closed state, then the auxiliary compensation for crosswind compensation and / or deviation compensation meets the conditions for function activation and is therefore enabled.
[0092] Example 3
[0093] This embodiment provides a vehicle, including a vehicle body, and a switch configuration system for a straight-line driving assistance compensation function proposed in Embodiment 1 above, or a switch configuration method for a straight-line driving assistance compensation function proposed in Embodiment 2 above.
[0094] Those skilled in the art will understand that the modules or steps of the present invention described above can be implemented using general-purpose computer devices. Optionally, they can be implemented using computer-executable program code, thereby allowing them to be stored in a storage device for execution by a computer device, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. The present invention is not limited to any particular combination of hardware and software.
[0095] The above description is only a preferred embodiment of the present invention. Although the specific implementation of the present invention has been described in conjunction with the accompanying drawings, it is not intended to limit the scope of protection of the present invention. Those skilled in the art should understand that, based on the technical solution of the present invention, various modifications or variations that can be made by those skilled in the art without creative effort are still within the scope of protection of the present invention.
Claims
1. A switch configuration system for straight-line driving assist compensation function, characterized in that, It includes an EPS controller, a writing device, a function switch device, and a domain controller / gateway; wherein, the domain controller / gateway communicates with the function switch device, the EPS controller, and the writing device respectively, to assist the EPS controller in signal interaction with the writing device and the function switch device respectively; The flashing device is used to read the control program in the EPS controller and flash different application software control programs in the EPS controller; wherein, the flashing includes flashing the application layer configuration parameter A in the application software and updating the calibration layer configuration parameter B; The functional switching device is used to generate switching commands for controlling calibration layer configuration parameters B; The EPS controller is used to determine the application layer configuration parameter A and the calibration layer configuration parameter B according to the software control program or switch instruction written in the software, and then to determine the function port opening conditions according to the two configuration parameters, and configure the switch of the auxiliary compensation function according to the judgment result.
2. The switch configuration system for straight-line driving assistance compensation function as described in claim 1, characterized in that, The application software in the EPS controller is divided into an application layer and a calibration layer. The application layer has an application layer configuration parameter A, and the calibration layer has a calibration layer configuration parameter B.
3. The switch configuration system for straight-line driving assistance compensation function as described in claim 2, characterized in that, The on / off configuration of the auxiliary compensation function includes: When both application layer configuration parameter A and calibration layer configuration parameter B are configured to be enabled, it is determined that the conditions for enabling the auxiliary compensation function port are met. At this time, the auxiliary compensation function port is enabled to assist the vehicle in maintaining straight-line driving. Conversely, if the conditions for enabling the auxiliary compensation function port are not met, the auxiliary compensation function port will be configured not to be enabled.
4. A method for configuring a switch for a straight-line driving assist compensation function, implemented based on a switch configuration system for a straight-line driving assist compensation function as described in any one of claims 1-3, characterized in that, The method includes: Based on the software control program or switch command written, determine the application layer configuration parameter A and the calibration layer configuration parameter B; The conditions for enabling the function port are determined based on the application layer configuration parameter A and the calibration layer configuration parameter B, and the switching on and off of the auxiliary compensation function is configured according to the determination result. When both application layer configuration parameter A and calibration layer configuration parameter B are configured to be enabled, it is determined that the conditions for enabling the auxiliary compensation function port are met. At this time, the auxiliary compensation function port is enabled to assist the vehicle in maintaining straight-line driving. Conversely, if the conditions for enabling the auxiliary compensation function port are not met, the auxiliary compensation function port will be configured not to be enabled.
5. The method for configuring a switch for straight-line driving assistance compensation function as described in claim 4, characterized in that, Configure the auxiliary compensation function switch according to the switch command, including: In the EPS controller, the default application layer configuration parameter A is turned on. By judging whether the EPS controller calibration layer configuration parameter B is turned on or off, it is determined whether the auxiliary compensation function is enabled. If the calibration layer configuration parameter B is in the open state, the application layer configuration parameter A is in the open state for judgment. At this time, the conditions for opening the auxiliary compensation function port are met, and the function is enabled. If the calibration layer configuration parameter B is in the off state, the judgment is made in conjunction with the application layer configuration parameter A being in the on state. At this time, the conditions for opening the auxiliary compensation function port are not met, and the function is turned off.
6. The method for configuring a switch for straight-line driving assistance compensation function as described in claim 5, characterized in that, Also includes: When the auxiliary compensation function is enabled, the calibration layer configuration parameter B remains enabled by turning on the function switch, and the auxiliary compensation function in the EPS controller remains enabled. Conversely, the calibration layer configuration parameter B is switched from enabled to disabled by turning off the function switch, and the auxiliary compensation function in the EPS controller is switched from enabled to disabled.
7. The method for configuring a switch for straight-line driving assistance compensation function as described in claim 5, characterized in that, Also includes: When the auxiliary compensation function is off, the calibration layer configuration parameter B is switched from off to on by turning on the function switch device. At this time, the auxiliary compensation function in the EPS controller is switched from off to on. Conversely, the calibration layer configuration parameter B remains off by turning off the function switch device. At this time, the auxiliary compensation function in the EPS controller remains off.
8. The method for configuring a switch for straight-line driving assistance compensation function as described in claim 4, characterized in that, Based on the flashed software control program, the auxiliary compensation function is configured to be switched on and off, including: In the EPS controller, the default application layer configuration parameter A is turned on. By judging whether the EPS controller calibration layer configuration parameter B is turned on or off, it is determined whether the auxiliary compensation function is enabled. When the auxiliary compensation function is turned on or off, it first determines whether the application software control program has been flashed, and then determines whether the EPS controller has been calibrated. Based on the status of the application layer configuration parameter A and calibration layer configuration parameter B after flashing and updating, determine the conditions for enabling the auxiliary compensation function port, and configure the switch of the auxiliary compensation function according to the determination result.
9. The method for configuring a switch for straight-line driving assistance compensation function as described in claim 8, characterized in that, First, determine whether to flash the application software control program. If application flashing is performed, determine the status of application layer configuration parameter A in the flashed application software, update it, and store it in memory. Otherwise, if application flashing is not performed, application layer configuration parameter A will remain in its original state, and subsequent calibration update judgment will be performed directly.
10. The method for configuring a switch for straight-line driving assistance compensation function as described in claim 8, characterized in that, Next, determine whether the EPS controller needs to be updated for calibration. If a calibration update is performed, check the status of the calibration layer configuration parameter B in the updated application software and update and store it. Otherwise, if no calibration update is performed, the calibration layer configuration parameter B will remain in its original state.
11. A vehicle, characterized in that, It includes the vehicle body and the switch configuration system for a straight-line driving assistance compensation function as described in claim 1.
12. A vehicle, characterized in that, The method for configuring a switch to perform a straight-line driving assistance compensation function as described in claim 4.