CN114137939A - ESC soft switch control method based on CAN bus - Google Patents
ESC soft switch control method based on CAN bus Download PDFInfo
- Publication number
- CN114137939A CN114137939A CN202111428951.5A CN202111428951A CN114137939A CN 114137939 A CN114137939 A CN 114137939A CN 202111428951 A CN202111428951 A CN 202111428951A CN 114137939 A CN114137939 A CN 114137939A
- Authority
- CN
- China
- Prior art keywords
- esc
- soft switch
- soft
- signal
- switch control
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 19
- 230000001960 triggered effect Effects 0.000 claims abstract description 19
- 230000008859 change Effects 0.000 claims description 4
- 230000009191 jumping Effects 0.000 claims description 4
- 238000012544 monitoring process Methods 0.000 claims description 3
- 238000011161 development Methods 0.000 abstract description 9
- 238000004891 communication Methods 0.000 abstract description 4
- 230000002401 inhibitory effect Effects 0.000 abstract description 2
- 210000002304 esc Anatomy 0.000 description 101
- 238000012360 testing method Methods 0.000 description 5
- 238000013461 design Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000012827 research and development Methods 0.000 description 2
- 238000005096 rolling process Methods 0.000 description 2
- 239000013049 sediment Substances 0.000 description 2
- 206010063385 Intellectualisation Diseases 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B23/00—Testing or monitoring of control systems or parts thereof
- G05B23/02—Electric testing or monitoring
- G05B23/0205—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
- G05B23/0208—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
- G05B23/0213—Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/24—Pc safety
- G05B2219/24065—Real time diagnostics
Abstract
The invention discloses an ESC soft switch control method based on a CAN bus, which is mainly designed in the following way that according to CAN network communication specifications, ESC soft switches are monitored to be sequentially triggered after being electrified, an analog set signal is sent out in a CAN line analog hard line input mode, and the ESC is controlled to switch the enabling state or the inhibiting state of ESC functions after receiving the set signal. According to the invention, ESC hard wire connection and hardware entity switch are not needed, and the related functions of ESC can be turned off or on only by connecting the original ESC of the vehicle in an idle mode in actual operation, so that the iterative development period of automobile products can be effectively shortened and the development cost of the vehicle can be reduced.
Description
Technical Field
The invention relates to the field of vehicle control, in particular to an ESC soft switch control method based on a CAN bus.
Background
In recent years, with the development of economy and science and technology, automobiles have been introduced into thousands of households as walking tools, and meanwhile, along with the wide application of technologies such as networking, intellectualization and integration of automobiles, the automobile brings more fun for people to live.
For household automobiles, the safety performance of the automobile draws more and more attention from various indexes of the automobile. A vehicle body Stability control system (ESC) can actively adjust an output torque of an engine and a braking force of each wheel, and effectively prevent occurrence of instability, and is typically used as an active safety technology and is one of mandatory standard configurations for new vehicles to be marketed in many countries.
ESCs belong to the automobile safety systems and are normally in an open state, and only in some special cases, a temporary shut down of the system (ESCOFF) is required. ESC OFF, as the name implies, is the related function of shutting down the ESC system, the main shut down functions include: TCS Traction Control System (Traction Control System), and AYC vehicle dynamic Control (Active Yaw Control).
Common usage scenarios for ESC OFF:
1) when the vehicle is trapped in a sediment, rain and snow environment, under the condition that an ESC system is started, if a driving wheel slips due to the trapping of sediment and the like, the rotating speed difference of the wheels on two sides can be increased to trigger a TCS function, so that the torque of the engine can be continuously consumed by the wheels with smaller rolling resistance, meanwhile, the ESC can also send a request for limiting the torque of the engine, and even if an accelerator is deeply stepped on, the engine can also limit the rotating speed or the torque of the engine, so that the vehicle is difficult to get rid of the predicament. If the ESC system is turned off, the engine torque limiting phenomenon cannot occur, and the trouble conditions such as the above can be relieved more easily.
2) In some specific application scenarios, the vehicle is required to take a drifting action, and when the ESC system is started, the ESC easily triggers a TCS or AYC function due to a large change of a rotation angle and a large difference of rotation speeds of left and right wheels, so that the vehicle is actively braked or an engine is limited in torsion, and the wheels are difficult to drive in a drifting manner. If the ESC system is turned off, the vehicle will be more likely to complete the drifting action.
3) On road surfaces such as wet and icy roads, the automobile provided with the anti-skid chains can increase the rolling radius of the tire of the automobile, so that the detection signals of the wheel speed sensor and the like are out of alignment, the speed and the wheel speed of the automobile are caused to generate errors, the judgment and the normal work of an ESC system are influenced, and the related functions of the ESC system are caused to be triggered by mistake or false alarms are caused. And if the ESC system is shut down, this situation is circumvented.
4) Under the special test verification scene, such as a vehicle self stability control limit groping test and a two-drive rotating hub vehicle emission test, the related functions of the ESC are required to be closed due to the particularity of a test target.
Based on the above scenarios, when the ESC system needs to be turned OFF, the existing vehicles are mostly realized by an ESC OFF switch and a hard-wired connection manner. Specifically, the ESC OFF switch is set independently, the hard wire is connected to a corresponding pin of an ESC controller, the ESC OFF is usually a self-reset switch, when the switch is pressed, an ESC interface receives a low pulse signal, and when a low pulse signal meeting the requirement is input, the ESC is switched from an enabled state (function is available) to a disabled state (function is closed), otherwise, the ESC is switched from the disabled state to the enabled state, and meanwhile, an ESC OFF lamp on the instrument is lightened in a CAN communication mode to carry out man-machine interaction display.
When a basic vehicle model is developed by a host, the ESC OFF selects the hard-wire input mode, the research and development cost of the whole vehicle is increased, and meanwhile, the hardware structure of the ESC cannot be changed, otherwise, the ESC related test is carried out again, and the research and development period is also increased.
Disclosure of Invention
In view of the above, the present invention aims to provide an ESC soft switching control method based on a CAN bus to shorten the cycle of iterative development of similar products of automobiles and reduce the development cost of vehicles.
The technical scheme adopted by the invention is as follows:
an ESC soft switch control method based on CAN bus includes:
setting an initial state of an ESC system to be on after a vehicle is powered on, and setting an initial state of an ESC soft switch to be off;
monitoring the triggering condition of an ESC soft switch control;
when the ESC soft switch control is monitored to be triggered, outputting a first setting signal to an ESC system;
the ESC system forbids the ESC function after receiving the first setting signal;
in the same ignition period, when the ESC soft switch control is monitored to be triggered again, a second set signal is output to the ESC system;
and enabling the ESC function by the ESC system after receiving the second set signal.
In at least one possible implementation manner, the control method further includes:
when the ESC soft switch is triggered, the ESC soft switch displays state change and starts timing;
in the timing stage, detecting an execution feedback signal of the ESC system;
if the execution feedback signal is not acquired after the timing is reached, restoring the ESC soft switch display state;
and if the execution feedback signal is acquired before the timing is reached, keeping the changed ESC soft switch display state.
In at least one possible implementation manner, the control method further includes: while the ESC function is disabled, the ESC in the meter is illuminated through the CAN network to turn off the indicator light.
In at least one possible implementation manner, the control method further includes: while the ESC function is enabled, the ESC in the meter is extinguished through the CAN network to turn off the indicator lamp.
In at least one possible implementation manner, the outputting the first setting signal to the ESC system when it is monitored that the ESC soft-switching control is triggered includes:
triggering the ESC soft switch control and simultaneously sending a 1 setting signal;
and after continuously sending 1 setting signals of a plurality of periods, jumping and transposing the signals to 0, and outputting the first setting signal to the ESC system by using a low-pulse analog signal.
In at least one possible implementation manner, the outputting, to the ESC system, the second set signal when it is detected that the ESC soft switching control is triggered again in the same ignition cycle includes:
triggering the ESC soft switch control and simultaneously sending a 1 setting signal;
and after continuously sending 1 setting signals of a plurality of periods, jumping and transposing the signals to 0, and outputting the second setting signal to the ESC system by using a low-pulse analog signal.
The main design concept of the invention is that according to CAN network communication specifications, the ESC soft switches are monitored to be sequentially triggered after being electrified, an analog set signal is sent out in a CAN line analog hard line input mode, and the ESC is controlled to switch the enabling state or the inhibiting state of the ESC function after receiving the set signal. According to the invention, ESC hard wire connection and hardware entity switch are not needed, and the related functions of ESC can be turned off or on only by connecting the original ESC of the vehicle in an idle mode in actual operation, so that the iterative development period of automobile products can be effectively shortened and the development cost of the vehicle can be reduced.
Drawings
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described with reference to the accompanying drawings, in which:
fig. 1 is a flowchart of an ESC soft-switching control method based on a CAN bus according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative only and should not be construed as limiting the invention.
The invention provides an embodiment of an ESC soft switching control method based on a CAN bus, specifically, as shown in fig. 1, the method includes:
step S1, setting the initial state of the ESC system to be on after the vehicle is powered on, and setting the initial state of the ESC soft switch to be off;
step S2, monitoring the triggering condition of the ESC soft switch control;
step S3, when the ESC soft switch control is triggered, outputting a first setting signal to the ESC system;
step S4, after the ESC system receives the first setting signal, the ESC function is forbidden;
step S5, in the same ignition period, when the ESC soft switch control is monitored to be triggered again, a second setting signal is output to the ESC system;
and step S6, enabling the ESC function by the ESC system after receiving the second set signal.
Further, the control method further includes:
when the ESC soft switch is triggered, the ESC soft switch displays state change and starts timing;
in the timing stage, detecting an execution feedback signal of the ESC system;
if the execution feedback signal is not acquired after the timing is reached, restoring the ESC soft switch display state;
and if the execution feedback signal is acquired before the timing is reached, keeping the changed ESC soft switch display state.
Further, an ESC shut off indicator in the meter is illuminated through the CAN network while the ESC function is disabled.
Further, the ESC in the meter turns off the indicator light through the CAN network while the ESC function is enabled.
Further, the outputting a first set signal to the ESC system when it is monitored that the ESC soft-switching control is triggered comprises:
triggering the ESC soft switch control and simultaneously sending a 1 setting signal;
after continuously sending out 1 setting signals of a plurality of periods (for example, continuously sending out 5 periods, one period of 10ms, and the total time being 50ms), the signals are transposed to 0, and the first setting signal is output to the ESC system by a low-pulse analog signal.
Further, in the same ignition cycle, when it is detected that the ESC soft switching control is triggered again, outputting a second set signal to the ESC system includes:
triggering the ESC soft switch control and simultaneously sending a 1 setting signal;
after continuously sending out 1 setting signals of a plurality of periods (for example, continuously sending out 5 periods, one period of 10ms, and the total time being 50ms), the signals are transposed to 0, and the second setting signal is output to the ESC system by a low-pulse analog signal.
In summary, the main design concept of the present invention is to monitor that the ESC soft switches are sequentially triggered after power-on according to the CAN network communication specification, send out an analog set signal in a CAN line analog hard line input manner, and control the ESC to switch the enabling state or the disabling state of the ESC function after receiving the set signal. According to the invention, ESC hard wire connection and hardware entity switch are not needed, and the related functions of ESC can be turned off or on only by connecting the original ESC of the vehicle in an idle mode in actual operation, so that the iterative development period of automobile products can be effectively shortened and the development cost of the vehicle can be reduced.
In the embodiments of the present invention, "at least one" means one or more, "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, and means that there may be three relationships, for example, a and/or B, and may mean that a exists alone, a and B exist simultaneously, and B exists alone. Wherein A and B can be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" and similar expressions refer to any combination of these items, including any combination of singular or plural items. For example, at least one of a, b, and c may represent: a, b, c, a and b, a and c, b and c or a and b and c, wherein a, b and c can be single or multiple.
The structure, features and effects of the present invention have been described in detail with reference to the embodiments shown in the drawings, but the above embodiments are merely preferred embodiments of the present invention, and it should be understood that technical features related to the above embodiments and preferred modes thereof can be reasonably combined and configured into various equivalent schemes by those skilled in the art without departing from and changing the design idea and technical effects of the present invention; therefore, the invention is not limited to the embodiments shown in the drawings, and all the modifications and equivalent embodiments that can be made according to the idea of the invention are within the scope of the invention as long as they are not beyond the spirit of the description and the drawings.
Claims (6)
1. An ESC soft switch control method based on a CAN bus is characterized by comprising the following steps:
setting an initial state of an ESC system to be on after a vehicle is powered on, and setting an initial state of an ESC soft switch to be off;
monitoring the triggering condition of an ESC soft switch control;
when the ESC soft switch control is monitored to be triggered, outputting a first setting signal to an ESC system;
the ESC system forbids the ESC function after receiving the first setting signal;
in the same ignition period, when the ESC soft switch control is monitored to be triggered again, a second set signal is output to the ESC system;
and enabling the ESC function by the ESC system after receiving the second set signal.
2. The CAN-bus based ESC soft-switching control method of claim 1, further comprising:
when the ESC soft switch is triggered, the ESC soft switch displays state change and starts timing;
in the timing stage, detecting an execution feedback signal of the ESC system;
if the execution feedback signal is not acquired after the timing is reached, restoring the ESC soft switch display state;
and if the execution feedback signal is acquired before the timing is reached, keeping the changed ESC soft switch display state.
3. The CAN-bus based ESC soft-switching control method of claim 1, further comprising: while the ESC function is disabled, the ESC in the meter is illuminated through the CAN network to turn off the indicator light.
4. The CAN-bus based ESC soft-switching control method of claim 1, further comprising: while the ESC function is enabled, the ESC in the meter is extinguished through the CAN network to turn off the indicator lamp.
5. The CAN-bus-based ESC soft-switching control method of any one of claims 1 to 4, wherein the outputting a first set signal to the ESC system when the ESC soft-switching control is monitored to be triggered comprises:
triggering the ESC soft switch control and simultaneously sending a 1 setting signal;
and after continuously sending 1 setting signals of a plurality of periods, jumping and transposing the signals to 0, and outputting the first setting signal to the ESC system by using a low-pulse analog signal.
6. The ESC soft switch control method based on the CAN bus of any one of claims 1 to 4, wherein the outputting the second setting signal to the ESC system when the ESC soft switch control is monitored to be triggered again in the same ignition period comprises:
triggering the ESC soft switch control and simultaneously sending a 1 setting signal;
and after continuously sending 1 setting signals of a plurality of periods, jumping and transposing the signals to 0, and outputting the second setting signal to the ESC system by using a low-pulse analog signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111428951.5A CN114137939A (en) | 2021-11-27 | 2021-11-27 | ESC soft switch control method based on CAN bus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111428951.5A CN114137939A (en) | 2021-11-27 | 2021-11-27 | ESC soft switch control method based on CAN bus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114137939A true CN114137939A (en) | 2022-03-04 |
Family
ID=80388508
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111428951.5A Pending CN114137939A (en) | 2021-11-27 | 2021-11-27 | ESC soft switch control method based on CAN bus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114137939A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115268759A (en) * | 2022-06-30 | 2022-11-01 | 重庆长安汽车股份有限公司 | Multiplexing control method and device for steering wheel keys, vehicle and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105824254A (en) * | 2016-03-03 | 2016-08-03 | 谢奇 | Controllable switching device virtualization technology and realization method thereof |
CN106314152A (en) * | 2015-07-03 | 2017-01-11 | Lg电子株式会社 | Driver assistance apparatus and vehicle including the same |
CN106608188A (en) * | 2015-10-22 | 2017-05-03 | 大陆汽车电子(芜湖)有限公司 | Automobile electronic function control method based on virtual switch |
CN108944731A (en) * | 2018-07-20 | 2018-12-07 | 奇瑞汽车股份有限公司 | A kind of control method of vehicle switch |
-
2021
- 2021-11-27 CN CN202111428951.5A patent/CN114137939A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106314152A (en) * | 2015-07-03 | 2017-01-11 | Lg电子株式会社 | Driver assistance apparatus and vehicle including the same |
CN106608188A (en) * | 2015-10-22 | 2017-05-03 | 大陆汽车电子(芜湖)有限公司 | Automobile electronic function control method based on virtual switch |
CN105824254A (en) * | 2016-03-03 | 2016-08-03 | 谢奇 | Controllable switching device virtualization technology and realization method thereof |
CN108944731A (en) * | 2018-07-20 | 2018-12-07 | 奇瑞汽车股份有限公司 | A kind of control method of vehicle switch |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115268759A (en) * | 2022-06-30 | 2022-11-01 | 重庆长安汽车股份有限公司 | Multiplexing control method and device for steering wheel keys, vehicle and storage medium |
CN115268759B (en) * | 2022-06-30 | 2023-05-30 | 重庆长安汽车股份有限公司 | Multiplexing control method and device for steering wheel keys, vehicle and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7917261B2 (en) | System and methods for controlling vehicular functions | |
US11085384B2 (en) | Method and apparatus for protecting clutch in vehicle driving process | |
US10101400B2 (en) | Control method and system of breakdown diagnosis | |
US5922038A (en) | Vehicle-behavior control system with wheel speed failure detection | |
CN105015364A (en) | Driving control method and device of four-wheel electric vehicle | |
CN102756669B (en) | Multiplex control system, transport device with multiplex control system and control method | |
CN114137939A (en) | ESC soft switch control method based on CAN bus | |
CN102442310B (en) | Method and driveline stability control system for a vehicle | |
US20180043876A1 (en) | Brake-by-wire system | |
WO2014152262A1 (en) | Vehicle brake lighting | |
CN210502649U (en) | Electronic parking system | |
KR20210148633A (en) | Electrohydraulic Brake | |
US11110906B2 (en) | Parking brake apparatus for a vehicle | |
CN109532723A (en) | A kind of recognition methods of the trailer-status of automobile, drum test state | |
CN102971172A (en) | System for controlling a torque transfer actuator with multiple modes of operation | |
US10923946B1 (en) | Hybrid backup power supply system | |
US8885304B2 (en) | Drive force distribution control apparatus | |
CN103358914B (en) | Direct current transducer for vehicle is diagnosed | |
US9079577B2 (en) | Method of operating a transmission system of an automotive vehicle of the four-wheel drive type comprising a means of mechanically coupling the first and second axles | |
JP5579103B2 (en) | Control device for idle stop car | |
CN115436861A (en) | Current sensor detection method, device, equipment and storage medium | |
KR20050061126A (en) | Creep torque control method of 4wd hybrid electric vehicle | |
CN110356316A (en) | Car lamp control system | |
CN102107631A (en) | Car bus system and control method for emergency driving | |
KR100721385B1 (en) | Error detection control method of controller for vehicle |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |