Summary of the invention
In view of this, the invention provides a kind of collocation method and device of power-assisted steering control parameters, to overcome in prior art the control parameter adjustment inefficiency that causes due to the method that adopts the off-line adjustment to upgrade to control parameter and problem that can not the Real Time Monitoring electric boosting steering system.
For achieving the above object, the invention provides following technical scheme:
A kind of collocation method of power-assisted steering control parameters, be applied to electric boosting steering system, comprising:
Receive the request that enters parameter configuration mode that host computer sends;
Enter parameter configuration mode according to described request;
Receive the configuration information that host computer sends;
Adjust the control parameter of described electric boosting steering system according to described configuration information.
Optionally, before the request that enters parameter configuration mode that described reception host computer sends, also comprise:
Parameters configuration mode in described electric boosting steering system.
Optionally, before according to described request, entering parameter configuration mode, also comprise:
Judge whether host computer passes through security access mechanism;
If so, enter the step that enters parameter configuration mode according to described request.
Optionally, describedly judge that host computer, whether by security access mechanism, comprising:
Seed data is sent to host computer by the CAN bus;
Described electric boosting steering system is processed described seed data according to preset rules, obtains the first password data;
Receive the second code data that host computer sends by the CAN bus, that obtain after described seed data is processed according to described preset rules;
Judge described the second code data whether with described first password Data Matching.
Optionally, describedly judge that host computer, whether by security access mechanism, comprising:
Receive the code data that host computer sends;
Judge described code data whether and default access code Data Matching.
Optionally, before described control parameter according to the described electric boosting steering system of described configuration information adjustment, also comprise:
Detect described electric boosting steering system and whether be in the configurable state of parameter;
If so, enter the step of controlling accordingly parameter according to described configuration information adjustment.
Optionally, whether the described electric boosting steering system of described detection is in the configurable state of parameter, comprising:
Whether the current vehicle speed that detects vehicle that described electric boosting steering system is controlled is zero, and described electric boosting steering system non-fault whether.
A kind of inking device of power-assisted steering control parameters, be applied to electric boosting steering system, comprising:
The request receiving module, be used for receiving the request that enters parameter configuration mode that host computer sends;
Mode control module, be used for entering parameter configuration mode according to described request;
The configuration information receiver module, be used for receiving the configuration information that host computer sends;
Parameter adjustment module, for the control parameter of the described electric boosting steering system of described configuration information adjustment that receives according to described configuration information receiver module.
Optionally, also comprise:
Pattern arranges module, is used at described electric boosting steering system parameters configuration mode;
The analysis module, be used for judging whether host computer passes through security access mechanism;
Whether state detection module, be in the configurable state of parameter for detection of described electric boosting steering system.
Optionally, described analysis module comprises:
Data transmission blocks, be used for seed data is sent to host computer by the CAN bus;
Data processing module, be used for processing described seed data according to preset rules, obtains the first password data;
Data reception module, be used for to receive the second code data that host computer sends by the CAN bus, that obtain after described seed data is processed according to described preset rules;
The matching judgment module, be used for judging described the second code data whether with described the first access code Data Matching.
Via above-mentioned technical scheme as can be known, compared with prior art, the embodiment of the present invention provides a kind of collocation method and device of power-assisted steering control parameters, described method and application of installation are in electric boosting steering system, at first the method judges whether system has entered parameter configuration mode, after system enters parameter configuration mode, receive the configuration information that host computer sends, and according to described configuration information adjustment, control accordingly parameter.Be provided with parameter configuration mode in electric booster system due to the collocation method of this power-assisted steering control parameters and application of installation, therefore, after system enters parameter configuration mode, just can receive the configuration information that host computer sends, and online the adjustment controlled parameter.By the method and device, the regulated efficiency of power-assisted steering control parameters improves greatly, and, owing to not needing off-line adjustment again to control parameter, therefore can meet the requirement of modern R﹠D work Real Time Monitoring electric boosting steering system.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills, not making under the creative work prerequisite the every other embodiment that obtains, belong to the scope of protection of the invention.
Fig. 1 is the collocation method process flow diagram of the disclosed power-assisted steering control parameters of the embodiment of the present invention, and described method is applied to electric boosting steering system, and is shown in Figure 1, and described method can comprise:
Step 101: receive the request that enters parameter configuration mode that host computer sends;
When the related personnel in car load factory or 4S shop wants the control parameter in electric boosting steering system is configured, can send a request that enters parameter configuration mode to described electric boosting steering system.
Communicating by letter of host computer and electric boosting steering system can realize by the CAN bus.
Step 102: according to described request, enter parameter configuration mode;
The enforcement prerequisite of step 102 is to be provided with in advance parameter configuration mode in described electric boosting steering system,, when system operates in described parameter configuration mode lower time, can adjust online and revise the control parameter in system.Therefore,, if want to adjust online control parameter in described electric boosting steering system, need at first allow electric boosting steering system enter parameter configuration mode.
Step 103: receive the configuration information that host computer sends;
After step 102 enters parameter configuration mode, just can receive the configuration information that host computer sends by the CAN bus, described configuration information can comprise configuration-direct and parameter information.Wherein, described configuration-direct is used to indicate described electric boosting steering system and controls the action of parameter configuration, and described parameter information can indicate how to adjust the control parameter, will control why numerical value of parameter adjustment.
The related personnel in car load factory or 4S shop can design the visualization interface based on automotive networking bus research and development tool software CANoe in host computer, so that can understand current control parameter value and the running status of electric boosting steering system in real time.
Step 104: the control parameter of adjusting described electric boosting steering system according to described configuration information.
Described control parameter can comprise power-assisted coefficient and damping compensation coefficient.
Because the enforcement prerequisite of step 101 to 104 is to have set in advance parameter configuration mode in electric boosting steering system, therefore, the collocation method of power-assisted steering control parameters can also be as shown in Figure 2.Fig. 2 is the collocation method process flow diagram of the disclosed another kind of power-assisted steering control parameters of the embodiment of the present invention.The method is applied in electric boosting steering system, and described method comprises:
Step 201: parameters configuration mode in described electric boosting steering system;
Send out the electric boosting steering system controlling the parameter update instruction and may cause mismatches to put and causes danger controlling parameter for fear of upper chance error, also for the ease of host computer can be real-time the control parameter in electric boosting steering system be configured adjustment, parameters configuration mode in electric boosting steering system, this parameter configuration mode is independent of normal mode of operation.
Step 202: receive the request that enters parameter configuration mode that host computer sends;
Step 203: according to described request, enter parameter configuration mode;
Step 204: receive the configuration information that host computer sends;
Step 205: according to described configuration information adjustment, control accordingly parameter.
In the present embodiment, described method is applied in electric boosting steering system, and the method after system enters parameter configuration mode, receives the configuration information that host computer sends, and according to described configuration information adjustment, controls accordingly parameter.Be provided with parameter configuration mode in electric booster system due to the application of the collocation method of this power-assisted steering control parameters, therefore, after system enters parameter configuration mode, just can receive the configuration information that host computer sends, and adjust online the control parameter, thereby greatly promoted the regulated efficiency of power-assisted steering control parameters; And, owing to not needing off-line adjustment again to control parameter, therefore can meet the requirement of modern R﹠D work Real Time Monitoring electric boosting steering system.
Fig. 3 is the collocation method process flow diagram of disclosed another power-assisted steering control parameters of the embodiment of the present invention, and the method is applied to electric boosting steering system, as shown in Figure 3, can comprise:
Step 301: receive the request that enters parameter configuration mode that host computer sends;
The enforcement prerequisite of step 301 is to be provided with in advance parameter configuration mode in described electric boosting steering system,, when system operates in described parameter configuration mode lower time, can adjust online and revise the control parameter in system.
Step 302: judge whether host computer passes through security access mechanism; If so, enter step 303;
Due in the course of normal operation of electric boosting steering system, vehicle generally all is in transport condition, and therefore, parameter configuration mode needs certain security mechanism,, in case user misoperation causes the error configurations of controlling parameter, avoids the generation of peril., if the determination result is NO for step 302, can't enter parameter configuration mode.
In a schematic example, the detailed process of step 301 can be referring to Fig. 4, and to be that the embodiment of the present invention is disclosed judge the whether process flow diagram by security access mechanism of system to Fig. 4; As shown in Figure 4, can comprise:
Step 401: seed data is sent to host computer by the CAN bus;
Wherein, described seed data can be the current value of timer conter in system.
Step 402: described electric boosting steering system is processed described seed data according to preset rules, obtains the first password data;
Wherein said preset rules does not have fixed constraints, can configure regulation by the user.Preset rules can be: two of the value shift to right or left that timer conter is current obtain the first password data.
Step 403: receive the second code data that host computer sends by the CAN bus, that obtain after described seed data is processed according to described preset rules;
Host computer is after the described seed data that receives the electric booster system transmission, can with electric boosting steering system in same preset rules described seed data is processed, the second code data that then processing is obtained sends to electric boosting steering system.
Certainly, host computer also can be different with the processing mode of described electric boosting steering system to the processing mode of described seed data, as long as can guarantee that the data that obtain after the two processing seed data have certain corresponding relation or contiguity.
Step 404: judge described the second code data whether with described first password Data Matching.
Coupling described here can be identical, corresponding or fixing funtcional relationship is arranged.That system, by security access mechanism, can be carried out subsequent step if step 404 judgment result is that.
, by user's configuration, can stipulate that the execution time of step 401-404 must not surpass a regular time, for example 30 seconds after system initialization.If above-mentioned judge host computer whether the process by security access mechanism surpass after system initialization 30 seconds, think that host computer, by security access mechanism, can't enter parameter configuration mode.
In another schematic example, judge that whether system by the process of security access mechanism can be also: receive the code data that host computer sends; Judge described code data whether and default access code Data Matching.This method just needs to configure in electric boosting steering system in advance the password that enters parameter configuration mode.
Go back to Fig. 3, enter step 303.
Step 303: enter parameter configuration mode;
Step 304: receive the configuration information that host computer sends;
Wherein, described configuration information can comprise configuration-direct and parameter information.
Step 305: the control parameter of adjusting described electric boosting steering system according to described configuration information.
In other embodiment, before execution step 305, can also comprise that whether detect described electric boosting steering system is in the step of the configurable state of parameter, in the situation that the testing result of above-mentioned detection is to be, then carries out the step of controlling accordingly parameter according to described configuration information adjustment.
Whether wherein, whether the described electric boosting steering system of described detection is in the configurable state of parameter, can be specifically: detecting current vehicle speed is zero, and system non-fault whether.If when the control parameter was configured, vehicle had travel speed, after configuration is completed so, due to the change of controlling parameter, probably cause generation dangerous in the driving process, therefore necessarily require to the control parameter configuration time, the speed of vehicle is necessary for zero; , if electric boosting steering system breaks down, so also can't effectively to controlling parameter, be configured.Therefore must guarantee in the situation that the judged result of above-mentioned two judgements is all to be, namely in the situation that system is in configurable state, then carry out controlling accordingly according to described configuration information adjustment the step of parameter.
In the present embodiment, described method is applied in electric boosting steering system, the method is before system enters parameter configuration mode, the security access mechanism of meeting operational factor configuration mode, only have when host computer by after this security access mechanism, system just can enter parameter configuration mode, and then receives the configuration information that host computer sends, and according to described configuration information adjustment, controls accordingly parameter.Be provided with parameter configuration mode in electric booster system due to the application of the collocation method of this power-assisted steering control parameters, therefore, after system enters parameter configuration mode, just can receive the configuration information that host computer sends, and adjust online the control parameter, thereby greatly promoted the regulated efficiency of power-assisted steering control parameters.And, need host computer to pass through security access mechanism before entering parameter configuration mode, the mismatching of electric boosting steering system of having avoided the host computer maloperation to cause put, and then avoided due to the generation that mismatches the peril of putting and may causing.
Describe method in detail in the embodiment that the invention described above provides, for method of the present invention, can adopt the device of various ways to realize, so the present invention also provides a kind of device, below provided specific embodiment and be elaborated.
Fig. 5 is the inking device structural representation of the disclosed power-assisted steering control parameters of the embodiment of the present invention, participates in shown in Figure 5ly, and the inking device 50 of described power-assisted steering control parameters can comprise:
Request receiving module 501, be used for receiving the request that enters parameter configuration mode that host computer sends;
When the related personnel wants the control parameter in electric boosting steering system is configured, can send a request that enters parameter configuration mode to described electric boosting steering system.
Mode control module 502, be used for entering parameter configuration mode according to described request;
The prerequisite that described mode control module 502 can work is to be provided with in advance parameter configuration mode in described electric boosting steering system,, when system operates in described parameter configuration mode lower time, can adjust online and revise the control parameter in system.Therefore,, if want to adjust online control parameter in described electric boosting steering system, need at first allow electric boosting steering system enter parameter configuration mode.
Configuration information receiver module 503, be used for receiving the configuration information that host computer sends;
Wherein, described configuration information can comprise configuration-direct and parameter information.Wherein, described configuration-direct is used to indicate described electric boosting steering system and controls the action of parameter configuration, and described parameter information can indicate how to adjust the control parameter, will control why numerical value of parameter adjustment.
Parameter adjustment module 504, for the control parameter of the described electric boosting steering system of described configuration information adjustment that receives according to described configuration information receiver module.
Described control parameter can comprise power-assisted coefficient and damping compensation coefficient.
The prerequisite that due to above-mentioned modules, can work is to have set in advance parameter configuration mode in electric boosting steering system, and therefore, the inking device structural representation of power-assisted steering control parameters can also be as shown in Figure 6.Fig. 6 is the inking device structural representation of the disclosed another kind of power-assisted steering control parameters of the embodiment of the present invention, shown in Figure 6, the inking device 60 of described power-assisted steering control parameters is except above-mentioned request receiving module 501, mode control module 502, configuration information receiver module 503 and parameter adjustment module 504, can also comprise that pattern arranges module 601, be used at described electric boosting steering system parameters configuration mode.
Send out the electric boosting steering system controlling the parameter update instruction and may cause mismatches to put and causes danger controlling parameter for fear of upper chance error, also for the ease of host computer can be real-time the control parameter in electric boosting steering system be configured adjustment, parameters configuration mode in electric boosting steering system, this parameter configuration mode is independent of normal mode of operation.
In the present embodiment, described application of installation is in electric boosting steering system, and this device after system enters parameter configuration mode, receives the configuration information that host computer sends, and according to described configuration information adjustment, controls accordingly parameter.Be provided with parameter configuration mode in electric booster system due to the application of the inking device of this power-assisted steering control parameters, therefore, after system enters parameter configuration mode, just can receive the configuration information that host computer sends, and adjust online the control parameter, thereby greatly promoted the regulated efficiency of power-assisted steering control parameters; And, owing to not needing off-line adjustment again to control parameter, therefore can meet the requirement of modern R﹠D work Real Time Monitoring electric boosting steering system.
Fig. 7 is the inking device structural representation of disclosed another power-assisted steering control parameters of the embodiment of the present invention, and is shown in Figure 7, and the inking device 70 of described power-assisted steering control parameters can comprise:
Request receiving module 501, be used for receiving the request that enters parameter configuration mode that host computer sends;
Analysis module 701, be used for judging whether host computer passes through security access mechanism;
Due in the course of normal operation of electric boosting steering system, vehicle generally all is in transport condition, and therefore, parameter configuration mode needs certain security mechanism,, in case user misoperation causes the error configurations of controlling parameter, avoids the generation of peril.
In a schematic example, the concrete structure of described analysis module 701 can be referring to Fig. 8, and Fig. 8 is the disclosed analysis modular structure of embodiment of the present invention schematic diagram, and as shown in Figure 8, described analysis module 701 can comprise:
Data transmission blocks 801, be used for seed data is sent to host computer by the CAN bus;
Wherein, described seed data can be the current value of timer conter in system.
Data processing module 802, be used for processing described seed data according to preset rules, obtains the first password data;
Wherein said preset rules does not have fixed constraints, can configure regulation by the user.Preset rules can be: two of the value shift to right or left that timer conter is current obtain the first password data.
Data reception module 803, be used for to receive the second code data that host computer sends by the CAN bus, that obtain after described seed data is processed according to described preset rules;
Host computer is after the described seed data that receives the electric booster system transmission, can with electric boosting steering system in same preset rules described seed data is processed, the second code data that then processing is obtained sends to electric boosting steering system.
Certainly, host computer also can be different with the processing mode of described electric boosting steering system to the processing mode of described seed data, as long as can guarantee that the data that obtain after the two processing seed data have certain corresponding relation or contiguity.
Matching judgment module 804, be used for judging described the second code data whether with described first password Data Matching.
Coupling described here can be identical, corresponding or fixing funtcional relationship is arranged.
Certainly, the concrete structure of described analysis module 701 is not restricted to structure shown in Figure 8, can comprise other structure yet, specifically can be referring to the description content in embodiment of the method.
Mode control module 502, be used for entering parameter configuration mode according to described request;
Configuration information receiver module 503, be used for receiving the configuration information that host computer sends;
Wherein, described configuration information can comprise configuration-direct and parameter information.
Parameter adjustment module 504, for the control parameter of the described electric boosting steering system of described configuration information adjustment that receives according to described configuration information receiver module.
In other embodiment, the inking device of power-assisted steering control parameters can also comprise state detection module, for detection of described electric boosting steering system, whether is in the configurable state of parameter.
Whether wherein, whether described detection system is in the configurable state of parameter, can be specifically: detecting current vehicle speed is zero, and system non-fault whether.In the situation that the judged result of above-mentioned two judgements is all to be, namely in the situation that system is in configurable state, described parameter adjustment module 504 is carried out its function again.
In the present embodiment, described application of installation is in electric boosting steering system, this device is before system enters parameter configuration mode, the security access mechanism of meeting operational factor configuration mode, only have when host computer by after this security access mechanism, system just can enter parameter configuration mode, and then receives the configuration information that host computer sends, and according to described configuration information adjustment, controls accordingly parameter.Be provided with parameter configuration mode in electric booster system due to the application of the inking device of this power-assisted steering control parameters, therefore, after system enters parameter configuration mode, just can receive the configuration information that host computer sends, and adjust online the control parameter, thereby greatly promoted the regulated efficiency of power-assisted steering control parameters.And, need host computer to pass through security access mechanism before entering parameter configuration mode, the mismatching of electric boosting steering system of having avoided the host computer maloperation to cause put, and then avoided due to the generation that mismatches the peril of putting and may causing.
In this instructions, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is and the difference of other embodiment that between each embodiment, identical similar part is mutually referring to getting final product.For the device that embodiment provides, because it is corresponding with the method that embodiment provides, so description is fairly simple, relevant part partly illustrates and gets final product referring to method.
Above-mentioned explanation to the embodiment that provides, make this area professional and technical personnel can realize or use the present invention.Multiple modification to these embodiment will be apparent for those skilled in the art, and General Principle as defined herein can be in the situation that do not break away from the spirit or scope of the present invention, realization in other embodiments.Therefore, the present invention will can not be restricted to these embodiment shown in this article, but principle and the features of novelty the widest consistent scope that provides with this paper will be provided.