Development of the Proximity Fuze in World War II

Imagine designing a vacuum tube circuit that withstands 20,000 g acceleration when fired from a cannon and spinning 30,000 revolutions per minute as it flies toward the target. Oh, and the battery has to have a shelf life measured in years and the whole thing invulnerable to predetonation in storage and transport.