Does the ambient air sensor in the air intake tube determine whether or not the ECU commands the grid heater to cycle on and off, it seems logical but I am not sure.
That's correct, the intake air temperature sensor is used to determine grid cycling. There are separate pre and post heat patterns. Preheat is based only on the intake temperature sensor, whereas postheat also considers the engine RPM.
Preheat Schedule:
-40°F < T < 0°F --> both heaters run for 30 seconds continuously
0°F < T < 15°F --> both heaters run for 15 seconds continuously
15°F < T < 66°F --> both heaters run for 10 seconds continuously
T > 66°F --> No preheat
The postheat schedule is a lot more complex.
-40°F < T < 0°F --> both heaters run for 20 seconds continuously, then 1 heater for 10 seconds, then alternating between heaters on a 25/75 duty cycle for 120 seconds.
0°F < T < 15°F, RPM < threshold --> both heaters run for 10 seconds continuously, then alternating between heaters on a 25/75 duty cycle for 130 seconds.
0°F < T < 15°F, RPM > threshold --> both heaters run for 10 seconds continuously, then 1 heater continuously for 90 seconds (the ECM will alternate between the two heaters, but the net heat duty cycle is 100%), then alternating between heaters on a 50/50 duty cycle for 40 seconds.
15°F < T < 30°F, RPM < threshold --> both heaters run for 10 seconds continuously, then alternating between heaters on a 25/75 duty cycle for 130 seconds.
15°F < T < 30°F, RPM > threshold --> both heaters run for 10 seconds continuously, then 1 heater continuously for 90 seconds (the ECM will alternate between the two heaters, but the net heat duty cycle is 100%), then alternating between heaters on a 50/50 duty cycle for 40 seconds.
15°F < T < 30°F, RPM < threshold --> both heaters run for 10 seconds continuously, then alternating between heaters on a 25/75 duty cycle for 130 seconds.
15°F < T < 30°F, RPM > threshold --> both heaters run for 10 seconds continuously, then 1 heater continuously for 90 seconds (the ECM will alternate between the two heaters, but the net heat duty cycle is 100%), then alternating between heaters on a 50/50 duty cycle for 40 seconds.
T > 66°F --> No postheat
It gets a lot easier to see how the schedule works if you actively monitor the grids when it's cold.
For the postheat schedule the manual indicates that "intake temperature
OR battery temp sensor" (emphasis added) is used to determine which pattern to use. Unfortunately, the manual doesn't explain how battery temperature comes into play. It may be that the ECM will alter the cycle if the battery temperature sensors indicate bad batteries, which might explain any deviations from the schedule the OP is experiencing.
-Ryan