CN116877688A - Electronic gear control method, equipment and medium for calibration and debugging - Google Patents

Electronic gear control method, equipment and medium for calibration and debugging Download PDF

Info

Publication number
CN116877688A
CN116877688A CN202310808786.9A CN202310808786A CN116877688A CN 116877688 A CN116877688 A CN 116877688A CN 202310808786 A CN202310808786 A CN 202310808786A CN 116877688 A CN116877688 A CN 116877688A
Authority
CN
China
Prior art keywords
gear
debugging
signal
state
calibration
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.)
Granted
Application number
CN202310808786.9A
Other languages
Chinese (zh)
Other versions
CN116877688B (en
Inventor
李凌志
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Automobile Factory Qingdao Co ltd
Original Assignee
Beijing Automobile Factory Qingdao Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Automobile Factory Qingdao Co ltd filed Critical Beijing Automobile Factory Qingdao Co ltd
Priority to CN202310808786.9A priority Critical patent/CN116877688B/en
Publication of CN116877688A publication Critical patent/CN116877688A/en
Application granted granted Critical
Publication of CN116877688B publication Critical patent/CN116877688B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F16ENGINEERING ELEMENTS AND UNITS; GENERAL MEASURES FOR PRODUCING AND MAINTAINING EFFECTIVE FUNCTIONING OF MACHINES OR INSTALLATIONS; THERMAL INSULATION IN GENERAL
    • F16HGEARING
    • F16H61/00Control functions within control units of change-speed- or reversing-gearings for conveying rotary motion ; Control of exclusively fluid gearing, friction gearing, gearings with endless flexible members or other particular types of gearing
    • F16H61/02Control functions within control units of change-speed- or reversing-gearings for conveying rotary motion ; Control of exclusively fluid gearing, friction gearing, gearings with endless flexible members or other particular types of gearing characterised by the signals used
    • F16H61/0202Control functions within control units of change-speed- or reversing-gearings for conveying rotary motion ; Control of exclusively fluid gearing, friction gearing, gearings with endless flexible members or other particular types of gearing characterised by the signals used the signals being electric
    • F16H61/0204Control functions within control units of change-speed- or reversing-gearings for conveying rotary motion ; Control of exclusively fluid gearing, friction gearing, gearings with endless flexible members or other particular types of gearing characterised by the signals used the signals being electric for gearshift control, e.g. control functions for performing shifting or generation of shift signal
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F16ENGINEERING ELEMENTS AND UNITS; GENERAL MEASURES FOR PRODUCING AND MAINTAINING EFFECTIVE FUNCTIONING OF MACHINES OR INSTALLATIONS; THERMAL INSULATION IN GENERAL
    • F16HGEARING
    • F16H63/00Control outputs from the control unit to change-speed- or reversing-gearings for conveying rotary motion or to other devices than the final output mechanism
    • F16H63/40Control outputs from the control unit to change-speed- or reversing-gearings for conveying rotary motion or to other devices than the final output mechanism comprising signals other than signals for actuating the final output mechanisms

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Control Of Transmission Device (AREA)

Abstract

The embodiment of the specification discloses an electronic gear control method, equipment and medium for calibration and debugging, and relates to the technical field of automobile development, wherein the method comprises the following steps: acquiring a preset whole vehicle calibration and debugging strategy, acquiring a specified gear signal and specified vehicle real-time operation data of a self-return gear under a triggering action corresponding to the calibration and debugging strategy based on the whole vehicle calibration and debugging strategy, transmitting the specified gear signal and the specified vehicle real-time operation data to a whole vehicle controller through CAN communication, and determining current gear state or gear switching abnormal information according to the gear signal and the real-time specified vehicle real-time operation data through gear judgment logic preset by the whole vehicle controller; transmitting the current gear state signal to a self-return gear device, and displaying a corresponding gear through the self-return gear device so as to realize electronic gear control in the calibration and debugging process; or the display component displays the gear switching abnormal information, and the electronic gear control in the calibration and debugging process is realized based on the debugging action of the gear switching abnormal information.

Description

Electronic gear control method, equipment and medium for calibration and debugging
Technical Field
The specification relates to the technical field of automobile development, in particular to an electronic gear control method, equipment and medium for calibration and debugging.
Background
Under the dual requirements of energy conservation and environmental protection, new energy automobiles are generated. Along with the continuous development of new energy automobiles, the cost of parts of the whole automobile is reduced, the development time of the whole automobile is shortened, and the development efficiency of the whole automobile is improved. The whole vehicle controller (vehicle Control Unit, VCU) plays a role of a whole vehicle brain in the whole vehicle, so that the safety risk of the VCU is reduced, the development efficiency of the VCU is improved, the control efficiency of the VCU is improved, and the like are important targets in consideration of the host manufacturer and the VCU developer.
The existing gear control judges a gear signal through a gear device, hard wires are output to a VCU, and the prior art has the following defects: firstly, when a VCU calibrates and debugs a vehicle, a gear supplier needs to be matched and debugged; secondly, aiming at different vehicle types, the configuration and the types of the VCU or the gear are different, so that the wiring harnesses of the different vehicle types are inconsistent, the debugging time is increased, the management difficulty is increased, if the VCU or the gear is replaced by the same vehicle type, the wiring harnesses are required to be replaced or adjusted, and the debugging cost and the management cost are increased. In summary, the existing gear control mode generates a gear signal through a gear device, is limited by the gear device in the calibration and debugging process, has low debugging efficiency, cannot be suitable for the debugging process of various vehicle types, and increases additional debugging cost.
Disclosure of Invention
One or more embodiments of the present disclosure provide an electronic gear control method, apparatus, and medium for calibration and debugging, for solving the following technical problems: the existing gear control mode generates a gear signal through a gear device, is limited by the gear device in the calibration and debugging process, has low debugging efficiency, cannot be suitable for the debugging process of various vehicle types, and increases additional debugging cost.
One or more embodiments of the present disclosure adopt the following technical solutions:
one or more embodiments of the present disclosure provide an electronic gear control method for calibration and debugging, where the method includes: acquiring a preset whole vehicle calibration and debugging strategy, wherein the whole vehicle calibration and debugging strategy comprises any one or more of an misoperation response strategy and a normal operation response strategy; based on the whole vehicle calibration and debugging strategy, acquiring a designated gear signal of a self-return gear under a triggering action corresponding to the calibration and debugging strategy and real-time running data of a designated vehicle, and sending the designated gear signal to a whole vehicle controller through CAN (controller area network) communication, wherein the designated gear signal comprises a stop lever position signal, a gear fault state signal and a locking button state signal; determining current gear state or gear switching abnormal information according to the gear signals and real-time running data of a real-time appointed vehicle through gear judgment logic preset by the whole vehicle controller so as to generate current gear state signals or gear switching abnormal information display instructions corresponding to the current gear state; the current gear state signal is sent to the self-return gear device, and the corresponding gear is displayed through the self-return gear device so as to realize electronic gear control in the calibration and debugging process; or, sending the gear switching abnormal information display instruction to a display assembly, and displaying the gear switching abnormal information through the display assembly so as to acquire debugging actions executed based on the gear switching abnormal information; and based on the debugging action of the gear switching abnormal information, electronic gear control in the calibration debugging process is realized.
Further, based on the whole vehicle calibration and debugging strategy, acquiring a designated gear signal and designated vehicle real-time operation data of the self-return gear under the triggering action corresponding to the calibration and debugging strategy, wherein the method specifically comprises the following steps: determining a debugging action corresponding to the whole vehicle calibration debugging strategy based on the whole vehicle calibration debugging strategy, wherein the debugging action comprises any one or more of a locking button debugging action, an accelerator pedal debugging action, a brake pedal debugging action and a gear selector debugging action; and under the triggering of the debugging action, controlling the whole vehicle to run so as to acquire the designated gear signals acquired by the self-return gear and the real-time running data of the designated vehicle.
Further, before determining the current gear state or the abnormal gear switching information according to the gear signal and the real-time running data of the appointed vehicle through the gear judging logic preset by the whole vehicle controller, the method further comprises: determining a plurality of stop lever positions corresponding to a gear shifter, wherein the stop lever positions comprise five position points; setting a stop lever position signal for each stop lever position according to the appointed sequence of the stop lever positions, wherein the stop lever position signal comprises a first position identification signal, a second position identification signal, a third position identification signal, a fourth position identification signal and a fifth position identification signal; establishing a corresponding relation between the stop lever position signal and a gear of a gear selector, and generating a gear relation mapping table, wherein the first position mark and the second position mark correspond to an R gear, the third position mark corresponds to an N gear, and the fourth position mark and the fifth position mark correspond to a D gear.
Further, determining, by the gear decision logic preset by the vehicle controller, current gear state or gear switching abnormality information according to the gear signal and the specified vehicle real-time operation data, specifically including: acquiring a current stop lever position signal in the gear signals, wherein the current stop lever position comprises an initial stop lever position signal and a plurality of real-time stop lever position signals; judging whether a gear shifting condition is met or not through the gear failure state signal and the locking button state signal in the gear signals; when the gear failure state signal is a failure-free state and the locking button state signal is a locking state, judging that a gear shifting condition is provided; and under the condition of gear shifting conditions, determining current gear state or gear switching abnormal information according to the gear signals and the specified vehicle real-time operation data through gear judging logic preset by the whole vehicle controller.
Further, determining, by the gear decision logic preset by the vehicle controller, current gear state or gear switching abnormality information according to the gear signal and the specified vehicle real-time operation data, specifically including: based on an initial stop lever position signal in the current stop lever position signal, searching a corresponding relation in the gear relation mapping table to determine an initial gear of the whole vehicle, wherein the initial gear of the whole vehicle comprises any one of an R gear, an N gear and a D gear; determining a current gear judgment logic corresponding to the initial gear through the initial gear of the whole vehicle; and determining current gear state or gear switching abnormal information according to a plurality of real-time position signals in the current gear position signals and the real-time running data of the appointed vehicle through the current gear judging logic, wherein the current gear judging logic comprises any one of R gear switching judging logic, N gear switching judging logic and D gear switching judging logic.
Further, determining, by the current gear determination logic, current gear state or gear switching abnormality information according to the plurality of real-time position signals in the current bar position signal and the specified vehicle real-time operation data, specifically includes: when the current gear judgment logic is N gear conversion judgment logic, acquiring identical gear position signals of the real-time gear position signals under continuous frames, continuous frame numbers and brake pedal states and motor rotating speeds in the real-time running data of the vehicle; when the continuous frame number exceeds a preset frame number threshold, the same stop lever position signal is the first position mark or the second position mark, the motor rotating speed is smaller than a preset rotating speed threshold, and the brake pedal state is a designated brake pedal state, setting the current gear state of the whole vehicle controller to be an R gear, wherein the designated brake pedal state is used for representing a state of stepping on a brake pedal; when the continuous frame number exceeds a preset frame number threshold, the same stop lever position signal is the fourth position mark or the fifth position mark, and the brake pedal state is a designated brake pedal state, setting the current gear state of the whole vehicle controller to be a D gear; and when the continuous frame number does not exceed a preset frame number threshold, the brake pedal state is a non-designated brake pedal state or the motor rotating speed is not less than a preset rotating speed threshold, generating gear switching abnormal information, wherein the gear switching abnormal information comprises any one or more of short stop lever residence time, inconsistent gear and driving direction and stepping on a brake pedal.
Further, determining, by the current gear determination logic, current gear state or gear switching abnormality information according to the plurality of real-time position signals in the current bar position signal and the specified vehicle real-time operation data, specifically includes: when the current gear judgment logic is R gear conversion judgment logic, acquiring the plurality of real-time stop lever position signals; judging whether the stop lever position signals corresponding to at least a continuous preset number of frames are the fourth position identification signals or not according to the real-time stop lever position signals, and if yes, setting the current gear state of the whole vehicle controller to be an N gear; if not, judging whether the stop lever position signals corresponding to at least the continuous preset number of frames are all the fifth position identification signals, and if so, judging whether to execute brake pedal judgment logic according to the relation between the motor rotating speed and a preset rotating speed threshold; if the stop lever position signals corresponding to at least the continuous preset number of frames are not satisfied and are the fifth position identification signals, judging whether the stop lever position signals corresponding to at least the continuous preset number of frames are satisfied and are the first position identification signals or the second position identification signals; if the position signal of the stop lever corresponding to at least the continuous preset number of frames is the first position identification signal or the second position identification signal, setting the current gear state of the whole vehicle controller as an R gear; judging whether to execute brake pedal judging logic according to the relation between the motor rotating speed and a preset rotating speed threshold value, and specifically comprising the following steps: executing the brake pedal judging logic when the rotating speed of the motor is smaller than a preset rotating speed threshold value, and setting the current gear state of the whole vehicle controller to be D gear or gear switching abnormal information of stepping on a brake pedal according to the state of the brake pedal through the brake pedal judging logic; and when the rotating speed of the motor is not less than a preset rotating speed threshold value, generating gear switching abnormal information of which the gear is inconsistent with the driving direction.
Further, determining, by the current gear determination logic, current gear state or gear switching abnormality information according to the plurality of real-time position signals in the current bar position signal and the specified vehicle real-time operation data, specifically includes: when the current gear judgment logic is D gear conversion judgment logic, acquiring the plurality of real-time stop lever position signals; judging whether the stop lever position signals corresponding to at least a continuous preset number of frames are all the second position identification signals according to the plurality of real-time stop lever position signals; if yes, setting the current gear state of the whole vehicle controller to be an N gear; if not, judging whether the stop lever position signals corresponding to at least the continuous preset number of frames are all the first position identification signals; if the stop lever position signals corresponding to at least the continuous preset number of frames are the first position identification signals, judging whether to execute a brake pedal judgment logic according to the relation between the motor rotating speed and a preset rotating speed threshold; if the stop lever position signals corresponding to the at least continuous preset number of frames are not satisfied and are the first position identification signals, judging whether the stop lever position signals corresponding to the at least continuous preset number of frames are satisfied and are the fourth position identification signals or the fifth position identification signals; if the position signal of the stop lever corresponding to at least the continuous preset number of frames is the fourth position identification signal or the fifth position identification signal, setting the current gear state of the whole vehicle controller as a D gear; judging whether to execute brake pedal judging logic according to the relation between the motor rotating speed and a preset rotating speed threshold value, and specifically comprising the following steps: executing the brake pedal judging logic when the rotating speed of the motor is smaller than a preset rotating speed threshold value, and setting the current gear state of the whole vehicle controller to be R gear or gear switching abnormal information of stepping on a brake pedal according to the state of the brake pedal through the brake pedal judging logic; and when the rotating speed of the motor is not less than a preset rotating speed threshold value, generating gear switching abnormal information of which the gear is inconsistent with the driving direction.
One or more embodiments of the present specification provide an electronic gear control apparatus for calibration debugging, including:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method described above.
One or more embodiments of the present specification provide a non-volatile computer storage medium storing computer-executable instructions configured to: acquiring a preset whole vehicle calibration and debugging strategy, wherein the whole vehicle calibration and debugging strategy comprises any one or more of an misoperation response strategy and a normal operation response strategy; based on the whole vehicle calibration and debugging strategy, acquiring a designated gear signal of a self-return gear under a triggering action corresponding to the calibration and debugging strategy and real-time running data of a designated vehicle, and sending the designated gear signal to a whole vehicle controller through CAN (controller area network) communication, wherein the designated gear signal comprises a stop lever position signal, a gear fault state signal and a locking button state signal; determining current gear state or gear switching abnormal information according to the gear signals and real-time running data of a real-time appointed vehicle through gear judgment logic preset by the whole vehicle controller so as to generate current gear state signals or gear switching abnormal information display instructions corresponding to the current gear state; the current gear state signal is sent to the self-return gear device, and the corresponding gear is displayed through the self-return gear device so as to realize electronic gear control in the calibration and debugging process; or, sending the gear switching abnormal information display instruction to a display assembly, and displaying the gear switching abnormal information through the display assembly so as to acquire debugging actions executed based on the gear switching abnormal information; and realizing electronic gear control in the calibration and debugging process based on the debugging action of the gear switching abnormal information.
The above-mentioned at least one technical scheme that this description embodiment adopted can reach following beneficial effect: by the technical scheme, the specified gear signals and the specified vehicle real-time running data are collected under the triggering actions corresponding to the whole vehicle calibration and debugging strategies, so that the specified gear signals and the specified vehicle real-time running data can include data under the two conditions of misoperation and normal operation, the scene coverage of debugging is ensured, and the comprehensiveness of the debugging process is improved; the gear state or gear switching abnormal information is determined through the gear judging logic preset by the whole vehicle controller, in the process, a gear signal is not required to be judged by a gear device, the limitation of the gear device in the gear control debugging process is avoided, wiring harnesses are not required to be changed when VCUs or gear devices of different vehicle types are replaced, the management cost is reduced, the VCUs realize gear switching control through simple debugging, and the whole vehicle calibration efficiency is improved; the control related to the VCU is centrally managed by the VCU, so that the control efficiency and safety of the whole vehicle are improved.
Drawings
In order to more clearly illustrate the embodiments of the present description or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some of the embodiments described in the present description, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art. In the drawings:
FIG. 1 is a schematic flow chart of an electronic gear control method for calibration and debugging according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a gear shifting condition judgment logic provided in the embodiment of the present disclosure;
fig. 3 is a schematic flow chart of a N-gear shift determination logic according to an embodiment of the present disclosure;
fig. 4 is a schematic flow chart of a D-range conversion determining logic according to an embodiment of the present disclosure;
FIG. 5 is a flow chart of a R-shift conversion determination logic according to an embodiment of the present disclosure
Fig. 6 is a schematic structural diagram of an electronic gear control device for calibration and debugging according to an embodiment of the present disclosure.
Detailed Description
In order to make the technical solutions in the present specification better understood by those skilled in the art, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only some embodiments of the present specification, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present disclosure.
Under the dual requirements of energy conservation and environmental protection, new energy automobiles are generated. Along with the continuous development of new energy automobiles, the cost of parts of the whole automobile is reduced, the development time of the whole automobile is shortened, and the development efficiency of the whole automobile is improved. The whole vehicle controller (vehicle Control Unit, VCU) plays a role of a whole vehicle brain in the whole vehicle, so that the safety risk of the VCU is reduced, the development efficiency of the VCU is improved, the control efficiency of the VCU is improved, and the like are important targets in consideration of the host manufacturer and the VCU developer.
The existing gear control judges a gear signal through a gear device, hard wires are output to a VCU, and the prior art has the following defects: firstly, when a VCU calibrates and debugs a vehicle, a gear supplier needs to be matched and debugged; secondly, aiming at different vehicle types, the configuration and the types of the VCU or the gear are different, so that the wiring harnesses of the different vehicle types are inconsistent, the debugging time is increased, the management difficulty is increased, if the VCU or the gear is replaced by the same vehicle type, the wiring harnesses are required to be replaced or adjusted, and the debugging cost and the management cost are increased. In summary, the existing gear control mode generates a gear signal through a gear device, is limited by the gear device in the calibration and debugging process, has low debugging efficiency, cannot be suitable for the debugging process of various vehicle types, and increases additional debugging cost.
The embodiment of the specification provides an electronic gear control method for calibration and debugging, and it should be noted that an execution body in the embodiment of the specification may be a server or any device with data processing capability. Fig. 1 is a schematic flow chart of an electronic gear control method for calibration and debugging according to an embodiment of the present disclosure, as shown in fig. 1, mainly including the following steps:
step S101, acquiring a preset whole vehicle calibration and debugging strategy.
The whole vehicle calibration and debugging strategy comprises any one or more of an misoperation response strategy and a normal operation response strategy.
In the development process of the electric automobile, the calibration and debugging of the automobile are related to the normal use of the automobile, and in the debugging stage, in order to ensure the debugging effect, a whole automobile calibration and debugging strategy is preset, wherein the strategy refers to a debugging scheme and comprises various operation actions, such as a gear shifting device, an accelerator pedal and the like, so that the whole automobile is debugged through the operation actions in the whole automobile calibration and debugging strategy. In the debugging process of gear control, multiple types of data such as vehicle running data generated by the debugging actions of a whole vehicle controller and a debugging user are required to be comprehensively analyzed, so that the triggering action under each strategy is generated through the whole vehicle calibration and debugging strategy.
In the control process of the electronic gear, there are two general cases, the first is electronic gear control executed under normal operation, that is, electronic gear control under the condition of no misoperation, that is, the electronic gear control corresponds to a normal operation response strategy, and the gear control under the normal condition is debugged through the operation action in the corresponding normal operation strategy; the second is electronic gear control executed under misoperation, that is, electronic gear control under the influence of misoperation of a user corresponds to an misoperation response strategy, and gear control under the misoperation condition is debugged through operation actions in the misoperation response strategy so as to adapt to various operations in the actual running process of the whole vehicle.
Step S102, based on the whole vehicle calibration and debugging strategy, acquiring a designated gear signal of the self-return gear under the triggering action corresponding to the calibration and debugging strategy and real-time operation data of the designated vehicle, and sending the designated gear signal and the designated vehicle real-time operation data to the whole vehicle controller through CAN communication.
Specifically, in one embodiment of the present disclosure, based on the entire vehicle calibration and debug policy, a specified gear signal of the self-return gear under a trigger action corresponding to the calibration and debug policy and specified vehicle real-time operation data are obtained. And determining a debugging action corresponding to the whole vehicle calibration and debugging strategy through the whole vehicle calibration and debugging strategy. When the whole vehicle calibration debugging strategy is a normal operation response strategy, the locking button debugging action, the accelerator pedal debugging action, the brake pedal debugging action and the gear selector debugging action corresponding to the debugging actions all meet the normal gear shifting operation requirements, and the whole vehicle runs under the triggering of the debugging actions corresponding to the normal gear shifting operation. The designated gear signals acquired by the self-return gear and the designated vehicle real-time running data corresponding to the whole vehicle under the drive of the debugging action are used for acquiring the designated vehicle real-time running data.
When the whole vehicle calibration debugging strategy is a misoperation response strategy, the locking button debugging action, the accelerator pedal debugging action, the brake pedal debugging action and the gear selector debugging action corresponding to the debugging actions comprise at least one misoperation, such as that the locking button is not pressed, the gear selector is shifted to generate smaller displacement and the like. And under the triggering of the debugging action corresponding to the misoperation, the whole vehicle runs. The designated gear signals acquired by the self-return gear and the designated vehicle real-time running data corresponding to the whole vehicle under the drive of the debugging action are used for acquiring the designated vehicle real-time running data.
The debugging actions include pressing a lock button, depressing an accelerator pedal, depressing a brake pedal, and shifting a shifter position, and the designated shifter signal includes a lever position signal, a shifter fault state signal, and a lock button state signal.
Step S103, determining current gear state or gear switching abnormal information according to gear device signals and real-time running data of a real-time designated vehicle through gear judging logic preset by the whole vehicle controller so as to generate current gear state signals or gear switching abnormal information display instructions corresponding to the current gear state.
Specifically, in one embodiment of the present disclosure, a gear decision logic preset by a vehicle controller determines, according to a gear signal and specified vehicle real-time operation data, a plurality of bar positions corresponding to a gear before determining current gear state or gear switching abnormality information, where it is to be noted that the gear in the embodiment of the present disclosure is a self-resetting gear, and may also be referred to as a self-resetting gear, and refers to an electronic gear with an automatic resetting function, where the corresponding bar positions include five position points; setting a stop lever position signal for each stop lever position according to the appointed sequence of a plurality of stop lever positions, wherein the stop lever position signal comprises a first position identification signal, a second position identification signal, a third position identification signal, a fourth position identification signal and a fifth position identification signal; establishing a corresponding relation between a stop lever position signal and a gear of a gear, and generating a gear relation mapping table, wherein the first position mark and the second position mark correspond to an R gear, the third position mark corresponds to an N gear, and the fourth position mark and the fifth position mark correspond to a D gear. For example, the first position identification signal, the second position identification signal, the third position identification signal, the fourth position identification signal and the fifth position identification signal are set to be gsm_levepost=2, gsm_levepost=1, gsm_levepost=0, gsm_levepost=3 and gsm_levepost=4, the gear corresponding to gsm_levepost=0 is the D gear, the corresponding positions pushed forward are gsm_levepost=1 and gsm_levepost=2 in order, the corresponding gear is the R gear, the corresponding positions pushed backward are gsm_levepost=3 and gsm_levepost=4 in order, and the corresponding gear is the D gear.
Specifically, in one embodiment of the present disclosure, the current gear state or gear switching abnormality information is determined according to the gear signal and the specified vehicle real-time operation data by the gear decision logic preset by the vehicle controller.
Acquiring a current stop lever position signal in a gear signal, wherein the current stop lever position comprises an initial stop lever position signal and a plurality of real-time stop lever position signals; the gear is used for uploading the position signal of the stop lever in real time. That is, the current bar position signal is a plurality of position signals, the gear position signal corresponding to the debugging time is taken as the initial bar position signal, after the debugging time, the debugging process is started, that is, the position signal after the initial bar position signal is taken as the real-time bar position signal, for example, the uploading frequency of the position signal of the gear is once per second, and if the bar position is unchanged within three seconds, the bar position signals corresponding to the three seconds are the same.
First, a gear shift condition judgment logic is executed, and fig. 2 is a schematic diagram of a gear shift condition judgment logic provided in the embodiment of the present disclosure, as shown in fig. 2, in the case of a READY state of the whole vehicle, whether a gear shift condition is provided is judged by a gear failure state signal and a lock button state signal in a gear signal. And when the gear failure state signal is in a failure-free state and the lock button state signal is in a lock state, judging that the gear shifting condition is met. The lock button state signal is that the operation corresponding to the lock state is that the user presses the lock button, the lock state may be set to 1, and if the user does not press the lock button, the non-lock state may be set to 0. Under the condition of gear shifting conditions, determining current gear state or gear switching abnormal information according to the gear signals and the specified vehicle real-time operation data through gear judging logic preset by the whole vehicle controller.
Specifically, in one embodiment of the present specification, based on an initial lever position signal in the current lever position signal, performing a correspondence lookup in a gear relationship mapping table, and determining an initial gear of the whole vehicle, where the initial gear of the whole vehicle includes any one of an R gear, an N gear, and a D gear; determining a current gear judgment logic corresponding to an initial gear through the initial gear of the whole vehicle; the current gear determination logic includes any one of an R gear shift determination logic, an N gear shift determination logic, and a D gear shift determination logic. And determining current gear state or gear switching abnormal information according to the plurality of real-time position signals in the current gear position signals and the real-time running data of the appointed vehicle by the current gear judging logic.
Specifically, in one embodiment of the present specification, determining, by the current gear determination logic, current gear state or gear shift abnormality information according to the plurality of real-time position signals in the current bar position signal and the specified vehicle real-time operation data specifically includes: when the current gear judging logic is N gear conversion judging logic, acquiring identical stop lever position signals of the real-time stop lever position signals under continuous frames, continuous frames and brake pedal states and motor rotating speeds in real-time running data of the vehicle; when the continuous frame number exceeds a preset frame number threshold, the same stop lever position signal is the first position mark or the second position mark, the motor rotating speed is smaller than a preset rotating speed threshold, and the brake pedal state is a designated brake pedal state, setting the current gear state of the whole vehicle controller to be an R gear, wherein the designated brake pedal state is used for representing the state of stepping on a brake pedal; when the continuous frame number exceeds a preset frame number threshold, the same stop lever position signal is the fourth position mark or the fifth position mark, and the brake pedal state is a designated brake pedal state, setting the current gear state of the whole vehicle controller to be a D gear; and when the continuous frame number does not exceed a preset frame number threshold, the brake pedal state is a non-designated brake pedal state or the motor rotating speed is not less than a preset rotating speed threshold, generating gear switching abnormal information, wherein the gear switching abnormal information comprises any one or more of short stop lever residence time, inconsistent gear and driving direction and stepping on a brake pedal.
Fig. 3 is a schematic flow chart of an N-gear shift decision logic according to the embodiment of the present disclosure, and is illustrated by taking gsm_level post=2, gsm_level post=1, gsm_level post=0, gsm_level post=3, and gsm_level post=4 as examples of the first position identification signal, the second position identification signal, the third position identification signal, the fourth position identification signal, and the fifth position identification signal, respectively. The input variables comprise a Gear lever current position signal (GSM_Levelpost), a locking button state signal (GSM_gear in_Unlock_Press), a Gear failure state signal (GSM_Fault), a complete vehicle READY state signal (READY), a motor rotating speed, a brake pedal state and the like, and the output variables comprise a current Gear state (VCU_GearsStatus) and Gear switching abnormality information (VCU_IcInformation). As shown in fig. 3, the VCU is in N-range, and when gsm_level post is not equal to 0, it indicates that the lever position is changing at this time, i.e., there is a change in the shifter position. Whether the locking button is pressed or not is judged through the locking button state signal, if the locking button is not pressed, the output gear switching abnormality information is that the Unlock key is requested to be pressed for gear shifting, namely VCU_IcInformation=that the Unlock key is requested to be pressed for gear shifting, and the current operation state can be output by combining the whole vehicle operation data, namely VCU_GearsInvalidShow=normal operation.
If a locking button is pressed, the same stop lever position signals of a plurality of real-time stop lever position signals under continuous frames, continuous frame numbers and the brake pedal state and motor rotating speed in the real-time running data of the vehicle are obtained; as shown in fig. 3, it is determined whether at least three consecutive frames gsm_level post=3or4 are satisfied, and the three frames herein are merely examples and may be set according to the need. If yes, executing judgment that the motor rotation speed is smaller than a preset rotation speed threshold, wherein the preset rotation speed threshold is set to 300rpm, if yes, judging whether a brake stepping action exists according to a brake pedal state, and if yes, outputting vcu_gearinvalidshow=normal operation and vcu_gearstatus=d, namely, the current gear state is a D gear. If the speed is not less than 300rpm, judging whether the target gear is consistent with the current motor rotation direction, outputting VCU_GearsInvalidshow=normal operation and VCU_GearsStatus=D when the target gear is consistent with the current motor rotation direction, namely, outputting VCU_GearsInvalidshow=normal operation and VCU_Icinformation=gear when the target gear is inconsistent with the current motor rotation direction. If there is no brake-on action, vcu_gearinvalidwow=normally operating and vcu_icinfo=brake-on request are output, and the current gear is determined to be N.
If at least three consecutive frames gsm_level post=3or4 are not satisfied, it is determined whether at least three consecutive frames gsm_level post=1or2 are satisfied, if so, it is performed that the motor rotation speed is less than a preset rotation speed threshold, the preset rotation speed threshold is set to 300rpm, if less than 300rpm, it is determined whether there is a brake-stepping action according to the brake pedal state, if there is a brake-stepping action, vcu_gearinvalidshow=normal operation and vcu_gearstatus=r are output, i.e., the current gear state is the R gear. If the speed is not less than 300rpm, judging whether the target gear is consistent with the current motor rotation direction, outputting VCU_GearsInvalidshow=normal operation and VCU_GearsStatus=R when the target gear is consistent, namely, the current gear state is DR gear, and outputting VCU_GearsInvalidshow=normal operation and VCU_Icinformation=gear when the target gear is inconsistent with the current motor rotation direction is inconsistent with the driving direction. If there is no brake-on action, vcu_gearinvalidwow=normally operating and vcu_icinfo=brake-on request are output, and the current gear is determined to be N.
If at least three consecutive frames of gsm_level post=1or2 are not satisfied, judging whether gsm_level post is not equal to F, if so, outputting vcu_gearinvalidshow=operating normally and vcu_icinfo=lever dwell time is short, and determining that the current gear is N-gear. Where F denotes an invalid position, and if gsm_level post +.f is not satisfied, i.e., the current bar position is an invalid position, output vcu_gearinvalidshow =normal operation and
Vcu_icinfo=invalid, i.e., the current gear position is Invalid, and the current gear is determined to be N-range. It should be noted that, in the case where the current gear is N gear, the N gear shift determination logic is continuously executed so as to realize the subsequent gear control.
Determining, by the current gear determination logic, current gear state or gear switching abnormality information according to the plurality of real-time position signals in the current bar position signal and the specified vehicle real-time operation data, specifically including: when the current gear judgment logic is R gear conversion judgment logic, acquiring the plurality of real-time stop lever position signals; judging whether the stop lever position signals corresponding to at least a continuous preset number of frames are the fourth position identification signals or not according to the plurality of real-time stop lever position signals, and if yes, setting the current gear state of the whole vehicle controller to be an N gear; if not, judging whether the stop lever position signals corresponding to at least the continuous preset number of frames are all the fifth position identification signals, and if so, judging whether to execute brake pedal judgment logic according to the relation between the motor rotating speed and a preset rotating speed threshold; if the stop lever position signals corresponding to at least the continuous preset number of frames are not met, judging whether the stop lever position signals corresponding to at least the continuous preset number of frames are met or not as the first position identification signal or the second position identification signal; if the position signal of the stop lever corresponding to at least the continuous preset number of frames is the first position identification signal or the second position identification signal, setting the current gear state of the whole vehicle controller as an R gear; judging whether to execute brake pedal judging logic according to the relation between the motor rotating speed and a preset rotating speed threshold value, and specifically comprising the following steps: executing the brake pedal judging logic when the rotating speed of the motor is smaller than a preset rotating speed threshold value, and setting the current gear state of the whole vehicle controller to be D gear or gear switching abnormal information of stepping on a brake pedal according to the state of the brake pedal through the brake pedal judging logic; and when the rotating speed of the motor is not less than a preset rotating speed threshold value, generating gear switching abnormal information of which the gear is inconsistent with the driving direction.
Fig. 4 is a schematic flow chart of a D-range conversion determining logic according to an embodiment of the present disclosure, and is illustrated by taking gsm_level post=2, gsm_level post=1, gsm_level post=0, gsm_level post=3, and gsm_level post=4 as examples of the first position identification signal, the second position identification signal, the third position identification signal, the fourth position identification signal, and the fifth position identification signal, respectively. As shown in fig. 4, the VCU is in D-range, and when gsm_level post is not equal to 0, it indicates that the lever position is changing at this time, i.e., there is a change in the shifter position. Whether the locking button is pressed or not is judged through the locking button state signal, if the locking button is not pressed, the output gear switching abnormality information is that the Unlock key is requested to be pressed for gear shifting, namely VCU_IcInformation=that the Unlock key is requested to be pressed for gear shifting, the current operation state can be output by combining the whole vehicle operation data, namely VCU_GearsInvalidShow=operation is normal, the current gear state is kept unchanged, and the D gear is still obtained.
If a locking button is pressed, the same stop lever position signals of a plurality of real-time stop lever position signals under continuous frames, continuous frame numbers and the brake pedal state and motor rotating speed in the real-time running data of the vehicle are obtained; as shown in fig. 3, it is determined whether at least three consecutive frames gsm_level post=1 are satisfied, and the three frames herein are only examples and may be set according to the need. If so, vcu_gearstatus=n is output.
If at least three continuous frames gsm_level post=1 are not satisfied, judging whether at least three continuous frames gsm_level post=2 are satisfied, if so, executing the judgment that the motor rotation speed is smaller than a preset rotation speed threshold, setting the preset rotation speed threshold at 300rpm, if so, judging whether a brake stepping action exists according to the brake pedal state, if so, outputting vcu_gearinvalidbow=normal operation and vcu_gearstatus=r, namely, the current gear state is an R gear. If not less than 300rpm, vcu_gearinvalidwow=normally operated and vcu_icinfo=shift position is not consistent with the driving direction, and the current shift position state is set to N-range. If there is no brake-on action, vcu_gearinvalidwow=normally operating and vcu_icinfo=brake-on request are output, and the current gear is determined to be N.
If at least three consecutive frames of gsm_level post=2 are not satisfied, judging whether gsm_level post=3or4 is satisfied, and determining that the current gear is the D gear when gsm_level post=3or4 is satisfied. If the gsm_level post=3or4 is not satisfied, judging whether the gsm_level post is not equal to F, namely, if the current stop lever position is an invalid position, if the gsm_level post is not equal to F, outputting vcu_gearinvalidshow=operating normally and vcu_icinfo=stop lever dwell time is short, and determining that the current gear is the D gear. Here, F represents an Invalid position, and if gsm_level post+.f is not satisfied, that is, the current bar position is the Invalid position, vcu_gearinvalidshow=normal operation and vcu_icinfo=invalid are output, that is, the current gear position is Invalid, and it is determined that the current gear is N-gear. It should be noted that, in the case where the current gear is N gear, the N gear shift determination logic is continuously executed so as to realize the subsequent gear control.
Determining, by the current gear determination logic, current gear state or gear switching abnormality information according to the plurality of real-time position signals in the current bar position signal and the specified vehicle real-time operation data, specifically including: when the current gear judgment logic is D gear conversion judgment logic, acquiring the plurality of real-time stop lever position signals; judging whether the stop lever position signals corresponding to at least the continuous preset number of frames are all the second position identification signals according to the plurality of real-time stop lever position signals; if yes, setting the current gear state of the whole vehicle controller to be an N gear; if not, judging whether the stop lever position signals corresponding to at least the continuous preset number of frames are all the first position identification signals; if the stop lever position signals corresponding to the at least continuous preset number of frames are the first position identification signals, judging whether to execute brake pedal judgment logic according to the relation between the motor rotating speed and a preset rotating speed threshold; if the stop lever position signals corresponding to the at least continuous preset number of frames are not satisfied and are the first position identification signals, judging whether the stop lever position signals corresponding to the at least continuous preset number of frames are satisfied and are the fourth position identification signals or the fifth position identification signals; if the position signal of the stop lever corresponding to at least the continuous preset number of frames is the fourth position identification signal or the fifth position identification signal, setting the current gear state of the whole vehicle controller as a D gear; judging whether to execute brake pedal judging logic according to the relation between the motor rotating speed and a preset rotating speed threshold value, and specifically comprising the following steps: executing the brake pedal judging logic when the rotating speed of the motor is smaller than a preset rotating speed threshold value, and setting the current gear state of the whole vehicle controller to be R gear or gear switching abnormal information of stepping on a brake pedal according to the state of the brake pedal through the brake pedal judging logic; and when the rotating speed of the motor is not less than a preset rotating speed threshold value, generating gear switching abnormal information of which the gear is inconsistent with the driving direction.
Fig. 5 is a schematic flow chart of R shift conversion determining logic provided in the embodiment of the present disclosure, and the first position identification signal, the second position identification signal, the third position identification signal, the fourth position identification signal, and the fifth position identification signal are respectively gsm_levepost=2, gsm_levepost=1, GSM levepost=0, GSM levepost=3, and GSM levepost=4. As shown in fig. 5, the VCU is in R range, and when gsm_level post is not equal to 0, it indicates that the lever position is changing at this time, i.e., there is a change in the shifter position. Whether the locking button is pressed or not is judged through the locking button state signal, if the locking button is not pressed, the output gear switching abnormality information is that the Unlock key is requested to be pressed for gear shifting, namely VCU_IcInformation=that the Unlock key is requested to be pressed for gear shifting, the current operation state can be output by combining the whole vehicle operation data, namely VCU_GearsInvalidShow=operation is normal, the current gear state is kept unchanged, and the R gear is still maintained.
If a locking button is pressed, the same stop lever position signals of a plurality of real-time stop lever position signals under continuous frames, continuous frame numbers and the brake pedal state and motor rotating speed in the real-time running data of the vehicle are obtained; as shown in fig. 3, it is determined whether at least three consecutive frames gsm_level post=3 are satisfied, and the three frames herein are only examples and may be set according to the need. If so, vcu_gearstatus=n is output.
If at least three continuous frames gsm_level post=3 are not satisfied, judging whether at least three continuous frames gsm_level post=4 are satisfied, if so, executing the judgment that the motor rotation speed is smaller than a preset rotation speed threshold, setting the preset rotation speed threshold at 300rpm, if so, judging whether a brake stepping action exists according to the brake pedal state, and if the brake stepping action exists, outputting vcu_gearinvalidbow=normal operation and vcu_gearstatus=d, namely, the current gear state is a D gear. If not less than 300rpm, vcu_gearinvalidwow=normally operated and vcu_icinfo=shift position is not consistent with the driving direction, and the current shift position state is set to N-range. If there is no brake-on action, vcu_gearinvalidwow=normally operating and vcu_icinfo=brake-on request are output, and the current gear is determined to be N.
If at least three consecutive frames of gsm_level post=3 are not satisfied, judging whether gsm_level post=1or2 is satisfied, and determining that the current gear is the R gear when gsm_level post=1or2 is satisfied. If the gsm_level post=1or2 is not satisfied, judging whether the gsm_level post is not equal to F, namely, if the current stop lever position is an invalid position, if the gsm_level post is not equal to F, outputting vcu_gearinvalidshow=normal operation and vcu_icinfo=short stop lever dwell time, and determining the current gear as R gear. Here, F represents an Invalid position, and if gsm_level post+.f is not satisfied, that is, the current bar position is the Invalid position, vcu_gearinvalidshow=normal operation and vcu_icinfo=invalid are output, that is, the current gear position is Invalid, and it is determined that the current gear is N-gear. It should be noted that, in the case where the current gear is N gear, the N gear shift determination logic is continuously executed so as to realize the subsequent gear control.
Step S104, a current gear state signal is sent to the return gear device, and a corresponding gear is displayed through the self-return gear device so as to realize electronic gear control in the calibration and debugging process; or, sending a gear switching abnormal information display instruction to a display assembly, and displaying the gear switching abnormal information through the display assembly so as to acquire debugging actions executed based on the gear switching abnormal information; and (3) based on the debugging action of the gear switching abnormal information, the electronic gear control in the calibration debugging process is realized.
When the output of the gear judging logic is the current gear state signal, the current gear state signal is sent to the return gear device, the gear switching is executed through the whole vehicle controller, and the corresponding gear is displayed through the self-return gear device, so that the electronic gear control in the calibration and debugging process is realized.
When the output of the gear judgment logic is gear switching abnormal information, executing a display instruction for the gear switching abnormal information to be sent to a display assembly, and displaying the gear switching abnormal information through the display assembly so as to acquire debugging actions executed based on the gear switching abnormal information; the gear switching is executed through the whole vehicle controller based on the debugging action of the gear switching abnormal information, and the corresponding gear is displayed through the self-return gear device, so that the electronic gear control of the calibration debugging process is realized, the electronic gear control is sent to the MCU through communication, and the driving motor is controlled to drive the whole vehicle to run, so that the aim of effectively switching the gears is fulfilled.
By the technical scheme, the specified gear signals and the specified vehicle real-time running data are collected under the triggering actions corresponding to the whole vehicle calibration and debugging strategies, so that the specified gear signals and the specified vehicle real-time running data can include data under the two conditions of misoperation and normal operation, the scene coverage of debugging is ensured, and the comprehensiveness of the debugging process is improved; the gear state or gear switching abnormal information is determined through the gear judging logic preset by the whole vehicle controller, in the process, a gear signal is not required to be judged by a gear device, the limitation of the gear device in the gear control debugging process is avoided, wiring harnesses are not required to be changed when VCUs or gear devices of different vehicle types are replaced, the management cost is reduced, the VCUs realize gear switching control through simple debugging, and the whole vehicle calibration efficiency is improved; the control related to the VCU is centrally managed by the VCU, so that the control efficiency and safety of the whole vehicle are improved.
The embodiment of the specification also provides an electronic gear control device for calibration and debugging, as shown in fig. 6, the device includes: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method described above.
The present specification embodiments also provide a non-volatile computer storage medium storing computer-executable instructions configured to:
acquiring a preset whole vehicle calibration and debugging strategy, wherein the whole vehicle calibration and debugging strategy comprises any one or more of an misoperation response strategy and a normal operation response strategy; based on the whole vehicle calibration and debugging strategy, acquiring a designated gear signal of a self-returning gear under a triggering action corresponding to the calibration and debugging strategy and real-time running data of a designated vehicle, and sending the designated gear signal to a whole vehicle controller through CAN (controller area network) communication, wherein the designated gear signal comprises a stop lever position signal, a gear fault state signal and a locking button state signal; determining current gear state or gear switching abnormal information according to the gear signals and real-time operation data of a real-time appointed vehicle through gear judgment logic preset by the whole vehicle controller so as to generate a current gear state signal or gear switching abnormal information display instruction corresponding to the current gear state; the current gear state signal is sent to the self-return gear device, and the corresponding gear is displayed through the self-return gear device, so that electronic gear control in the calibration and debugging process is realized; or, sending the display instruction of the gear switching abnormal information to a display assembly, and displaying the gear switching abnormal information through the display assembly so as to acquire debugging actions executed based on the gear switching abnormal information; and based on the debugging action of the gear switching abnormal information, the electronic gear control in the calibration debugging process is realized.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for apparatus, devices, non-volatile computer storage medium embodiments, the description is relatively simple, as it is substantially similar to method embodiments, with reference to the section of the method embodiments being relevant.
The foregoing describes specific embodiments of the present disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
The devices and media provided in the embodiments of the present disclosure are in one-to-one correspondence with the methods, so that the devices and media also have similar beneficial technical effects as the corresponding methods, and since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices and media are not repeated here.
It will be appreciated by those skilled in the art that embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, the present specification may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present description can take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present description is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the specification. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
The foregoing is merely one or more embodiments of the present description and is not intended to limit the present description. Various modifications and alterations to one or more embodiments of this description will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, or the like, which is within the spirit and principles of one or more embodiments of the present description, is intended to be included within the scope of the claims of the present description.

Claims (10)

1. An electronic gear control method for calibration and debugging, which is characterized by comprising the following steps:
acquiring a preset whole vehicle calibration and debugging strategy, wherein the whole vehicle calibration and debugging strategy comprises any one or more of an misoperation response strategy and a normal operation response strategy;
based on the whole vehicle calibration and debugging strategy, acquiring a designated gear signal of a self-return gear under a triggering action corresponding to the calibration and debugging strategy and real-time running data of a designated vehicle, and sending the designated gear signal to a whole vehicle controller through CAN (controller area network) communication, wherein the designated gear signal comprises a stop lever position signal, a gear fault state signal and a locking button state signal;
determining current gear state or gear switching abnormal information according to the gear signals and real-time running data of a real-time appointed vehicle through gear judgment logic preset by the whole vehicle controller so as to generate current gear state signals or gear switching abnormal information display instructions corresponding to the current gear state;
The current gear state signal is sent to the self-return gear device, and the corresponding gear is displayed through the self-return gear device so as to realize electronic gear control in the calibration and debugging process; or,
the gear switching abnormal information display instruction is sent to a display assembly, and the gear switching abnormal information is displayed through the display assembly so as to acquire debugging actions executed based on the gear switching abnormal information;
and based on the debugging action of the gear switching abnormal information, electronic gear control in the calibration debugging process is realized.
2. The electronic gear control method for calibration and debugging according to claim 1, wherein the method is characterized in that based on the whole vehicle calibration and debugging strategy, the specified gear signal and the specified vehicle real-time running data of the self-return gear under the triggering action corresponding to the calibration and debugging strategy are obtained, and specifically comprises the following steps:
determining a debugging action corresponding to the whole vehicle calibration debugging strategy based on the whole vehicle calibration debugging strategy, wherein the debugging action comprises any one or more of a locking button debugging action, an accelerator pedal debugging action, a brake pedal debugging action and a gear selector debugging action;
And under the triggering of the debugging action, controlling the whole vehicle to run so as to acquire the designated gear signals acquired by the self-return gear and the real-time running data of the designated vehicle.
3. The electronic gear control method for calibration and debugging according to claim 1, wherein before determining the current gear state or gear switching abnormality information according to the gear signal and the specified vehicle real-time operation data by the gear decision logic preset by the whole vehicle controller, the method further comprises:
determining a plurality of stop lever positions corresponding to a gear shifter, wherein the stop lever positions comprise five position points;
setting a stop lever position signal for each stop lever position according to the appointed sequence of the stop lever positions, wherein the stop lever position signal comprises a first position identification signal, a second position identification signal, a third position identification signal, a fourth position identification signal and a fifth position identification signal;
establishing a corresponding relation between the stop lever position signal and a gear of a gear selector, and generating a gear relation mapping table, wherein the first position mark and the second position mark correspond to an R gear, the third position mark corresponds to an N gear, and the fourth position mark and the fifth position mark correspond to a D gear.
4. The electronic gear control method for calibration and debugging according to claim 3, wherein determining, by the gear decision logic preset by the whole vehicle controller, current gear state or gear switching abnormality information according to the gear signal and the specified vehicle real-time operation data specifically comprises:
acquiring a current stop lever position signal in the gear signals, wherein the current stop lever position comprises an initial stop lever position signal and a plurality of real-time stop lever position signals;
judging whether a gear shifting condition is met or not through the gear failure state signal and the locking button state signal in the gear signals;
when the gear failure state signal is a failure-free state and the locking button state signal is a locking state, judging that a gear shifting condition is provided;
and under the condition of gear shifting conditions, determining current gear state or gear switching abnormal information according to the gear signals and the specified vehicle real-time operation data through gear judging logic preset by the whole vehicle controller.
5. The electronic gear control method for calibration and debugging according to claim 4, wherein determining, by the gear decision logic preset by the whole vehicle controller, current gear state or gear switching abnormality information according to the gear signal and the specified vehicle real-time operation data specifically comprises:
Based on an initial stop lever position signal in the current stop lever position signal, searching a corresponding relation in the gear relation mapping table to determine an initial gear of the whole vehicle, wherein the initial gear of the whole vehicle comprises any one of an R gear, an N gear and a D gear;
determining a current gear judgment logic corresponding to the initial gear through the initial gear of the whole vehicle;
and determining current gear state or gear switching abnormal information according to a plurality of real-time position signals in the current gear position signals and the real-time running data of the appointed vehicle through the current gear judging logic, wherein the current gear judging logic comprises any one of R gear switching judging logic, N gear switching judging logic and D gear switching judging logic.
6. The electronic gear control method for calibration and debugging according to claim 5, wherein determining, by the current gear determination logic, current gear state or gear switching abnormality information according to the plurality of real-time position signals in the current bar position signal and the specified vehicle real-time operation data specifically comprises:
when the current gear judgment logic is N gear conversion judgment logic, acquiring identical gear position signals of the real-time gear position signals under continuous frames, continuous frame numbers and brake pedal states and motor rotating speeds in the real-time running data of the vehicle;
When the continuous frame number exceeds a preset frame number threshold, the same stop lever position signal is the first position mark or the second position mark, the motor rotating speed is smaller than a preset rotating speed threshold, and the brake pedal state is a designated brake pedal state, setting the current gear state of the whole vehicle controller to be an R gear, wherein the designated brake pedal state is used for representing a state of stepping on a brake pedal;
when the continuous frame number exceeds a preset frame number threshold, the same stop lever position signal is the fourth position mark or the fifth position mark, and the brake pedal state is a designated brake pedal state, setting the current gear state of the whole vehicle controller to be a D gear;
and when the continuous frame number does not exceed a preset frame number threshold, the brake pedal state is a non-designated brake pedal state or the motor rotating speed is not less than a preset rotating speed threshold, generating gear switching abnormal information, wherein the gear switching abnormal information comprises any one or more of short stop lever residence time, inconsistent gear and driving direction and stepping on a brake pedal.
7. The electronic gear control method for calibration and debugging according to claim 6, wherein determining, by the current gear determination logic, current gear state or gear switching abnormality information according to the plurality of real-time position signals in the current bar position signal and the specified vehicle real-time operation data specifically includes:
When the current gear judgment logic is R gear conversion judgment logic, acquiring the plurality of real-time stop lever position signals;
judging whether the stop lever position signals corresponding to at least a continuous preset number of frames are the fourth position identification signals or not according to the real-time stop lever position signals, and if yes, setting the current gear state of the whole vehicle controller to be an N gear;
if not, judging whether the stop lever position signals corresponding to at least the continuous preset number of frames are all the fifth position identification signals, and if so, judging whether to execute brake pedal judgment logic according to the relation between the motor rotating speed and a preset rotating speed threshold;
if the stop lever position signals corresponding to at least the continuous preset number of frames are not satisfied and are the fifth position identification signals, judging whether the stop lever position signals corresponding to at least the continuous preset number of frames are satisfied and are the first position identification signals or the second position identification signals;
if the position signal of the stop lever corresponding to at least the continuous preset number of frames is the first position identification signal or the second position identification signal, setting the current gear state of the whole vehicle controller as an R gear;
Judging whether to execute brake pedal judging logic according to the relation between the motor rotating speed and a preset rotating speed threshold value, and specifically comprising the following steps:
executing the brake pedal judging logic when the rotating speed of the motor is smaller than a preset rotating speed threshold value, and setting the current gear state of the whole vehicle controller to be D gear or gear switching abnormal information of stepping on a brake pedal according to the state of the brake pedal through the brake pedal judging logic;
and when the rotating speed of the motor is not less than a preset rotating speed threshold value, generating gear switching abnormal information of which the gear is inconsistent with the driving direction.
8. The electronic gear control method for calibration and debugging according to claim 7, wherein determining, by the current gear determination logic, current gear state or gear switching abnormality information according to the plurality of real-time position signals in the current bar position signal and the specified vehicle real-time operation data specifically includes:
when the current gear judgment logic is D gear conversion judgment logic, acquiring the plurality of real-time stop lever position signals;
judging whether the stop lever position signals corresponding to at least a continuous preset number of frames are all the second position identification signals according to the plurality of real-time stop lever position signals;
If yes, setting the current gear state of the whole vehicle controller to be an N gear; if not, judging whether the stop lever position signals corresponding to at least the continuous preset number of frames are all the first position identification signals;
if the stop lever position signals corresponding to at least the continuous preset number of frames are the first position identification signals, judging whether to execute a brake pedal judgment logic according to the relation between the motor rotating speed and a preset rotating speed threshold;
if the stop lever position signals corresponding to the at least continuous preset number of frames are not satisfied and are the first position identification signals, judging whether the stop lever position signals corresponding to the at least continuous preset number of frames are satisfied and are the fourth position identification signals or the fifth position identification signals;
if the position signal of the stop lever corresponding to at least the continuous preset number of frames is the fourth position identification signal or the fifth position identification signal, setting the current gear state of the whole vehicle controller as a D gear;
judging whether to execute brake pedal judging logic according to the relation between the motor rotating speed and a preset rotating speed threshold value, and specifically comprising the following steps:
executing the brake pedal judging logic when the rotating speed of the motor is smaller than a preset rotating speed threshold value, and setting the current gear state of the whole vehicle controller to be R gear or gear switching abnormal information of stepping on a brake pedal according to the state of the brake pedal through the brake pedal judging logic;
And when the rotating speed of the motor is not less than a preset rotating speed threshold value, generating gear switching abnormal information of which the gear is inconsistent with the driving direction.
9. An electronic gear control device for calibration and debugging, the device comprising:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of claims 1-8.
10. A non-transitory computer storage medium storing computer-executable instructions, the computer-executable instructions configured to:
acquiring a preset whole vehicle calibration and debugging strategy, wherein the whole vehicle calibration and debugging strategy comprises any one or more of an misoperation response strategy and a normal operation response strategy;
based on the whole vehicle calibration and debugging strategy, acquiring a designated gear signal of a self-return gear under a triggering action corresponding to the calibration and debugging strategy and real-time running data of a designated vehicle, and sending the designated gear signal to a whole vehicle controller through CAN (controller area network) communication, wherein the designated gear signal comprises a stop lever position signal, a gear fault state signal and a locking button state signal;
Determining current gear state or gear switching abnormal information according to the gear signals and real-time running data of a real-time appointed vehicle through gear judgment logic preset by the whole vehicle controller so as to generate current gear state signals or gear switching abnormal information display instructions corresponding to the current gear state;
the current gear state signal is sent to the self-return gear device, and the corresponding gear is displayed through the self-return gear device so as to realize electronic gear control in the calibration and debugging process; or,
the gear switching abnormal information display instruction is sent to a display assembly, and the gear switching abnormal information is displayed through the display assembly so as to acquire debugging actions executed based on the gear switching abnormal information;
and based on the debugging action of the gear switching abnormal information, electronic gear control in the calibration debugging process is realized.
CN202310808786.9A 2023-07-04 2023-07-04 Electronic gear control method, equipment and medium for calibration and debugging Active CN116877688B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310808786.9A CN116877688B (en) 2023-07-04 2023-07-04 Electronic gear control method, equipment and medium for calibration and debugging

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310808786.9A CN116877688B (en) 2023-07-04 2023-07-04 Electronic gear control method, equipment and medium for calibration and debugging

Publications (2)

Publication Number Publication Date
CN116877688A true CN116877688A (en) 2023-10-13
CN116877688B CN116877688B (en) 2024-05-31

Family

ID=88261422

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310808786.9A Active CN116877688B (en) 2023-07-04 2023-07-04 Electronic gear control method, equipment and medium for calibration and debugging

Country Status (1)

Country Link
CN (1) CN116877688B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111677852A (en) * 2020-05-08 2020-09-18 中国北方车辆研究所 Real-vehicle calibration method for gear position parameter threshold of electronic control hydraulic AMT (automated mechanical transmission)
CN113464644A (en) * 2021-06-24 2021-10-01 三一重型装备有限公司 Gearbox gear calibration system, vehicle and gearbox gear calibration method
CN114670665A (en) * 2021-05-21 2022-06-28 北京新能源汽车股份有限公司 Vehicle control method, device, control equipment and automobile
KR20220135112A (en) * 2021-03-29 2022-10-06 주식회사 현대케피코 Shift position learning methods and device of shift by wire system
CN115773363A (en) * 2022-11-17 2023-03-10 中国第一汽车股份有限公司 Gear self-learning method and device based on electronic gear shifting, vehicle and medium
KR20230094552A (en) * 2021-12-21 2023-06-28 주식회사 현대케피코 A method and apparatus for diagnosing a failure when learning a shift-by-wire system shift position

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111677852A (en) * 2020-05-08 2020-09-18 中国北方车辆研究所 Real-vehicle calibration method for gear position parameter threshold of electronic control hydraulic AMT (automated mechanical transmission)
KR20220135112A (en) * 2021-03-29 2022-10-06 주식회사 현대케피코 Shift position learning methods and device of shift by wire system
CN114670665A (en) * 2021-05-21 2022-06-28 北京新能源汽车股份有限公司 Vehicle control method, device, control equipment and automobile
CN113464644A (en) * 2021-06-24 2021-10-01 三一重型装备有限公司 Gearbox gear calibration system, vehicle and gearbox gear calibration method
KR20230094552A (en) * 2021-12-21 2023-06-28 주식회사 현대케피코 A method and apparatus for diagnosing a failure when learning a shift-by-wire system shift position
CN115773363A (en) * 2022-11-17 2023-03-10 中国第一汽车股份有限公司 Gear self-learning method and device based on electronic gear shifting, vehicle and medium

Also Published As

Publication number Publication date
CN116877688B (en) 2024-05-31

Similar Documents

Publication Publication Date Title
DE102016206663B4 (en) Failure determination system and method for a button-type switching device
DE19622935A1 (en) Fault compensating gear control method for torque distribution gear
CN109469727B (en) Vehicle shift control method, vehicle, and computer-readable storage medium
CN111664245B (en) Vehicle gear shifting control method and device, central control device, electronic equipment and medium
CN115143209B (en) Vehicle clutch self-learning method, device, equipment, medium and vehicle
CN111376733A (en) Vehicle control method and device
CN116877688B (en) Electronic gear control method, equipment and medium for calibration and debugging
CN104837703A (en) Method and device for managing stopping and restarting of motor vehicle engine and motor vehicle engine including such device
CN111381578B (en) Whole vehicle controller operation method, system and electronic control unit
JP6378295B2 (en) Vehicle and shift range control device
CN110985660B (en) Gear control method, gear control device and gear control medium
CN115899236A (en) Control method, processor and system for gear shifting of transfer case
CN110043656B (en) Automobile gear shifting method, whole automobile controller, automobile and storage medium
CN111059275B (en) Vehicle gear switching method and device, computer equipment and storage medium
CN115111359A (en) Control method and device for new energy vehicle gearbox, vehicle and storage medium
CN113483091A (en) Control method and system based on monostable knob type gear
CN113071484A (en) Gear control method and device and electronic equipment
KR102670280B1 (en) Monitoring method and device for determining gear stick position, finished vehicle controller, and vehicle
CN111791719B (en) P-gear parking control method for vehicle, electronic equipment and storage medium
CN116150771B (en) Redundancy processing device, redundancy processing method, redundancy processing system and intelligent vehicle
CN118030832A (en) Gear monitoring method and device, electronic equipment and vehicle
CN115839410B (en) Safety detection method and device for electronic gear shifting control, vehicle and medium
CN117028555A (en) Gear control method and device for vehicle
CN112776805B (en) Method and device for controlling vehicle driving and vehicle
CN116221387A (en) Gear shifting hub self-learning method and device, storage medium and control equipment

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
GR01 Patent grant
GR01 Patent grant