×

Sale ends todayGet 30% off any course (excluding packages)

Ends in --- --- ---

MoTeC M1 Software Tutorial: Driver Switching

Watch This Course

$229 USD

-OR-
Or 8 easy payments of only $28.63 Instant access. Easy checkout. No fees. Learn more
Course Access for Life
60 day money back guarantee

Driver Switching

06.37

00:00 The M1 provides a lot of flexibility for the driver to control or adjust parameters on the fly without needing access to a laptop via ‘Driver Switching’.
00:10 In particular the M1 provides an ‘A’ and ‘B’ map for the “Fuel Mixture Aim’, ‘Throttle Pedal Translation’, ‘Ignition Timing’, and ‘Engine Speed Limit’.
00:20 In addition an ‘On’ or ‘Off’ control is provided for ‘Launch Control’, ‘Traction Control’, Anti Lag’, ‘Pit Speed’, ‘Aux Timer’ and ‘Race Time Reset’.
00:32 Lastly we have ten position switch inputs for controlling ‘Throttle Position Fuel Mixture Aim’, ‘Final Fuel Mixture Aim Trim’, and ‘Boost Limit’.
00:42 You can choose to use as many or as few of these as you wish and one convenient feature with the M1 is that a single switch can be linked to several functions which reduces clutter in the cabin rather than having multiple knobs for the driver to control.
00:57 In this section of the course we will have an overview of this system and then look at configuring an on/off switch and a rotary switch.
01:06 There are two worksheets applicable to configuring a driver switch - ‘Driver Input Switch’ which configures the actual switch resource, and ‘Driver Linked Switch’ which defines the function of each particular switch.
01:20 Both these worksheets can be found in the ‘Vehicle’ workbook.
01:23 Let’s start with the driver switch setup in the ‘Driver Input Switch’ worksheet.
01:29 If we view the switch setup in tree form, you can see that all of the available inputs are listed.
01:35 We have the option for four on/off switches, four multi position rotary switches, or the switch request can be configured to be received via a CAN message.
01:46 Let’s start by setting up a simple on/off switch.
01:50 If we expand the view for ‘Switch 1’, we can see the parameters which by now should be looking quite familiar.
01:57 We can start by defining the resource for this particular input.
02:01 The driver switch can be configured to switch either to a high voltage or to ground and we need to configure the settings to suit.
02:08 If you are switching to ground, the ‘Pullup Control’ will need to be switched on so that the ECU can differentiate between the on and off voltages.
02:17 If you are switching to a high voltage, the Pullup Control needs to be off.
02:22 ‘Active Edge’ again will depend how you have wired the switch, and which position of the switch you want to be considered ‘On’.
02:29 If you are switching to ground, ‘Falling Edge’ will have the input active when the switch is on, and if you are switching to a high voltage, ‘Rising Edge’ will achieve the same.
02:39 You also need to configure a suitable threshold which can typically be set half way between the low and the high voltage readings.
02:47 Likewise ‘Hysteresis’ can usually be set to one volt with a switched input and ‘Debounce’ can be left at zero.
02:55 Once configured we can move the switch and you should see the state change from off to on.
03:02 Configuring a rotary switch is a little more involved so we will deal with that now.
03:07 Using this feature will require a multi position switch with a resistor divider that is capable of producing a voltage output that varies in each position.
03:17 Let’s start by expanding out the parameters for ‘Rotary Switch 1’.
03:22 Again this should be reasonably familiar by now.
03:25 We need to configure a suitable voltage resource and filter if required.
03:30 We also have diagnostic low and high voltages which should be set outside of the normal operating voltage of the rotary switch.
03:38 Once the basic inputs have been defined here, we also need to calibrate the ‘Driver Rotary Switch Positions’ too.
03:46 The M1 makes this pretty easy as we can use the ‘Q’ key to automatically calibrate the input voltage at each of the switch positions.
03:54 We just need to move the rotary switch to each position, highlight the relevant position in the list and press ‘Q’.
04:02 You will then see the current voltage will be set.
04:05 Once each position is calibrated, we also need to set a tolerance which is the voltage range that will be considered acceptable for each position.
04:14 This allows for small fluctuations in the input voltage which we can naturally expect to see.
04:20 So by this point our two switches are correctly configured but right now they aren’t performing any function.
04:26 Let’s move to the ‘Driver Linked Switch’ worksheet and see how we can use them.
04:32 Let’s say we want to use the on/off switch to control a pit lane speed limiter.
04:37 We can do this by expanding the ‘Pit Switch’ list and selecting the ‘Driver Switch 1’ as the ‘Index’.
04:43 We can now configure how this switch will respond under ‘Mapping’.
04:48 You can see that we have positions listed as ‘Default’ and then ‘Zero’ through to ‘Nine’.
04:53 These can be used with a rotary switch but if we are only using an on/off switch, only mapping ‘Zero’ and ‘One’ are used.
05:01 In this case by default and in position ‘Zero’ we want the pit limit to be off.
05:07 In position ‘One’ we want the pit limit to be active.
05:12 Once the switch is configured we can watch the position and the state change as the switch is moved.
05:18 The actual parameters for the pit limit can be found and configured through the ‘All Calibrate’ menu by typing ‘Pit Limit’ in the search box.
05:28 Now let’s look at configuring the rotary switch to control the boost limit, which needs to be done in two places.
05:35 First we need to define which input will be used to control the boost limit.
05:39 All we need to do here is select Driver Rotary Switch 1 from the drop down menu.
05:45 Now if we head to the ‘Boost Control’ worksheet and move down to the ‘Engine Boost Limit’ parameter, we can enter our desired boost limit in each of the ten positions.
05:56 For a recap on how the boost limits work, check out the module on boost control again.
06:02 It is also possible to use the same switch input to effect multiple control settings simultaneously.
06:09 For example you could use the on/off switch to provide a dry and wet setting by adjusting the throttle translation map, engine speed limit, boost limit and traction control all together.
06:21 Using a rotary switch offers more flexibility with how this can be set up as you can see from the table here.
06:29 There is no right or wrong way to configure these driver switches and you have a lot of flexibility in how you choose to use them.

We usually reply within 12hrs (often sooner)

Need Help?

Need help choosing a course?

Experiencing website difficulties?

Or need to contact us for any other reason?