detonator vs trip switch

detonator

noun
  • A device used to detonate an explosive device etc. 

  • a small explosive device attached to the railhead to provide an audible warning when a train passes over it. 

trip switch

noun
  • A device that deactivates an electrical circuit under certain conditions, often for safety reasons 

How often have the words detonator and trip switch occurred in a corpus of books? (source: Google Ngram Viewer )