An automatic correction control method for gear learning position of electric drive bridge

By updating the cumulative effective gear engagement count in the electric drive axle and redetermining the mechanical limit position, the problem of gear position deviation caused by wear was solved, improving the accuracy and reliability of gear shifting.

CN123110352APending Publication Date: 2026-11-17HENAN XI RE ENERGY AUTOMOBILE CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611445281.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-17
Publication Date
2026-11-17

AI Technical Summary

Technical Problem

During long-term use, wear on the shifting position of the electric drive axle can cause shifting position deviation, resulting in inaccurate shifting and reduced reliability.

Method used

By acquiring the current shift execution information of the electric drive axle, the cumulative number of valid gear engagements is updated. When the preset threshold number is reached, the shift actuator is driven to move to the mechanical limit position, and the reference position of the target gear is redefined and corrected.

Benefits of technology

It improves the accuracy and reliability of the electric drive axle shift position control and reduces gear position deviation caused by wear.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123110352A_ABST
    Figure CN123110352A_ABST
Patent Text Reader

Abstract

This application discloses an automatic correction control method for the gear learning position of an electric drive axle. The method updates the corresponding cumulative effective gear engagement count after the target gear is successfully engaged and the state is stable. When the correction initiation conditions are met, the shift actuator is controlled to move along the direction corresponding to the target gear, and a mechanical limit position is determined based on position feedback. A target reference position is determined based on the mechanical limit position, and the reference position parameters of the target gear are corrected accordingly. After correction, the corresponding cumulative effective gear engagement count is reset. This application can automatically update the gear reference position according to the actual gear usage, reducing position offset caused by long-term use and improving the accuracy and reliability of shift control.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle electric drive axle shift control technology, specifically to an automatic correction control method for the gear learning position of an electric drive axle. Background Technology

[0002] The electric drive axle is a crucial component in new energy vehicles, used for power transmission and vehicle propulsion. For electric drive axles with multiple gears, the vehicle needs a shifting mechanism to move components such as shift forks during operation, switching the transmission to the corresponding gear. To ensure accurate gear shifting, the shift positions corresponding to different gears are typically predetermined, and the corresponding position data is stored in a controller for controlling the movement of the shifting mechanism during subsequent gear shifts.

[0003] However, currently, the shift positions of electric drive axles are typically learned during vehicle production or relearned by maintenance personnel via computer or manual operation after a shifting malfunction occurs. Due to continuous wear and tear on the shifting mechanism during long-term vehicle use, the original shift position data may gradually deviate from the actual required shift positions. Over time, this can lead to issues such as incomplete shifting, shifting failures, or disengagement during driving, resulting in reduced shifting reliability of the electric drive axle. Summary of the Invention

[0004] This application provides an automatic correction control method for the gear learning position of an electric drive axle, which can reduce gear position deviations generated during long-term use and improve the accuracy and reliability of gear shifting position control of the electric drive axle.

[0005] This application provides an embodiment of an automatic correction control method for the gear learning position of an electric drive axle, including:

[0006] Obtain the current gear shift execution information of the electric drive axle. The current gear shift execution information includes the target gear corresponding to the current gear shift action, the gear shift execution result, and the gear status. Each gear of the electric drive axle corresponds to a cumulative number of valid gear engagements.

[0007] When the gear shift execution result indicates that the current gear shift action is completed and the target gear is successfully entered, and the gear state is stable, the cumulative effective gear shift count corresponding to the target gear is updated to obtain the target cumulative gear shift count;

[0008] When the target cumulative number of gear shifts reaches the preset threshold, the shift actuator is controlled to drive the shift actuator to move along the shift direction corresponding to the target gear until the mechanical limit position of the shift actuator is determined.

[0009] Determine the target reference position for the target gear based on the mechanical limit position;

[0010] Based on the target reference position, the reference position parameters of the target gear are corrected. The reference position parameters represent the target position that the shift actuator needs to reach when it completes the shifting action of the corresponding gear.

[0011] This application also provides an electronic device, including a processor and a memory, wherein the memory stores multiple instructions; the processor loads instructions from the memory to execute the steps in any of the automatic correction control methods for learning the gear position of an electric drive axle provided in this application.

[0012] This application also provides a computer-readable storage medium storing multiple instructions adapted for loading by a processor to execute steps in any of the electric drive axle gear learning position automatic correction control methods provided in this application.

[0013] This application also provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the steps in any of the electric drive axle gear learning position automatic correction control methods provided in this application.

[0014] In this application, after the current gear shift is completed, the target gear is successfully engaged, and the gear position is stable, the cumulative effective gear engagement count corresponding to the target gear is updated so that the cumulative result can reflect the continuous use of the target gear in actual operation. When the target cumulative gear engagement count reaches a preset threshold, the drive shift actuator moves along the engagement direction corresponding to the target gear to redetermine the mechanical limit position in the current state, and based on this, determines the target reference position, correcting the original reference position parameters of the target gear. Since the corrected reference position parameters can adapt to the current mechanical position state of the shift actuator, the gear position deviation generated during long-term use can be reduced. This improves the accuracy and reliability of the electric drive axle shift position control. Attached Figure Description

[0015] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0016] Figure 1 This is a flowchart illustrating the automatic correction control method for the gear learning position of the electric drive bridge provided in an embodiment of this application.

[0017] Figure 2 This is a flowchart illustrating the gear shift count statistics provided in an embodiment of this application;

[0018] Figure 3 This is a flowchart of the H-bridge drive control logic for the gear shifting motor provided in an embodiment of this application;

[0019] Figure 4 This is a schematic diagram of the overall process of the automatic gear correction control method provided in the embodiments of this application. Detailed Implementation

[0020] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0021] This application provides an embodiment of an automatic correction control method for the gear learning position of an electric drive bridge.

[0022] The automatic gear position correction control method for the electric drive axle can be executed by the electric drive axle shift controller. The electric drive axle shift controller can be integrated into the vehicle's transmission control unit or function as a standalone controller communicating with the vehicle controller. The vehicle controller sends a shift request to the electric drive axle shift controller, which controls the shift action based on the request and performs gear position correction according to the triggering conditions after normal gear engagement.

[0023] In some embodiments, the electric drive axle shift controller includes a main control processor, a memory, a drive control interface, and a position signal acquisition circuit. The main control processor controls the shifting action through the drive control interface, acquires position feedback during the shifting process through the position signal acquisition circuit, and calls the program and data in the memory to perform shift count statistics and gear position correction. These components can be housed within the same controller or implemented through multiple electrically connected circuit units.

[0024] In the embodiments of this application, the terms "module" or "unit" refer to a computer program, a part of a computer program, a hardware processing circuit, or a combination thereof that has a predetermined function. A processor can implement multiple modules or units, and multiple modules or units can also pass processing results through shared storage space or interface calls.

[0025] The following sections provide detailed explanations. It should be noted that the sequence numbers of the following embodiments are not intended to limit the preferred order of the embodiments. The specific numerical values ​​and examples for a particular target gear are used to illustrate the data processing and control process and do not constitute a limitation on the number of applicable gears, the specific settings of each gear, the position values, or the values ​​of the control parameters.

[0026] In some embodiments, when a vehicle rolls off the production line, when the shift actuator is put into use for the first time, or when the initial gear reference needs to be re-established, the controller can first perform gear self-learning. Specifically, for each gear that requires gear position control, the controller controls the shift actuator to move according to the corresponding shift direction, so that the shift actuator reaches the corresponding mechanical limit position, and obtains the position feedback output by the position signal acquisition circuit; the confirmed mechanical limit position or the position value determined based on the mechanical limit position is used as the initial reference position parameter of the corresponding gear and saved to the non-volatile storage unit. The initial reference position parameters of each gear are stored separately to avoid the position parameters of one gear overwriting the position parameters of other gears.

[0027] After successful gear self-learning and saving of the initial reference position parameters, the cumulative effective gear engagement count for the corresponding gear can be initialized to zero, with this moment serving as the starting point for the first counting cycle of that gear. If the self-learning of a gear fails to complete successfully or the reference position parameters are not successfully saved, that gear will not be marked as having completed initial learning, nor will subsequent position correction cycles based on the cumulative effective gear engagement count be initiated. The aforementioned initial self-learning is used to establish the initial position reference for subsequent online automatic correction and does not limit the electric drive axle to have a specific number of gears.

[0028] In this embodiment, an automatic correction control method for the gear learning position of an electric drive axle is provided, such as... Figure 1 As shown, the specific flow of this automatic correction control method for the gear learning position of the electric drive axle can be as follows:

[0029] S101. Obtain the current gear shift execution information of the electric drive axle. The current gear shift execution information includes the target gear corresponding to the current gear shift action, the gear shift execution result, and the gear status. Each gear of the electric drive axle corresponds to a cumulative number of valid gear engagements.

[0030] The electric drive axle refers to a vehicle component that combines electric drive with the power transmission function of a vehicle drive axle. In this embodiment, the electric drive axle has multiple gears that can be switched via gear shifting actions, each gear corresponding to a specific transmission state. The number and specific settings of these gears can be determined based on the mechanical structure and shifting control requirements of the electric drive axle. For any gear that requires engagement position control and is configured with a corresponding reference position parameter, the effective engagement count and gear position correction can be independently performed according to the method described in this embodiment.

[0031] The current shift action refers to a shift process organized and executed by the electric drive axle shift controller in response to the currently received shift request, including the process of performing the shift operation and confirming the shift result.

[0032] The target gear refers to the gear that needs to be engaged in this gear shift process, and the same gear correspondence is maintained in this counting and correction process.

[0033] Current shift execution information refers to a set of execution feedback data corresponding to the current shift action. The target gear, shift execution result, and gear status can be recorded together according to the same shift action to avoid mixing feedback data from different shift actions.

[0034] The gear shift execution result refers to data used to characterize the progress and completion status of the current gear shift action. This can include results such as the action is in progress, the action is complete and gear engagement is successful, gear engagement failed, the shift was canceled midway, or the shift timeout occurred. The controller can read this result from the gear shift state machine, which manages the gear shift process according to the shift stages and corresponding transition conditions.

[0035] Gear status refers to the current gear engaged in the electric drive axle and the status of maintaining that gear, which can be determined based on existing gear engagement status feedback and position feedback.

[0036] A stable state refers to a state where the current gear shift has successfully entered the target gear, and the corresponding gear remains in the established state during the state confirmation period. The state confirmation period is a continuous observation period used in normal gear shift control to confirm the gear engagement result, and it can be calibrated based on the fluctuations in the action time and position feedback of the gear shift mechanism.

[0037] The cumulative number of valid gear engagements refers to the total number of gear engagements that meet the valid engagement conditions since the start of the counting cycle for the corresponding gear. The start of the counting cycle can be the moment when the initial gear self-learning is successfully completed, or the moment when the corresponding gear's last position correction is successful and the count is reset. Each gear uses its own cumulative result; a valid gear engagement in one gear will not increase the cumulative result of other gears.

[0038] Specifically, when executing a normal gear shift, the controller first records the target gear requested in the shift request, and then reads the execution result associated with this action from the shift state machine. After the normal shift procedure confirms that the action is complete and the target gear has been entered, the controller continues to read the status feedback of the target gear to form the current shift execution information for this action. Receiving a shift request or merely starting to drive the shift action cannot be considered as evidence that the action has been successfully completed.

[0039] For example, when a shift request instructs the electric drive axle to switch from its current gear to a target gear among multiple switchable gears, the controller records the target gear. Before the shift action is completed, the execution result is "Action in Progress"; after the action ends and it is confirmed that the target gear has been engaged, the execution result is updated to "Action Completed and Gear Engagement Successful." If the target gear remains in place during the status confirmation period, the gear status is considered stable, and the controller provides this set of feedback data to subsequent counting processing.

[0040] The stable state of normal gear engagement is used to confirm that the current gear shift can be counted, while the subsequent determination of the mechanical limit position is used to determine the position on which the correction is based. The two correspond to different processing stages, and it cannot be directly assumed that the mechanical limit position for this correction has been obtained just because the current gear engagement state is stable.

[0041] In this way, the target gear, execution result, and status information associated with the same gear shift action can be obtained, providing a data basis for counting the number of effective gear shifts by gear.

[0042] S102. When the gear shift execution result indicates that the current gear shift action is completed and the target gear is successfully entered, and the gear state is stable, the cumulative effective gear shift count corresponding to the target gear is updated to obtain the target cumulative gear shift count.

[0043] The target cumulative number of gear shifts refers to the number of times the cumulative effective gear shifts for the target gear are updated after confirming that the current gear shifting action is completed, the target gear is successfully engaged, and the gear status is stable. This number of times includes the effective gear shifts of this time.

[0044] In some embodiments, to ensure that each valid gear engagement corresponds to one increment of the count, the cumulative number of valid gear engagements corresponding to the target gear is updated to obtain the target cumulative number of gear engagements, including:

[0045] Get the historical cumulative number of gear shifts corresponding to the target gear;

[0046] Based on the current gear shift action, the historical cumulative number of gear shifts is counted and accumulated to obtain the target cumulative number of gear shifts.

[0047] The historical cumulative gear engagement count refers to the number of valid gear engagements accumulated for the target gear before the current gear shift is counted. This count can come from the count value retained during the current operation of the controller, or from the historical count value restored upon power-on.

[0048] Accumulated counting refers to adding the current gear shift that meets the valid gear shifting conditions to the count, based on the historical cumulative number of gear shifts. Within a counting cycle, the same gear shift only increases the count for the target gear by one.

[0049] Specifically, the controller updates the count when the current shift action first meets the valid engagement condition and records that the action has been counted. After the shift action is counted, if the corresponding gear remains stable in subsequent control cycles, the updated count value is retained, and the shift action is not counted again. The counting is then performed again for the new shift action after the next shift action begins. This avoids the same shift action being repeatedly counted in the cumulative valid engagement count while the gear is stable.

[0050] In one specific implementation, the count update for the target gear can be represented as:

[0051] ;

[0052] In the formula, Indicator for the target gear; This refers to the historical cumulative number of gear shifts for this target gear. The target cumulative number of gear shifts obtained in this update; subscript and These represent the values ​​before and after the update, respectively. The unit of counting is counts, and the increment in the formula corresponds to the gear shift action that meets the valid gear engagement condition in this update.

[0053] For example, a target gear has a historical cumulative number of gear engagements of 4999, while other gears retain their respective historical cumulative engagement counts. Once the current gear shift successfully engages the target gear and the gear position stabilizes, the target cumulative engagement count for that gear is updated to 5000, while the cumulative engagement counts for other gears remain unchanged. After this gear shift is completed, even if the target gear remains stable, the cumulative valid engagement count will not be increased based on this single gear shift.

[0054] In this way, the cumulative results of each gear position can correspond to the actual effective gear shifting actions, reducing the impact of other gear shift actions and repeated counting of the same gear shift action during the stable holding period on the cumulative results.

[0055] In some embodiments, in order to ensure that the number of gear shifts before and after a vehicle power outage can be continuously counted, after counting and accumulating the historical cumulative number of gear shifts based on the current gear shift action to obtain the target cumulative number of gear shifts, the method further includes:

[0056] Store the target's cumulative number of gear engagements to a non-volatile memory unit;

[0057] After the electric drive bridge is powered on again, the historical cumulative number of gear engagements for each gear is obtained from the non-volatile memory unit, and the cumulative effective number of gear engagements for each gear is accumulated based on the historical cumulative number of gear engagements for each gear.

[0058] Non-volatile memory cells refer to storage components that retain written data even after power is cut off. For example, non-volatile memory cells can be electrically erasable programmable read-only memory (EEPROM).

[0059] Power-on refers to the restoration of power to the electric drive bridge shift controller after a power outage, and its entry into the initialization process. The historical cumulative number of gear engagements for each gear is the number of times the corresponding gear counter is read from the non-volatile memory unit and restored during this initialization process.

[0060] Specifically, the controller assigns a corresponding storage location to each gear position, or distinguishes the counting records of different gear positions by a gear position identifier. After each valid gear engagement count update, the target cumulative gear engagement count for this update is written to the counting record corresponding to the target gear position, while the counting records for other gear positions retain their original values. When power is restored, before starting the normal gear shift counting for the current round, the controller first reads the stored counts for each gear position and uses them as the initial count values ​​for each gear position.

[0061] For example, after a target gear has been accumulated to 4200 times, the count is stored, and the vehicle is then powered off. Upon power-up, the controller restores the count for that target gear to 4200 times; when a subsequent gear shift successfully engages that target gear and the gear position is stable, the count is updated to 4201 times. Power-up itself does not reset the count, nor does it count as a valid gear engagement.

[0062] See Figure 2 , Figure 2 The process for calculating gear shift counts is shown. For any target gear among multiple gears, the controller first reads the historical cumulative gear shift count corresponding to that target gear from the non-volatile memory unit. When a gear shift is fully executed, successfully entering the target gear and the gear status is stable, the cumulative valid gear shift count for that target gear is incremented by one, and the updated count is written to the corresponding storage record. If the gear shift fails, is canceled midway, times out, or the gear status is not yet confirmed to be stable, the original cumulative count is maintained. After the vehicle is powered off, the count already written to the non-volatile memory unit remains unchanged; after power is restored, the controller reads the corresponding historical count and continues the accumulation. Figure 2 The statistical branches shown for a single target gear can be applied to other gears of the electric drive axle, and the counting records for each gear are independent of each other.

[0063] Furthermore, Figure 2The count reset node corresponds to the successfully completed position update process. For gear self-learning triggered by host computer commands or local manual methods, the cumulative valid gear engagement count can be reset after successful self-learning and completion of the corresponding position update; for the automatic gear position correction of this application, the cumulative valid gear engagement count can be reset after the reference position parameters of the corresponding gear have been updated according to the target reference position determined this time. Simply receiving a self-learning command, starting correction, or stopping pulse width modulation (PWM) drive is not directly equivalent to count reset; the reset cumulative valid gear engagement count and the updated reference position parameters are saved according to the corresponding storage process, so that the new counting cycle corresponds to the new gear reference position.

[0064] In this way, the counting of each gear can be maintained between multiple power-on and power-off cycles, avoiding the mistaken use of the number of gear shifts during a single power-on period as the cumulative number of shifts for the entire counting cycle.

[0065] In some embodiments, when the gear shifting operation results in a failed shift, mid-shift cancellation, or shifting timeout, or when the gear position has not yet been confirmed to be stable, the controller does not increment the count for this shift and maintains the original cumulative number of valid gear shifts for the target gear. If a subsequent gear shifting action is executed again and the valid gear shifting conditions are met, then the count for this new action is incremented.

[0066] In some embodiments, the controller can perform self-learning for each gear during vehicle initial calibration and initialize the corresponding gear count to zero upon successful self-learning. During maintenance, after successful completion and updating of the corresponding gear position via a host computer command or local manual method, the corresponding gear count can also be cleared and saved. The original count is not cleared only upon receiving a self-learning command or if self-learning fails to complete.

[0067] The cumulative number of valid gear engagements is used to characterize the number of times the corresponding gear has been used effectively within the current counting cycle, and serves as a basis for determining the timing of subsequent corrections. This statistic does not imply that failed actions do not cause any mechanical wear, nor does it mean that resetting the count can eliminate physical wear that has already occurred.

[0068] In this way, a clear target cumulative number of gear engagements can be formed after confirming a valid gear engagement, and this number can be correlated with the position correction cycle of the corresponding gear.

[0069] S103. When the target cumulative number of gear shifts reaches the preset threshold, control the gear shifting actuator to drive the gear shifting actuator to move along the gear shifting direction corresponding to the target gear until the mechanical limit position of the gear shifting actuator is determined.

[0070] The preset threshold number refers to the limit of the effective number of gear engagements set before the correction trigger judgment is executed. This threshold can be calibrated based on the durability test of the corresponding electric drive axle's shifting mechanism, the change of gear position with the number of uses, and the allowable position deviation, and stored in the controller for recall after the count is updated. Different gears can use the same threshold, or they can be set separately according to the usage of their respective mechanisms.

[0071] A gear shifting actuator is a mechanism that converts the driving force provided by the drive circuit into gear shifting mechanical motion, and may include a motor and transmission components connected to the motor.

[0072] Gear shift actuators refer to mechanical components driven by the mechanism that directly participate in completing the change of gear position, such as shift forks.

[0073] The gear engagement direction refers to the direction of movement from the current gear position towards the end of the travel corresponding to the target gear. This direction can be pre-defined based on the correspondence between the target gear and the movement direction of the mechanism. For different gears, the corresponding gear engagement directions can be the same or different, depending on the correspondence between the gear and the movement direction of the shifting mechanism. The same physical direction cannot be fixed for all gears.

[0074] The mechanical limit position refers to the position of the shift actuator when it moves to the mechanical travel boundary along the engagement direction corresponding to the target gear. This position corresponds to the mechanical limit relationship of the mechanism and is used to re-observe the position reference of the target gear in the current mechanical state. In this embodiment, this position is identified by sampling changes in position during the driving process.

[0075] In some embodiments, in order to determine the mechanical limit position based on position feedback under a limited driving action, when the target cumulative number of gear shifts reaches a preset threshold, the shift actuator is controlled to drive the shift actuator to move along the shifting direction corresponding to the target gear until the mechanical limit position of the shift actuator is determined, including:

[0076] The control shift drive circuit outputs a drive signal to the shift actuator according to the preset drive parameters, so as to drive the shift actuator to move along the shift direction corresponding to the target gear.

[0077] Acquire position sampling information of the shift actuator during its movement, and determine the position change information of the shift actuator based on the position sampling information;

[0078] When the position change information meets the preset limit judgment conditions, the current position of the shift actuator is determined as the mechanical limit position, and the shift drive circuit is controlled to stop outputting drive signals.

[0079] Among them, the shift drive circuit refers to the circuit that provides electric drive output to the shift actuator under the control of the controller. The controller controls the operation of the shift actuator by setting the output mode and drive parameters of the circuit.

[0080] Preset drive parameters refer to the parameters set for the drive shift actuator before the start of this mechanical limit position determination process, such as the duty cycle of the pulse width modulation signal. These parameters can be calibrated according to the power supply conditions of the shift actuator, the available drive force, and the drive action that the mechanical components can withstand, and are called at the start of the calibration drive.

[0081] The drive signal refers to the electrical signal output by the shift drive circuit, which is used to cause the shift actuator to generate mechanical motion. It can be a pulse width modulated voltage signal applied to the shift motor.

[0082] Position sampling information refers to the position feedback record obtained during the driving of the shift actuator, including the position sampling value and the sampling time corresponding to each position sampling value.

[0083] Position change information refers to data obtained from these records that reflects the change in the position of the shift actuator as the sampling time changes. It can include the amount of position change between adjacent sampling times and its continuous maintenance.

[0084] The preset limit judgment condition refers to the condition used to identify the end of the mechanical stroke based on the position sampling change. For example, within a continuous time period, the change in adjacent sampling positions is within the allowable small change range. This condition can be configured according to the position sampling resolution, normal sampling fluctuations, and the stability characteristics of the mechanism after reaching the end of the stroke, and is checked successively during the calibration drive.

[0085] Specifically, after the calibration trigger condition is met, the controller calls the gear shift direction and corresponding drive parameters of the target gear, and controls the shift drive circuit to output a drive signal. Simultaneously, the position signal acquisition circuit acquires the position feedback of the shift actuator. The controller organizes position records based on the sampling time and then calculates the position change information. When the position change information meets the limit judgment condition, the current position corresponding to this judgment is recorded, and the output of the drive signal used to continue pushing the shift actuator is stopped.

[0086] The current position refers to the position sample value of the shift actuator obtained when the limit judgment condition is met. The controller retains this value as the identification result for this time, and subsequent position compensation calculations use this determined mechanical limit position to avoid subsequent changing sample values ​​from overwriting the current result.

[0087] In some embodiments, position feedback is provided by a position sensor connected to the shift actuator. For example, in a ball screw type shift actuator, an angular displacement position sensor can be used, and the angular displacement can be converted into the position of the shift actuator according to a calibrated transmission correspondence. Alternatively, the calculation can be performed directly in the calibrated coordinates of the position sensor, but the current sampling position and the previously saved position data should use the same position origin, positive direction, and unit of measurement.

[0088] For example, for any target gear among multiple gears, the controller outputs a correction drive in the direction of movement towards the end of the stroke corresponding to that target gear, continuously acquiring the shift fork position. While the shift fork can still move, the position feedback changes with the sampling time; once it reaches the end of the stroke along that direction and the position change meets the judgment condition, the controller retains that position and stops driving. For other gears, the controller performs the same mechanical limit position determination process according to the shifting direction corresponding to each gear.

[0089] In this way, the limit position of the current mechanical state can be obtained through the cooperation of drive and position feedback, and the push can be stopped in time after the limit position is determined.

[0090] In some embodiments, in order to distinguish between continuous movement and a stable state after reaching the end of the stroke through continuous position changes, position sampling information of the shift actuator during the movement is obtained, and position change information of the shift actuator is determined based on the position sampling information, including:

[0091] Obtain the position sampling values ​​of the shift actuator at multiple consecutive sampling times;

[0092] Based on the position sampling values ​​corresponding to adjacent sampling times, determine the position change corresponding to each adjacent sampling time.

[0093] When the change in each position within a continuous preset time period is not greater than the preset position change threshold, the position change information is determined to meet the preset limit judgment condition.

[0094] The sampling time refers to the moment when the position signal acquisition circuit obtains a valid position feedback.

[0095] The position sample value is the position of the shift actuator at that moment. The position sample values ​​corresponding to multiple consecutive sampling moments are arranged in chronological order to form a comparison relationship between adjacent positions.

[0096] Position change refers to the absolute value of the difference between position sampling values ​​at adjacent sampling times, used to characterize the magnitude of position change within that adjacent sampling time interval. Using an absolute value makes this quantity unaffected by differences in the direction of movement corresponding to different gear positions.

[0097] The preset duration refers to the shortest continuous time during which the change in position continuously meets the judgment requirements.

[0098] The preset position change threshold refers to the upper limit of the amount of change between adjacent sampling positions that is allowed to be considered as having essentially stopped changing. The preset duration can be calibrated based on the short-term vibration duration after the mechanism reaches the end of its stroke, and the preset position change threshold can be calibrated based on the sensor resolution and sampling noise; both are configured before the extreme position determination begins, and are used to constrain the duration and magnitude of change, respectively, during the determination.

[0099] Specifically, for location sample values ​​obtained with the same sampling period, the change in adjacent locations can be calculated according to the following relationship:

[0100] ;

[0101] In the formula, This is the sequence number of the current sampling record; For the first The position sampled value at each sampling time; This is the position sample value from the previous sampling time. This represents the change in position between the two values; the absolute value sign indicates a non-negative value for the position difference. The position sample value and the change in position use the same unit of measurement, such as millimeters.

[0102] Let the sampling period between adjacent sampling times be . The number of sampling intervals that continuously meet the requirements at the location is The preset duration is The preset position change threshold is Then the decision relation can be expressed as:

[0103] ;

[0104] ;

[0105] In the formula, The index of the adjacent sampling interval being inspected, with values ​​ranging from... to ; It is a positive integer, representing the number of sampling intervals that continuously meet the position change requirements up to the current sampling time.

[0106] The product of the sampling period and the sampling period is the actual duration covered by these consecutive sampling intervals; the subscript in the preset duration parameter. This indicates the stable duration; the sampling period uses the same time unit as the preset duration. The determination requires that both the positional change requirements and the duration requirements of all consecutive intervals be met simultaneously.

[0107] Specifically, after acquiring a new position sample value, the controller compares it with the previous valid position sample value. If the change is not greater than a preset position change threshold, the number of consecutive sampling intervals that meet the requirements is increased; if the change is greater than the threshold, the previous continuous recording ends, and accumulation begins from the next sampling interval that meets the requirements again. Two stable time periods separated by large position changes cannot be added together, nor can stability be determined solely based on the total elapsed time from the start of correction to the present.

[0108] For example, the sampling period is 10 milliseconds, the preset position change threshold is 0.01 millimeters, and the preset duration is 50 milliseconds. Over six consecutive sampling moments, the obtained position sampling values ​​are 12.496 mm, 12.500 mm, 12.497 mm, 12.501 mm, 12.498 mm, and 12.500 mm, respectively. The corresponding position changes in the five adjacent sampling intervals are 0.004 mm, 0.003 mm, 0.004 mm, 0.003 mm, and 0.002 mm, respectively, all not exceeding 0.01 mm, and the five sampling intervals cover 50 milliseconds. Therefore, at the last sampling moment, the position change information meets the limit judgment condition, and the mechanical limit position is taken as the position sampling value of 12.500 mm at that moment.

[0109] If a positional change of 0.020 mm occurs during the continuous recording period, this change is greater than 0.01 mm. The original continuous recording cannot continue to meet the 50 ms requirement, and the continuous duration needs to be calculated from the next sampling interval that meets the threshold requirement.

[0110] In one specific implementation, the controller only uses valid position feedback obtained after the start of the current correction drive, and does not include static records before the drive starts in the current stabilization time. When position feedback is interrupted or invalid samples exist, the missing time period is not considered as the time during which the position change requirement has been continuously met. Limit judgment is used for the working conditions where the mechanism is normally driven and the position feedback is valid; an identified actuator fault cannot be interpreted as the normal arrival at the end of the mechanical stroke simply because the position no longer changes.

[0111] In this way, premature judgments caused by single sampling fluctuations can be eliminated by the changes in multiple consecutive adjacent positions and their durations, forming a mechanical limit position recognition process that can be executed sequentially by the controller.

[0112] In some embodiments, in order to achieve configurable corrective drive through the H-bridge and the shift motor, the shift drive circuit includes an H-bridge drive circuit, the shift actuator includes a shift motor, the drive signal includes a pulse width modulation signal, and the preset drive parameters include a preset duty cycle of the pulse width modulation signal.

[0113] The control shift drive circuit outputs a drive signal to the shift actuator according to preset drive parameters, so as to drive the shift actuator to move along the engagement direction corresponding to the target gear, including:

[0114] The control H-bridge drive circuit outputs pulse width modulation signals to the shift motor according to a preset duty cycle;

[0115] The shift motor is driven by a pulse width modulation signal, so that the shift motor drives the shift actuator to move along the shift direction corresponding to the target gear.

[0116] The H-bridge drive circuit is a circuit consisting of two sets of bridge arms that controls the electric drive outputs at both ends of the shift motor. The shift motor is connected between the output ends of the two sets of bridge arms. By controlling the switching devices in different bridge arms, a power supply path corresponding to the motor's running direction can be established.

[0117] A shift motor is a motor used to drive the shift actuator. The motor's motion can be converted into the movement of the shift actuator along the shifting direction through a ball screw or other transmission components.

[0118] Pulse width modulation (PWM) signal refers to a pulse signal that adjusts the drive output by changing the proportion of the effective drive duration within a repetition cycle.

[0119] The preset duty cycle refers to the proportion of the effective driving duration within one pulse cycle to the entire pulse cycle, which is set before this calibration.

[0120] Duty cycle can be expressed according to the following relationship:

[0121] ;

[0122] In the formula, Duty cycle, expressed as a percentage; The effective driving duration within one pulse cycle; The duration of a complete pulse cycle; subscript Indicates the effective driving phase, subscript This indicates the pulse period. and The same time unit is used, and the effective driving duration does not exceed the entire pulse cycle.

[0123] Specifically, the controller can set the switching sequence of the H-bridge through timing control output, enabling the H-bridge to generate a pulse-width modulated drive output at the motor end that conforms to a preset duty cycle. The control signal provided by the controller to the H-bridge is used to control the switching devices, while the output provided by the H-bridge to the shift motor is used to transfer drive power to the motor. The two are located at different positions in the same control chain. In this way, the controller can control the H-bridge to output a pulse-width modulated signal to the shift motor according to a preset duty cycle.

[0124] In some embodiments, the preset duty cycle is 50%. For example, when a pulse period is 100 microseconds, the effective drive duration within that period is 50 microseconds. The controller maintains this duty cycle during the calibration process and controls the direction output of the H-bridge according to the gear shifting direction corresponding to the target gear, so that the shift motor continues to drive the shift actuator through the transmission components.

[0125] The preset duty cycle is used to limit the drive output intensity during calibration. The actual mechanical force driving the shift actuator is also related to the motor current, supply voltage, transmission relationship, and mechanism load. Therefore, maintaining a 50% duty cycle indicates that the drive time ratio remains constant, but does not guarantee a strictly constant mechanical thrust. By calibrating the parameters of the corresponding shift mechanism, it is possible to reduce the impact of excessive drive force on mechanical components while still being able to drive the shift actuator to the end of its stroke.

[0126] Therefore, the smooth driving effect formed by limiting the duty cycle described in this embodiment refers to limiting the driving output intensity during the correction period relative to a driving mode with a higher duty cycle or no output limitation, so as to reduce the impact when the shift actuator reaches the end of the mechanical stroke; it does not mean that the mechanical thrust generated by the shift motor remains absolutely constant throughout the correction process.

[0127] After determining the mechanical limit position based on the position change information, the controller sets the corresponding PWM drive output to zero, causing the H-bridge to stop applying pulse outputs to the motor to continue driving it in the gear shifting direction. The motor no longer actively pushes the shift actuator, and the recorded mechanical limit position is used for subsequent target reference position determination.

[0128] In this way, the shift motor and H-bridge drive circuit can be reused to complete the mechanical limit position search by setting the duty cycle and movement direction, and stop the correction drive after the position determination is successful.

[0129] See Figure 3 , Figure 3The control logic flow of the H-bridge drive for the gear shift motor is shown. After the trigger condition for gear position correction is met, the controller retrieves the drive direction information corresponding to the current target gear and controls the corresponding arm in the H-bridge to establish a drive path for the gear shift motor. Simultaneously, a PWM drive output is generated according to a preset duty cycle, causing the gear shift motor to drive the shift actuator through the transmission components to continue moving towards the mechanical limit direction corresponding to the target gear. During the correction drive, the position signal acquisition circuit continuously outputs the position sampling information of the shift actuator, and the controller determines the position change information sequentially. The correction drive is maintained until the position change information meets the preset limit judgment condition; when the position change information meets the preset limit judgment condition, the corresponding PWM output is set to zero and the mechanical limit position is recorded. Figure 3 The example shown uses a 50% duty cycle as a specific implementation. This value is used to illustrate the H-bridge drive control logic and does not constitute a limitation on the preset duty cycle value.

[0130] Figure 3 In the control chain shown, the H-bridge control signal output by the controller is used to determine the bridge arm switching state, drive direction, and PWM timing. The electric drive signal output by the H-bridge to the shift motor is used to transfer drive energy to the shift motor. The two belong to different signal levels in the same control process. In addition to meeting the position change judgment condition, the determination of the mechanical limit position also assumes that the shift actuator is in a normal driven state and the position feedback is effective. This avoids misjudging "no longer changing position" caused by drive failure or abnormal position feedback as a normal mechanical limit.

[0131] In some embodiments, to prevent new regular shift requests from interrupting the current gear calibration, the method further includes:

[0132] During the process of controlling the shift actuator to drive the shift actuator to move along the shift direction corresponding to the target gear until the mechanical limit position of the shift actuator is determined, if a new shift request is received, the new shift request is cached.

[0133] After correcting the reference position parameters of the target gear based on the target reference position, the process also includes:

[0134] Respond to new shift requests that are cached.

[0135] A new shift request refers to an instruction received again during the current target gear calibration period, requesting the electric drive axle to perform a subsequent shift action. This request can be sent by the vehicle controller and must include at least the gear to be engaged.

[0136] Caching refers to storing received shift requests in the controller's accessible storage space, without converting them into shift drive actions that would interrupt the current correction.

[0137] The response refers to handing the request over to the normal shift control program after allowing the processing of the request, and organizing the subsequent shifting action according to the specified gear.

[0138] Specifically, when the controller begins the current mechanical limit position determination process, it marks the current calibration as being in progress. Upon receiving a new routine shift request, the controller first retains the request content and continues to complete the current position determination, target reference position determination, and reference position parameter calibration. Before the reference position parameter calibration is completed, the shift actuator will not be moved to another gear due to the routine request.

[0139] During this calibration process, the gear calibration task takes precedence over regular gear shift requests. This priority means that once the controller has entered the target gear calibration process, it prioritizes and continuously completes the determination of mechanical limit positions, target reference positions, reference position parameter updates, count resets corresponding to successful calibration, and storage of updated data, without interrupting these processes with newly arrived regular gear shift requests. New gear shift requests are first buffered and then handed over to the normal gear shift procedure only after the current calibration process meets the termination conditions.

[0140] For example, while calibration is being performed on a target gear among multiple gears, the vehicle controller requests to shift to another gear. The controller first caches the new shift request, maintaining the calibration process corresponding to the current target gear. Once the reference position parameters of the current target gear have been calibrated, the shift to the requested gear is executed according to the cached request. Even if the mechanical limit position has been determined, the cached request is not released prematurely as long as the reference position parameters have not been calibrated.

[0141] In this way, the determination of mechanical limit positions and the corresponding parameter updates can be completed continuously for the same target gear, reducing the impact of changes in the actuator position during routine gear shift requests on the correction results.

[0142] In some embodiments, to process multiple shift requests received during the calibration period sequentially, a new shift request is cached, including:

[0143] When multiple new shift requests are received, they are cached in the request queue in the order they were received.

[0144] Respond to new shift requests in response to cached data, including:

[0145] In the order of receipt, multiple new shift requests are retrieved from the request queue and responded to sequentially.

[0146] The receiving order refers to the order in which the controller actually receives each new shift request.

[0147] A request queue is a data structure that stores requests in a specific order and retrieves them starting with the earliest stored request. It can be set up in the controller's runtime storage space.

[0148] Specifically, each time the controller receives a new shift request, it writes it to the end of the request queue and retains the requested gear and a record of the received requests to distinguish their order. After the current correction is completed, the controller first reads the request at the head of the queue and passes it to the normal shifting procedure for execution. After that request is processed, the controller reads the next request, thus preventing multiple requests from changing the drive direction of the shifting motor simultaneously.

[0149] For example, during the calibration of a target gear, if request A, requesting to shift to another gear, is received first, followed by request B, requesting to shift to yet another gear or re-enter the current target gear, then request queue stores request A and request B sequentially. After the reference position parameters of the current target gear are calibrated, request A is responded to first; after the shifting action corresponding to request A is processed, request B is responded to. The predetermined order of the two requests is not changed regardless of whether the gear requested by request B is the same as or different from the current calibration gear.

[0150] Subsequent gear shifts resulting from each responded request are still counted according to the aforementioned valid gear shift conditions. Receiving a request and writing it into the queue do not increase the gear shift count; nor do they prematurely increase the count for the corresponding gear if the request has not yet been executed or has failed to shift gears after execution.

[0151] In this way, while maintaining the continuity of the current correction, the processing order of multiple subsequent shift requests can be clearly defined, so that requests received during the correction period can be sequentially connected to the normal shift process.

[0152] In one specific implementation, after obtaining the target cumulative number of gear shifts in step S102, the controller compares this number with a preset threshold number corresponding to the target gear. When the target cumulative number of gear shifts reaches or exceeds the preset threshold number, the target gear can be set to a state awaiting correction; if the preset threshold number is not reached, the original position data is maintained, and normal gear shifting and counting continue. Automatic gear position correction is only initiated after the normal gear shifting action has been successfully completed and the gear position is stable, without interrupting the ongoing normal gear shifting action using the correction process.

[0153] For example, the preset threshold number of engagements can be set to 5000. When the cumulative effective engagement count for a target gear reaches 5000, after the successful engagement of this 5000th engagement and the gear position stabilizes, the automatic position correction process for that target gear is initiated. The cumulative engagement counts for other gears remain unchanged, and other gear corrections are not triggered simultaneously because the target gear has reached the preset threshold number of engagements.

[0154] In some embodiments, the preset number of cycles threshold is not limited to 5000 cycles, and can be calibrated based on the structural parameters, durability characteristics, allowable position deviation, and target shift reliability of the shift actuator. For example, the preset number of cycles threshold can be set to 3000, 5000, or 8000 cycles. In application scenarios with different electric drive axles or different shift actuators, the corresponding preset number of cycles threshold can be selected based on the corresponding durability calibration results. Under the test conditions of this embodiment, the preset number of cycles threshold corresponding to 5000 cycles can achieve a good balance between shift reliability and additional operating losses of the shift actuator; therefore, 5000 cycles can be considered a preferred preset number of cycles threshold.

[0155] In some embodiments, the number of shift cycles threshold can be determined based on the durability calibration results of the shift mechanism. For example, within a relatively stable operating range of materials, lubrication, and test load conditions, an approximate relationship between the effective number of shift cycles and the cumulative wear clearance can be used to assist in selecting the threshold:

[0156] ;

[0157] In the formula, The cumulative wear clearance within the corresponding calibration range, in millimeters; This represents the cumulative number of valid gear shifts within this range, expressed in times. This represents the average wear coefficient per gear engagement, calibrated based on the corresponding mechanical materials, load, and lubrication conditions, in millimeters per engagement. This relationship is used to aid in understanding and calibrating the correction cycle; it does not require the controller to calculate the actual wear clearance at each trigger, nor is it used to replace mechanical limit position sampling.

[0158] For example, if the average wear coefficient per gear engagement within a certain calibration range is 0.00002 mm, then the approximate cumulative wear clearance corresponding to 5000 effective gear engagements is 0.10 mm. The appropriate number of engagements can be selected as the correction threshold, taking into account the allowable positional deviation of the mechanism. The reference position used after actual correction is still based on the mechanical limit position determined in this sampling, and cannot be directly estimated using the above approximate relationship alone.

[0159] In a set of bench durability tests used to verify the calibration cycle, a ball screw type shifting actuator was used in conjunction with an angular displacement position sensor to perform cyclic shifting under normal temperature no-load conditions. The cumulative number of effective shifts and the cumulative drift of the gear reference are shown in Table 1.

[0160] Table 1. Cumulative number of effective gear engagements and cumulative drift of gear reference

[0161]

[0162] As shown in Table 1, the gear reference position exhibits a cumulative drift trend as the cumulative number of effective gear engagements increases: when the cumulative number of effective gear engagements reaches 2000, the cumulative drift of the gear reference is 0.03~0.05 mm, indicating that the mechanism is in the initial running-in wear stage; when the cumulative number of engagements reaches 5000, the drift is 0.08~0.12 mm, approximately 1 / 3 of the gear engagement safety margin, indicating that the mechanism has entered the stable wear stage; when the cumulative number of engagements reaches 10000, the drift is 0.15~0.20 mm, approaching 2 / 3 of the safety margin, significantly increasing the risk of gear shifting failure; when the cumulative number of engagements reaches 50000, the drift can reach 0.6~0.8 mm, exceeding the conventional safety margin, and gear shifting failure and gear slippage may occur without online correction.

[0163] The applicant further compared the overall performance of the three calibration trigger thresholds of 3000, 5000 and 8000 times, and the test results are shown in Table 2.

[0164] Table 2. Comparison of overall performance for different calibration trigger thresholds

[0165]

[0166] As shown in Table 2, under the above test conditions, the 3000-cycle threshold corresponds to 33 calibrations within 100,000 cycles, resulting in a low shift failure rate but higher additional wear on the actuator; the 8000-cycle threshold corresponds to 12 calibrations within 100,000 cycles, resulting in low additional wear on the actuator but a shift failure rate of 3.7%, and relatively insufficient robustness under heavy load and high temperature conditions; the 5000-cycle threshold corresponds to 20 calibrations within 100,000 cycles, resulting in a shift failure rate of 1.1%, achieving a good engineering balance between shift reliability and actuator lifespan.

[0167] The applicant conducted a comparative test of 100,000 shift cycles based on three test samples from the same batch to verify the technical effect of periodic position automatic correction. The test results are shown in Table 3.

[0168] Table 3 Comparison of shifting performance before and after periodic self-calibration

[0169]

[0170] As shown in Table 3, after 5000 trigger self-calibration cycles, the total number of shift failures within 100,000 shift cycles decreased from 127 to 11, the total number of gear slippages decreased from 34 to 2, and the number of shift shock exceedances decreased from 216 to 28. This corresponds to a 91.3% reduction in shift failure rate, a 94.1% reduction in gear slippage failure rate, and an 87.0% reduction in shift shock exceedances. Without online self-calibration, faults mainly occur in the higher cumulative shift count phases. Periodic automatic position calibration can reduce shift anomalies caused by continuous drift of the gear reference.

[0171] The specific test specimens, shift mechanism structure, operating conditions, correction trigger thresholds, and number of tests in the aforementioned bench durability test and comparative test are used to illustrate the correlation between the cumulative effective number of gear engagements and the drift of the gear reference position, the calibration basis of the correction trigger threshold, and the technical effect of the technical solution of this application. They do not constitute a limitation on the number of gears applicable to this application, the type of shift mechanism, the preset number of times threshold, or the specific operating conditions.

[0172] See Figure 4 , Figure 4 The overall flow of the automatic gear shift correction control method is shown. This overall flow takes a specific target gear as the current processing object and connects gear shift count statistics, threshold judgment, correction drive, mechanical limit position determination, count cycle reset, and position parameter storage in series. After a valid gear shift is completed in the target gear, the controller updates the corresponding cumulative count and determines whether the target gear should enter the correction process based on a preset threshold. Once the correction start condition is met, the control H-bridge outputs a PWM signal according to a preset duty cycle, causing the shift actuator to continue moving along the direction corresponding to the target gear, and determines whether the mechanical limit position has been reached based on the position change information. After determining the mechanical limit position, the PWM output stops, and the reference position parameter correction for the target gear is completed based on this position. The cumulative valid gear shift count for the target gear is then reset to zero. Subsequently, the learned target gear reference position parameter is saved to a non-volatile storage unit, and the reset cumulative valid gear shift count is saved according to the aforementioned counting storage method, completing this correction.

[0173] Figure 4 The diagram illustrates a specific calibration implementation using 5000 cycles and a 50% duty cycle. The 5000 cycles illustrate the relationship between the cumulative effective gear engagement count and the correction trigger, while the 50% duty cycle describes the constrained PWM drive mode during the correction period; both can be calibrated based on the specific gear shifting mechanism, endurance test results, and drive conditions. For other gears of the electric drive bridge, the corresponding cumulative count, preset threshold count, gear engagement direction, and reference position parameters can be maintained separately, and the same overall process can be used to independently complete automatic position correction. Therefore, Figure 4 The flowchart shown for a single target gear does not imply that this application is only applicable to single-gear or two-gear electric drive bridges.

[0174] In some embodiments, if fault monitoring indicates a drive malfunction, position feedback malfunction, or incomplete calibration during the calibration process, the controller stops the current calibration drive, does not write the unconfirmed position as the new gear reference, and does not reset the accumulated number of calibrations to zero. After the abnormal state is resolved, the trigger judgment can be performed again after subsequent actions that meet the normal gear shifting conditions are completed. Request processing during the abnormal period is managed by the existing fault handling process, and cached requests in the normal calibration process are not directly released as calibration failures are mistakenly treated as calibration completion.

[0175] In this way, after the target gear has reached the corresponding number of uses, the mechanical limit position can be re-determined by taking advantage of the moment after normal gear shifting, while maintaining the execution sequence between this calibration and subsequent regular gear shifts.

[0176] S104. Determine the target reference position of the target gear based on the mechanical limit position.

[0177] The target reference position refers to the position value obtained based on the mechanical limit position determined in this study, used to correct the original position parameters of the target gear. This value belongs to the same target gear as the mechanical limit position, uses the same position reference, and is used for subsequent gear shifting control after parameter correction is completed.

[0178] In some embodiments, to clarify the direction and value of this reference position adjustment, the target reference position of the target gear is determined based on the mechanical limit position, including:

[0179] Obtain the reference position to be calibrated corresponding to the target gear;

[0180] Based on the mechanical limit position and the reference position to be calibrated, determine the position compensation amount of the target gear. The position compensation amount is the difference between the mechanical limit position and the reference position to be calibrated.

[0181] The sum of the reference position to be corrected and the position compensation amount is determined as the target reference position.

[0182] The reference position to be calibrated refers to the reference position value that the controller saved and used for the target gear before this calibration. It can come from the initial self-learning after the offline operation, or from the last successfully completed position calibration or maintenance self-learning.

[0183] Position compensation refers to the signed difference between the current mechanical limit position and the reference position to be corrected, used to characterize the direction and magnitude of the adjustment required for the original position value. A positive position compensation indicates adjustment along the positive direction of the used position coordinate, while a negative one indicates adjustment along the negative direction of that coordinate.

[0184] Specifically, the controller reads the reference position to be calibrated for the target gear from the memory based on the target gear identifier, subtracts the reference position to be calibrated from the mechanical limit position identified this time to obtain the position compensation amount, and then adds the position compensation amount to the reference position to be calibrated. This process can be represented as:

[0185] ;

[0186] ;

[0187] In the formula, The target gear indicator; This refers to the mechanical limit position corresponding to the target gear position determined in this study, where the subscript... Indicates the mechanical limit; This is the reference position to be calibrated for the target gear.

[0188] This is the location compensation amount; This is the target reference position. All positional quantities use the same origin, positive direction, and unit; subscripts... and These represent the position value before the correction and the new position value determined in this correction, respectively.

[0189] For example, following the calibration process for a specific target gear, if the reference position to be calibrated is 12.400 mm and the mechanical limit position determined in this case is 12.500 mm, then the position compensation amount is 0.100 mm. The target reference position obtained by adding the reference position to be calibrated and this compensation amount is 12.500 mm. This target reference position is equal to the current mechanical limit position, and the same compensation amount cannot be superimposed on the mechanical limit position again, otherwise it will result in duplicate compensation.

[0190] If the shifting direction of another gear differs from that of the target gear, the signed difference under a unified position coordinate system is still used. For example, if the reference position to be corrected for this other gear is -8.200 mm, and the mechanical limit position determined in this case is -8.280 mm, then the position compensation is -0.080 mm, and the resulting target reference position is -8.280 mm. This process does not use the absolute value of the position compensation due to differences in the shifting directions corresponding to different gears.

[0191] In this way, the direction and magnitude of the positional adjustment relative to the original reference can be clearly defined, and the target reference position can be kept consistent with the mechanical limit position actually determined in this case.

[0192] In some embodiments, when the current mechanical limit position is the same as the reference position to be corrected, the position compensation is zero, and the target reference position remains at the same position value. A compensation of zero indicates that no position value needs to be changed this time, and it does not affect the completion of a valid position correction and counting cycle update in subsequent steps.

[0193] Position compensation represents the change in the current mechanical position relative to the saved position, and may be affected by factors such as mechanism wear and changes in mechanical clearance. The controller does not need to distinguish the changes caused by each factor before updating the position reference used for subsequent gear shifts based on the current mechanical limit position.

[0194] S105. Based on the target reference position, the reference position parameters of the target gear are corrected. The reference position parameters represent the target position that the gear shift actuator needs to reach when it completes the gear shifting action.

[0195] The reference position parameter refers to the position control parameter that the controller saves and recalls according to the gear position. Before calibration, this parameter provides the original gear engagement target position; after calibration, this parameter provides the target reference position determined this time, which can be recalled for subsequent gear engagement actions.

[0196] Calibration refers to updating the original position parameters of the target gear according to the target reference position, so that the position value called by the subsequent control of the gear corresponds to the result of the current mechanical limit position determination.

[0197] In some embodiments, in order to allow the calibrated effective gear engagement to enter a new counting cycle, after calibrating the reference position parameter of the target gear according to the target reference position, the method further includes:

[0198] The target cumulative number of gear shifts is reset to obtain the reset cumulative number of gear shifts for the target gear. The reset cumulative number of gear shifts is zero.

[0199] The "cumulative gear engagement count after reset" refers to the initial value of the number of engagements used in the new counting cycle after the reference position parameter of the target gear has been successfully calibrated. This count only applies to the target gear that has completed calibration this time; the cumulative count for other gears remains unchanged.

[0200] Specifically, after the controller completes the calibration of the reference position parameters for the target gear based on the target reference position, it resets the running count value of the target gear to zero. Subsequently, the updated reference position parameters are saved to a non-volatile storage unit, and the cumulative number of valid gear engagements after reset is saved according to the aforementioned counting storage method. In the same normal calibration process, the reference position parameters are updated, the corresponding count is reset, and the updated data is stored sequentially, after which the calibration ends and cache requests are processed. If the reference position parameters have not yet been updated, the count reset corresponding to this calibration is not performed prematurely.

[0201] For example, after a target gear has been engaged 5000 times, the target reference position is determined to be 12.500 mm. The controller updates the position parameters of the target gear based on this reference position and resets the count for that target gear from 5000 to zero. Subsequently, the updated target gear position parameter of 12.500 mm is saved to a non-volatile storage unit, along with the zeroed count value. The counts for other gears remain unchanged. The subsequent push action used for calibration is not counted as a new valid gear engagement. After the next independent valid gear engagement for that target gear is completed, the count is incremented from zero to one.

[0202] In an embodiment that simultaneously employs power-off continuation counting, after the zero value of the target gear is written to the non-volatile storage unit, even if the vehicle is subsequently powered off, the count of the target gear will be restored from zero upon power-on, thus avoiding the restoration of the previous 5000 counts and the incorrect use of the ended counting cycle.

[0203] See also Figure 2 In the diagram, the number of gear shifts is reset to zero after self-learning or position correction, corresponding to a reset of the counting cycle after successful completion of the corresponding position update. The reset node does not mean that the count will be reset immediately upon issuing a self-learning command or initiating position correction.

[0204] In this way, the next counting cycle can correspond to the effective number of gear engagements after the new reference position is used, avoiding continuous repeated triggering due to historical counts that have already been calibrated.

[0205] Specifically, the controller uses the target gear identifier to locate the position parameter record for that gear, writes the determined target reference position into the position parameters used during runtime, and saves it to a non-volatile storage unit. The controller can confirm that the parameters have been saved by checking the completion result of the storage operation before marking the correction as complete. This update only applies to the current target gear and does not overwrite the position parameters of other gears with the position value of this target gear.

[0206] For example, if the original reference position parameter for a target gear was 12.400 mm, it will be updated to 12.500 mm after this calibration. When the shifting action to enter that target gear is executed subsequently, the normal shifting procedure will read 12.500 mm as the target position for that gear. When the vehicle is powered back on, the controller reads the saved new position parameter and continues to control the shifting action to that target gear based on that position.

[0207] In the embodiment employing shift request caching, the controller responds to the cache request after completing the current reference position parameter calibration, count reset, and corresponding storage. In the embodiment employing count reset simultaneously, parameter updating, corresponding count reset, and storage of updated data can be performed sequentially before the current calibration ends, and then a new shift request is retrieved from the request queue. The updated reference position parameters and the reset count being successfully stored are prerequisites for processing the cache request; the entire calibration process cannot be considered complete simply because PWM driving has stopped.

[0208] Following the examples of requests A and B, after updating the position parameter of the current target gear to 12.500 mm, resetting the count to zero, and completing the corresponding storage, the shifting action for other gears requested by request A is executed first. Once this action is successful and the gear is stable, the cumulative count for the corresponding other gears is increased by one. Then, the shifting action requested by request B is executed. If request B requests to re-enter the current target gear, the normal shifting procedure uses the updated position parameter of 12.500 mm. Once this action is successful and the gear is stable, the cumulative count for the current target gear increases from zero to one. Each subsequent action is counted independently according to its actual target gear, and is not included in the old counting cycle of the current target gear that has already ended.

[0209] See also Figure 4 In the diagram, resetting the gear shift count to zero corresponds to the start of a new counting cycle for the target gear, and the learned position storage persistently stores the corresponding target gear correction position. In this embodiment, the reference position parameters are first updated based on the target reference position, and the corresponding cumulative valid gear shift count is reset to zero. Then, the learned reference position parameters and the reset count value are saved to a non-volatile storage unit. After the above storage is completed, normal gear shift requests are responded to again. The data saved upon power-off retains the updated position value and corresponding count value.

[0210] As can be seen from the above, in this embodiment, after the current gear shifting action is successfully completed and the gear position is stable, the effective number of gear engagements is independently accumulated for the target gear. Once the corresponding threshold number is reached, the mechanical limit position corresponding to that gear is redefined, and the difference between the current mechanical position and the original reference position is reflected in the position parameter update. This allows the target position used for subsequent gear engagements to be updated as the actual position of the mechanism changes, reducing position deviations caused by long-term use. By persistently storing the count, resetting after successful correction, and caching requests during correction, the continuity of correction across power-on cycles can be maintained, and the position update can be seamlessly integrated with subsequent normal gear shifts, improving the accuracy and reliability of the electric drive axle gear shifting position control.

[0211] To better implement the above methods, this application also provides an electric drive axle shift controller. This controller can serve as an electronic device for implementing the automatic correction control method for the learning position of the electric drive axle gears. It includes a processor and a memory, the memory storing multiple instructions. The processor loads and executes the instructions from the memory to implement the processing steps in the above method embodiments.

[0212] In some embodiments, the main control processor may be a microcontroller unit (MCU) and may be located in the vehicle's transmission control unit (TCU), or it may serve as the main control processor in an independent electric drive axle shift controller. The memory may include storage space for storing programs and runtime data, as well as non-volatile storage space for storing the cumulative effective shift counts and reference position parameters for each gear. The controller is also connected to the H-bridge drive circuit, the shift motor, and the position signal acquisition circuit; the position signal acquisition circuit is used to acquire the position signals of the shift actuators in real time and provide them to the main control processor, forming a closed-loop control connection relationship from control commands, H-bridge drive, motor action to position feedback.

[0213] In one specific implementation, the controller may include a gear shift counting and statistics module, a storage module, a gear shift state machine module, a gear position correction execution module, and an H-bridge drive control module. Each module can be implemented by the processor executing the corresponding program, as follows:

[0214] The gear shift counting module identifies valid gear shifting actions based on the current gear shift execution information, accumulates the count for each gear, and resets the count for that gear after successful gear shift correction or maintenance self-learning. This module provides the updated count to the gear shift correction execution module and saves it through the storage module.

[0215] The storage module is used to save the cumulative number of valid gear engagements and the reference position parameters by gear. When the power is turned on again, it provides the stored historical number of engagements to the gear engagement counting and statistics module, provides the stored position parameters to the gear shift state machine module, and completes the corresponding storage after receiving updated data.

[0216] The shift state machine module receives shift requests from the vehicle controller, executes the normal shift process, and outputs the current shift execution result and gear status. When a new shift request is received during the correction execution, this module works with the gear correction execution module to cache the new normal request; after correction is completed, subsequent normal shift actions are organized according to the order of the request queue.

[0217] The gear shift correction execution module compares the target cumulative number of gear shifts with a preset threshold. When the threshold is reached, the corresponding correction driver is invoked. Based on the position sampling information, the mechanical limit position is determined, and the target reference position is determined accordingly, completing the reference position parameter correction. This module is also responsible for retaining new gear shift requests received during the correction period and allowing the gear shift state machine module to respond to these requests after the parameters are updated.

[0218] The H-bridge drive control module controls the H-bridge output based on the target gear and preset duty cycle provided by the gear position correction execution module. This causes the shift motor to drive the shift actuator to move along the corresponding gear engagement direction, and stops the corresponding drive output after determining the mechanical limit position. The position signal acquisition circuit provides real-time sampled values ​​to the gear position correction execution module for position change calculation and limit determination.

[0219] In practice, the above modules can be implemented as independent program parts or combined into multiple processing procedures within the same program. The processor can schedule these processing procedures according to the shift state, correction state, and request queue order, and the data transmitted between modules maintains consistency with the target gear. For details on the implementation of each module, please refer to the preceding method embodiments, which will not be repeated here.

[0220] The controller described above can be used to achieve automatic position correction triggered by gear counting, using existing shift drive and position feedback hardware, so that counting, position detection, position parameter update and request response are interconnected.

[0221] Those skilled in the art will understand that all or part of the steps in the above method embodiments can be completed by instructions, or by controlling related hardware with instructions. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.

[0222] Therefore, embodiments of this application provide a computer-readable storage medium that stores multiple instructions, which can be loaded and executed by a processor to implement the steps in any of the automatic correction control methods for learning the gear position of an electric drive axle provided in embodiments of this application.

[0223] The computer-readable storage medium may include read-only memory (ROM), random access memory (RAM), flash memory, EEPROM, hard disk, or optical disk, etc. The storage portion used to retain the number of gear shifts and reference position parameters after power failure uses non-volatile memory, and the cache or temporary variables used during operation can be set in random access memory.

[0224] Since the instructions stored in the computer-readable storage medium can execute the steps in the above method embodiments, the technical effects in the corresponding method embodiments can be achieved, as detailed in the foregoing description.

[0225] According to one aspect of this application, a computer program product is also provided, including a computer program or instructions. When the computer program or instructions are executed by a processor, they implement the steps and various optional implementations of the above-described automatic correction control method for the learning position of the electric drive axle gear shift. The program can be stored in a computer-readable storage medium, read and executed by the processor of the electric drive axle shift controller, and completes shift position detection, correction drive, and parameter saving by controlling the corresponding hardware.

[0226] The above provides a detailed description of an automatic correction control method for the gear learning position of an electric drive axle, as provided in the embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the embodiments above are intended to help understand the method and its core ideas. Furthermore, those skilled in the art can make corresponding adjustments to the specific implementation methods and application scope based on the ideas of this application; therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. A method for automatic correction control of gear learning position of an electric drive axle, characterized in that, include: Obtain the current gear shift execution information of the electric drive axle. The current gear shift execution information includes the target gear corresponding to the current gear shift action, the gear shift execution result, and the gear status. Each gear of the electric drive axle corresponds to a cumulative number of valid gear engagements. When the shift execution result indicates that the current shift action is completed and the target gear is successfully entered, and the gear state is stable, the cumulative effective shift count corresponding to the target gear is updated to obtain the target cumulative shift count; When the target cumulative number of gear shifts reaches a preset threshold, the shift actuator is controlled to drive the shift actuator to move along the shift direction corresponding to the target gear until the mechanical limit position of the shift actuator is determined. Based on the mechanical limit position, determine the target reference position of the target gear; Based on the target reference position, the reference position parameter of the target gear is corrected. The reference position parameter represents the target position that the gear shifting actuator needs to reach when it completes the gear shifting action.

2. The automatic correction control method for the gear learning position of the electric drive axle according to claim 1, characterized in that, When the cumulative number of gear shifts reaches a preset threshold, the shift actuator is controlled to move along the shift direction corresponding to the target gear until the mechanical limit position of the shift actuator is determined, including: The control shift drive circuit outputs a drive signal to the shift actuator according to preset drive parameters, so as to drive the shift actuator to move along the shift direction corresponding to the target gear. The position sampling information of the shift actuator during the movement process is obtained, and the position change information of the shift actuator is determined based on the position sampling information; When the position change information meets the preset limit judgment condition, the current position of the shift actuator is determined as the mechanical limit position, and the shift drive circuit is controlled to stop outputting the drive signal.

3. The automatic correction control method for the gear learning position of the electric drive axle according to claim 2, characterized in that, The step of acquiring position sampling information of the shift actuator during its movement and determining the position change information of the shift actuator based on the position sampling information includes: Obtain the position sampling values ​​of the shift actuator at multiple consecutive sampling times; Based on the position sampling values ​​corresponding to adjacent sampling times, determine the position change corresponding to each adjacent sampling time. When the change in position within a continuous preset time period is not greater than a preset position change threshold, the position change information is determined to meet the preset limit judgment condition.

4. The automatic correction control method for the gear learning position of the electric drive axle according to claim 1, characterized in that, Determining the target reference position of the target gear based on the mechanical limit position includes: Obtain the reference position to be calibrated corresponding to the target gear; Based on the mechanical limit position and the reference position to be corrected, the position compensation amount of the target gear is determined, and the position compensation amount is the difference between the mechanical limit position and the reference position to be corrected. The sum of the reference position to be corrected and the position compensation amount is determined as the target reference position.

5. The automatic correction control method for the gear learning position of the electric drive axle according to claim 1, characterized in that, Also includes: During the process of controlling the shift actuator to drive the shift actuator to move along the shift direction corresponding to the target gear until the mechanical limit position of the shift actuator is determined, if a new shift request is received, the new shift request is cached. After correcting the reference position parameters of the target gear according to the target reference position, the method further includes: The new shift request is responded to by the cache.

6. The automatic correction control method for the gear learning position of the electric drive axle according to claim 1, characterized in that, The step of updating the cumulative effective gear engagement count corresponding to the target gear to obtain the target cumulative gear engagement count includes: Obtain the historical cumulative number of gear shifts corresponding to the target gear; Based on the current gear shifting action, the historical cumulative number of gear shifts is counted and accumulated to obtain the target cumulative number of gear shifts.

7. The automatic correction control method for the gear learning position of the electric drive axle according to claim 6, characterized in that, After counting and accumulating the historical cumulative number of gear shifts based on the current gear shifting action to obtain the target cumulative number of gear shifts, the method further includes: The target cumulative number of gear engagements is stored in a non-volatile memory unit; After the electric drive bridge is powered on again, the historical cumulative number of gear engagements corresponding to each gear position is obtained from the non-volatile memory unit, and the cumulative effective number of gear engagements corresponding to each gear position is accumulated based on the historical cumulative number of gear engagements corresponding to each gear position.

8. The automatic correction control method for the gear learning position of the electric drive axle according to claim 1, characterized in that, After correcting the reference position parameters of the target gear according to the target reference position, the method further includes: The target cumulative number of gear shifts is reset to obtain the reset cumulative number of gear shifts corresponding to the target gear, and the reset cumulative number of gear shifts is zero.

9. The automatic correction control method for the gear learning position of the electric drive axle according to claim 2, characterized in that, The shift drive circuit includes an H-bridge drive circuit, the shift actuator includes a shift motor, the drive signal includes a pulse width modulation signal, and the preset drive parameters include a preset duty cycle of the pulse width modulation signal. The control shift drive circuit outputs a drive signal to the shift actuator according to preset drive parameters to drive the shift actuator to move along the shift direction corresponding to the target gear, including: The H-bridge drive circuit is controlled to output the pulse width modulation signal to the shift motor according to the preset duty cycle; The shift motor is driven by the pulse width modulation signal, so that the shift motor drives the shift actuator to move along the shift direction corresponding to the target gear.

10. The automatic correction control method for the gear learning position of the electric drive axle according to claim 5, characterized in that, The caching of the new shift request includes: When multiple new shift requests are received, the multiple new shift requests are cached into the request queue in the order in which they are received. The new shift request in the response cache includes: According to the receiving order, multiple new gear shift requests are sequentially obtained from the request queue and responded to.