Switch configuration system and method with linear driving auxiliary compensation function and vehicle
By introducing brushing equipment and functional switch equipment into the EPS controller, and adjusting the switch status of the auxiliary compensation function using the application layer and calibration layer configuration parameters, the problem that the auxiliary compensation function cannot be personalized in the prior art is solved, and a better vehicle linear driving assistance effect is achieved.
Patent Information
- Application Number
- CN202510350378.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-24
- Publication Date
- 2025-06-24
AI Technical Summary
The prior art cannot personalize the adjustment and application of auxiliary compensation functions according to different vehicles, vehicle status, driving stage, road surface and driving habits, resulting in different auxiliary compensation effects.
By introducing a flashing device, a functional switch device and a domain controller/gateway, the on/off status of the auxiliary compensation function in the EPS controller is adjusted and configured, and the configuration parameters of the auxiliary compensation function port opening conditions are used to determine the auxiliary compensation function port opening conditions to realize the personalized switch configuration of the auxiliary compensation function.
The switch status of the auxiliary compensation function is personalized according to different vehicles and driving conditions, which improves the linear driving assistance capabilities of the vehicle in different driving scenarios, and reduces driver intervention.
Smart Images

Figure CN120191380A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent vehicle driving assistance, and particularly to a switch configuration system and method for a straight-line driving assistance compensation function, and a vehicle. Background Art
[0002] The statements in this part only provide background technical information related to the present invention, and do not necessarily constitute prior art.
[0003] With the rapid development of the automobile manufacturing industry and intelligent technologies, the number of automobiles in use has been continuously increasing. Automobiles are no longer just a means of transportation. People's demand for automobiles has shifted from the concept of "driver-centered" to "passenger-centered", which has greatly improved the convenience and safety of people's travel. Due to the continuous increase in driving scenarios and frequencies of automobiles, during the driving process in different scenarios, due to factors such as crosswinds, road surfaces, suspensions, and tire pressures, the entire vehicle will not be able to maintain a straight line without additional assistance from the driver. To address this issue, currently, auxiliary compensation functions such as crosswind compensation and / or deviation compensation are often used to assist the vehicle in driving straight, so as to reduce the driver's intervention in the straight driving condition. For example, when the entire vehicle deviates, the auxiliary compensation torque can be adjusted through the EPS (Electric Power Steering) system to reduce the driver's intervention on the steering wheel during driving.
[0004] Currently, the auxiliary compensation function usually detects information such as the magnitude of the rack force acting on the steering gear rack during the straight-line driving of the entire vehicle, the lateral acceleration of the entire vehicle, the yaw angle, the vehicle speed, the steering wheel angle and rotation speed, and the torsion bar torque, and calculates the theoretical output torque required for the vehicle to drive straight through internal calculations, so as to reduce the driver's intervention and keep the vehicle driving straight. However, when using the above-mentioned auxiliary compensation functions such as crosswind compensation and deviation compensation functions to solve the vehicle deviation problem, for different vehicles, different vehicle states, different driving stages, different road surfaces, different driving habits, etc., the effects of the auxiliary compensation function are different. Currently, it is not possible to adaptively and individually adjust and apply the compensation function for the vehicle according to the above different situations.
[0005] Taking different driving stages of the vehicle as an example, there is no such problem as vehicle deviation in the early stage of vehicle use. At this time, there is no need to use the auxiliary compensation function to interfere with the driver's driving of the vehicle, and the relevant function needs to be turned off to reduce the driving impact caused thereby; while in the later stage of vehicle use, the vehicle is significantly affected by the durable suspension, tires, etc., resulting in the vehicle being unable to meet the driving performance requirements. At this time, there is a problem of vehicle deviation, and at this time, the auxiliary compensation function needs to be turned on. However, currently, for the same vehicle, it is not possible to individually adjust the switch state of the auxiliary compensation function to adapt to different vehicle driving situations. Summary of the Invention
[0006] To address the deficiencies of the above-mentioned existing technologies, the present invention provides a switch configuration system and method for a straight-line driving assistance compensation function, and a vehicle. By introducing a flashing device, a function switch device, and a domain controller / gateway, the on / off state of the assistance compensation function in the EPS (Electric Power Steering) controller is adjusted and configured, solving the problem in the existing technologies that when facing different requirements of the same vehicle, the switch states of assistance compensation functions such as crosswind and / or drift compensation cannot be personalized adjusted.
[0007] In a first aspect, the present invention provides a switch configuration system for a straight-line driving assistance compensation function.
[0008] A switch configuration system for a straight-line driving assistance compensation function includes an EPS controller, a flashing device, a function switch device, and a domain controller / gateway. Among them, the domain controller / gateway communicates with the function switch device, the EPS controller, and the flashing device respectively, and is used for signal interaction between the EPS controller and the flashing device and the function switch device respectively;
[0009] 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; among them, the flashing includes flashing the application layer configuration parameter A in the application software and updating the calibration layer configuration parameter B;
[0010] The function switch device is used to generate a switch instruction for controlling the calibration layer configuration parameter B;
[0011] The EPS controller is used to determine the application layer configuration parameter A and the calibration layer configuration parameter B according to the flashed software control program or the switch instruction, and then judge the opening condition of the function port according to the two configuration parameters, and configure the switch of the assistance compensation function according to the judgment result.
[0012] In a further technical solution, the application software in the EPS controller is divided into an application layer and a calibration layer, where the application layer is provided with an application layer configuration parameter A, and the calibration layer is provided with a calibration layer configuration parameter B;
[0013] The switch configuration of the assistance compensation function includes:
[0014] When both the application layer configuration parameter A and the calibration layer configuration parameter B are configured to be turned on, it is judged that the opening condition of the assistance compensation function port is satisfied, and at this time, the assistance compensation function port is configured to be opened to assist the vehicle in maintaining a straight line;
[0015] On the contrary, it is judged that the opening condition of the assistance compensation function port is not satisfied, and at this time, the assistance compensation function port is configured not to be opened.
[0016] Second aspect, the present invention provides a method for configuring a switch of a straight - line driving assistance compensation function.
[0017] A method for configuring a switch of a straight - line driving assistance compensation function is implemented based on a switch configuration system of a straight - line driving assistance compensation function proposed in the first aspect. The method includes:
[0018] Determine application - layer configuration parameter A and calibration - layer configuration parameter B according to the flashed software control program or switch instruction;
[0019] Judge the enabling condition of the function port according to application - layer configuration parameter A and calibration - layer configuration parameter B, and configure the switch of the assistance compensation function according to the judgment result;
[0020] Among them, when both application - layer configuration parameter A and calibration - layer configuration parameter B are configured to be on, it is judged that the enabling condition of the assistance compensation function port is met. At this time, configure the assistance compensation function port to be on, which is used to assist the vehicle to keep driving straight;
[0021] On the contrary, it is judged that the enabling condition of the assistance compensation function port is not met. At this time, configure the assistance compensation function port not to be on.
[0022] A further technical solution is that, according to the switch instruction, configuring the switch of the assistance compensation function includes:
[0023] The default application - layer configuration parameter A in the EPS controller is in the on state. By judging whether the state of the calibration - layer configuration parameter B in the EPS controller is on or off, it is judged whether the assistance compensation function is enabled;
[0024] Among them, if the calibration - layer configuration parameter B is in the on state, combined with the application - layer configuration parameter A being in the on state for judgment, at this time the enabling condition of the assistance compensation function port is met and the function is enabled;
[0025] If the calibration - layer configuration parameter B is in the off state, combined with the application - layer configuration parameter A being in the on state for judgment, at this time the enabling condition of the assistance compensation function port is not met and the function is disabled.
[0026] A further technical solution also includes:
[0027] When the assistance compensation function is enabled, by turning on the function switch device, the calibration - layer configuration parameter B remains in the on state. At this time, the assistance compensation function in the EPS controller remains in the enabled state; on the contrary, by turning off the function switch device, the calibration - layer configuration parameter B is switched from the on state to the off state. At this time, the assistance compensation function in the EPS controller is switched from the enabled state to the disabled state.
[0028] A further technical solution also includes:
[0029] When the auxiliary compensation function is turned off, by turning on the function switch device, the calibration layer configuration parameter B is switched from the off state to the on state, and at this time, the auxiliary compensation function in the EPS controller is switched from the off state to the on state; conversely, by turning off the function switch device, the calibration layer configuration parameter B remains in the off state, and at this time, the auxiliary compensation function in the EPS controller remains off.
[0030] A further technical solution is to configure the switch of the auxiliary compensation function according to the flashed software control program, including:
[0031] The default application layer configuration parameter A in the EPS controller is in the on state. By judging whether the state of the calibration layer configuration parameter B in the EPS controller is on or off, it is judged whether the auxiliary compensation function is enabled;
[0032] When the auxiliary compensation function is turned on or off, it is first judged whether the application software control program is flashed, and then it is continued to judge whether the EPS controller is updated for calibration;
[0033] According to the states of the application layer configuration parameter A and the calibration layer configuration parameter B after flashing and updating, the judgment of the opening condition of the auxiliary compensation function port is carried out, and the switch of the auxiliary compensation function is configured according to the judgment result.
[0034] A further technical solution is to first judge whether the application software control program is flashed. Among them, if the application is flashed, the state of the application layer configuration parameter A in the flashed application software is judged and stored in memory after updating; conversely, if the application is not flashed, the application layer configuration parameter A remains in the original state, and the subsequent calibration update judgment is directly carried out.
[0035] A further technical solution is to then judge whether the EPS controller is updated for calibration. Among them, if the calibration is updated, the state of the calibration layer configuration parameter B in the updated application software is judged and stored in memory after updating; conversely, if the calibration is not updated, the calibration layer configuration parameter B remains in the original state.
[0036] In a third aspect, the present invention also provides a vehicle.
[0037] A vehicle includes a vehicle body and a switch configuration system for a straight-line driving auxiliary compensation function proposed in the first aspect above, or executes a switch configuration method for a straight-line driving auxiliary compensation function proposed in the second aspect above.
[0038] The above one or more technical solutions have the following beneficial effects:
[0039] 1. The present invention provides a switch configuration system, method, and vehicle for a straight-line driving assistance compensation function. By introducing a flashing device, a function switch device, and a domain controller / gateway, the on / off state of the assistance compensation function in the EPS controller is adjusted and configured, solving the problem in the prior art that the switch states of assistance compensation functions such as crosswind and / or pulling deviation compensation cannot be personalized adjusted for different requirements of the same vehicle.
[0040] 2. In the assistance compensation function switch configuration method proposed by the present invention, for the EPS controller, according to the driver's needs, at a designated maintenance location, the on or off state of its assistance compensation functions such as crosswind and / or pulling deviation compensation is changed by using a diagnostic device or a flashing device, which can help the driver reduce the situation of needing additional manual force to keep the vehicle going straight during driving, enabling the driver to perform personalized adjustment and processing of the assistance function according to the actual state of the whole vehicle; furthermore, the compensation curve learned during the vehicle's straight-line driving will be calibrated on a real vehicle and integrated into the software during the development stage according to the actual vehicle situation, so as to more conveniently enable the personalized assistance compensation function.
[0041] Advantages of additional aspects of the present invention will be partly given in the following description, partly will become obvious from the following description, or will be understood through the practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] The specification drawings constituting a part of the present invention are used to provide a further understanding of the present invention. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation to the present invention.
[0043] Figure 1 It is the overall structure block diagram of the switch configuration system for the straight-line driving assistance compensation function according to the embodiment of the present invention;
[0044] Figure 2 It is the control flow chart for turning on or off the assistance compensation function inside the EPS controller in the embodiment of the present invention;
[0045] Figure 3 It is the flow chart for configuring the switch state of the assistance compensation function according to the switch instruction in the embodiment of the present invention;
[0046] Figure 4 It is the flow chart for configuring the switch state of the assistance compensation function according to the flashed software control program in the embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0047] It should be noted that the following detailed description is exemplary only for describing specific embodiments, aiming to provide further explanation of the present invention and not intended to limit the exemplary embodiments according to the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by those of ordinary skill in the technical field to which the present invention belongs. In addition, it should also 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.
[0048] Embodiment 1
[0049] This embodiment provides a switch configuration system for a straight-line driving assistance compensation function, as Figure 1 shown, including an EPS controller, a flashing device, a function switch device, and a domain controller / gateway. Among them:
[0050] (1) The domain controller / gateway communicates with the function switch device, the EPS controller, and the flashing device respectively. The domain controller / gateway is used to receive and forward relevant signals and instructions during the implementation of the assistance compensation function; in this embodiment, the domain controller / gateway is used for signal interaction between the EPS controller and the flashing device and the function switch device respectively.
[0051] (2) The flashing device refers to a tool that can support the EPS to meet the flashing specification requirements. It can be flashed through a single piece or through 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; among them, the flashing includes flashing the application layer configuration parameter A in the application software and updating the calibration layer configuration parameter B.
[0052] (3) The function switch device refers to a tool that can change the opening situation of the EPS assistance compensation function (taking crosswind compensation as an example in this embodiment) through specific instructions. Specifically, it refers to a tool that supports UDS instructions. It can support changing the crosswind compensation function switch situation through a single piece or modifying the crosswind compensation function switch through the whole vehicle; in this embodiment, the function switch device is used to generate a switch instruction for controlling the calibration layer configuration parameter B.
[0053] (4) The EPS controller is used to determine the application layer configuration parameter A and the calibration layer configuration parameter B according to the flashed software control program or switch instruction, and then judge the opening conditions of the function ports according to the two configuration parameters, and configure the switch of the assistance compensation function according to the judgment result.
[0054] Further, the application software in the above EPS controller is divided into an application layer and a calibration layer. The application layer is provided with application layer configuration parameter A, and the calibration layer is provided with calibration layer configuration parameter B. Then, the switch configuration of the auxiliary compensation function is as follows:
[0055] When both the application layer configuration parameter A and the calibration layer configuration parameter B are configured to be turned on, it is determined that the opening condition of the auxiliary compensation function port is satisfied. At this time, the auxiliary compensation function port is configured to be opened to assist the vehicle in maintaining a straight driving; otherwise, it is determined that the opening condition of the auxiliary compensation function port is not satisfied, and at this time, the auxiliary compensation function port is configured not to be opened.
[0056] In the above system proposed in this embodiment, the EPS controller is used as the actuator, and the domain controller / gateway is utilized to receive and forward the function switch instruction. On this basis, the opening and closing of the auxiliary compensation function switch are realized by changing through the diagnostic device and / or flashing different software through the flashing device. This system realizes the opening and closing of the function switch through the link intercommunication of the whole process.
[0057] Embodiment 2
[0058] A method for configuring the switch of the straight driving auxiliary compensation function is implemented based on the switch configuration system of the straight driving auxiliary compensation function proposed in Embodiment 1. Among them, the application software in the EPS controller is divided into an application layer and a calibration layer. The application layer is provided with application layer configuration parameter A, and the calibration layer is provided with calibration layer configuration parameter B. Then, this configuration method is as Figure 2 shown and includes:
[0059] (2.1) Determine the application layer configuration parameter A and the calibration layer configuration parameter B according to the flashed software control program or switch instruction;
[0060] (2.2) Judge the opening condition of the function port according to the application layer configuration parameter A and the calibration layer configuration parameter B, and configure the switch of the auxiliary compensation function according to the judgment result. Further, when both the application layer configuration parameter A and the calibration layer configuration parameter B are configured to be turned on, it is determined that the opening condition of the auxiliary compensation function port is satisfied. At this time, the auxiliary compensation function port is configured to be opened to assist the vehicle in maintaining a straight driving; otherwise, it is determined that the opening condition of the auxiliary compensation function port is not satisfied, and at this time, the auxiliary compensation function port is configured not to be opened.
[0061] As an implementation manner, as Figure 3 shown, configuring the switch of the auxiliary compensation function according to the switch instruction includes:
[0062] (3.1) The default application layer configuration parameter A in the EPS controller is in the on state, and whether the auxiliary compensation function is enabled is judged by judging whether the state of the calibration layer configuration parameter B of the EPS controller is on or off.
[0063] Among them, when the calibration layer configuration parameter B is in the open state, it is judged in combination with the application layer configuration parameter A being in the open state. At this time, the enabling condition of the auxiliary compensation function port is satisfied, and the function is enabled; when the calibration layer configuration parameter B is in the closed state, it is judged in combination with the application layer configuration parameter A being in the open state. At this time, the enabling condition of the auxiliary compensation function port is not satisfied, and the function is disabled.
[0064] (3.2) When the auxiliary compensation function is enabled, by turning on the function switch device, the calibration layer configuration parameter B remains in the open state. At this time, the auxiliary compensation function in the EPS controller remains enabled; conversely, by turning off the function switch device, the calibration layer configuration parameter B is switched from the open state to the closed state. At this time, the auxiliary compensation function in the EPS controller is switched from the enabled state to the disabled state.
[0065] (3.3) When the auxiliary compensation function is disabled, by turning on the function switch device, the calibration layer configuration parameter B is switched from the closed state to the open state. At this time, the auxiliary compensation function in the EPS controller is switched from the disabled state to the enabled state; conversely, by turning off the function switch device, the calibration layer configuration parameter B remains in the closed state. At this time, the auxiliary compensation function in the EPS controller remains disabled.
[0066] As an implementation method, as Figure 4 shown, according to the flashed software control program, the switch of the auxiliary compensation function is configured, including:
[0067] (4.1) The default application layer configuration parameter A in the EPS controller is in the open state. By judging whether the calibration layer configuration parameter B in the EPS controller is in the open or closed state, it is judged whether the auxiliary compensation function is enabled.
[0068] (4.2) When the auxiliary compensation function is enabled or disabled, it is first judged whether the application software control program is flashed. Among them, if the application is flashed, the state of the application layer configuration parameter A in the flashed application software is judged and updated and then memorized and stored; conversely, if the application is not flashed, the application layer configuration parameter A remains in the original state and directly proceeds to the subsequent calibration update judgment;
[0069] Then it continues to judge whether the EPS controller updates the calibration. Among them, if the calibration is updated, the state of the calibration layer configuration parameter B in the updated application software is judged and updated and then memorized and stored; conversely, if the calibration is not updated, the calibration layer configuration parameter B remains in the original state;
[0070] After that, according to the status of the application layer configuration parameter A and the calibration layer configuration parameter B after flashing and updating, the opening condition of the auxiliary compensation function port is judged, and the switch of the auxiliary compensation function is configured according to the judgment result.
[0071] The specific switch configuration of the above auxiliary compensation function is as follows:
[0072] (4.2.1) When the auxiliary compensation function is turned on:
[0073] (4.2.1.1) First, it is judged whether the application software control program is flashed. Specifically, when flashing the application software control program, refer to the corresponding flashing diagnostic instruction. The EPS controller can be flashed only when it meets the preset flashing conditions and receives the corresponding diagnostic instruction. It does not distinguish between devices and only needs to meet the flashing environment. Therefore, when the flashing device sends a flashing request, the EPS controller, under the above-mentioned conditions, completes the flashing according to the flashing rules and feedbacks the flashing completion status. At this time, it can be judged that the application software control program in the EPS is flashed, otherwise the application is not flashed.
[0074] Among them, when the application is flashed, it is judged whether the status of the application layer configuration parameter A in the flashed application software is in the open state or the closed state, and it is memorized and stored after updating. Further, when the application is flashed and 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 is still in the open state. At this time, the open state of the application configuration parameter A in the EPS controller is stored, and the application configuration parameter A does not change between the open and closed states with the power-on and power-off of the EPS controller; when the application is flashed and 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 switches from the open state to the closed state, and the closed state of the application configuration parameter A in the EPS controller is stored, and the application configuration parameter A does not change between the open and closed states with the power-on and power-off of the EPS controller.
[0075] On the contrary, when the application is not flashed, the current state of the application layer configuration parameter A is maintained, and the subsequent judgment of whether the calibration is updated is directly continued.
[0076] (4.2.1.2) Continue to judge whether the EPS controller updates the calibration. Similarly, when flashing (or updating) here, refer to the corresponding flashing diagnostic instruction. The EPS controller can be flashed only when it meets the preset flashing conditions and receives the corresponding diagnostic instruction. It does not distinguish between devices and only needs to meet the flashing environment. Therefore, when the flashing device sends a flashing request, the EPS controller, under the above-mentioned conditions, completes the flashing according to the flashing rules and feedbacks the flashing completion status. At this time, it can be judged that the calibration in the EPS is updated, otherwise it is not updated.
[0077] Among them, when calibrating (or updating) the EPS controller, it is judged whether the state of the calibrated configuration parameter B to be written is the open state or the closed state, and the updated memory storage is performed. Further, when the calibration is updated, when the EPS controller successfully updates the calibration software and the calibrated layer configuration parameter B in the calibration software is in the open state, the calibrated configuration parameter B in the EPS controller remains in the open state, and the calibrated 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 calibrated configuration parameter B is in the open state, the auxiliary compensation function of crosswind and / or deviation compensation meets the opening condition and this function is opened; when the calibration is updated, when the EPS controller successfully updates the calibration software and the configuration parameter B in the calibration software is in the closed state, the calibrated configuration parameter B in the EPS controller switches from the open state to the closed state, and the calibrated configuration parameter B does not change its open / closed state with the power-on and power-off of the EPS controller.
[0078] On the contrary, when the calibration is not updated, the state of the current calibrated layer configuration parameter B is maintained.
[0079] (4.2.1.3) On the above basis, according to the states of the application layer configuration parameter A and the calibrated layer configuration parameter B after writing and updating, the opening condition of the auxiliary compensation function port is judged, and the switch of the auxiliary compensation function is configured according to the judgment result.
[0080] Among them, by judging that the application configuration parameter A is in the closed state and the calibrated configuration parameter B is in the open state, at this time the auxiliary compensation of crosswind compensation and / or deviation compensation does not meet the function opening condition, and the function is closed; by judging that the application configuration parameter A is in the closed state and the calibrated configuration parameter B is in the closed state, at this time the auxiliary compensation of crosswind compensation and / or deviation compensation does not meet the function opening condition, and the function is closed; by judging that the application configuration parameter A is in the open state and the calibrated configuration parameter B is in the closed state, at this time the auxiliary compensation of crosswind compensation and / or deviation compensation does not meet the function opening condition, and the function is closed; by judging that the application configuration parameter A is in the open state and the calibrated configuration parameter B is in the open state, at this time the auxiliary compensation of crosswind compensation and / or deviation compensation meets the function opening condition, and the function is opened.
[0081] (4.2.2) When the auxiliary compensation function is closed:
[0082] (4.2.2.1) First, it is judged whether to write the application software control program. Among them, when the application is written, it is judged whether the state of the application layer configuration parameter A in the written application software is the open state or the closed state, and the updated memory storage is performed.
[0083] Further, when applying flashing, when 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 remains in the open state. At this time, the open state of the application configuration parameter A in the EPS controller is stored, and the application configuration parameter A does not change its open or closed state with the power-on and power-off of the EPS controller; when applying flashing, when 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 switches from the open state to the closed state, and the closed state of the application configuration parameter A in the EPS controller is stored, and the application configuration parameter A does not change its open / closed state with the power-on and power-off of the EPS controller.
[0084] Conversely, when no application flashing is performed, the state of the current application layer configuration parameter A is maintained, and the subsequent judgment on whether to calibrate and update is directly continued.
[0085] (4.2.2.2) Continue to judge whether the EPS controller updates the calibration. Among them, when the EPS controller flashes (or updates) the calibration, judge whether the state of the calibrated configuration parameter B to be flashed (or updated) is in the open state or the closed state, and perform memory storage after the update.
[0086] Further, when calibrating and updating, when 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, and 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 pulling deviation compensation meets the opening condition and then this function is opened; when calibrating and updating, when 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, and the calibration configuration parameter B does not change its open / closed state with the power-on and power-off of the EPS controller.
[0087] Conversely, when no calibration update is performed, the state of the current calibration layer configuration parameter B is maintained.
[0088] (4.2.2.3) On the above basis, further judge the opening condition of the auxiliary compensation function port according to the states of the application layer configuration parameter A and the calibration layer configuration parameter B after flashing and updating, and configure the switch of the auxiliary compensation function according to the judgment result.
[0089] Among them, by determining that the application configuration parameter A is in the closed state and the calibration configuration parameter B is in the open state, at this time, the auxiliary compensation such as crosswind compensation and / or deviation compensation does not meet the function opening condition, and the function is closed; by determining that the application configuration parameter A is in the closed state and the calibration configuration parameter B is in the closed state, at this time, the auxiliary compensation such as crosswind compensation and / or deviation compensation does not meet the function opening condition, and the function is closed; by determining that the application configuration parameter A is in the open state and the calibration configuration parameter B is in the closed state, at this time, the auxiliary compensation such as crosswind compensation and / or deviation compensation does not meet the function opening condition, and the function is closed; by determining that the application configuration parameter A is in the open state and the calibration configuration parameter B is in the open state, at this time, the auxiliary compensation such as crosswind compensation and / or deviation compensation meets the function opening condition, and the function is enabled.
[0090] Embodiment III
[0091] This embodiment provides a vehicle, including a vehicle body, and a switch configuration system for a straight-line driving auxiliary compensation function proposed in the above-mentioned Embodiment I, or a switch configuration method for a straight-line driving auxiliary compensation function proposed in the above-mentioned Embodiment II.
[0092] Those skilled in the art should understand that the above-mentioned modules or steps of the present invention can be implemented by a general-purpose computer device. Optionally, they can be implemented by program codes executable by a computing device, so that they can be stored in a storage device and executed by the computing device, or they can be separately fabricated into individual integrated circuit modules, or multiple modules or steps among them can be fabricated into a single integrated circuit module to implement. The present invention is not limited to any specific combination of hardware and software.
[0093] The above are only the preferred embodiments of the present invention. Although the specific implementation manners of the present invention are described in conjunction with the accompanying drawings, it is not a limitation on the protection scope of the present invention. Those skilled in the art should understand that various modifications or deformations that can be made without creative labor on the basis of the technical solutions of the present invention are still within the protection scope of the present invention.
Claims
1. A switch configuration system for a straight-line driving assist compensation function, characterized in that: It includes an EPS controller, a flashing 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 flashing device respectively, and is used for signal interaction between the EPS controller and the flashing 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 switch device is used to generate a switch instruction for controlling the calibration layer configuration parameter B; The EPS controller is used to determine the application layer configuration parameter A and the calibration layer configuration parameter B according to the flashed software control program or switch instruction, and then judge the function port opening condition according to the two configuration parameters, and configure the switch of the auxiliary compensation function according to the judgment result.
2. A switch configuration system for a straight-line driving assist compensation function as claimed in claim 1, characterized in that: The application software in the EPS controller is divided into an application layer and a calibration layer, wherein the application layer is provided with an application layer configuration parameter A, and the calibration layer is provided with a calibration layer configuration parameter B; The switch configuration of the auxiliary compensation function includes: When the application layer configuration parameter A and the calibration layer configuration parameter B are both configured to be turned on, it is determined that the auxiliary compensation function port opening condition is met. At this time, the auxiliary compensation function port is configured to be turned on to assist the vehicle to maintain straight driving; Otherwise, it is determined that the auxiliary compensation function port opening condition is not met, and the auxiliary compensation function port is configured not to be opened.
3. A switch configuration method for a straight-line driving assist compensation function, implemented based on a switch configuration system for a straight-line driving assist compensation function as claimed in any one of claims 1 to 2, characterized in that: The method includes: Determine the application layer configuration parameter A and the calibration layer configuration parameter B according to the flashed software control program or switch instruction; The function port opening condition is judged according to the application layer configuration parameter A and the calibration layer configuration parameter B, and the auxiliary compensation function switch is configured according to the judgment result; Among them, when the application layer configuration parameter A and the calibration layer configuration parameter B are configured to be turned on at the same time, it is judged that the auxiliary compensation function port opening condition is met, and the auxiliary compensation function port is configured to be turned on at this time to assist the vehicle to maintain straight driving; Otherwise, it is determined that the auxiliary compensation function port opening condition is not met, and the auxiliary compensation function port is configured not to be opened.
4. A switch configuration method for a straight-line driving assist compensation function as claimed in claim 3, characterized in that: According to the switch command, configure the switch of the auxiliary compensation function, including: The default application layer configuration parameter A in the EPS controller is in the open state. The auxiliary compensation function is determined by judging whether the state of the EPS controller calibration layer configuration parameter B is open or closed. Among them, if the calibration layer configuration parameter B is in the open state, combined with the application layer configuration parameter A is in the open state, the auxiliary compensation function port opening condition is met and the function is turned on; If the calibration layer configuration parameter B is in the closed state, combined with the application layer configuration parameter A is in the open state, the auxiliary compensation function port opening conditions are not met and the function is closed.
5. A switch configuration method for a straight-line driving assist compensation function as claimed in claim 4, characterized in that: Also includes: When the auxiliary compensation function is turned on, the calibration layer configuration parameter B is kept in the on state by opening the function switch device, and the auxiliary compensation function in the EPS controller is still kept in the on state; conversely, the calibration layer configuration parameter B is switched from the on state to the off state by closing the function switch device, and the auxiliary compensation function in the EPS controller is switched from the on state to the off state.
6. A switch configuration method for a straight-line driving assist compensation function as claimed in claim 4, characterized in that: Also includes: When the auxiliary compensation function is turned off, the calibration layer configuration parameter B is switched from the off state to the on state by opening the function switch device, and 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 in the off state by closing the function switch device, and the auxiliary compensation function in the EPS controller is still kept in the off state.
7. A switch configuration method for a straight-line driving assist compensation function as claimed in claim 3, characterized in that: According to the flashed software control program, configure the switch of the auxiliary compensation function, including: The default application layer configuration parameter A in the EPS controller is in the open state. The auxiliary compensation function is determined by judging whether the state of the EPS controller calibration layer configuration parameter B is open or closed. When the auxiliary compensation function is turned on or off, it is first determined whether the application software control program is flashed, and then whether the EPS controller is updated and calibrated; According to the status of the application layer configuration parameter A and the calibration layer configuration parameter B after being flashed and updated, the auxiliary compensation function port opening condition is judged, and the auxiliary compensation function switch is configured according to the judgment result.
8. A switch configuration method for a straight-line driving assist compensation function as claimed in claim 7, characterized in that: First determine whether to flash the application software control program. If the application is flashed, determine the status of the application layer configuration parameter A in the flashed application software, and memorize and store it after updating. Conversely, if the application is not flashed, the application layer configuration parameter A remains in its original state, and the subsequent calibration update judgment is performed directly.
9. A switch configuration method for a straight-line driving assist compensation function as claimed in claim 7, characterized in that: Then determine whether the EPS controller is calibrated and updated. If the calibration is updated, determine the status of the calibration layer configuration parameter B in the updated application software and memorize and store it after the update. Otherwise, if the calibration is not updated, the calibration layer configuration parameter B remains in its original state.
10. A vehicle, characterized in that: It comprises a vehicle body and a switch configuration system for a straight-line driving assist compensation function as described in any one of claims 1-2, or a switch configuration method for executing a straight-line driving assist compensation function as described in any one of claims 3-9.