https://zmatt.net/w/api.php?action=feedcontributions&user=Matt&feedformat=atomzmatt.net - User contributions [en]2022-01-23T15:27:15ZUser contributionsMediaWiki 1.31.7https://zmatt.net/w/index.php?title=Main_Page&diff=42Main Page2020-05-26T12:30:48Z<p>Matt: </p>
<hr />
<div>Welcome to the zmatt.net wiki. This is a space for me to post information about various projects I'm working on, in the hope that this information might be useful to others. It is a continual work in progress so there may be half formed thoughts and broken links.<br />
<br />
Public edit access is not currently allowed; if you have feedback you can contact me at contact at zmatt dot net.<br />
<br />
== Car stuff ==<br />
I've been doing a fair bit of work on my car (a 2003 Toyota RAV4) recently, as it's getting to the age that various issues start manifesting. While my mother would prefer that I buy a new car, I've been learning a lot in the process of maintaining my 'vintage' RAV. Here's some information as I type it up:<br />
<br />
* [[Toyota U140 transmission]]: some background on how this typical 4-speed automatic transmission works, including how to calculate the gear ratios from 'first principles'<br />
* [[Toyota RAV4 2001-2003 harsh transmission shift ECU fix]]: this model has known issues with harsh shifting and clanging when shifting into reverse, which turns out to be a soldering problem with the engine control unit (ECU)<br />
* [[Toyota M-OBD protocol and adapters]]: this model is not OBD-II compliant, but it is possible to connect to it with some off-the-shelf adapters that support custom initialisation sequences; I've also built my own DIY adapter with an Arduino<br />
* [[Toyota RAV4 alternator repair]]: replacing alternator bearings was one of the first repair jobs I did on this car, and I learnt a lot in the process about engine compartments and cramped spaces<br />
* [[Toyota RAV4 A/F sensor and O2 sensor replacement]]: another tale of engine compartments and cramped spaces, as well as a tale of dodgy replacement parts that aren't quite compatible<br />
* [[Toyota RAV4 doors lock but do not unlock]]: a strange issue that I had once<br />
* [[Adding AUX input and Bluetooth to Toyota RAV4 radio]]<br />
<br />
== Bicycle stuff ==<br />
<br />
* [[How to remove bicycle pedals the easy way]]<br />
<br />
== Electronics stuff ==<br />
* [[Lenovo 45N1079 battery teardown]]<br />
* [[LED corn bulbs]]<br />
* [[Resistive electromagnet design]]<br />
* [[Dell Venue 11 Pro no bootable devices found]]<br />
* [https://zmatt.net/dell-venue-11-pro-travel-keyboard-troubleshooting/ Dell Venue 11 Pro mobile keyboard touchpad troubleshooting]<br />
<br />
== Miscellaneous stuff ==<br />
* [[Factoring primes using CADO-NFS and msieve]]</div>Matthttps://zmatt.net/w/index.php?title=Main_Page&diff=41Main Page2020-05-26T12:29:55Z<p>Matt: </p>
<hr />
<div>Welcome to the zmatt.net wiki. This is a space for me to post information about various projects I'm working on, in the hope that this information might be useful to others. It is a continual work in progress so there may be half formed thoughts and broken links.<br />
<br />
Public edit access is not currently allowed; if you have feedback you can contact me at contact at zmatt dot net.<br />
<br />
== Car stuff ==<br />
I've been doing a fair bit of work on my car (a 2003 Toyota RAV4) recently, as it's getting to the age that various issues start manifesting. While my mother would prefer that I buy a new car, I've been learning a lot in the process of maintaining my 'vintage' RAV. Here's some information as I type it up:<br />
<br />
* [[Toyota U140 transmission]]: some background on how this typical 4-speed automatic transmission works, including how to calculate the gear ratios from 'first principles'<br />
* [[Toyota RAV4 2001-2003 harsh transmission shift ECU fix]]: this model has known issues with harsh shifting and clanging when shifting into reverse, which turns out to be a soldering problem with the engine control unit (ECU)<br />
* [[Toyota M-OBD protocol and adapters]]: this model is not OBD-II compliant, but it is possible to connect to it with some off-the-shelf adapters that support custom initialisation sequences; I've also built my own DIY adapter with an Arduino<br />
* [[Toyota RAV4 alternator repair]]: replacing alternator bearings was one of the first repair jobs I did on this car, and I learnt a lot in the process about engine compartments and cramped spaces<br />
* [[Toyota RAV4 A/F sensor and O2 sensor replacement]]: another tale of engine compartments and cramped spaces, as well as a tale of dodgy replacement parts that aren't quite compatible<br />
* [[Toyota RAV4 doors lock but do not unlock]]: a strange issue that I had once<br />
* [[Adding AUX input and Bluetooth to Toyota RAV4 radio]]<br />
<br />
== Bicycle stuff ==<br />
<br />
* [[How to remove bicycle pedals the easy way]]<br />
<br />
== Electronics stuff ==<br />
* [[Lenovo 45N1079 battery teardown]]<br />
* [[LED corn bulbs]]<br />
* [[Resistive electromagnet design]]<br />
* [[Dell Venue 11 Pro no bootable devices found]]<br />
* [http://zmatt.net/dell-venue-11-pro-travel-keyboard-troubleshooting/ Dell Venue 11 Pro mobile keyboard touchpad troubleshooting]<br />
<br />
== Miscellaneous stuff ==<br />
* [[Factoring primes using CADO-NFS and msieve]]</div>Matthttps://zmatt.net/w/index.php?title=Main_Page&diff=40Main Page2017-05-28T14:55:44Z<p>Matt: </p>
<hr />
<div>Welcome to the zmatt.net wiki. This is a space for me to post information about various projects I'm working on, in the hope that this information might be useful to others. It is a continual work in progress so there may be half formed thoughts and broken links.<br />
<br />
Public edit access is not currently allowed; if you have feedback you can contact me at contact at zmatt dot net.<br />
<br />
== Car stuff ==<br />
I've been doing a fair bit of work on my car (a 2003 Toyota RAV4) recently, as it's getting to the age that various issues start manifesting. While my mother would prefer that I buy a new car, I've been learning a lot in the process of maintaining my 'vintage' RAV. Here's some information as I type it up:<br />
<br />
* [[Toyota U140 transmission]]: some background on how this typical 4-speed automatic transmission works, including how to calculate the gear ratios from 'first principles'<br />
* [[Toyota RAV4 2001-2003 harsh transmission shift ECU fix]]: this model has known issues with harsh shifting and clanging when shifting into reverse, which turns out to be a soldering problem with the engine control unit (ECU)<br />
* [[Toyota RAV4 torque converter slip]]: ongoing debugging of an issue I have with torque when accelerating<br />
* [[Toyota M-OBD protocol and adapters]]: this model is not OBD-II compliant, but it is possible to connect to it with some off-the-shelf adapters that support custom initialisation sequences; I've also built my own DIY adapter with an Arduino<br />
* [[Toyota RAV4 alternator repair]]: replacing alternator bearings was one of the first repair jobs I did on this car, and I learnt a lot in the process about engine compartments and cramped spaces<br />
* [[Toyota RAV4 A/F sensor and O2 sensor replacement]]: another tale of engine compartments and cramped spaces, as well as a tale of dodgy replacement parts that aren't quite compatible<br />
* [[Toyota RAV4 doors lock but do not unlock]]: a strange issue that I had once<br />
* [[Adding AUX input and Bluetooth to Toyota RAV4 radio]]<br />
<br />
== Bicycle stuff ==<br />
<br />
* [[How to remove bicycle pedals the easy way]]<br />
<br />
== Electronics stuff ==<br />
* [[Lenovo 45N1079 battery teardown]]<br />
* [[LED corn bulbs]]<br />
* [[Resistive electromagnet design]]<br />
* [[Dell Venue 11 Pro no bootable devices found]]<br />
* [http://zmatt.net/dell-venue-11-pro-travel-keyboard-troubleshooting/ Dell Venue 11 Pro mobile keyboard touchpad troubleshooting]<br />
<br />
== Miscellaneous stuff ==<br />
* [[Factoring primes using CADO-NFS and msieve]]</div>Matthttps://zmatt.net/w/index.php?title=Dell_Venue_11_Pro_no_bootable_devices_found&diff=39Dell Venue 11 Pro no bootable devices found2017-05-26T12:49:02Z<p>Matt: </p>
<hr />
<div>After installing Ubuntu on my Dell Venue 11 Pro 7140, it failed to boot with the message "no bootable devices found". I tried several times, from both BIOS Setup and Linux efibootmgr, to add a boot entry to start grub (/EFI/ubuntu/shimx64.efi)... but every time I rebooted this was no longer shown as a boot option.<br />
<br />
It turns out that the BIOS specifically looks for a file /EFI/boot/bootx64.efi to determine if a hard drive is bootable. To work around this, you can create a dummy file /EFI/boot/bootx64.efi on the EFI system partition of the drive. The BIOS will then automatically create a boot option for the drive, which you should disable to prevent it trying to run the empty file. After this the normal Linux boot entry should work.<br />
<br />
The full instructions can be found at [https://bugs.launchpad.net/dell-sputnik/+bug/1499323]; the process is the same as for Dell XPS 13.</div>Matthttps://zmatt.net/w/index.php?title=Dell_Venue_11_Pro_no_bootable_devices_found&diff=38Dell Venue 11 Pro no bootable devices found2017-05-26T12:48:28Z<p>Matt: </p>
<hr />
<div>After installing Ubuntu on my Dell Venue 11 Pro, it failed to boot with the message "no bootable devices found". I tried several times, from both BIOS Setup and Linux efibootmgr, to add a boot entry to start grub (/EFI/ubuntu/shimx64.efi)... but every time I rebooted this was no longer shown as a boot option.<br />
<br />
It turns out that the BIOS specifically looks for a file /EFI/boot/bootx64.efi to determine if a hard drive is bootable. To work around this, you can create a dummy file /EFI/boot/bootx64.efi on the EFI system partition of the drive. The BIOS will then automatically create a boot option for the drive, which you should disable to prevent it trying to run the empty file. After this the normal Linux boot entry should work.<br />
<br />
The full instructions can be found at [https://bugs.launchpad.net/dell-sputnik/+bug/1499323]; the process is the same as for Dell XPS 13.</div>Matthttps://zmatt.net/w/index.php?title=Dell_Venue_11_Pro_no_bootable_devices_found&diff=37Dell Venue 11 Pro no bootable devices found2017-05-26T12:47:41Z<p>Matt: Created page with "After installing Ubuntu on my Dell Venue 11 Pro, it failed to boot with the message "no bootable devices found". I tried several times, from both BIOS Setup and Linux efiboot..."</p>
<hr />
<div>After installing Ubuntu on my Dell Venue 11 Pro, it failed to boot with the message "no bootable devices found". I tried several times, from both BIOS Setup and Linux efibootmgr, to add a boot entry to start grub (/EFI/ubuntu/shimx64.efi)... but every time I rebooted this was no longer shown as a boot option.<br />
<br />
It turns out that the BIOS specifically looks for a file /EFI/boot/bootx64.efi to determine if a hard drive is bootable. To work around this, you can create a dummy file /EFI/boot/bootx64.efi on the EFI system partition of the drive. The BIOS will then automatically create a boot option for the drive, which you should disable to prevent it trying to run the empty file. After this the normal Linux boot entry should work.<br />
<br />
The full instructions can be found at [[https://bugs.launchpad.net/dell-sputnik/+bug/1499323]]; the process is the same as for Dell XPS 13.</div>Matthttps://zmatt.net/w/index.php?title=Main_Page&diff=36Main Page2017-05-26T12:28:57Z<p>Matt: </p>
<hr />
<div>Welcome to the zmatt.net wiki. This is a space for me to post information about various projects I'm working on, in the hope that this information might be useful to others. It is a continual work in progress so there may be half formed thoughts and broken links.<br />
<br />
Public edit access is not currently allowed; if you have feedback you can contact me at contact at zmatt dot net.<br />
<br />
== Car stuff ==<br />
I've been doing a fair bit of work on my car (a 2003 Toyota RAV4) recently, as it's getting to the age that various issues start manifesting. While my mother would prefer that I buy a new car, I've been learning a lot in the process of maintaining my 'vintage' RAV. Here's some information as I type it up:<br />
<br />
* [[Toyota U140 transmission]]: some background on how this typical 4-speed automatic transmission works, including how to calculate the gear ratios from 'first principles'<br />
* [[Toyota RAV4 2001-2003 harsh transmission shift ECU fix]]: this model has known issues with harsh shifting and clanging when shifting into reverse, which turns out to be a soldering problem with the engine control unit (ECU)<br />
* [[Toyota RAV4 torque converter slip]]: ongoing debugging of an issue I have with torque when accelerating<br />
* [[Toyota M-OBD protocol and adapters]]: this model is not OBD-II compliant, but it is possible to connect to it with some off-the-shelf adapters that support custom initialisation sequences; I've also built my own DIY adapter with an Arduino<br />
* [[Toyota RAV4 alternator repair]]: replacing alternator bearings was one of the first repair jobs I did on this car, and I learnt a lot in the process about engine compartments and cramped spaces<br />
* [[Toyota RAV4 A/F sensor and O2 sensor replacement]]: another tale of engine compartments and cramped spaces, as well as a tale of dodgy replacement parts that aren't quite compatible<br />
* [[Toyota RAV4 doors lock but do not unlock]]: a strange issue that I had once<br />
* [[Adding AUX input and Bluetooth to Toyota RAV4 radio]]<br />
<br />
== Bicycle stuff ==<br />
<br />
* [[How to remove bicycle pedals the easy way]]<br />
<br />
== Electronics stuff ==<br />
* [[Lenovo 45N1079 battery teardown]]<br />
* [[LED corn bulbs]]<br />
* [[Resistive electromagnet design]]<br />
* [[Dell Venue 11 Pro no bootable devices found]]<br />
* [[Dell Venue 11 Pro mobile keyboard touchpad fix]]<br />
<br />
== Miscellaneous stuff ==<br />
* [[Factoring primes using CADO-NFS and msieve]]</div>Matthttps://zmatt.net/w/index.php?title=How_to_remove_bicycle_pedals_the_easy_way&diff=35How to remove bicycle pedals the easy way2016-10-16T05:58:47Z<p>Matt: Created page with "A lot of guides on the Internet are overly vague as to how to position the pedals to get good mechanical advantage. Here's my easy no-fuss method that allows you to use your..."</p>
<hr />
<div>A lot of guides on the Internet are overly vague as to how to position the pedals to get good mechanical advantage. Here's my easy no-fuss method that allows you to use your weight effectively and doesn't require a repair stand:<br />
<br />
# Move the pedal crank you're working on so that it's pointing towards the rear of the bike (i.e. 9 o'clock or 3 o'clock depending on the side).<br />
# Place a block under the pedal itself so that it won't move downwards. An upright brick works well.<br />
# Stand over the back wheel of the bicycle, leaning over the bicycle seat, to keep the bicycle steady.<br />
# Place your wrench over the axle of the pedal, with the wrench towards the back of the bike, and push downwards with your weight.<br />
# Repeat for the other side, also with both crank and wrench pointing backwards.<br />
<br />
{|style="margin:20px auto;"<br />
|[[File:Removing-Pedals.jpg|center|style="margin-top:100px;"]]<br />
|}<br />
<br />
If at first you don't succeed, try the following:<br />
<br />
# Check you're going the right way.<br />
#* The pedal should move freely downwards if you remove the brick (on a normal bicycle with a freewheel). If you're pushing against the drive system, you're going the wrong way.<br />
#* The right pedal unscrews the 'right' way (anti-clockwise) and the left pedal unscrews the 'wrong' way (clockwise).<br />
# Apply a rust-penetrating lubricant to the pedal thread from the inside of the crank. Wait a while and try again.<br />
# Check again you're going the right way.<br />
# Hit the end of a wrench with a hammer.<br />
# Check again you're going the right way.<br />
# Use more leverage, e.g. by putting a pipe on the end of the wrench.</div>Matthttps://zmatt.net/w/index.php?title=File:Removing-Pedals.jpg&diff=34File:Removing-Pedals.jpg2016-10-16T05:45:54Z<p>Matt: Matt uploaded a new version of File:Removing-Pedals.jpg</p>
<hr />
<div>Photo illustrating how to remove bicycle pedals the easy way</div>Matthttps://zmatt.net/w/index.php?title=File:Removing-Pedals.jpg&diff=33File:Removing-Pedals.jpg2016-10-16T05:44:32Z<p>Matt: Matt uploaded a new version of File:Removing-Pedals.jpg</p>
<hr />
<div>Photo illustrating how to remove bicycle pedals the easy way</div>Matthttps://zmatt.net/w/index.php?title=File:Removing-Pedals.jpg&diff=32File:Removing-Pedals.jpg2016-10-16T05:39:49Z<p>Matt: Photo illustrating how to remove bicycle pedals the easy way</p>
<hr />
<div>Photo illustrating how to remove bicycle pedals the easy way</div>Matthttps://zmatt.net/w/index.php?title=Main_Page&diff=31Main Page2016-10-16T05:39:35Z<p>Matt: </p>
<hr />
<div>Welcome to the zmatt.net wiki. This is a space for me to post information about various projects I'm working on, in the hope that this information might be useful to others. It is a continual work in progress so there may be half formed thoughts and broken links.<br />
<br />
Public edit access is not currently allowed; if you have feedback you can contact me at contact at zmatt dot net.<br />
<br />
== Car stuff ==<br />
I've been doing a fair bit of work on my car (a 2003 Toyota RAV4) recently, as it's getting to the age that various issues start manifesting. While my mother would prefer that I buy a new car, I've been learning a lot in the process of maintaining my 'vintage' RAV. Here's some information as I type it up:<br />
<br />
* [[Toyota U140 transmission]]: some background on how this typical 4-speed automatic transmission works, including how to calculate the gear ratios from 'first principles'<br />
* [[Toyota RAV4 2001-2003 harsh transmission shift ECU fix]]: this model has known issues with harsh shifting and clanging when shifting into reverse, which turns out to be a soldering problem with the engine control unit (ECU)<br />
* [[Toyota RAV4 torque converter slip]]: ongoing debugging of an issue I have with torque when accelerating<br />
* [[Toyota M-OBD protocol and adapters]]: this model is not OBD-II compliant, but it is possible to connect to it with some off-the-shelf adapters that support custom initialisation sequences; I've also built my own DIY adapter with an Arduino<br />
* [[Toyota RAV4 alternator repair]]: replacing alternator bearings was one of the first repair jobs I did on this car, and I learnt a lot in the process about engine compartments and cramped spaces<br />
* [[Toyota RAV4 A/F sensor and O2 sensor replacement]]: another tale of engine compartments and cramped spaces, as well as a tale of dodgy replacement parts that aren't quite compatible<br />
* [[Toyota RAV4 doors lock but do not unlock]]: a strange issue that I had once<br />
<br />
== Bicycle stuff ==<br />
<br />
* [[How to remove bicycle pedals the easy way]]<br />
<br />
== Electronics stuff ==<br />
* [[Lenovo 45N1079 battery teardown]]<br />
* [[LED corn bulbs]]<br />
* [[Resistive electromagnet design]]<br />
<br />
== Miscellaneous stuff ==<br />
* [[Factoring primes using CADO-NFS and msieve]]</div>Matthttps://zmatt.net/w/index.php?title=Main_Page&diff=30Main Page2016-10-16T05:21:26Z<p>Matt: </p>
<hr />
<div>Welcome to the zmatt.net wiki. This is a space for me to post information about various projects I'm working on, in the hope that this information might be useful to others. It is a continual work in progress so there may be half formed thoughts and broken links.<br />
<br />
Public edit access is not currently allowed; if you have feedback you can contact me at contact at zmatt dot net.<br />
<br />
== Car stuff ==<br />
I've been doing a fair bit of work on my car (a 2003 Toyota RAV4) recently, as it's getting to the age that various issues start manifesting. While my mother would prefer that I buy a new car, I've been learning a lot in the process of maintaining my 'vintage' RAV. Here's some information as I type it up:<br />
<br />
* [[Toyota U140 transmission]]: some background on how this typical 4-speed automatic transmission works, including how to calculate the gear ratios from 'first principles'<br />
* [[Toyota RAV4 2001-2003 harsh transmission shift ECU fix]]: this model has known issues with harsh shifting and clanging when shifting into reverse, which turns out to be a soldering problem with the engine control unit (ECU)<br />
* [[Toyota RAV4 torque converter slip]]: ongoing debugging of an issue I have with torque when accelerating<br />
* [[Toyota M-OBD protocol and adapters]]: this model is not OBD-II compliant, but it is possible to connect to it with some off-the-shelf adapters that support custom initialisation sequences; I've also built my own DIY adapter with an Arduino<br />
* [[Toyota RAV4 alternator repair]]: replacing alternator bearings was one of the first repair jobs I did on this car, and I learnt a lot in the process about engine compartments and cramped spaces<br />
* [[Toyota RAV4 A/F sensor and O2 sensor replacement]]: another tale of engine compartments and cramped spaces, as well as a tale of dodgy replacement parts that aren't quite compatible<br />
* [[Toyota RAV4 doors lock but do not unlock]]: a strange issue that I had once<br />
<br />
== Bicycle stuff ==<br />
<br />
* [[Removing bicycle pedals the easy way]]<br />
<br />
== Electronics stuff ==<br />
* [[Lenovo 45N1079 battery teardown]]<br />
* [[LED corn bulbs]]<br />
* [[Resistive electromagnet design]]<br />
<br />
== Miscellaneous stuff ==<br />
* [[Factoring primes using CADO-NFS and msieve]]</div>Matthttps://zmatt.net/w/index.php?title=Main_Page&diff=29Main Page2016-10-02T23:54:17Z<p>Matt: </p>
<hr />
<div>Welcome to the zmatt.net wiki. This is a space for me to post information about various projects I'm working on, in the hope that this information might be useful to others. It is a continual work in progress so there may be half formed thoughts and broken links.<br />
<br />
Public edit access is not currently allowed; if you have feedback you can contact me at contact at zmatt dot net.<br />
<br />
== Car stuff ==<br />
I've been doing a fair bit of work on my car (a 2003 Toyota RAV4) recently, as it's getting to the age that various issues start manifesting. While my mother would prefer that I buy a new car, I've been learning a lot in the process of maintaining my 'vintage' RAV. Here's some information as I type it up:<br />
<br />
* [[Toyota U140 transmission]]: some background on how this typical 4-speed automatic transmission works, including how to calculate the gear ratios from 'first principles'<br />
* [[Toyota RAV4 2001-2003 harsh transmission shift ECU fix]]: this model has known issues with harsh shifting and clanging when shifting into reverse, which turns out to be a soldering problem with the engine control unit (ECU)<br />
* [[Toyota RAV4 torque converter slip]]: ongoing debugging of an issue I have with torque when accelerating<br />
* [[Toyota M-OBD protocol and adapters]]: this model is not OBD-II compliant, but it is possible to connect to it with some off-the-shelf adapters that support custom initialisation sequences; I've also built my own DIY adapter with an Arduino<br />
* [[Toyota RAV4 alternator repair]]: replacing alternator bearings was one of the first repair jobs I did on this car, and I learnt a lot in the process about engine compartments and cramped spaces<br />
* [[Toyota RAV4 A/F sensor and O2 sensor replacement]]: another tale of engine compartments and cramped spaces, as well as a tale of dodgy replacement parts that aren't quite compatible<br />
* [[Toyota RAV4 doors lock but do not unlock]]: a strange issue that I had once<br />
<br />
== Electronics stuff ==<br />
* [[Lenovo 45N1079 battery teardown]]<br />
* [[LED corn bulbs]]<br />
* [[Resistive electromagnet design]]<br />
<br />
== Miscellaneous stuff ==<br />
* [[Factoring primes using CADO-NFS and msieve]]</div>Matthttps://zmatt.net/w/index.php?title=Main_Page&diff=28Main Page2016-10-02T23:44:28Z<p>Matt: </p>
<hr />
<div>Welcome to the zmatt.net wiki. This is a space for me to post information about various projects I'm working on, in the hope that this information might be useful to others. It is a continual work in progress so there may be half formed thoughts and broken links.<br />
<br />
Public edit access is not currently allowed; if you have feedback you can contact me at contact at zmatt dot net.<br />
<br />
== Car stuff ==<br />
I've been doing a fair bit of work on my car (a 2003 Toyota RAV4) recently, as it's getting to the age that various issues start manifesting. While my mother would prefer that I buy a new car, I've been learning a lot in the process of maintaining my 'vintage' RAV. Here's some information as I type it up:<br />
<br />
* [[Toyota U140 transmission]]: some background on how this typical 4-speed automatic transmission works, including how to calculate the gear ratios from 'first principles'<br />
* [[Toyota RAV4 2001-2003 harsh transmission shift ECU fix]]: this model has known issues with harsh shifting and clanging when shifting into reverse, which turns out to be a soldering problem with the engine control unit (ECU)<br />
* [[Toyota RAV4 torque converter slip]]: ongoing debugging of an issue I have with torque when accelerating<br />
* [[Toyota M-OBD protocol and adapters]]: this model is not OBD-II compliant, but it is possible to connect to it with some off-the-shelf adapters that support custom initialisation sequences; I've also built my own DIY adapter with an Arduino<br />
* [[Toyota RAV4 alternator repair]]: replacing alternator bearings was one of the first repair jobs I did on this car, and I learnt a lot in the process about engine compartments and cramped spaces<br />
* [[Toyota RAV4 A/F sensor and O2 sensor replacement]]: another tale of engine compartments and cramped spaces, as well as a tale of dodgy replacement parts that aren't quite compatible<br />
* [[Toyota RAV4 doors lock but do not unlock]]: a strange issue that I had once</div>Matthttps://zmatt.net/w/index.php?title=Toyota_U140_transmission&diff=27Toyota U140 transmission2016-10-02T23:43:05Z<p>Matt: Matt moved page Inside an automatic transmission to Toyota U140 transmission without leaving a redirect</p>
<hr />
<div>Here is a schematic of the U140 automatic transmission used in the RAV4 (not including the torque converter on the front end, or the transfer case and differentials on the rear end):<br />
<br />
[[File:u140-transmission.png|center]]<br />
<br />
This is rather daunting at first glance, and I don't recommend trying to understand it before your morning coffee, but after staring at it for a while it does start to make sense.<br />
<br />
There are three planetary gearsets, two of which are used to generate the main gear ratios and the third used for overdrive. Each planetary gearset consists of a sun gear (labelled S in the above diagram), a planet carrier and set of planet gears (P), and a ring gear (R). If you have never worked with planetary gears before, it is worth having a look at [https://www.youtube.com/watch?v=Ugao6jTyM7k this video] that explains the principles of an automatic transmission, and [https://woodgears.ca/gear/planetary.html this page] which has some great pictures and information about planetary gears; I found both of these resources very helpful.<br />
<br />
Unlike in a manual transmission, all of the gears in an automatic transmission are permanently meshed together regardless of what gear the vehicle is in. Instead of moving the gears, gear ratios are selected by choosing which gears to actively drive (using clutches) and which to hold stopped (using brakes). In the above transmission there are three clutches (C1, C2, C3) and three brakes (B1, B2, B3). Engaging C1 connects the input shaft to the front sun gear. Engaging C2 connects the input shaft to the rear sun gear. Engaging B1 stops the rear sun gear (therefore, it is true to assume that B1 and C2 are never engaged at the same time). B2 stops the front ring gear. B3 stops the underdrive sun gear, and C3 gangs it together with the planetary carrier of the same system.<br />
<br />
The different gears are then achieved as follows:<br />
* 1st gear: C1, B2, B3<br />
* 2nd gear: C1, B1, B3<br />
* 3rd gear: C1, C2, B3<br />
* 4th gear: C1, C2, C3<br />
* Reverse: C2, B2, B3<br />
<br />
How this works is not at all obvious, and I'll work through how the gear ratios are achieved in the following sections. For more detail on how the physical parts fit together, refer to a [http://www.souz-96.com/bio/Lexus/RX300_Repair_Manual/U140F%20Automatic%20Transaxle%20Repair%20Manual/Automatic_transaxle.pdf service manual].<br />
<br />
== Calculating the gear ratios ==<br />
<br />
Planetary gear systems seem very complicated until you realise that you can determine the rotation speeds from one simple algebraic equation:<br />
<br />
<math><br />
(R+S)T_p = R T_r + S T_s\\<br />
</math><br />
In this equation, ''R'' is the number of teeth on the ring gear, ''S'' is the number of teeth on the sun gear, and <math>T_p/T_r/T_s</math> are the rotation speeds of the planetary carrier, ring and sun respectively. Note that the number of teeth on the planets does not need to be known; it is uniquely determined from <math>P=(R-S)/2</math>. [https://woodgears.ca/gear/planetary.html]<br />
<br />
Here is the data for the planetary gear systems in the U140 transmission: (source: [https://www.scribd.com/doc/59599849/u140eand-u241])<br />
<br />
{| class="wikitable" style="margin: auto;"<br />
!colspan="3"|Front planetary gearset<br />
|-<br />
|Number of sun gear teeth<br />
|S<sub>1</sub><br />
|43<br />
|-<br />
|Number of ring gear teeth<br />
|R<sub>1</sub><br />
|77<br />
|-<br />
|Number of planet gear teeth<br />
|P<sub>1</sub><br />
|17<br />
|-<br />
!colspan="3"|Rear planetary gearset<br />
|-<br />
|Number of sun gear teeth<br />
|S<sub>2</sub><br />
|31<br />
|-<br />
|Number of ring gear teeth<br />
|R<sub>2</sub><br />
|69<br />
|-<br />
|Number of planet gear teeth<br />
|P<sub>2</sub><br />
|19<br />
|-<br />
!colspan="3"|Underdrive planetary gearset<br />
|-<br />
|Number of sun gear teeth<br />
|S<sub>3</sub><br />
|35<br />
|-<br />
|Number of ring gear teeth<br />
|R<sub>3</sub><br />
|91<br />
|-<br />
|Number of planet gear teeth<br />
|P<sub>3</sub><br />
|28<br />
|}<br />
<br />
The one other piece of information we'll need is the ratio of the counter-drive gears:<br />
<br />
{| class="wikitable" style="margin: auto;"<br />
!colspan="2"|Counter-drive gearset<br />
|-<br />
|Number of teeth on counter-driving gear<br />
|52<br />
|-<br />
|Number of teeth on counter-driven gear<br />
|53<br />
|}<br />
<br />
Now let's take a look at how all the gears are obtained from the three planetary gear systems.<br />
<br />
=== 3rd and 4th gear ===<br />
<br />
In these high gears, clutches C1 and C2 are both engaged, so the sun gears of the front and rear gear systems are both driven at the input speed (<math>T_i</math>). Since the planet carrier of the front system is connected to the ring of the rear system, and vice versa, it might be intuitive that the only sensible solution is for everything to rotate at the same speed (if either gearset were to produce a gear ratio greater than 1:1, one would expect the other to also do so by symmetry, but the cross-coupling requires the ratios must be the reciprocal of each other).<br />
<br />
Let's work through the equations to prove that's the case:<br />
<br />
<math><br />
\begin{cases}<br />
(S_1+R_1) T_c = S_1 T_i + R_1 T_x \quad\text{(1)} \\<br />
(S_2+R_2) T_x = S_2 T_i + R_2 T_c \quad\text{(2)}<br />
\end{cases} \\<br />
\begin{align}<br />
T_x &= \frac{(S_1+R_1) T_c - S_1 T_i}{R_1} &&\text{(from (1))} \\<br />
(S_2+R_2) \left(\frac{(S_1+R_1) T_c - S_1 T_i}{R_1}\right) &= S_2 T_i + R_2 T_c &&\text{(substituting into (2))} \\<br />
(S_2+R_2)(S_1+R_1) T_c - (S_2+R_2) S_1 T_i &= R_1 (S_2 T_i + R_2 T_c) &&\text{(moving $R_1$ over)}\\<br />
(S_2 S_1 + R_2 S_1 + S_2 R_1 + R_2 R_1 - R_2 R_1) T_c &= (S_2 S_1 + R_2 S_1 + S_2 R_1) T_i &&\text{(expanding and grouping)}\\<br />
T_c &= T_i<br />
\end{align}\\</math><br />
<br />
After what seems like an excessive amount of algebra to get to a simple answer, we've proven that the counter-driving gear is spinning at exactly the same rate at the input (1:1); this is called direct drive. This is why clutch C2 is also called the direct drive clutch.<br />
<br />
However, the counter-driving gear has 52 teeth while the counter-driven gear has 53 teeth, so there is actually a small reduction in the transfer to the next stage of the transmission.<br />
<br />
<math><br />
T_{cc} = \frac{52}{53} T_c\\<br />
</math><br />
<br />
The only difference between 3rd and 4th gear is in the operation mode of the underdrive/overdrive gear set.<br />
<br />
In 4th gear, clutch C3 is engaged and locks the sun gear to the planetary carrier which is connected to the output. A characteristic of planetary gear systems is that if any two components are locked together, the third must have the same speed. We can go through the algebra to prove this, which turns out to be much simpler than last time:<br />
<br />
<math>\begin{align}<br />
(S_3+R_3)T_o &= S_3 T_o + R_3 T_{cc} \\<br />
R_3 T_o &= R_3 T_{cc} \\<br />
T_o &= T_{cc} \text{ (as expected)}<br />
\end{align}\\</math><br />
<br />
Indeed in fourth gear all three planetary gear systems are in direct drive (1:1), with only the small reduction factor due to the larger number of teeth on the counter-driven gear.<br />
<br />
<math>\begin{align}<br />
T_o &= \frac{52}{53} T_i \\<br />
&= 0.981 T_i<br />
\end{align}\\</math><br />
<br />
Gear ratios are traditionally given with the output on the denominator, so the gear ratio for 4th gear is quoted in the manual as the reciprocal of this:<br />
<br />
{| class="wikitable" style="margin: auto;"<br />
|-<br />
|<math>\frac{T_i}{T_o} = 1.019 \text{ (4th gear)}</math><br />
|}<br />
<br />
In 3rd gear, brake B3 is engaged and the sun gear is stationary. Then:<br />
<br />
<math>\begin{align}<br />
(S_3+R_3)T_o &= 0 + R_3 T_{cc} \\<br />
T_o &= \frac{R_3}{R_3+S_3} T_{cc} \\<br />
&= \frac{91}{91+35} T_{cc} \\<br />
&= 0.722 T_{cc} \\<br />
&= 0.709 T_c \\<br />
&= 0.709 T_i \text{ (front two systems in direct drive as before)}<br />
\end{align}\\</math><br />
<br />
{| class="wikitable" style="margin: auto;"<br />
|-<br />
|<math>\frac{T_i}{T_o} = 1.411 \text{ (3rd gear)}</math><br />
|}<br />
<br />
=== 2nd gear ===<br />
<br />
In 2nd gear, C1 is engaged (connecting the sun of the front system to the input) and B1 is engaged (stopping the sun of the rear system). Then we have:<br />
<br />
<math>\begin{cases}<br />
(S_1+R_1) T_c &= S_1 T_i + R_1 T_x \\<br />
(S_2+R_2) T_x &= 0 + R_2 T_c<br />
\end{cases} \\<br />
\begin{align}<br />
T_x &= \frac{R_2}{S_2+R_2} T_c &&\text{(from (2))} \\<br />
(S_1+R_1) T_c &= S_1 T_i + R_1 \frac{R_2}{S_2+R_2} T_c &&\text{(substituting into (1))} \\<br />
\left(S_1 + \left(1-\frac{R2}{S2+R2}\right)R_1\right) T_c &= S_1 T_i &&\text{(grouping)} \\<br />
T_c &= \frac{S_1}{S_1 + \left(1-\frac{R_2}{S_2+R_2}\right)R_1} \\<br />
T_c &= 0.643 T_i<br />
\end{align}</math><br />
<br />
The underdrive system operates in underdrive as for 3rd gear, so:<br />
<br />
<math><br />
T_o = 0.709 \times 0.643 T_i\\<br />
</math><br />
<br />
{| class="wikitable" style="margin: auto;"<br />
|-<br />
|<math>\frac{T_i}{T_o} = 2.194 \text{ (2nd gear)}</math><br />
|}<br />
<br />
=== 1st gear ===<br />
In 1st gear, C1 is again engaged (connecting the input to the sun of the front system) but instead of B1 we apply B2 (stopping the ring of the front system). Then:<br />
<br />
<math>\begin{align}<br />
(S_1 + R_1) T_c &= S_1 T_1 + 0 \\<br />
T_c &= \frac{S_1}{S_1 + R_1} T_i \\<br />
&= 0.358 Ti<br />
\end{align}\\</math><br />
<br />
Again the underdrive system is in the underdrive configuration, so:<br />
<br />
<math><br />
T_o = 0.709 \times 0.358 T_i\\<br />
</math><br />
<br />
{| class="wikitable" style="margin: auto;"<br />
|-<br />
|<math>\frac{T_i}{T_o} = 3.938 \text{ (1st gear)}</math><br />
|}<br />
<br />
=== Reverse ===<br />
In reverse, C2 is engaged (connecting the input to the sun of the rear system) as well as B2 (stopping the planetary carrier of the rear system). Stopping the planetary carrier in a planetary gear system results in a reverse drive. We can once again show this with the algebra:<br />
<br />
<math>\begin{align}<br />
0 &= S_2 T_i + R_2 T_c \\<br />
T_c &= -\frac{S_2}{R_2} T_i \\<br />
&= -0.449 T_i<br />
\end{align}\\</math><br />
<br />
As usual the counter-driven gear and underdrive scale this by 0.709:<br />
<br />
<math><br />
T_o = 0.709 \times -0.449 T_i\\<br />
</math><br />
<br />
{| class="wikitable" style="margin: auto;"<br />
|-<br />
|<math>\frac{T_i}{T_o} = -3.141 \text{ (Reverse gear)}</math><br />
|}<br />
<br />
You can verify against [https://en.wikipedia.org/wiki/Toyota_U_transmission Wikipedia] that we've calculated all the gear ratios correctly.<br />
<br />
=== Neutral and park ===<br />
In neutral and park, no clutches are engaged except for B3. Since neither C1 or C2 are engaged, the input shaft from the engine spins freely, and the wheels drive the rest of the transmission as if it were in third gear. In park, a parking lock pawl is engaged that locks the underdrive planetary carrier to stop it rotating.<br />
<br />
(Presumably, B3 is released when the engine stops and the transmission loses oil pressure. However, the underdrive planetary carrier is now held by the parking pawl.)<br />
<br />
== One-way clutches ==<br />
There are also two one-way clutches in the U140 transmission that I haven't described above: one operates alongside B2 and the other alongside B3, allowing rotation in one direction but not the other. I believe these are used to smooth out gear changes as follows, although do let me know if I am wrong, I could find very little information about them.<br />
<br />
Consider the gear change from 1st to 2nd (or indeed 2nd to 1st). Changing from 1st to 2nd requires releasing brake B2 (the front ring gear) and engaging brake B1 (the rear sun gear). The problem is the timing of this change. If the engagement of B1 comes first, even by milliseconds, the transmission will start jerking to a stop. If the release of B2 comes first, the planetary gear system becomes under-constrained, and the power of the engine starts being transferred into rotating this front ring gear backwards (since it's easy to turn) rather than driving the output (which is harder to turn). The solution is to use a one-way clutch alongside B2. This one-way clutch stops the ring gear rotating backwards when B2 is released, while allowing it to rotate forwards when B1 is then applied.<br />
<br />
The gear change from 2nd to 3rd requires changing from B1 to C2. I believe the same problem would occur that, when B1 is released, engine power starts being transferred into slowing down the front ring and driving the rear sun backwards. However, there does not seem to be any special one-way clutch alongside B1 to prevent the rear sun going backwards; perhaps B1-C2 can be done quickly enough that it is not a problem in practice, or there is some other trick used for this change.<br />
<br />
The gear change from 3rd to 4th requires changing from B3 to C3. Again, after releasing B3, the underdrive gear system becomes under-constrained, and power will tend to flow into rotating the sun gear backwards rather than into turning the planetary carrier (output) forwards. Here there is indeed a one-way clutch on the underdrive sun gear alongside B3 that will stop this from happening.<br />
<br />
== U140E vs U140F ==<br />
There are two variants of the U140: the U140F is used on AWD models and includes a transfer case in the transaxle assembly, while the U140E is used on 2WD vehicles and does not. Otherwise both share the same transmission components described above.</div>Matthttps://zmatt.net/w/index.php?title=Toyota_U140_transmission&diff=26Toyota U140 transmission2016-10-02T23:10:30Z<p>Matt: </p>
<hr />
<div>Here is a schematic of the U140 automatic transmission used in the RAV4 (not including the torque converter on the front end, or the transfer case and differentials on the rear end):<br />
<br />
[[File:u140-transmission.png|center]]<br />
<br />
This is rather daunting at first glance, and I don't recommend trying to understand it before your morning coffee, but after staring at it for a while it does start to make sense.<br />
<br />
There are three planetary gearsets, two of which are used to generate the main gear ratios and the third used for overdrive. Each planetary gearset consists of a sun gear (labelled S in the above diagram), a planet carrier and set of planet gears (P), and a ring gear (R). If you have never worked with planetary gears before, it is worth having a look at [https://www.youtube.com/watch?v=Ugao6jTyM7k this video] that explains the principles of an automatic transmission, and [https://woodgears.ca/gear/planetary.html this page] which has some great pictures and information about planetary gears; I found both of these resources very helpful.<br />
<br />
Unlike in a manual transmission, all of the gears in an automatic transmission are permanently meshed together regardless of what gear the vehicle is in. Instead of moving the gears, gear ratios are selected by choosing which gears to actively drive (using clutches) and which to hold stopped (using brakes). In the above transmission there are three clutches (C1, C2, C3) and three brakes (B1, B2, B3). Engaging C1 connects the input shaft to the front sun gear. Engaging C2 connects the input shaft to the rear sun gear. Engaging B1 stops the rear sun gear (therefore, it is true to assume that B1 and C2 are never engaged at the same time). B2 stops the front ring gear. B3 stops the underdrive sun gear, and C3 gangs it together with the planetary carrier of the same system.<br />
<br />
The different gears are then achieved as follows:<br />
* 1st gear: C1, B2, B3<br />
* 2nd gear: C1, B1, B3<br />
* 3rd gear: C1, C2, B3<br />
* 4th gear: C1, C2, C3<br />
* Reverse: C2, B2, B3<br />
<br />
How this works is not at all obvious, and I'll work through how the gear ratios are achieved in the following sections. For more detail on how the physical parts fit together, refer to a [http://www.souz-96.com/bio/Lexus/RX300_Repair_Manual/U140F%20Automatic%20Transaxle%20Repair%20Manual/Automatic_transaxle.pdf service manual].<br />
<br />
== Calculating the gear ratios ==<br />
<br />
Planetary gear systems seem very complicated until you realise that you can determine the rotation speeds from one simple algebraic equation:<br />
<br />
<math><br />
(R+S)T_p = R T_r + S T_s\\<br />
</math><br />
In this equation, ''R'' is the number of teeth on the ring gear, ''S'' is the number of teeth on the sun gear, and <math>T_p/T_r/T_s</math> are the rotation speeds of the planetary carrier, ring and sun respectively. Note that the number of teeth on the planets does not need to be known; it is uniquely determined from <math>P=(R-S)/2</math>. [https://woodgears.ca/gear/planetary.html]<br />
<br />
Here is the data for the planetary gear systems in the U140 transmission: (source: [https://www.scribd.com/doc/59599849/u140eand-u241])<br />
<br />
{| class="wikitable" style="margin: auto;"<br />
!colspan="3"|Front planetary gearset<br />
|-<br />
|Number of sun gear teeth<br />
|S<sub>1</sub><br />
|43<br />
|-<br />
|Number of ring gear teeth<br />
|R<sub>1</sub><br />
|77<br />
|-<br />
|Number of planet gear teeth<br />
|P<sub>1</sub><br />
|17<br />
|-<br />
!colspan="3"|Rear planetary gearset<br />
|-<br />
|Number of sun gear teeth<br />
|S<sub>2</sub><br />
|31<br />
|-<br />
|Number of ring gear teeth<br />
|R<sub>2</sub><br />
|69<br />
|-<br />
|Number of planet gear teeth<br />
|P<sub>2</sub><br />
|19<br />
|-<br />
!colspan="3"|Underdrive planetary gearset<br />
|-<br />
|Number of sun gear teeth<br />
|S<sub>3</sub><br />
|35<br />
|-<br />
|Number of ring gear teeth<br />
|R<sub>3</sub><br />
|91<br />
|-<br />
|Number of planet gear teeth<br />
|P<sub>3</sub><br />
|28<br />
|}<br />
<br />
The one other piece of information we'll need is the ratio of the counter-drive gears:<br />
<br />
{| class="wikitable" style="margin: auto;"<br />
!colspan="2"|Counter-drive gearset<br />
|-<br />
|Number of teeth on counter-driving gear<br />
|52<br />
|-<br />
|Number of teeth on counter-driven gear<br />
|53<br />
|}<br />
<br />
Now let's take a look at how all the gears are obtained from the three planetary gear systems.<br />
<br />
=== 3rd and 4th gear ===<br />
<br />
In these high gears, clutches C1 and C2 are both engaged, so the sun gears of the front and rear gear systems are both driven at the input speed (<math>T_i</math>). Since the planet carrier of the front system is connected to the ring of the rear system, and vice versa, it might be intuitive that the only sensible solution is for everything to rotate at the same speed (if either gearset were to produce a gear ratio greater than 1:1, one would expect the other to also do so by symmetry, but the cross-coupling requires the ratios must be the reciprocal of each other).<br />
<br />
Let's work through the equations to prove that's the case:<br />
<br />
<math><br />
\begin{cases}<br />
(S_1+R_1) T_c = S_1 T_i + R_1 T_x \quad\text{(1)} \\<br />
(S_2+R_2) T_x = S_2 T_i + R_2 T_c \quad\text{(2)}<br />
\end{cases} \\<br />
\begin{align}<br />
T_x &= \frac{(S_1+R_1) T_c - S_1 T_i}{R_1} &&\text{(from (1))} \\<br />
(S_2+R_2) \left(\frac{(S_1+R_1) T_c - S_1 T_i}{R_1}\right) &= S_2 T_i + R_2 T_c &&\text{(substituting into (2))} \\<br />
(S_2+R_2)(S_1+R_1) T_c - (S_2+R_2) S_1 T_i &= R_1 (S_2 T_i + R_2 T_c) &&\text{(moving $R_1$ over)}\\<br />
(S_2 S_1 + R_2 S_1 + S_2 R_1 + R_2 R_1 - R_2 R_1) T_c &= (S_2 S_1 + R_2 S_1 + S_2 R_1) T_i &&\text{(expanding and grouping)}\\<br />
T_c &= T_i<br />
\end{align}\\</math><br />
<br />
After what seems like an excessive amount of algebra to get to a simple answer, we've proven that the counter-driving gear is spinning at exactly the same rate at the input (1:1); this is called direct drive. This is why clutch C2 is also called the direct drive clutch.<br />
<br />
However, the counter-driving gear has 52 teeth while the counter-driven gear has 53 teeth, so there is actually a small reduction in the transfer to the next stage of the transmission.<br />
<br />
<math><br />
T_{cc} = \frac{52}{53} T_c\\<br />
</math><br />
<br />
The only difference between 3rd and 4th gear is in the operation mode of the underdrive/overdrive gear set.<br />
<br />
In 4th gear, clutch C3 is engaged and locks the sun gear to the planetary carrier which is connected to the output. A characteristic of planetary gear systems is that if any two components are locked together, the third must have the same speed. We can go through the algebra to prove this, which turns out to be much simpler than last time:<br />
<br />
<math>\begin{align}<br />
(S_3+R_3)T_o &= S_3 T_o + R_3 T_{cc} \\<br />
R_3 T_o &= R_3 T_{cc} \\<br />
T_o &= T_{cc} \text{ (as expected)}<br />
\end{align}\\</math><br />
<br />
Indeed in fourth gear all three planetary gear systems are in direct drive (1:1), with only the small reduction factor due to the larger number of teeth on the counter-driven gear.<br />
<br />
<math>\begin{align}<br />
T_o &= \frac{52}{53} T_i \\<br />
&= 0.981 T_i<br />
\end{align}\\</math><br />
<br />
Gear ratios are traditionally given with the output on the denominator, so the gear ratio for 4th gear is quoted in the manual as the reciprocal of this:<br />
<br />
{| class="wikitable" style="margin: auto;"<br />
|-<br />
|<math>\frac{T_i}{T_o} = 1.019 \text{ (4th gear)}</math><br />
|}<br />
<br />
In 3rd gear, brake B3 is engaged and the sun gear is stationary. Then:<br />
<br />
<math>\begin{align}<br />
(S_3+R_3)T_o &= 0 + R_3 T_{cc} \\<br />
T_o &= \frac{R_3}{R_3+S_3} T_{cc} \\<br />
&= \frac{91}{91+35} T_{cc} \\<br />
&= 0.722 T_{cc} \\<br />
&= 0.709 T_c \\<br />
&= 0.709 T_i \text{ (front two systems in direct drive as before)}<br />
\end{align}\\</math><br />
<br />
{| class="wikitable" style="margin: auto;"<br />
|-<br />
|<math>\frac{T_i}{T_o} = 1.411 \text{ (3rd gear)}</math><br />
|}<br />
<br />
=== 2nd gear ===<br />
<br />
In 2nd gear, C1 is engaged (connecting the sun of the front system to the input) and B1 is engaged (stopping the sun of the rear system). Then we have:<br />
<br />
<math>\begin{cases}<br />
(S_1+R_1) T_c &= S_1 T_i + R_1 T_x \\<br />
(S_2+R_2) T_x &= 0 + R_2 T_c<br />
\end{cases} \\<br />
\begin{align}<br />
T_x &= \frac{R_2}{S_2+R_2} T_c &&\text{(from (2))} \\<br />
(S_1+R_1) T_c &= S_1 T_i + R_1 \frac{R_2}{S_2+R_2} T_c &&\text{(substituting into (1))} \\<br />
\left(S_1 + \left(1-\frac{R2}{S2+R2}\right)R_1\right) T_c &= S_1 T_i &&\text{(grouping)} \\<br />
T_c &= \frac{S_1}{S_1 + \left(1-\frac{R_2}{S_2+R_2}\right)R_1} \\<br />
T_c &= 0.643 T_i<br />
\end{align}</math><br />
<br />
The underdrive system operates in underdrive as for 3rd gear, so:<br />
<br />
<math><br />
T_o = 0.709 \times 0.643 T_i\\<br />
</math><br />
<br />
{| class="wikitable" style="margin: auto;"<br />
|-<br />
|<math>\frac{T_i}{T_o} = 2.194 \text{ (2nd gear)}</math><br />
|}<br />
<br />
=== 1st gear ===<br />
In 1st gear, C1 is again engaged (connecting the input to the sun of the front system) but instead of B1 we apply B2 (stopping the ring of the front system). Then:<br />
<br />
<math>\begin{align}<br />
(S_1 + R_1) T_c &= S_1 T_1 + 0 \\<br />
T_c &= \frac{S_1}{S_1 + R_1} T_i \\<br />
&= 0.358 Ti<br />
\end{align}\\</math><br />
<br />
Again the underdrive system is in the underdrive configuration, so:<br />
<br />
<math><br />
T_o = 0.709 \times 0.358 T_i\\<br />
</math><br />
<br />
{| class="wikitable" style="margin: auto;"<br />
|-<br />
|<math>\frac{T_i}{T_o} = 3.938 \text{ (1st gear)}</math><br />
|}<br />
<br />
=== Reverse ===<br />
In reverse, C2 is engaged (connecting the input to the sun of the rear system) as well as B2 (stopping the planetary carrier of the rear system). Stopping the planetary carrier in a planetary gear system results in a reverse drive. We can once again show this with the algebra:<br />
<br />
<math>\begin{align}<br />
0 &= S_2 T_i + R_2 T_c \\<br />
T_c &= -\frac{S_2}{R_2} T_i \\<br />
&= -0.449 T_i<br />
\end{align}\\</math><br />
<br />
As usual the counter-driven gear and underdrive scale this by 0.709:<br />
<br />
<math><br />
T_o = 0.709 \times -0.449 T_i\\<br />
</math><br />
<br />
{| class="wikitable" style="margin: auto;"<br />
|-<br />
|<math>\frac{T_i}{T_o} = -3.141 \text{ (Reverse gear)}</math><br />
|}<br />
<br />
You can verify against [https://en.wikipedia.org/wiki/Toyota_U_transmission Wikipedia] that we've calculated all the gear ratios correctly.<br />
<br />
=== Neutral and park ===<br />
In neutral and park, no clutches are engaged except for B3. Since neither C1 or C2 are engaged, the input shaft from the engine spins freely, and the wheels drive the rest of the transmission as if it were in third gear. In park, a parking lock pawl is engaged that locks the underdrive planetary carrier to stop it rotating.<br />
<br />
(Presumably, B3 is released when the engine stops and the transmission loses oil pressure. However, the underdrive planetary carrier is now held by the parking pawl.)<br />
<br />
== One-way clutches ==<br />
There are also two one-way clutches in the U140 transmission that I haven't described above: one operates alongside B2 and the other alongside B3, allowing rotation in one direction but not the other. I believe these are used to smooth out gear changes as follows, although do let me know if I am wrong, I could find very little information about them.<br />
<br />
Consider the gear change from 1st to 2nd (or indeed 2nd to 1st). Changing from 1st to 2nd requires releasing brake B2 (the front ring gear) and engaging brake B1 (the rear sun gear). The problem is the timing of this change. If the engagement of B1 comes first, even by milliseconds, the transmission will start jerking to a stop. If the release of B2 comes first, the planetary gear system becomes under-constrained, and the power of the engine starts being transferred into rotating this front ring gear backwards (since it's easy to turn) rather than driving the output (which is harder to turn). The solution is to use a one-way clutch alongside B2. This one-way clutch stops the ring gear rotating backwards when B2 is released, while allowing it to rotate forwards when B1 is then applied.<br />
<br />
The gear change from 2nd to 3rd requires changing from B1 to C2. I believe the same problem would occur that, when B1 is released, engine power starts being transferred into slowing down the front ring and driving the rear sun backwards. However, there does not seem to be any special one-way clutch alongside B1 to prevent the rear sun going backwards; perhaps B1-C2 can be done quickly enough that it is not a problem in practice, or there is some other trick used for this change.<br />
<br />
The gear change from 3rd to 4th requires changing from B3 to C3. Again, after releasing B3, the underdrive gear system becomes under-constrained, and power will tend to flow into rotating the sun gear backwards rather than into turning the planetary carrier (output) forwards. Here there is indeed a one-way clutch on the underdrive sun gear alongside B3 that will stop this from happening.<br />
<br />
== U140E vs U140F ==<br />
There are two variants of the U140: the U140F is used on AWD models and includes a transfer case in the transaxle assembly, while the U140E is used on 2WD vehicles and does not. Otherwise both share the same transmission components described above.</div>Matthttps://zmatt.net/w/index.php?title=Toyota_U140_transmission&diff=25Toyota U140 transmission2016-10-02T23:07:28Z<p>Matt: </p>
<hr />
<div>Here is a schematic of the U140 automatic transmission used in the RAV4 (not including the torque converter on the front end, or the transfer case and differentials on the rear end):<br />
<br />
[[File:u140-transmission.png|center]]<br />
<br />
This is rather daunting at first glance, and I don't recommend trying to understand it before your morning coffee, but after staring at it for a while it does start to make sense.<br />
<br />
There are three planetary gearsets, two of which are used to generate the main gear ratios and the third used for overdrive. Each planetary gearset consists of a sun gear (labelled S in the above diagram), a planet carrier and set of planet gears (P), and a ring gear (R). If you have never worked with planetary gears before, it is worth having a look at [https://woodgears.ca/gear/planetary.html this page] which has some great pictures and information about planetary gears, and [https://www.youtube.com/watch?v=Ugao6jTyM7k this video] that explains the principles of an automatic transmission; I found both of these resources very helpful.<br />
<br />
Unlike in a manual transmission, all of the gears in an automatic transmission are permanently meshed together regardless of what gear the vehicle is in. Instead of moving the gears, gear ratios are selected by choosing which gears to actively drive (using clutches) and which to hold stopped (using brakes). In the above transmission there are three clutches (C1, C2, C3) and three brakes (B1, B2, B3). Engaging C1 connects the input shaft to the front sun gear. Engaging C2 connects the input shaft to the rear sun gear. Engaging B1 stops the rear sun gear (therefore, it is true to assume that B1 and C2 are never engaged at the same time). B2 stops the front ring gear. B3 stops the underdrive sun gear, and C3 gangs it together with the planetary carrier of the same system.<br />
<br />
The different gears are then achieved as follows:<br />
* 1st gear: C1, B2, B3<br />
* 2nd gear: C1, B1, B3<br />
* 3rd gear: C1, C2, B3<br />
* 4th gear: C1, C2, C3<br />
* Reverse: C2, B2, B3<br />
<br />
How this works is not at all obvious, and I'll work through how the gear ratios are achieved in the following sections. For more detail on how the physical parts fit together, refer to a [http://www.souz-96.com/bio/Lexus/RX300_Repair_Manual/U140F%20Automatic%20Transaxle%20Repair%20Manual/Automatic_transaxle.pdf service manual].<br />
<br />
== Calculating the gear ratios ==<br />
<br />
Planetary gear systems seem very complicated until you realise that you can determine the rotation speeds from one simple algebraic equation:<br />
<br />
<math><br />
(R+S)T_p = R T_r + S T_s\\<br />
</math><br />
In this equation, ''R'' is the number of teeth on the ring gear, ''S'' is the number of teeth on the sun gear, and <math>T_p/T_r/T_s</math> are the rotation speeds of the planetary carrier, ring and sun respectively. Note that the number of teeth on the planets does not need to be known; it is uniquely determined from <math>P=(R-S)/2</math>. [https://woodgears.ca/gear/planetary.html]<br />
<br />
Here is the data for the planetary gear systems in the U140 transmission: (source: [https://www.scribd.com/doc/59599849/u140eand-u241])<br />
<br />
{| class="wikitable" style="margin: auto;"<br />
!colspan="3"|Front planetary gearset<br />
|-<br />
|Number of sun gear teeth<br />
|S<sub>1</sub><br />
|43<br />
|-<br />
|Number of ring gear teeth<br />
|R<sub>1</sub><br />
|77<br />
|-<br />
|Number of planet gear teeth<br />
|P<sub>1</sub><br />
|17<br />
|-<br />
!colspan="3"|Rear planetary gearset<br />
|-<br />
|Number of sun gear teeth<br />
|S<sub>2</sub><br />
|31<br />
|-<br />
|Number of ring gear teeth<br />
|R<sub>2</sub><br />
|69<br />
|-<br />
|Number of planet gear teeth<br />
|P<sub>2</sub><br />
|19<br />
|-<br />
!colspan="3"|Underdrive planetary gearset<br />
|-<br />
|Number of sun gear teeth<br />
|S<sub>3</sub><br />
|35<br />
|-<br />
|Number of ring gear teeth<br />
|R<sub>3</sub><br />
|91<br />
|-<br />
|Number of planet gear teeth<br />
|P<sub>3</sub><br />
|28<br />
|}<br />
<br />
The one other piece of information we'll need is the ratio of the counter-drive gears:<br />
<br />
{| class="wikitable" style="margin: auto;"<br />
!colspan="2"|Counter-drive gearset<br />
|-<br />
|Number of teeth on counter-driving gear<br />
|52<br />
|-<br />
|Number of teeth on counter-driven gear<br />
|53<br />
|}<br />
<br />
Now let's take a look at how all the gears are obtained from the three planetary gear systems.<br />
<br />
=== 3rd and 4th gear ===<br />
<br />
In these high gears, clutches C1 and C2 are both engaged, so the sun gears of the front and rear gear systems are both driven at the input speed (<math>T_i</math>). Since the planet carrier of the front system is connected to the ring of the rear system, and vice versa, it might be intuitive that the only sensible solution is for everything to rotate at the same speed (if either gearset were to produce a gear ratio greater than 1:1, one would expect the other to also do so by symmetry, but the cross-coupling requires the ratios must be the reciprocal of each other).<br />
<br />
Let's work through the equations to prove that's the case:<br />
<br />
<math><br />
\begin{cases}<br />
(S_1+R_1) T_c = S_1 T_i + R_1 T_x \quad\text{(1)} \\<br />
(S_2+R_2) T_x = S_2 T_i + R_2 T_c \quad\text{(2)}<br />
\end{cases} \\<br />
\begin{align}<br />
T_x &= \frac{(S_1+R_1) T_c - S_1 T_i}{R_1} &&\text{(from (1))} \\<br />
(S_2+R_2) \left(\frac{(S_1+R_1) T_c - S_1 T_i}{R_1}\right) &= S_2 T_i + R_2 T_c &&\text{(substituting into (2))} \\<br />
(S_2+R_2)(S_1+R_1) T_c - (S_2+R_2) S_1 T_i &= R_1 (S_2 T_i + R_2 T_c) &&\text{(moving $R_1$ over)}\\<br />
(S_2 S_1 + R_2 S_1 + S_2 R_1 + R_2 R_1 - R_2 R_1) T_c &= (S_2 S_1 + R_2 S_1 + S_2 R_1) T_i &&\text{(expanding and grouping)}\\<br />
T_c &= T_i<br />
\end{align}\\</math><br />
<br />
After what seems like an excessive amount of algebra to get to a simple answer, we've proven that the counter-driving gear is spinning at exactly the same rate at the input (1:1); this is called direct drive. This is why clutch C2 is also called the direct drive clutch.<br />
<br />
However, the counter-driving gear has 52 teeth while the counter-driven gear has 53 teeth, so there is actually a small reduction in the transfer to the next stage of the transmission.<br />
<br />
<math><br />
T_{cc} = \frac{52}{53} T_c\\<br />
</math><br />
<br />
The only difference between 3rd and 4th gear is in the operation mode of the underdrive/overdrive gear set.<br />
<br />
In 4th gear, clutch C3 is engaged and locks the sun gear to the planetary carrier which is connected to the output. A characteristic of planetary gear systems is that if any two components are locked together, the third must have the same speed. We can go through the algebra to prove this, which turns out to be much simpler than last time:<br />
<br />
<math>\begin{align}<br />
(S_3+R_3)T_o &= S_3 T_o + R_3 T_{cc} \\<br />
R_3 T_o &= R_3 T_{cc} \\<br />
T_o &= T_{cc} \text{ (as expected)}<br />
\end{align}\\</math><br />
<br />
Indeed in fourth gear all three planetary gear systems are in direct drive (1:1), with only the small reduction factor due to the larger number of teeth on the counter-driven gear.<br />
<br />
<math>\begin{align}<br />
T_o &= \frac{52}{53} T_i \\<br />
&= 0.981 T_i<br />
\end{align}\\</math><br />
<br />
Gear ratios are traditionally given with the output on the denominator, so the gear ratio for 4th gear is quoted in the manual as the reciprocal of this:<br />
<br />
{| class="wikitable" style="margin: auto;"<br />
|-<br />
|<math>\frac{T_i}{T_o} = 1.019 \text{ (4th gear)}</math><br />
|}<br />
<br />
In 3rd gear, brake B3 is engaged and the sun gear is stationary. Then:<br />
<br />
<math>\begin{align}<br />
(S_3+R_3)T_o &= 0 + R_3 T_{cc} \\<br />
T_o &= \frac{R_3}{R_3+S_3} T_{cc} \\<br />
&= \frac{91}{91+35} T_{cc} \\<br />
&= 0.722 T_{cc} \\<br />
&= 0.709 T_c \\<br />
&= 0.709 T_i \text{ (front two systems in direct drive as before)}<br />
\end{align}\\</math><br />
<br />
{| class="wikitable" style="margin: auto;"<br />
|-<br />
|<math>\frac{T_i}{T_o} = 1.411 \text{ (3rd gear)}</math><br />
|}<br />
<br />
=== 2nd gear ===<br />
<br />
In 2nd gear, C1 is engaged (connecting the sun of the front system to the input) and B1 is engaged (stopping the sun of the rear system). Then we have:<br />
<br />
<math>\begin{cases}<br />
(S_1+R_1) T_c &= S_1 T_i + R_1 T_x \\<br />
(S_2+R_2) T_x &= 0 + R_2 T_c<br />
\end{cases} \\<br />
\begin{align}<br />
T_x &= \frac{R_2}{S_2+R_2} T_c &&\text{(from (2))} \\<br />
(S_1+R_1) T_c &= S_1 T_i + R_1 \frac{R_2}{S_2+R_2} T_c &&\text{(substituting into (1))} \\<br />
\left(S_1 + \left(1-\frac{R2}{S2+R2}\right)R_1\right) T_c &= S_1 T_i &&\text{(grouping)} \\<br />
T_c &= \frac{S_1}{S_1 + \left(1-\frac{R_2}{S_2+R_2}\right)R_1} \\<br />
T_c &= 0.643 T_i<br />
\end{align}</math><br />
<br />
The underdrive system operates in underdrive as for 3rd gear, so:<br />
<br />
<math><br />
T_o = 0.709 \times 0.643 T_i\\<br />
</math><br />
<br />
{| class="wikitable" style="margin: auto;"<br />
|-<br />
|<math>\frac{T_i}{T_o} = 2.194 \text{ (2nd gear)}</math><br />
|}<br />
<br />
=== 1st gear ===<br />
In 1st gear, C1 is again engaged (connecting the input to the sun of the front system) but instead of B1 we apply B2 (stopping the ring of the front system). Then:<br />
<br />
<math>\begin{align}<br />
(S_1 + R_1) T_c &= S_1 T_1 + 0 \\<br />
T_c &= \frac{S_1}{S_1 + R_1} T_i \\<br />
&= 0.358 Ti<br />
\end{align}\\</math><br />
<br />
Again the underdrive system is in the underdrive configuration, so:<br />
<br />
<math><br />
T_o = 0.709 \times 0.358 T_i\\<br />
</math><br />
<br />
{| class="wikitable" style="margin: auto;"<br />
|-<br />
|<math>\frac{T_i}{T_o} = 3.938 \text{ (1st gear)}</math><br />
|}<br />
<br />
=== Reverse ===<br />
In reverse, C2 is engaged (connecting the input to the sun of the rear system) as well as B2 (stopping the planetary carrier of the rear system). Stopping the planetary carrier in a planetary gear system results in a reverse drive. We can once again show this with the algebra:<br />
<br />
<math>\begin{align}<br />
0 &= S_2 T_i + R_2 T_c \\<br />
T_c &= -\frac{S_2}{R_2} T_i \\<br />
&= -0.449 T_i<br />
\end{align}\\</math><br />
<br />
As usual the counter-driven gear and underdrive scale this by 0.709:<br />
<br />
<math><br />
T_o = 0.709 \times -0.449 T_i\\<br />
</math><br />
<br />
{| class="wikitable" style="margin: auto;"<br />
|-<br />
|<math>\frac{T_i}{T_o} = -3.141 \text{ (Reverse gear)}</math><br />
|}<br />
<br />
You can verify against [https://en.wikipedia.org/wiki/Toyota_U_transmission Wikipedia] that we've calculated all the gear ratios correctly.<br />
<br />
=== Neutral and park ===<br />
In neutral and park, no clutches are engaged except for B3. Since neither C1 or C2 are engaged, the input shaft from the engine spins freely, and the wheels drive the rest of the transmission as if it were in third gear. In park, a parking lock pawl is engaged that locks the underdrive planetary carrier to stop it rotating.<br />
<br />
(Presumably, B3 is released when the engine stops and the transmission loses oil pressure. However, the underdrive planetary carrier is now held by the parking pawl.)<br />
<br />
== One-way clutches ==<br />
There are also two one-way clutches in the U140 transmission that I haven't described above: one operates alongside B2 and the other alongside B3, allowing rotation in one direction but not the other. I believe these are used to smooth out gear changes as follows, although do let me know if I am wrong, I could find very little information about them.<br />
<br />
Consider the gear change from 1st to 2nd (or indeed 2nd to 1st). Changing from 1st to 2nd requires releasing brake B2 (the front ring gear) and engaging brake B1 (the rear sun gear). The problem is the timing of this change. If the engagement of B1 comes first, even by milliseconds, the transmission will start jerking to a stop. If the release of B2 comes first, the planetary gear system becomes under-constrained, and the power of the engine starts being transferred into rotating this front ring gear backwards (since it's easy to turn) rather than driving the output (which is harder to turn). The solution is to use a one-way clutch alongside B2. This one-way clutch stops the ring gear rotating backwards when B2 is released, while allowing it to rotate forwards when B1 is then applied.<br />
<br />
The gear change from 2nd to 3rd requires changing from B1 to C2. I believe the same problem would occur that, when B1 is released, engine power starts being transferred into slowing down the front ring and driving the rear sun backwards. However, there does not seem to be any special one-way clutch alongside B1 to prevent the rear sun going backwards; perhaps B1-C2 can be done quickly enough that it is not a problem in practice, or there is some other trick used for this change.<br />
<br />
The gear change from 3rd to 4th requires changing from B3 to C3. Again, after releasing B3, the underdrive gear system becomes under-constrained, and power will tend to flow into rotating the sun gear backwards rather than into turning the planetary carrier (output) forwards. Here there is indeed a one-way clutch on the underdrive sun gear alongside B3 that will stop this from happening.<br />
<br />
== U140E vs U140F ==<br />
There are two variants of the U140: the U140F is used on AWD models and includes a transfer case in the transaxle assembly, while the U140E is used on 2WD vehicles and does not. Otherwise both share the same transmission components described above.</div>Matthttps://zmatt.net/w/index.php?title=Toyota_U140_transmission&diff=24Toyota U140 transmission2016-10-02T15:52:08Z<p>Matt: /* One-way clutches */</p>
<hr />
<div>Here is a schematic of the U140 automatic transmission used in the RAV4 (not including the torque converter on the front end, or the transfer case and differentials on the rear end):<br />
<br />
[[File:u140-transmission.png|center]]<br />
<br />
This is rather daunting at first glance, and I don't recommend trying to understand it before your morning coffee, but after staring at it for a while it does start to make sense.<br />
<br />
There are three planetary gearsets, two of which are used to generate the main gear ratios and the third used for overdrive. Each planetary gearset consists of a sun gear (labelled S in the above diagram), a planet carrier and set of planet gears (P), and a ring gear (R). If you have never worked with planetary gears before, it is worth having a look at [https://www.youtube.com/watch?v=Ugao6jTyM7k this video] that explains the principles of an automatic transmission, and [https://woodgears.ca/gear/planetary.html this page] which has some great pictures and information about planetary gears; I found both of these resources very helpful.<br />
<br />
In addition to the planetary gearsets, there are three clutches (C1, C2, C3) and three brakes (B1, B2, B3). Engaging C1 connects the input shaft to the front sun gear. Engaging C2 connects the input shaft to the rear sun gear. Engaging B1 stops the rear sun gear (therefore, it is true to assume that B1 and C2 are never engaged at the same time). B2 stops the front ring gear. B3 stops the underdrive sun gear, and C3 gangs it together with the planetary carrier of the same system.<br />
<br />
The different gears are then achieved as follows:<br />
* 1st gear: C1, B2, B3<br />
* 2nd gear: C1, B1, B3<br />
* 3rd gear: C1, C2, B3<br />
* 4th gear: C1, C2, C3<br />
* Reverse: C2, B2, B3<br />
<br />
How this works is not at all obvious, and I'll work through how the gear ratios are achieved in the following sections. For more detail on how the physical parts fit together, refer to a [http://www.souz-96.com/bio/Lexus/RX300_Repair_Manual/U140F%20Automatic%20Transaxle%20Repair%20Manual/Automatic_transaxle.pdf service manual].<br />
<br />
== Calculating the gear ratios ==<br />
<br />
Planetary gear systems seem very complicated until you realise that you can determine the rotation speeds from one simple algebraic equation:<br />
<br />
<math><br />
(R+S)T_p = R T_r + S T_s\\<br />
</math><br />
In this equation, ''R'' is the number of teeth on the ring gear, ''S'' is the number of teeth on the sun gear, and <math>T_p/T_r/T_s</math> are the rotation speeds of the planetary carrier, ring and sun respectively. Note that the number of teeth on the planets does not need to be known; it is uniquely determined from <math>P=(R-S)/2</math>. [https://woodgears.ca/gear/planetary.html]<br />
<br />
Here is the data for the planetary gear systems in the U140 transmission: (source: [https://www.scribd.com/doc/59599849/u140eand-u241])<br />
<br />
{| class="wikitable" style="margin: auto;"<br />
!colspan="3"|Front planetary gearset<br />
|-<br />
|Number of sun gear teeth<br />
|S<sub>1</sub><br />
|43<br />
|-<br />
|Number of ring gear teeth<br />
|R<sub>1</sub><br />
|77<br />
|-<br />
|Number of planet gear teeth<br />
|P<sub>1</sub><br />
|17<br />
|-<br />
!colspan="3"|Rear planetary gearset<br />
|-<br />
|Number of sun gear teeth<br />
|S<sub>2</sub><br />
|31<br />
|-<br />
|Number of ring gear teeth<br />
|R<sub>2</sub><br />
|69<br />
|-<br />
|Number of planet gear teeth<br />
|P<sub>2</sub><br />
|19<br />
|-<br />
!colspan="3"|Underdrive planetary gearset<br />
|-<br />
|Number of sun gear teeth<br />
|S<sub>3</sub><br />
|35<br />
|-<br />
|Number of ring gear teeth<br />
|R<sub>3</sub><br />
|91<br />
|-<br />
|Number of planet gear teeth<br />
|P<sub>3</sub><br />
|28<br />
|}<br />
<br />
The one other piece of information we'll need is the ratio of the counter-drive gears:<br />
<br />
{| class="wikitable" style="margin: auto;"<br />
!colspan="2"|Counter-drive gearset<br />
|-<br />
|Number of teeth on counter-driving gear<br />
|52<br />
|-<br />
|Number of teeth on counter-driven gear<br />
|53<br />
|}<br />
<br />
Now let's take a look at how all the gears are obtained from the three planetary gear systems.<br />
<br />
=== 3rd and 4th gear ===<br />
<br />
In these high gears, clutches C1 and C2 are both engaged, so the sun gears of the front and rear gear systems are both driven at the input speed (<math>T_i</math>). Since the planet carrier of the front system is connected to the ring of the rear system, and vice versa, it might be intuitive that the only sensible solution is for everything to rotate at the same speed (if either gearset were to produce a gear ratio greater than 1:1, one would expect the other to also do so by symmetry, but the cross-coupling requires the ratios must be the reciprocal of each other).<br />
<br />
Let's work through the equations to prove that's the case:<br />
<br />
<math><br />
\begin{cases}<br />
(S_1+R_1) T_c = S_1 T_i + R_1 T_x \quad\text{(1)} \\<br />
(S_2+R_2) T_x = S_2 T_i + R_2 T_c \quad\text{(2)}<br />
\end{cases} \\<br />
\begin{align}<br />
T_x &= \frac{(S_1+R_1) T_c - S_1 T_i}{R_1} &&\text{(from (1))} \\<br />
(S_2+R_2) \left(\frac{(S_1+R_1) T_c - S_1 T_i}{R_1}\right) &= S_2 T_i + R_2 T_c &&\text{(substituting into (2))} \\<br />
(S_2+R_2)(S_1+R_1) T_c - (S_2+R_2) S_1 T_i &= R_1 (S_2 T_i + R_2 T_c) &&\text{(moving $R_1$ over)}\\<br />
(S_2 S_1 + R_2 S_1 + S_2 R_1 + R_2 R_1 - R_2 R_1) T_c &= (S_2 S_1 + R_2 S_1 + S_2 R_1) T_i &&\text{(expanding and grouping)}\\<br />
T_c &= T_i<br />
\end{align}\\</math><br />
<br />
After what seems like an excessive amount of algebra to get to a simple answer, we've proven that the counter-driving gear is spinning at exactly the same rate at the input (1:1); this is called direct drive. This is why clutch C2 is also called the direct drive clutch.<br />
<br />
However, the counter-driving gear has 52 teeth while the counter-driven gear has 53 teeth, so there is actually a small reduction in the transfer to the next stage of the transmission.<br />
<br />
<math><br />
T_{cc} = \frac{52}{53} T_c\\<br />
</math><br />
<br />
The only difference between 3rd and 4th gear is in the operation mode of the underdrive/overdrive gear set.<br />
<br />
In 4th gear, clutch C3 is engaged and locks the sun gear to the planetary carrier which is connected to the output. A characteristic of planetary gear systems is that if any two components are locked together, the third must have the same speed. We can go through the algebra to prove this, which turns out to be much simpler than last time:<br />
<br />
<math>\begin{align}<br />
(S_3+R_3)T_o &= S_3 T_o + R_3 T_{cc} \\<br />
R_3 T_o &= R_3 T_{cc} \\<br />
T_o &= T_{cc} \text{ (as expected)}<br />
\end{align}\\</math><br />
<br />
Indeed in fourth gear all three planetary gear systems are in direct drive (1:1), with only the small reduction factor due to the larger number of teeth on the counter-driven gear.<br />
<br />
<math>\begin{align}<br />
T_o &= \frac{52}{53} T_i \\<br />
&= 0.981 T_i<br />
\end{align}\\</math><br />
<br />
Gear ratios are traditionally given with the output on the denominator, so the gear ratio for 4th gear is quoted in the manual as the reciprocal of this:<br />
<br />
{| class="wikitable" style="margin: auto;"<br />
|-<br />
|<math>\frac{T_i}{T_o} = 1.019 \text{ (4th gear)}</math><br />
|}<br />
<br />
In 3rd gear, brake B3 is engaged and the sun gear is stationary. Then:<br />
<br />
<math>\begin{align}<br />
(S_3+R_3)T_o &= 0 + R_3 T_{cc} \\<br />
T_o &= \frac{R_3}{R_3+S_3} T_{cc} \\<br />
&= \frac{91}{91+35} T_{cc} \\<br />
&= 0.722 T_{cc} \\<br />
&= 0.709 T_c \\<br />
&= 0.709 T_i \text{ (front two systems in direct drive as before)}<br />
\end{align}\\</math><br />
<br />
{| class="wikitable" style="margin: auto;"<br />
|-<br />
|<math>\frac{T_i}{T_o} = 1.411 \text{ (3rd gear)}</math><br />
|}<br />
<br />
=== 2nd gear ===<br />
<br />
In 2nd gear, C1 is engaged (connecting the sun of the front system to the input) and B1 is engaged (stopping the sun of the rear system). Then we have:<br />
<br />
<math>\begin{cases}<br />
(S_1+R_1) T_c &= S_1 T_i + R_1 T_x \\<br />
(S_2+R_2) T_x &= 0 + R_2 T_c<br />
\end{cases} \\<br />
\begin{align}<br />
T_x &= \frac{R_2}{S_2+R_2} T_c &&\text{(from (2))} \\<br />
(S_1+R_1) T_c &= S_1 T_i + R_1 \frac{R_2}{S_2+R_2} T_c &&\text{(substituting into (1))} \\<br />
\left(S_1 + \left(1-\frac{R2}{S2+R2}\right)R_1\right) T_c &= S_1 T_i &&\text{(grouping)} \\<br />
T_c &= \frac{S_1}{S_1 + \left(1-\frac{R_2}{S_2+R_2}\right)R_1} \\<br />
T_c &= 0.643 T_i<br />
\end{align}</math><br />
<br />
The underdrive system operates in underdrive as for 3rd gear, so:<br />
<br />
<math><br />
T_o = 0.709 \times 0.643 T_i\\<br />
</math><br />
<br />
{| class="wikitable" style="margin: auto;"<br />
|-<br />
|<math>\frac{T_i}{T_o} = 2.194 \text{ (2nd gear)}</math><br />
|}<br />
<br />
=== 1st gear ===<br />
In 1st gear, C1 is again engaged (connecting the input to the sun of the front system) but instead of B1 we apply B2 (stopping the ring of the front system). Then:<br />
<br />
<math>\begin{align}<br />
(S_1 + R_1) T_c &= S_1 T_1 + 0 \\<br />
T_c &= \frac{S_1}{S_1 + R_1} T_i \\<br />
&= 0.358 Ti<br />
\end{align}\\</math><br />
<br />
Again the underdrive system is in the underdrive configuration, so:<br />
<br />
<math><br />
T_o = 0.709 \times 0.358 T_i\\<br />
</math><br />
<br />
{| class="wikitable" style="margin: auto;"<br />
|-<br />
|<math>\frac{T_i}{T_o} = 3.938 \text{ (1st gear)}</math><br />
|}<br />
<br />
=== Reverse ===<br />
In reverse, C2 is engaged (connecting the input to the sun of the rear system) as well as B2 (stopping the planetary carrier of the rear system). Stopping the planetary carrier in a planetary gear system results in a reverse drive. We can once again show this with the algebra:<br />
<br />
<math>\begin{align}<br />
0 &= S_2 T_i + R_2 T_c \\<br />
T_c &= -\frac{S_2}{R_2} T_i \\<br />
&= -0.449 T_i<br />
\end{align}\\</math><br />
<br />
As usual the counter-driven gear and underdrive scale this by 0.709:<br />
<br />
<math><br />
T_o = 0.709 \times -0.449 T_i\\<br />
</math><br />
<br />
{| class="wikitable" style="margin: auto;"<br />
|-<br />
|<math>\frac{T_i}{T_o} = -3.141 \text{ (Reverse gear)}</math><br />
|}<br />
<br />
You can verify against [https://en.wikipedia.org/wiki/Toyota_U_transmission Wikipedia] that we've calculated all the gear ratios correctly.<br />
<br />
=== Neutral and park ===<br />
In neutral and park, no clutches are engaged except for B3. Since neither C1 or C2 are engaged, the input shaft from the engine spins freely, and the wheels drive the rest of the transmission as if it were in third gear. In park, a parking lock pawl is engaged that locks the underdrive planetary carrier to stop it rotating.<br />
<br />
(Presumably, B3 is released when the engine stops and the transmission loses oil pressure. However, the underdrive planetary carrier is now held by the parking pawl.)<br />
<br />
== One-way clutches ==<br />
There are also two one-way clutches in the U140 transmission that I haven't described above: one operates alongside B2 and the other alongside B3, allowing rotation in one direction but not the other. I believe these are used to smooth out gear changes as follows, although do let me know if I am wrong, I could find very little information about them.<br />
<br />
Consider the gear change from 1st to 2nd (or indeed 2nd to 1st). Changing from 1st to 2nd requires releasing brake B2 (the front ring gear) and engaging brake B1 (the rear sun gear). The problem is the timing of this change. If the engagement of B1 comes first, even by milliseconds, the transmission will start jerking to a stop. If the release of B2 comes first, the planetary gear system becomes under-constrained, and the power of the engine starts being transferred into rotating this front ring gear backwards (since it's easy to turn) rather than driving the output (which is harder to turn). The solution is to use a one-way clutch alongside B2. This one-way clutch stops the ring gear rotating backwards when B2 is released, while allowing it to rotate forwards when B1 is then applied.<br />
<br />
The gear change from 2nd to 3rd requires changing from B1 to C2. I believe the same problem would occur that, when B1 is released, engine power starts being transferred into slowing down the front ring and driving the rear sun backwards. However, there does not seem to be any special one-way clutch alongside B1 to prevent the rear sun going backwards; perhaps B1-C2 can be done quickly enough that it is not a problem in practice, or there is some other trick used for this change.<br />
<br />
The gear change from 3rd to 4th requires changing from B3 to C3. Again, after releasing B3, the underdrive gear system becomes underconstrained, and power will tend to flow into rotating the sun gear backwards rather than into turning the planetary carrier (output) forwards. Here there is indeed a one-way clutch on the underdrive sun gear alongside B3 that will stop this from happening.<br />
<br />
== U140E vs U140F ==<br />
There are two variants of the U140: the U140F is used on AWD models and includes a transfer case in the transaxle assembly, while the U140E is used on 2WD vehicles and does not. Otherwise both share the same transmission components described above.</div>Matthttps://zmatt.net/w/index.php?title=File:U140-transmission.png&diff=20File:U140-transmission.png2016-10-02T14:11:00Z<p>Matt: Matt uploaded a new version of File:U140-transmission.png</p>
<hr />
<div>Diagram of the Toyota U140 automatic transmission (U140E or U140F)</div>Matthttps://zmatt.net/w/index.php?title=Main_Page&diff=5Main Page2016-09-30T09:41:15Z<p>Matt: /* Car stuff */</p>
<hr />
<div>Welcome to the zmatt.net wiki. This is a space for me to post information about various projects I'm working on, in the hope that this information might be useful to others. It is a continual work in progress so there may be half formed thoughts and broken links.<br />
<br />
Public edit access is not currently allowed; if you have feedback you can contact me at contact at zmatt dot net.<br />
<br />
== Car stuff ==<br />
I've been doing a fair bit of work on my car (a 2003 Toyota RAV4) recently, as it's getting to the age that various issues start manifesting. While my mother would prefer that I buy a new car, I've been learning a lot in the process of maintaining my 'vintage' RAV. Here's some information as I type it up:<br />
<br />
* [[Inside an automatic transmission]]: some background on how this typical 4-speed automatic transmission works, including how to calculate the gear ratios from 'first principles'<br />
* [[Toyota RAV4 2001-2003 harsh transmission shift ECU fix]]: this model has known issues with harsh shifting and clanging when shifting into reverse, which turns out to be a soldering problem with the engine control unit (ECU)<br />
* [[Toyota RAV4 torque converter slip]]: ongoing debugging of an issue I have with torque when accelerating<br />
* [[Toyota M-OBD protocol and adapters]]: this model is not OBD-II compliant, but it is possible to connect to it with some off-the-shelf adapters that support custom initialisation sequences; I've also built my own DIY adapter with an Arduino<br />
* [[Toyota RAV4 alternator repair]]: replacing alternator bearings was one of the first repair jobs I did on this car, and I learnt a lot in the process about engine compartments and cramped spaces<br />
* [[Toyota RAV4 A/F sensor and O2 sensor replacement]]: another tale of engine compartments and cramped spaces, as well as a tale of dodgy replacement parts that aren't quite compatible<br />
* [[Toyota RAV4 doors lock but do not unlock]]: a strange issue that I had once</div>Matt