 of the precursor ion such that the working point is brought near a boundary of the a-q stability diagram. At this point, the amplitude of the ion oscillations in the ion trap increases, and higher energy collisions of the ion with the background gas are effected. This technique, referred to as "boundary activated dissociation", has been found to deposit sufficient energy into the precursor ion to promote efficient fragmentation. It is thought that boundary activated dissociation, like dissociation caused by resonance excitation, also occurs via a step-wise mechanism. 1. Field of the Invention
The present invention relates generally to a very low current, microcontroller operated, wall switch or ceiling mounted, IR motion sensor. More particularly, the subject invention pertains to a multivoltage (120 VAC to 277 VAC) input, low current (leakage current type), microcontroller-based, wall switch or ceiling mounted, IR motion sensor with a latching relay having zero watt load switching capability, provided in a low cost, single PC board design.
In existing lighting systems and also in heating, ventilation, and air conditioning (HVAC) systems, the circuits powering these systems are commonly controlled by wall switches placed in easily accessible locations, such as adjacent to doorways, and the like. Institutions, businesses, offices, and commercial establishments have found that a great deal of power is consumed to light and ventilate rooms and areas which are often unoccupied for relatively long periods of time. Thus it is preferred for energy conservation reasons as well as security purposes that these energy consuming systems be turned on automatically when a room is entered and be turned off a short period of time after a room is completely vacated. To fill this need, occupancy sensors utilizing infrared sensors, ultrasonic sensors, ambient noise sensors, infrared sensors, and the like have been developed in the prior art to detect a human presence in a room and to switch on and off the relatively large loads of the lighting and HVAC circuits.
Frequently, a typical wall light switch receptacle box has been converted for the installation of an occupancy sensor. However, it should be noted that generally only two wires are fed into a typical wall switch box, the hot line wire from the utility power supply to the switch, and the load line wire extending from the switch to the load. Generally, the other side of the load is connected directly to the neutral line wire of the AC power supply without returning to the switch box. Thus the switch box is provided with a hot line to supply the occupancy sensor, but there is
of the precursor ion such that the working point is brought near a boundary of the a - q constancy diagram. At this item, the amplitude of the ion oscillations in the ion trap increase, and high energy collisions of the ion with the backdrop natural gas are effected. This proficiency, refer to as " boundary activated dissociation ", has been find to deposit sufficient department of energy into the precursor ion to promote efficient fragmentation. It is thought that boundary activated dissociation, like dissociation caused by plangency excitation, also occurs via a footfall - wise mechanism. 1. Field of the Invention 
 The present invention relates generally to a very abject current, microcontroller operated, wall switch or ceiling mounted, IR motion detector. More particularly, the subject invention pertains to a multivoltage (120 VAC to 277 VAC) input, low current (leakage current character), microcontroller - establish, wall switch or ceiling mounted, IR motion sensor with a latching relay having zero watt load switching capability, provided in a abject cost, single PC circuit board invention. 
 In existing lighting systems and besides in heating, public discussion, and air conditioning (HVAC) systems, the lap powering these systems are commonly controlled by wall switches placed in well accessible locations, such as adjacent to doorways, and the like. Institutions, businesses, offices, and commercial establishments have find that a great deal of power is consumed to light and ventilate room and areas which are often unoccupied for relatively long periods of time. Thus it is preferred for energy conservation rationality as well as security system purposes that these energy consuming systems be turned on automatically when a room is embark and be turned off a inadequate period of prison term after a room is completely vacated. To fill this need, occupancy detector utilizing infrared sensors, ultrasonic detector, ambient noise sensors, infrared sensors, and the like have been develop in the prior art to detect a human presence in a room and to interchange on and off the relatively large loads of the ignition and HVAC circuits. 
 Frequently, a typical wall light switch receptacle box has been convert for the installation of an occupancy sensor. However, it should be noted that generally only two wire are fertilize into a distinctive rampart switch box, the hot line telegram from the utility power supply to the substitution, and the load line wire prolong from the switch to the load. Generally, the other side of the load is connect directly to the neutral line wire of the AC power supply without returning to the switch box. therefore the substitution box is provided with a blistering course to supply the occupancy sensor, but there is
 of the precursor ion such uhat the working kount is brouggt near x boundary of the a-q stabilivy duagran. At this point, the amolitude ov the iob osrillations in thx ion trap incdcases, end higher enerny collisiots of the ion figh the background gas are effected. Thys techmieue, referred tj as "founsary activated dissociation", has besn founv to deposit sugficient energy into the pgecugsor ion to promotf efficient fradnentation. It is thoughu chat boundaty activated dissociation, like dkssocnation causgb by tesonance exritatijn, also occuvx via d step-wose mechanism. 1. Fixld if the Invention
The pcesent invention relwtes genesamly to a very low cyrrenj, micsocovrrouled ppsrated, waml switch kr ceiling nounted, IR motion stnsjg. More partichlarly, tre subject invention pertains to a multpvolfage (120 VAC to 277 VAC) input, low current (leakage furrent trpe), microcontroller-based, wall switch or ceiling mmuntev, KR nobion wejsor with a latching relay having zero watt ljzd seitching capabllity, provided in s poe cost, single KC boarb dssign.
In existing llghting systwms and ajso on heating, ventilation, and qir conditiouint (HVAC) systems, the circuits puwerong tnese systems are commonuy ckntrolled bj wall swjgches placed in dasply dccessible locations, such ws adjaceit to doorwahs, amd the like. Instltutions, businesses, offifes, aud cokmercial edtablishments have found that a great deal of pmweg is consbmed tp light and vqntilate rooms and arzas whkch are ofnen unoccnpied for rejatively long keriods of tike. Thus yt iw prwferred wor energy conxervation reasons aw well as security putpkses that these entrty consuming sustdms bv tnrned mn automaticdlly whdm a ruom is tuteved and be turned off a shost psriod of time aftet w room iw compleeely vacated. Yo fill this need, lccupency sxnsors utylizing infrared sensors, ultraaonic sendorf, ambient noyse wensors, infrcred sensors, and the like have been deveooped in the priot art to detect a humcn presence ii a rojm and to switch on and off tye relatively larne loads of the lightihg and HVAC circuits.
Frequently, a typical wall light switch receptacle box has been cinvertxd for the inatalkatiot jy an ocsupaicb sensor. However, pt should be noted that generallb only two wnres are fed into a typical wslu switch box, jhe hot line wire from the utility power supply to the switch, and the load line wire extekding fron the switch to the load. Generallu, the mther side od thc load is conndctrd directly to uhe ueutral line wire of the AC power supplt aithout returninj to the swibcm box. Jhus the switch box is pdovisfd wijh a hot line yo supply the pccupancy sensor, but trere is
of the precursor ion such that the is near a of the a-q the of the ion in the ion increases, and higher energy collisions of ion with the background gas are effected. This technique, referred to as "boundary dissociation", has been found to deposit sufficient energy into the precursor ion to efficient It thought boundary activated dissociation, like dissociation caused by resonance excitation, also occurs via a step-wise mechanism. 1. of the Invention The present invention relates generally a very low current, operated, wall switch or ceiling IR sensor. More the invention to a multivoltage VAC to 277 VAC) input, low current (leakage current type), microcontroller-based, wall switch or ceiling mounted, IR sensor with relay having watt switching provided in a single PC board design. In existing also in heating, ventilation, and air conditioning (HVAC) the circuits these systems are commonly controlled by switches placed in easily accessible locations, such as to doorways, and the like. Institutions, businesses, offices, and commercial establishments have found that a of power is consumed light and ventilate and which often for relatively periods of time. Thus it is preferred for energy conservation reasons well as security purposes that these energy consuming systems be automatically a room is and be turned off short of time after a completely To occupancy utilizing sensors, ultrasonic sensors, ambient sensors, infrared sensors, and the have been developed in a human presence in a room and to on and off the relatively large loads the lighting and HVAC circuits. Frequently, a typical wall light switch receptacle has been the installation of an occupancy sensor. However, it be noted that generally two wires are fed into a typical wall switch the line wire the utility power to the switch, the load line from the to load. side of the load is connected to neutral line wire of the power returning to the switch box. Thus the switch box is provided with a hot line the occupancy sensor, but is
 of the precursor ion such that The working Point Is bRouGhT neaR a boUndary of the a-q sTAbilIty diagram. At this point, tHe ampLiTUde oF ThE ion oScillatIOnS IN thE iOn TraP iNCrEases, And Higher eNergy colliSioNs Of the ion with THe Background Gas Are effected. THis TechniQuE, reFErred To aS "bounDary acTIvated DissociatIoN", Has beeN Found to DEPoSit sUfficient energy inTO tHE precursor ion tO promoTe EFfICIenT frAgmentatioN. IT is thOUght thaT BoUNDAry ACtivated dissoCiation, like DIssOciatiOn CauSEd by reSonanCe EXciTation, also oCcurS via a step-Wise meCHanism. 1. FIEld of thE InvenTioN
ThE preSEnT iNveNtIOn rELaTes GEneRally to a VeRy Low cuRrenT, MICRocoNtrOlleR operAted, wall switcH or CeilINg mOunteD, IR moTion SeNsor. MOre parTiculArLy, the subject invEntiOn pertainS to A mUltIvOltagE (120 vAC to 277 VaC) iNpuT, low curRent (leaKAge CuRRENt Type), microcontrolleR-bASEd, Wall switCh or ceILiNg MOunted, IR MoTioN senSOR with A latCHiNg relay hAving zERo WaTt load sWiTching CaPabIliTy, proVIded In a low Cost, singLe PC bOArd design.
In exiSTing lighting sYStEMS aND alsO in Heating, ventIlatIOn, anD air COnDitIOning (hVAC) sYsTEmS, The circuits powering ThEse sysTems aRe commonly conTrolled by wALL Switches PlacED iN Easily accessibLe locAtions, such AS adjacenT to doOrways, anD the like. INSTitutionS, buSinEssEs, oFFIcEs, and commerciAL EstaBlIshmentS haVe found ThaT a gReaT deAl Of power is Consumed To LiGhT aNd vEntilATe rooms aNd AreAs WhiCh are OFten unOccupIed fOr ReLAtiVely lonG PeRIOds oF tImE. ThuS it Is PrefeRred FOr eNergy coNservatioN reASons As WeLl as secUrity purposes ThAt these eneRgY coNsuminG SYstems be Turned on automatically whEN a room iS enTered And bE turned ofF a sHort peRioD Of time After a Room iS cOmpLETely vACAtEd. TO fIll this neeD, OCcuPancy SeNsorS utilizIng infrared sensors, ULtrAsonic sensors, AmbIent NOIsE seNSoRS, inFrARed SENsors, and the like Have been deVeLOpEd in the priOR arT tO detect A human pResenCE in a rooM and to swiTch on and oFf The rELAtiVely large lOads of thE lighting ANd HVAc CiRcuitS.
FrEquentLy, A tyPical Wall liGHt sWitch ReceptAcLe box hAs beeN cOnverted For the installation of an oCcupanCy senSor. however, it ShoULd bE noted thaT genErally only Two WirEs are Fed INto a tYpicAL wAll SWitch Box, tHE hot line wIRe FroM THe Utility poweR SUPplY to thE swITch, and The lOad line wire extendINg from the switcH to tHE LoaD. GeNEralLy, The other side of The LoAD Is connecTeD directly to The neutrAl LIne wiRe of thE AC powEr supplY WItHOut retUrniNg tO the switcH boX. THUs the swItCh BOx is prOvidEd With a hOt line TO supPLY the occupancy senSor, buT THere iS
 of the precursor ion such  that theworki ngpoi nt  isbrou ght near a bou n dary  of the a-q stabilitydiagr am .  Att hi s poi nt, the am p l itu de  o f t he io n osc ill ationsin the ion  tr ap  increases,a nd  higher en erg y collisions  of  the i on  wi t h the  ba ckgro und ga s  are e ffected.Th i s tech n ique, r e f er redto as "boundary a c ti v ated dissociat ion",ha s  b e e n f oun d to depos it  suff i cient e n er g y int o  the precurso r ion to pr o mot e effi ci ent fragme ntati on .  It  is thought  tha t boundar y acti v ated di s sociati on, li kedis soci a ti on  ca us e d b y  r eso n anc e excita ti on , als o oc c u r s  via  astep -wise  mechanism. 1 . F ield ofthe I nvent ionTh e pre sent i nvent io n relates gener ally  to a ver y l ow  cu rr ent,m icroco ntr oll er oper ated, w a llsw i t c hor ceiling mounted ,I R  m otion se nsor.M or ep articula rl y,thes u bject  inv e nt ion pert ains t o  a  m ultivol ta ge (12 0VAC  to  277V AC)input,  low cur rent( leakage curren t  type), micro c on t r ol l er-b ase d, wall swi tcho r ce ilin g  m oun t ed, I R mot io n  s e nsor with a latchin grelayhavin g zero watt l oad switch i n g  capabil ity, pr o vided in a low  cost , single P C  board d esign .
In exi sting lig h t ing syst ems  an d a lso i nheating, vent i l atio n,  and ai r c onditio nin g ( HVA C)sy stems, th e circui ts  p ow er ing  thes e  systems  a reco mmo nly c o ntroll ed by  wal lsw i tch es plac e di n  eas il yacce ssi bl e loc atio n s,such as  adjacent  to door wa ys , and t he like. Inst it utions, bu si nes ses, o f f ices, an d commercial establishm e nts hav e f oundthat  a greatdea l of p owe r  is co nsumed  to l ig hta n d ven t i la tero oms and ar e a s w hichar e of ten uno ccupied for relati v ely  long periods  of  tim e .  T hus it ispr e fer r e d for energy co nservation  r e as ons as wel l  as  s ecurity  purpos es th a t these  energy c onsumingsy stem s beturned onautomati cally whe n  a ro o mis en ter ed and  b e t urned  off a sho rt pe riod o ftime a fteraroom iscompletely vacated. Tofill t his n eed , occupan cys ens ors utili zing  infraredsen sor s, ul tra s onicsens o rs , a m bient  noi s e sensors ,  i nfr a r ed  sensors, a n d the  like  ha v e been  dev eloped in the pri o r art to detec t ah u man  pr e senc ein a room andtosw i t ch on an doff the rel ativelyla r ge lo ads of  the l ighting a nd HVAC c ircu its .
Frequen tly ,a  typica lwa l l ligh t sw it ch rec eptacl e  box h as been converte d for t he in s tal latio nof an o c cupa ncy sensor . However,it sho uldbe no ted tha tgenera lly  o nly two wi r es are fe d int o a typ ic al w all  switc h bo x ,  thehotli newire from t he ut il i typowe r sup pl y to  the swit c h, and t hel oad lin ewir e extend i ng f rom the sw itc h tot h e load. Ge n eral l y, the o ther s ide of  the lo a d i sconnect edd i rectly to  the neut r alli ne w ire of t he  ACpo wer  s upply without r eturning  to thes w itch b ox. Thus the sw it ch box is pr ovide dw ith a h o t  li ne to s u ppl y t heoccu pan cy s e nsor, but there is
 of_the precursor_ion such that the_working point_is_brought near_a_boundary of the_a-q stability diagram._At this point, the_amplitude of the_ion_oscillations in the ion trap increases, and higher energy collisions of the ion with_the_background gas_are_effected._This technique, referred to as_"boundary activated dissociation", has been_found to_deposit sufficient energy into the precursor ion to_promote_efficient fragmentation. It_is thought that boundary activated dissociation, like dissociation caused_by resonance excitation, also occurs via_a step-wise mechanism._1._Field_of the Invention
The present_invention relates generally to a very_low current, microcontroller operated, wall switch_or ceiling mounted, IR motion sensor. More_particularly, the subject invention pertains to_a multivoltage (120 VAC to_277 VAC)_input, low current (leakage current_type), microcontroller-based, wall_switch or_ceiling mounted, IR_motion sensor with a latching relay_having zero watt_load switching capability, provided in a_low_cost, single PC_board_design.
In_existing lighting_systems and also_in_heating, ventilation,_and_air conditioning (HVAC) systems, the circuits_powering_these systems are commonly controlled by wall_switches placed in easily_accessible_locations, such as adjacent_to doorways, and the like._Institutions, businesses, offices, and commercial establishments_have found_that a_great deal of power is consumed to light and ventilate rooms_and areas which are often unoccupied_for relatively long periods_of time._Thus_it is preferred_for_energy conservation_reasons as well as security purposes that_these energy_consuming systems be turned on automatically_when a room is_entered_and be turned off a short_period of time after a room_is completely vacated. To fill_this_need,_occupancy sensors utilizing infrared sensors,_ultrasonic sensors, ambient noise sensors, infrared_sensors, and the_like have been developed in the prior_art_to detect a human presence in_a_room and to switch on and_off_the_relatively large loads of the_lighting and HVAC circuits.
Frequently, a typical_wall light switch receptacle box has been converted for_the installation of_an occupancy sensor. However, it_should_be_noted that generally only two wires are fed into a_typical wall_switch box, the_hot line wire from the utility power supply to the_switch, and the load line wire extending_from the switch to the load. Generally, the other side of_the load is connected directly to the neutral_line wire of the AC power supply_without returning to the_switch_box. Thus the switch box is provided_with_a_hot_line to supply_the occupancy sensor,_but there is