As I understand it, the accelerator pedal in these toyotas are not connected to the engine via mechanical linkages - but instead the pedal position is sensed by a sensor and communicated to the engine control computer which actuates a servo motor to control engine RPM.
If this is correct, then the problem is either:
a) the pedal sensor becomes faulty and reports incorrect pedal position (ie - sensor reports that the driver is calling for high engine RPM)
b) the pedal return spring mechanism does not work properly, so the pedal gets stuck in the accelerate position (and the sensor accurately reports this pedal position to the computer)
I know that floor mats have been implicated as potentially causing (b), in which case it could still be argued that the pedal return spring is not sufficiently strong to overcome floor-mat interference.
What I find incredible is that when either (a) or (b) happens, that the computer does not also recognize that the driver is also pressing the brake pedal and make a decision to over-ride the call for high engine RPM and thus drop the engine to idle RPM. This behavior should be mandated by the DOT / NHTSA for "drive-by-wire" accelerator-pedal systems. When presented with conflicting information, the computer should err on the side of safety.
If the above control pattern was implimented, then if the brake-switch is faulty then the driver can't accelerate the car, but he can still control it and bring it to a safe stop.
If drive-by-wire systems are going to be deployed like this in passenger cars (presumably because they require less mechanical engineering effort to design, construct and install) then there has to be a recognition that electric sensors, connections and wires can fail in ways that mechanical solutions can't or don't, and hence a tradeoff has to be made that can result in inconvienence to the owner if the control computer takes corrective (but safe) action based incorrect inputs.
As a result of this Toyota debacle, I will make extreme efforts to insure that my next car will not have this drive-by-wire accelerator pedal mechanism.
Does anyone know which car brands (other than Toyota) have this design?