Basic dhizaini musimboti we led kuratidza skrini muchitima chepasi pevhu
Iyo yakakosha dhizaini musimboti we subway led kuratidza skrini;Senzvimbo yeruzhinji yakatarisana neruzhinji inoratidzira terminal mu subway, indoor led kuratidza ine huwandu hwakakura kwazvo hwekukosha kwevagari nekutengesa.
Parizvino, mota dzepasi pevhu dzinoshanda muChina dzinowanzo kuve dzakashongedzerwa indoor led kuratidza, asi kune mashoma ekuwedzera mabasa uye imwechete skrini inoratidza.Kuti tibatane nekushandiswa kweiyo metro yevatyairi ruzivo system, isu takagadzira itsva yakawanda mabhazi metro LED ine simba kuratidza skrini.
Iyo skrini yekuratidzira haina kungoita akawanda mabhazi ekusangana mukutaurirana kwekunze, asi zvakare inotora bhazi rimwe chete uye I2C mabhazi zvishandiso mune yemukati dhizaini dhizaini.
Kune marudzi maviri eLED skrinipanzira yepasi pevhu: imwe inoiswa kunze kwengoro kuratidza chikamu chinomhanya chechitima, kutungamira uye zita rechiteshi chezvino, rinoenderana neChinese neChirungu;Rumwe ruzivo rwebasa runogonawo kuratidzwa zvinoenderana nezvinodiwa zvekushanda;Iwo mavara anotaridza anogona kunge akamira, kupuruzira, kududzira, mapopoma, animation uye zvimwe zvinokonzeresa, uye huwandu hwemavara anoratidzwa i16 × 12 16 dot matrix mavara.Imwe yacho ndiyo terminal indoor indoor LED kuratidza, inoiswa muchitima.Iyo terminal indoor indoor LED inoratidzira inogona kuseta iyo terminal zvinoenderana nezvinodiwa nechitima chekushanda, uye kuratidza yazvino terminal munguva chaiyo, pamwe neiyo tembiricha yechitima, ine 16 mavara × Eight 16 dot matrix mavara.
Kuumbwa kwehurongwa
Iyo LED inoratidzira system skrini inoumbwa ne-single-chip microcomputer control unit uye yekuratidzira unit.Chiratidziro chimwe chete chinogona kuratidza 16 × 16 mavara echiChinese.Kana imwe saizi ye LED graphic display system ikagadzirwa, inogona kuoneka nekushandisa akati wandei akangwara ekuratidzira mayuniti uye nzira ye "yekuvaka zvidhinha".Kukurukurirana kweseri kunoshandiswa pakati pemayuniti ekuratidzira muhurongwa.Pamusoro pekudzora dhizaini yekuratidzira uye kuendesa mirairo uye masaini epamusoro komputa, iyo control unit inoiswawo nebhasi rimwe chete digital tembiricha sensor 18B20.Nekuda kweiyo module dhizaini yedunhu rekutonga, kana paine zvinodiwa pakuyera humidity, 18b20 inogona kukwidziridzwa kune module yedunhu inoumbwa neDS2438 kubva kuDallas uye HIH23610 kubva kuHoneywELL.Kuti isangane nezvinodiwa zvekutaurirana zvemotokari yese, bhazi reCAN rinoshandiswa pakutaurirana pakati pekombuta yepamusoro uye imwe neimwe yekudzora unit mumotokari.
hardware design
Iyo yekuratidzira unit inoumbwa ne LED kuratidza pani uye dhizaini yekuratidzira.Iyo LED inoratidzira unit board inoumbwa ne 4 dot matrix modules × 64 dot matrix universal intelligent display unit, imwe chete inoratidzira unit inogona kuratidza 4 16 × 16 dot matrix Chinese mavara kana zviratidzo.Kukurukurirana kweseri kunoshandiswa pakati pezviratidziro muhurongwa, kuitira kuti basa rehurongwa hwese ribatanidzwe uye rakabatana.Dunhu rekuratidzira rine maviri 16 pini flat cable ports, maviri 74H245 tristate mabhazi madhiraivha, imwe 74HC04D matanhatu inverter, maviri 74H138 sere decoder uye masere 74HC595 shift latches.Nheyo yedunhu rekutonga ndeye-high-speed microcontroller 77E58 yeWINBOND, uye crystal frequency ndeye 24MHz AT29C020A ndeye 256K ROM yekuchengetedza 16 × 16 dot matrix Chinese character library uye 16 × 8 dot matrix ASCII code table.AT24C020 is an EP2ROM based on I2C serial bus, which store preset statements, senge subway station mazita, kwaziso, etc. Tembiricha mumotokari inopimwa nebhazi rimwe digitaalinen tembiricha sensor 18b20.SJA1000 uye TJA1040 ndivo CAN bhazi controller uye transceiver zvakateerana.
Kudzora redunhu unit dhizaini
Iyo yese sisitimu inotora ine simba microcontroller 77E58 yeWinbond seyakanyanya.Iyo 77E58 inotora yakagadziridzwa microprocessor core, uye mirairo yayo inoenderana ne51 akatevedzana.Nekudaro, nekuti kutenderera kwewachi kungotenderera mana chete, kumhanya kwayo kunowanzo kukwira 2 ~ 3 times kwakakwira kupfuura yechinyakare 8051 panguva imwecheteyo wachi.Naizvozvo, iyo frequency inodiwa yeiyo microcontroller mune ine simba kuratidzwa kwehukuru hukuru maChinese mavara anogadziriswa zvakanaka, uye iyo watchdog inopihwa zvakare.Iyo 77E58 inodzora flash memory AT29C020 kuburikidza nelatch 74LS373, ine saizi ye256K.Sezvo simba rekuyeuka rakakura kudarika 64K, dhizaini inotora nzira yekuisa paging, kureva, P1.1 uye P1.2 inoshandiswa kusarudza mapeji e flash memory, iyo yakakamurwa kuita mapeji mana.Saizi yekero yepeji rega rega ndeye 64K.Pamusoro pekusarudza AT29C020 machipisi, P1.5 inova nechokwadi chekuti P1.1 neP1.2 hazvizokonzerese misoperation yeAT29C020 kana yashandiswa zvakare pa16 pin flat cable interface.Iyo CAN controller chikamu chakakosha chekutaurirana.Kuti uvandudze simba rekudzivirira-kupindira, 6N137 high-speed optocoupler inowedzerwa pakati peCAN controller SJA1000 uye CAN transceiver TJA1040.Iyo microcontroller inosarudza iyo CAN controller SJA1000 chip kuburikidza neP3.0.18B20 chinhu chimwe chete chebhazi.Inongoda imwe I / O chiteshi cheiyo interface pakati pemudziyo uye microcontroller.Inogona kushandura zvakananga tembiricha kuita chiratidzo chedhijitari uye kuiburitsa seri mune 9-bit yedhijitari kodhi modhi.P1.4 inosarudzwa munharaunda yekutonga kuti ipedze kusarudzwa kwechipu uye mabasa ekufambisa data e18B20.Iwachi tambo SCL uye bidirectional data cable SDA yeAT24C020 yakabatana neP1.6 uye P1.7.16 pin flat wire interfaces ye microcontroller, iyo inobatanidza zvikamu zvedunhu rekutonga uye reketi yekuratidzira.
Ratidza kubatana kweyuniti uye kutonga
Chikamu chedunhu chekuratidzira chakabatana ne16 pin flat wire port ye control circuit chikamu kuburikidza ne16 pin flat wire port (1), iyo inoendesa mirairo uye data reiyo microcontroller kune LED kuratidza wedunhu.Iyo 16 pini yakafuratira waya (2) inoshandiswa kudonhedza akawanda ekuratidzira skrini.Kubatana kwayo kwakangofanana ne16 pin flat wire port (1), asi zvinofanirwa kucherechedzwa kuti R kuguma kwayo kwakabatana neDS kupera kwechisere 74H595 kubva kuruboshwe kuenda kurudyi muFigure 2, Painodonha, ichave. yakabatana munhevedzano ne16 pini flat tambo (1) chiteshi cheinotevera chiratidziro chidzitiro (sezvinoratidzwa muFigure 1).CLK ndiyo chiteshi chechiratidzo chewachi, STR ndiyo mutsara welatch terminal, R ndiyo data terminal, G (GND) uye LOE ndiwo mutsara wemwenje unogonesa materminal, uye A, B, C, D ndiwo mutsara wekusarudza zviteshi.Iwo chaiwo mabasa echiteshi chega chega ndeaya anotevera: A, B, C, D mitsara yekusarudza zviteshi, ayo anoshandiswa kudzora chaiwo kutumira kwedata kubva pakombuta yepamusoro kuenda kumutsara wakatarwa pane yekuratidzira, uye R ndiyo data. terminal, iyo inogamuchira iyo data inofambiswa neiyo microcontroller.Kutevedzana kwekushanda kwe LED kuratidza chikwata ndeyotevera: mushure mokunge CLK clock signal terminal inogamuchira data paR terminal, dunhu rekutonga nemaoko rinopa pulse inokwira kumucheto, uye STR iri mumutsara we data (16 × 4) Mushure mokunge data yose ye64 ichiparidzirwa, muganhu unokwira wepulse unopiwa kuti uise data;Iyo LOE yakaiswa ku1 neiyo microcontroller kuvheneka mutsara.Iyo schematic dhizaini yedunhu rekuratidzira inoratidzwa muMufananidzo 3.
Modular dhizaini
Mota dzeMetro dzine zvinodiwa zvakasiyana zvemukati inotungamira kuratidzwa zvinoenderana nemamiriro chaiwo, saka isu takanyatso funga izvi pakugadzira dunhu, ndiko kuti, pasi pemamiriro ekuona kuti mabasa makuru uye zvimiro zvinoramba zvisina kuchinjika, chaiwo ma module anogona kuchinjika.Ichi chimiro chinoita kuti LED control circuit ive nekuwedzera kwakanaka uye nyore kushandisa.
Tembiricha uye humidity module
Munzvimbo dzinopisa uye dzinonaya kumaodzanyemba, kunyangwe paine tembiricha yemhepo inotonhorera mumotokari, hunyoro zvakare chiratidzo chakakosha icho vafambi vane hanya nacho.Iyo tembiricha uye humidity module yakagadzirwa nesu ine basa rekuyera tembiricha uye hunyoro.Iyo tembiricha module uye tembiricha uye humidity module ine yakafanana socket interface, ese ari maviri mabhazi zvimiro uye anodzorwa neP1.4 port, saka zviri nyore kuachinjanisa.HIH3610 ndeye matatu terminal yakasanganiswa humidity sensor ine voltage kubuda inogadzirwa neHoneywell Company.DS2438 i10 bit A/D inoshandura ine imwe bhazi yekutaurirana interface.Iyo chip ine yakakwirira-resolution yedhijitari tembiricha sensor, iyo inogona kushandiswa kutsiva tembiricha yehumidity sensors.
485 bhazi yekuwedzera module
Sebhazi rakura uye rakachipa, 485 bhazi rine nzvimbo isingadzokerike mumunda weindasitiri uye traffic traffic.Naizvozvo, isu takagadzira 485 bhazi yekuwedzera module, iyo inogona kutsiva yekutanga CAN module yekutaurirana kwekunze.Iyo module inoshandisa MAXIM's photoelectric isolation MXL1535E seye 485 transceiver.Kuve nechokwadi chekuenderana kwekutonga, ese ari maviri MXL1535E uye SJA1000 ari chip akasarudzwa kuburikidza neP3.0.Pamusoro pezvo, 2500VRMS magetsi ega ega anopihwa pakati peRS2485 side uye controller kana kudzora logic side kuburikidza netransformer.TVS diode circuit inowedzerwa kune inobuda chikamu chemodule kuderedza kupindira kwemutsara.Majumper anogona zvakare kushandiswa kusarudza kana kurodha bhazi terminal kuramba.
Software design
Iyo system software inoumbwa neyepamusoro komputa manejimendi software uye unit controller control software.Iyo yepamusoro komputa manejimendi software inogadzirwa paWindows22000 inoshanda papuratifomu uchishandisa C++ BUILD6.0, inosanganisira kuratidza modhi sarudzo (inosanganisira static, kupenya, kupururudza, kutaipa, nezvimwewo), kupuruzira nzira sarudzo (kusanganisira kumusoro uye pasi kupuruzira uye kuruboshwe uye kupenya kurudyi), gadziriso yekumhanyisa kuratidza (kureva kuti mavara anopenya frequency, kumhanya kwekufamba, kutaipa kutaipa kuratidza, zvichingodaro), ratidza mapindiro, ratidziro yekuratidzira, nezvimwe.
Kana iyo sisitimu ichishanda, iyo sisitimu haingogone kuratidza mavara senge chiteshi chiziviso uye kushambadza zvinoenderana neyakagadzikwa marongero, asiwo nemaoko kuisa anodiwa mavara ekuratidzira.Iyo yekudzora software yeyuniti controller yakarongwa neKEILC ye8051 uye yakasimbiswa muEEPROM yeiyo imwechete chip komputa 77E58.Iyo inonyanya kupedzisa kutaurirana pakati pepamusoro nepasi makomputa, kutora data kwekushisa uye humidity, I/O interface control uye mamwe mabasa.Panguva yekushanda chaiko, kuyerwa kweyero yekushisa kunosvika ± 0.5 ℃ uye humidity kuyerwa kwechiyero kunosvika ± 2% RH.
Mhedziso
Iri bepa rinounza zano redhizaini ye subway indoor indoor LED kuratidza skrini kubva kuzvinhu zve Hardware schematic diagram dhizaini, logic chimiro, yekugadzira block dhizaini, etc. Kuburikidza nekugadzirwa kwemunda bhazi interface module uye tembiricha humidity module interface, yemukati LED kuratidza skrini inogona. kuenderana nezvinodiwa zvenzvimbo dzakasiyana, uye ine yakanaka scalability uye versatility.Mushure mekuedzwa kwakawanda, iyo indoor led kuratidza skrini yakashandiswa mune itsva yevafambi ruzivo system yemetro yepamba, uye mhedzisiro yacho yakanaka.Chiitiko ichi chinoratidza kuti chidzitiro chekuratidzira chinogona kunyatso kupedzisa kuratidzwa kwemavara echiChinese uye magiraidhi uye akasiyana dhizaini, uye ine hunhu hwekupenya kwepamusoro, isina kupenya, yakapusa logic control, nezvimwewo, iyo inonyatsozadzisa zvinodikanwa zvekuratidzira zvemotokari dzepasi. nokutiLED skrini.
Nguva yekutumira: Zvita-16-2022