Nigute ushobora gushushanya urugo rwubwenge bushingiye kuri zigBee?

Urugo rwubwenge ni inzu nkurubuga, ikoreshwa rya tekinoroji ihuriweho, ikoranabuhanga ryitumanaho ryitumanaho, ikoranabuhanga ryumutekano, tekinoroji yo kugenzura byikora, amajwi na videwo kugirango ihuze ibikoresho bijyanye nubuzima bwo murugo, gahunda yo kubaka amazu meza yo guturamo hamwe na gahunda yo gucunga ibibazo byimiryango. , guteza imbere umutekano murugo, kuborohereza, guhumurizwa, ubuhanzi, no kumenya kurengera ibidukikije no kubungabunga ingufu zidukikije. Ukurikije ibisobanuro biheruka byurugo rwubwenge, reba ibiranga ikoranabuhanga rya ZigBee, igishushanyo mbonera cya sisitemu, igikenewe muri kirimo sisitemu yo murugo ifite ubwenge (sisitemu yo kugenzura inzu (hagati), sisitemu yo kugenzura amatara yo murugo, sisitemu yumutekano murugo), hashingiwe ku kwinjiza sisitemu yo murugo, sisitemu y'urugo, sisitemu yumuziki wambere hamwe na sisitemu yo kugenzura ibidukikije. Kubyemeza bibaho mubwenge, washyizeho sisitemu zose zikenewe gusa, hamwe na sisitemu yo murugo yashyizeho sisitemu idahwitse yubwoko bumwe kandi hejuru byibuze irashobora guhamagarira ubuzima bwubwenge. Kubwibyo, iyi sisitemu ishobora kwitwa urugo rwubwenge.

1. Gahunda yo Gushushanya Sisitemu

Sisitemu igizwe nibikoresho bigenzurwa nibikoresho bigenzura kure murugo. Muri byo, ibikoresho bigenzurwa mu muryango ahanini birimo mudasobwa ishobora kugera kuri interineti, ikigo gishinzwe kugenzura, aho ikurikirana no kugenzura ibikoresho byo mu rugo bishobora kongerwamo. Ibikoresho bigenzura kure bigizwe ahanini na mudasobwa ya kure na terefone zigendanwa.

Ibikorwa byingenzi bya sisitemu ni: 1) urupapuro rwambere rwurubuga rureba, gucunga amakuru yimbere; 2) Kumenya kugenzura ibikoresho byo murugo, umutekano n'amatara ukoresheje interineti na terefone igendanwa; 3) Binyuze muri module ya RFID kugirango umenye umukoresha, kugirango urangize umutekano wimbere murugo, mugihe habaye ubujura ukoresheje ubutumwa bugufi kuri SMS kubakoresha; 4) Binyuze muri porogaramu nkuru yo kugenzura imiyoborere kugirango yuzuze igenzura ryaho hamwe n’imiterere yerekana amatara yo mu nzu n'ibikoresho byo mu rugo; 5) Kubika amakuru kugiti cyawe hamwe nibikoresho byo murugo byuzuzwa ukoresheje base base. Nibyiza kubakoresha kubaza ibikoresho byo murugo binyuze muri sisitemu yo kugenzura no kuyobora.

2. Igishushanyo mbonera cya sisitemu

Igishushanyo mbonera cyibikoresho bya sisitemu gikubiyemo igishushanyo mbonera cyikigo, kugenzura no kongeramo ubushake bwo kugenzura ibikoresho byo murugo (fata urugero rwumuriro wumuriro wamashanyarazi).

2.1 Ikigo gishinzwe kugenzura

Ibikorwa by'ingenzi by'ikigo gishinzwe kugenzura ni ibi bikurikira: 1) Kubaka umuyoboro wa ZigBee udafite umugozi, ongeraho imiyoboro yose yo gukurikirana kuri neti, kandi umenye kwakira ibikoresho bishya; 2) kumenyekanisha umukoresha, uyikoresha murugo cyangwa inyuma akoresheje ikarita yumukoresha kugirango agere kumurongo wumutekano murugo; 3) Iyo umujura yinjiye mucyumba, ohereza ubutumwa bugufi kubakoresha gutabaza. Abakoresha barashobora kandi kugenzura umutekano murugo, amatara nibikoresho byo murugo binyuze mubutumwa bugufi; 4) Iyo sisitemu ikora yonyine, LCD yerekana sisitemu iriho ubu, yorohereza abakoresha kureba; 5) Bika imiterere yibikoresho byamashanyarazi hanyuma ubyohereze kuri PC kugirango umenye sisitemu kumurongo.

Ibyuma bifasha Carrier kumva byinshi / Kugaragaza (CSMA / CA). Umuvuduko ukoreshwa wa 2.0 ~ 3.6V ufasha gukoresha ingufu nke za sisitemu. Shiraho umuyoboro wa ZigBee utagira umugozi murugo uhuza na moderi yumuhuzabikorwa wa ZigBee mukigo gishinzwe kugenzura. Kandi ibintu byose byakurikiranwe, byatoranijwe kugirango wongere ibikoresho byo murugo nkibikoresho byanyuma murusobe kugirango winjire murusobe, kugirango umenye imiyoboro ya ZigBee itagenzura umutekano wimbere murugo nibikoresho byo murugo.

2.2

Imikorere ya node ikurikirana niyi ikurikira: 1) gutahura ibimenyetso byumubiri wumuntu, gutabaza amajwi n’umucyo iyo abajura bateye; 2) kugenzura amatara, uburyo bwo kugenzura bugabanijwemo kugenzura byikora no kugenzura intoki, kugenzura byikora biri kuri / kuzimya urumuri mu buryo bwikora ukurikije imbaraga zumucyo wo murugo, kugenzura intoki kugenzura binyuze muri sisitemu yo kugenzura hagati, (3) amakuru yo gutabaza nandi makuru yoherejwe mukigo gishinzwe kugenzura, kandi yakira amabwiriza yo kugenzura avuye kugenzura kugirango arangize kugenzura ibikoresho.

Infrared wongeyeho microwave yo gutahura nuburyo bukunze kugaragara mubimenyetso byumubiri wumuntu. Pyroelectric infrared probe ni RE200B, naho ibikoresho bya amplification ni BISS0001. RE200B ikoreshwa na voltage ya 3-10 V kandi yubatswe muri pyroelectric dual-sensibilité element. Iyo element yakiriye urumuri rwa infragre, ingaruka ya fotoelectric izabera kumurongo wa buri kintu hanyuma amafaranga azegeranya. BISS0001 ni digitale-analogi ya Hybrid asIC igizwe na amplifier ikora, igereranya voltage, umugenzuzi wa leta, gutinda igihe no guhagarika igihe. Hamwe na RE200B hamwe nibice bike, pasiporo ya pyroelectric infrared switch irashobora gushirwaho. Mod-Ant-g100 module yakoreshejwe kuri sensor ya microwave, inshuro yo hagati yari 10 GHz, kandi igihe ntarengwa cyo gushiraho cyari 6μs. Ufatanije na pyroelectric infrared module, igipimo cyamakosa yo kumenya intego kirashobora kugabanuka neza.

Module yo kugenzura urumuri igizwe ahanini na fotosensitif résistoriste hamwe na relay yo kugenzura urumuri. Huza fotosensitif résistoriste ikurikiranye hamwe na rezo ishobora guhinduka ya 10 K ω, hanyuma uhuze urundi ruhande rwumubyigano wamafoto hasi, hanyuma uhuze urundi ruhande rwurwanya rushobora guhinduka kurwego rwo hejuru. Umuvuduko wa voltage yibice byombi bihuza biboneka binyuze muri SCM igereranya-na-digitale kugirango umenye niba urumuri ruriho. Kurwanya guhinduka birashobora guhindurwa numukoresha kugirango ahure nubucyo bwumucyo mugihe urumuri rumaze. Amatara yo mu nzu agenzurwa na relay. Icyambu kimwe gusa cyinjira / gisohoka gishobora kugerwaho.

2.3 Hitamo Umugereka Wongeyeho Ibikoresho Byibikoresho

Hitamo kongeramo igenzura ryibikoresho byo murugo cyane cyane ukurikije imikorere yigikoresho kugirango ugere kubikoresho, hano kumashanyarazi nkurugero. Igenzura ryabafana nicyo kigo kizagenzura kizaba amabwiriza yo kugenzura abafana ba PC boherejwe kugenzura amashanyarazi binyuze mumurongo wa ZigBee, nimero iranga ibikoresho bitandukanye iratandukanye, kurugero, ibiteganijwe muri aya masezerano nimero iranga abafana ni 122, nimero iranga ibara rya TV murugo ni 123, bityo ukamenya kumenyekanisha ibikoresho bitandukanye byo murugo ibikoresho byamashanyarazi. Kubisobanuro bimwe kode, ibikoresho bitandukanye murugo bikora imirimo itandukanye. Igicapo 4 kirerekana ibice byibikoresho byo murugo byatoranijwe kugirango byongerwe.

3. Igishushanyo mbonera cya sisitemu

Igishushanyo mbonera cya sisitemu gikubiyemo ibice bitandatu, aribyo bishushanyo mbonera byurubuga rwa interineti, igishushanyo mbonera cya sisitemu yo kugenzura imiyoborere, kugenzura ikigo nyamukuru kugenzura gahunda ya gahunda ya ATMegal28, igishushanyo mbonera cya gahunda ya CC2430, igishushanyo mbonera cya gahunda ya CC2430, CC2430 hitamo kongeramo igishushanyo mbonera cya porogaramu.

3.1 Igishushanyo mbonera cya gahunda ya ZigBee

Umuhuzabikorwa abanza kurangiza gusaba urwego rwo gutangiza, ashyiraho urwego rwimiterere ya reta hanyuma yakira leta kubusa, hanyuma akingura isi yose ihagarika kandi atangiza icyambu cya I / O. Umuhuzabikorwa noneho atangira kubaka umuyoboro utagira umugozi. Muri protocole, umuhuzabikorwa ahita ahitamo umurongo wa 2.4 GHz, umubare ntarengwa wa bits ku isegonda ni 62 500, PANID isanzwe ni 0 × 1347, ubujyakuzimu bwa stack ni 5, umubare ntarengwa wa bytes kuri woherejwe ni 93, na igipimo cyicyambu baud igipimo ni 57 600 bit / s. SL0W TIMER itanga intera 10 kumasegonda. Umuyoboro wa ZigBee umaze gushingwa neza, umuhuzabikorwa yohereza aderesi ye kuri MCU yikigo gishinzwe kugenzura. Hano, ikigo gishinzwe kugenzura MCU kigaragaza Umuhuzabikorwa wa ZigBee nkumunyamuryango wurwego rwo kugenzura, kandi aderesi yamenyekanye ni 0. Porogaramu yinjira mu cyerekezo nyamukuru. Ubwa mbere, menya niba hari amakuru mashya yoherejwe na terefone, niba ihari, amakuru yoherejwe muri MCU yikigo gishinzwe kugenzura; Menya niba MCU yikigo gishinzwe kugenzura ifite amabwiriza yoherejwe, niba aribyo, ohereza amabwiriza hepfo kuri ZigBee ya terefone; Umucamanza niba umutekano ufunguye, niba hari umujura, niba aribyo, ohereza amakuru yo gutabaza muri MCU yikigo gishinzwe kugenzura; Gucira urubanza niba urumuri ruri mu buryo bwikora, niba aribyo, fungura analog-to-digitale ihinduranya icyitegererezo, agaciro k'icyitegererezo nurufunguzo rwo kuzimya cyangwa kuzimya itara, niba urumuri rwahindutse, amakuru mashya ya leta ni yoherejwe mu kigo gishinzwe kugenzura MC-U.

3.2 ZigBee Terminal Node Porogaramu

Umuyoboro wa ZigBee werekeza kuri ZigBee idafite umugozi ugenzurwa nu muhuzabikorwa wa ZigBee. Muri sisitemu, ahanini ni urwego rwo kugenzura no kongeramo ubushake bwo kugenzura ibikoresho byo murugo. Gutangiza ZigBee ya terefone nayo ikubiyemo porogaramu yo gutangiza, gufungura interineti, no gutangiza ibyambu bya I / O. Noneho gerageza winjire mumurongo wa ZigBee. Ni ngombwa kumenya ko impera zanyuma gusa hamwe na ZigBee umuhuzabikorwa wemerewe kwinjira murusobe. Niba ZigBee itumanaho ryananiwe kwinjira murusobe, bizongera kugerageza buri masegonda abiri kugeza byinjiye neza murusobe. Nyuma yo kwinjira murusobe neza, ZI-Gbee ya node yohereza amakuru yo kwiyandikisha kumuhuzabikorwa wa ZigBee, hanyuma ikohereza muri MCU yikigo gishinzwe kugenzura kurangiza kwandikisha itumanaho rya ZigBee. Niba itumanaho rya ZigBee ari urwego rukurikirana, irashobora kumenya kugenzura itara n'umutekano. Porogaramu isa nu muhuzabikorwa wa ZigBee, usibye ko urwego rukurikirana rukeneye kohereza amakuru kumuhuzabikorwa wa ZigBee, hanyuma Umuhuzabikorwa wa ZigBee yohereza amakuru muri MCU yikigo gishinzwe kugenzura. Niba itumanaho rya ZigBee ari umugenzuzi w'amashanyarazi, birakenewe gusa kwakira amakuru ya mudasobwa yo hejuru utarinze kohereza leta, bityo igenzura ryayo rishobora kurangira mu buryo butaziguye mu guhagarika amakuru adafite amakuru. Mumashanyarazi adafite amakuru yakira interineti, ama terefone yose asobanura amabwiriza yakiriwe yo kugenzura muburyo bwo kugenzura imiyoboro ubwayo, kandi ntutunganyirize amabwiriza yakiriwe muri porogaramu nkuru ya node.

4 Gukemura kumurongo

Kwiyongera kwinyigisho kumabwiriza yigikoresho cyibikoresho bitangwa na sisitemu yo kugenzura hagati yoherejwe muri MCU yikigo gishinzwe kugenzura binyuze ku cyambu cya mudasobwa, no ku muhuzabikorwa binyuze mu mirongo ibiri, hanyuma kuri ZigBee. Umuhuzabikorwa. Iyo itumanaho ryakira amakuru, amakuru yoherejwe kuri PC binyuze kumurongo wanyuma. Kuri iyi PC, amakuru yakiriwe na ZigBee ya terefone igereranwa namakuru yoherejwe nikigo gishinzwe kugenzura. Sisitemu yo kugenzura hagati yohereza amabwiriza 2 buri segonda. Nyuma yamasaha 5 yo kwipimisha, software yipimisha irahagarara iyo yerekana ko umubare wabakiriye bose ari paki 36.000. Ibisubizo by'ibizamini bya porogaramu yo gupima amakuru menshi ya porotokoro byerekanwe ku gishushanyo cya 6. Umubare w'amapaki yukuri ni 36 000, umubare w'amapaki atari yo ni 0, kandi igipimo nyacyo ni 100%.

Ikoranabuhanga rya ZigBee rikoreshwa mugutahura imiyoboro yimbere yurugo rwubwenge, rufite ibyiza byo kugenzura kure byoroshye, kongeramo byoroshye ibikoresho bishya nibikorwa byizewe byo kugenzura. Ikoranabuhanga rya RFTD rikoreshwa mukumenya abakoresha no kunoza umutekano wa sisitemu. Binyuze muburyo bwa GSM module, kure ya kugenzura no gutabaza ibikorwa biragerwaho.


Igihe cyo kohereza: Mutarama-06-2022
Ikiganiro cya WhatsApp Kumurongo!