Basically, the 40D AF is superior to the 30D in every way.
I haven’t experienced a single situation where a 30D would have been superior. My worst lens regarding AF consistency is the EF 50/1.4 USM. If the subject does not fill the frame and at the same time does not offer very good contrast, the 50/1.4 tends to focus on a spot somewhere else in the frame that has better contrast – no matter how far this spot may be away from the selected AF-point. This behaviour seems to be even worse on the 40D, but not by much. If, on the other hand, the focus hits the right spot, it is even more accurate with the 40D compared to 30D.
I guess the reason why we experience even more focus inconsistency on same ultra fast lenses is the improved centre AF sensor on the 40D, that is ultra high precision for lenses providing f/2.8 or faster aperture. Canon also added sensor elements for improving the detection of extremely defocused subjects. All this might be optimised for f/2.8 lenses.
Lenses that are significantly faster, obviously will introduce some problems generally, but most noticeable on a fast lens that has pronounced weaknesses wide open, such as the 50/1.4. The AF relies on images with well defined transitions, hence good contrast, and can stumble across smeared structures due to lens imperfections such as spherical and chromatical aberrations.
Let’s have a look at the EF 50/1.4 USM:
- Contrast is low wide open
- Chromatical aberrations (CA) and purple fringing (PF) are pronounced wide open
The bundle of light rays leaving the rear element of the lens is certainly much wider than on a slower lens. So, while the AF is optimised for f/2.8, it sees now a lot of additional light rays (coming from the borders of the lens) hitting at more extreme angles. This might overstrain the capabilities of the separator lenses in the AF system, ultimately leading to false focus lock.
In an attempt to improve the AF even further with each new generation, one of the design goals is to achieve focus lock even in low light and especially on low contrast subjects. With a super fast lens that provides much more light rays, hitting the (AF)sensor at somewhat unexpected angles, and that on top of that does not perform too well wide open, i.e. the light rays that have to pass the borders of the lens do not exactly hit the correct spot in the sensor plane, the camera AF could lock onto some sort of “ghost image” that relates to a completely different area of the frame.
Since the 40D is optimised to lock on images with even lower contrast than the AF modules before it could manage, and attempts to recognize even severely blurred images (heavily defocused) to initially grab the focus on, it also can be fooled more easily.
Just to sum it up:
In my experience, the 40D performs better than the 30D with an EF 85/1.8 USM. With the EF 50/1.4 USM though, 40D is better (more accurate) if it gets the correct focus lock, which is likely to happen on larger targets with nothing else in the frame that provides better contrast, but might fail more often that the 30D to grab the right focus spot if the before mentioned conditions aren’t met.