Summary
The cvt gearbox shift logic controller handles the gear ratio selection of the transmission and torque converter lockup.
It is an extension of the vehicle controller
and automatically gets called if a vehicle is equipped with an CVT transmission
.
File Info
|
|
| Filename |
shiftLogic-cvtGearbox.lua |
| Path |
/lua/vehicle/controller/shiftLogic-cvtGearbox.lua |
| Usage type |
Specific to vehicleController |
JBeam Properties
A lower number increases smoothness but delays response to vehicle speed.
A lower number increases smoothness but delays response to vehicle speed.
Higher number causes faster downshifting decision when throttle is applied
Higher number causes faster upshifting decision when throttle is applied
CVT transmissions only support P, R, N and D modes.
This is based on the RPM of the converter output, so it will occur at the same speed even if the converter is heavily slipping.
Smaller numbers means the transmission will adjust it’s ratios more slowly.
The cvt will try to vary its ratio to achieve this engine speed when accelerating at full throttle.
The low load engine RPM target for the engine with cvt gearbox.
Electrics
Indicates the position of the torque converter lockup clutch. 0 means it’s disengaged, while 1 means it’s fully locked.
Public Functions
Switches between arcade and realistic gearbox modes.
Switches to the next position on the gear lever.
Switches to the previous position on the gear lever.
Shifts the gear lever to the selected position.
Current gear the transmission is in.
Current position of the automatic shifter.
Sends torque and power related data to the UI.
Public Properties
Indicates if the engine is disabled.
Indicates clutch input. 1 is fully engaged, 0 is fully disengaged.
Current gear index of the gearbox.
Energy storage(s) associated to the engine
Engine combustion torque, before friction losses.
List containing many of the parameters which influence gearbox shifting behavior.
Indicates that the ignition is on.
List containing the brake, throttle and clutch values.
Indicates if the gearbox is in arcade mode.
Indicates the engine is running
Indicates if sport mode is active.
Oil temperature of the engine.
List containing the slip thresholds to prevent shifting.
List containing the current optimal shift points defined by the vehicle controller.
List containing a smoothed version of some properties.
Smoothed angular velocity of the gearbox input (rad/s)
List containing current time values
List containing target values for the different timers, as set in the jbeam
Coolant temperature of the engine.
Example Usage
A vehicle controller section with parameters specific to this sub controller, defined within a transmission’s jbeam.
"vehicleController": {
"automaticModes":"PRNDS",
"cvtHighRPM":5900,
"cvtLowRPM":600,
"torqueConverterLockupRPM": 1800,
"aggressionSmoothingDown":0.5,
"cvtAggression":0.1,
"aggressionHoldOffThrottleDelay":0,
},