Rev Flaring
Does the RPM only rise (with the clutch depressed) in the presence of roadspeed?
Check next time your driving it, dip the clutch with throttle closed and see if the rev's stay up, until the car is stationary.
My wife has a 1.25 Zetec Ghia, which suffered this problem and the throttle position sensor was the first line of attack, but this seemed fine.
Essentially if the car was out of gear or the clutch depressed, but there is road movement, the engine revs would climb. They would always dip briefly as the clutch was depressed, but then climb again.
Ford diagnosed a faulty ECU (water ingress) and tried to charge me >£600, which I elected not to pay and decided to live with it for a while.
Recently, whilst using the car for work journeys I decided to try and fix this. Some research revealed that the power steering has a pressure switch, which is designed to increase engine revs at low RPM (while parking for example), to prevent the car from stalling due to the power steering pump load.
At the offside front of the car, under the steering rack there is a two-pole connector (white on our fiesta) with two wires that hang down. This is connected to a normally closed set of contacts in the pressure switch - as the steering is turned this switch goes open and the rev's climb. If the wiring fails to this switch (and it's very exposed down there) the PCM thinks the switch is operating constantly and hence increases engine RPM.
A simple test is to unplug the connector, start the car and short the terminals in the connector - if the revs don't change, it's probably open circuit wiring. If you pull on the wires you might find one falls out. You can also put a meter in continuity mode (buzzer mode) across the switch contacts of the sensore with it's connector unplugged and get someone to turn the steering aggressively whilst stationary and engine running, to prove it's working correctly - it should measure a short circuit, going open as the wheel is turned.
If this is the case, just temorarily shorting the wires provides a fix that disables the system, which makes the car more driveable, the lack of engine braking with this fault can be dangerous and I didn't experience any stalling.
Ford were useless when trying to get a connector - I was told I'd have to buy the entire wiring loom for the car!. The connector is a standard automotive type as used on injectors etc. and available from Bosch, AMP, Delphi etc. so some hunting around might get you one - I got one from a Triumph motorbike!
The idle control on these is unique (it's an adaptive and self-learning system that Ford have had lots of problems with), the power steering pressure switch should only raise RPM by 100RPM, but in reality this isn't the case.
If this seems OK, the throttle position sensor is worth looking at, the voltage on the output of the sensor with throttle closed needs to be be stable and consistent for the self-learning system to work (it has 0V, 5V and an output voltage that varies with throttle position).
Resetting the ECU (disconnect the car battery for a bit) can cause temporary respite as the PCM forgets all the learnt values that give rise to this problem, but chances are it will come back in the future.
Andy.
P.S. There are also know PCM faults that cause this problem, cured by a PCM software upgrade which has to be done by a Ford dealer.
P.P.S. PCM = Powertrain Control Module (ECU to everyone else)