With three generations visiting together, the biggest enemies are a long route and harsh heat. Shorten the main line and build in rest stops and it gets much easier.
Main line only
Meridian Gate → three great halls → rear palaces → Imperial Garden → Gate of Divine Prowess, skipping the side courts to cut backtracking.
Small tasks for children
Counting roof figures, hunting dragons on the Nine-Dragon Wall and finding pebble pictures in the Imperial Garden keep children engaged.
Rest for older family
The Imperial Garden and indoor galleries are good rest points. Avoid midday and enter in the morning.