Kufotokozera mwatsatanetsatane wa RS485 Bus

RS485 ndi muyezo wamagetsi womwe umalongosola mawonekedwe a mawonekedwe, monga protocol, nthawi, serial kapena data yofananira, ndi maulalo onse amatanthauzidwa ndi wopanga kapena ma protocol apamwamba.RS485 imatanthawuza mawonekedwe amagetsi a madalaivala ndi olandila omwe amagwiritsa ntchito mizere yofananira (yomwe imatchedwanso masiyanidwe) mizere yotumizira ma multipoint.

Ubwino wake

1. Kupatsirana kosiyana, komwe kumawonjezera chitetezo chokwanira komanso kumachepetsa ma radiation a phokoso;
2. Maulumikizidwe aatali, mpaka 4000 mapazi (pafupifupi mamita 1219);
3. Kuchuluka kwa deta mpaka 10Mbps (mkati mwa mainchesi 40, pafupifupi mamita 12.2);
4. Madalaivala angapo ndi olandila amatha kulumikizidwa ku basi imodzi;
5. Mitundu yambiri yamitundu yosiyanasiyana imalola kuti pakhale kusiyana kwapansi pakati pa dalaivala ndi wolandila, kulola voteji wamba wamba -7-12V.

Mulingo wazizindikiro

RS-485 imatha kufalitsa mtunda wautali makamaka chifukwa chogwiritsa ntchito ma siginecha osiyanasiyana pofalitsa.Pakakhala kusokoneza kwa phokoso, kusiyana pakati pa zizindikiro ziwiri pamzerewu kungagwiritsidwebe ntchito kuweruza, kotero kuti deta yopatsirana isasokonezedwe ndi phokoso.

NKHANI2_1

Mzere wosiyana wa RS-485 umaphatikizapo zizindikiro ziwiri zotsatirazi

A: Chizindikiro chosabwerera m'mbuyo
B: Chizindikiro chakumbuyo
Pakhozanso kukhala chizindikiro chachitatu chomwe chimafuna mfundo yodziwika bwino pamizere yonse yoyenera, yotchedwa SC kapena G, kuti mizere yolinganiza igwire bwino ntchito.Chizindikirochi chikhoza kuchepetsa chizindikiro chodziwika bwino chomwe chimalandiridwa pamapeto olandira, ndipo transceiver idzagwiritsa ntchito chizindikiro ichi ngati mtengo wamtengo wapatali kuti muyese voteji pa mzere wa AB.Muyezo wa RS-485 umanena kuti:
Ngati MARK (logic 1), voteji ya siginecha ya B ndiyokwera kuposa mzere A
Ngati SPACE (logic 0), voteji ya siginecha A ndiyokwera kuposa mzere B
Kuti tisayambitse kusagwirizana, mgwirizano wamba wa mayina ndi:
TX+ / RX+ kapena D+ m'malo mwa B (chizindikiro 1 ndichokwera)
TX-/RX- kapena D- m'malo mwa A (otsika mlingo pamene chizindikiro 0)

Threshold Voltage:
Ngati cholowetsa chotumizira chimalandira mulingo wapamwamba kwambiri (DI = 1), voliyumu A ndiyokwera kuposa mzere B (VOA> VOB);ngati cholowetsa chotumizira chimalandira logic low level (DI=0), voteji A ndi apamwamba kuposa mzere B (VOA> VOB);B voteji ndi apamwamba kuposa mzere A (VOB>VOA).Ngati voliyumu ya mzere A pakulowetsa kwa wolandilayo ndi yayikulu kuposa ya mzere B (VIA-VIB> 200mV), kutulutsa kwa wolandila ndi logic yapamwamba (RO = 1);ngati voliyumu ya mzere B pakulowetsa kwa wolandila ndi yayikulu kuposa ya mzere A (VIB-VIA> 200mV), wolandila amatulutsa logic low level (RO=0).

NKHANI2_2

Katundu Wagawo (UL)

Chiwerengero chachikulu cha madalaivala ndi olandila pa basi ya RS-485 zimadalira katundu wawo.Madalaivala ndi olandila katundu amayezedwa molingana ndi katundu wa unit.Muyezo wa 485 umanena kuti katundu wopitilira 32 amatha kulumikizidwa ku basi yotumizira.

NKHANI2_3

Njira Yogwirira Ntchito

Mawonekedwe a basi atha kupangidwa m'njira ziwiri izi:
Hafu-Duplex RS-485
Full-Duplex RS-485
Pankhani ya masanjidwe a mabasi angapo a duplex monga momwe zasonyezedwera pachithunzichi, deta ikhoza kusamutsidwa mbali imodzi panthawi imodzi.

NEW2_4

Kukonzekera kwa mabasi amtundu wathunthu kukuwonetsedwa pachithunzi pansipa, kulola kulumikizana kwanjira ziwiri panthawi imodzi pakati pa master ndi akapolo.

NEW2_5

Kuyimitsa Mabasi & Kutalika kwa Nthambi

Pofuna kupewa kuwonetsetsa kwa zizindikiro, mzere wotumizira deta uyenera kukhala ndi mapeto pamene kutalika kwa chingwe kuli kotalika kwambiri, ndipo kutalika kwa nthambi kuyenera kukhala kochepa kwambiri.
Kuthetsa koyenera kumafuna choletsa chothetsa RT chofanana ndi mawonekedwe a impedance Z0 ya mzere wotumizira.
Muyezo wa RS-485 umalimbikitsa kuti Z0=120Ω pa chingwe.
Mitengo ikuluikulu yama chingwe nthawi zambiri imathetsedwa ndi 120Ω resistors, imodzi kumapeto kwa chingwe.

NEW2_6

Kutalika kwa magetsi a nthambi (mtunda wa conductor pakati pa transceiver ndi thunthu la chingwe) uyenera kukhala wosakwana gawo limodzi mwa magawo khumi a nthawi yokwera:
LStub ≤ tr * v * c/10
LStub= kutalika kwa nthambi kumapazi
v = chiŵerengero cha mlingo umene chizindikiro chimayenda pa chingwe ku liwiro la kuwala
c = liwiro la kuwala (9.8*10^8ft/s)
Kutalika kwa nthambi kumapangitsa kuti kuwonetseredwa kwa ma siginali kukhudze kusokoneza.Chithunzi chotsatirachi ndikufanizira kwa kutalika kwa nthambi zazitali ndi zazifupi zazitali zamafunde a nthambi:

NEW2_7 NEW2_8

Mtengo wa Data & Utali wa Chingwe:
Mukamagwiritsa ntchito ma data apamwamba, gwiritsani ntchito zingwe zazifupi zokha.Mukamagwiritsa ntchito mitengo yotsika, zingwe zazitali zitha kugwiritsidwa ntchito.Pogwiritsa ntchito liwiro lotsika, kukana kwa DC kwa chingwe kumachepetsa kutalika kwa chingwe powonjezera phokoso la phokoso kudzera pakutsika kwamagetsi pa chingwe.Mukamagwiritsa ntchito mapulogalamu apamwamba, zotsatira za AC za khalidwe la chizindikiro chochepetsera chingwe ndi kuchepetsa kutalika kwa chingwe.Chithunzi chomwe chili pansipa chimapereka njira yokhazikika ya kutalika kwa chingwe ndi kuchuluka kwa data.

NEW2_9

Shenzhen Zhongling Technology Co., Ltd. (ZLTECH), kuyambira pomwe idakhazikitsidwa mu 2013, idadzipereka kumakampani opanga maloboti, kupanga, kupanga ndi kugulitsa ma wheel hub servo motors ndi ma drive omwe amagwira ntchito mokhazikika.Madalaivala ake apamwamba a servo hub motor ZLAC8015, ZLAC8015D ndi ZLAC8030L amatengera kulumikizana kwa mabasi a CAN/RS485, motsatana amathandizira CiA301, CiA402 sub-protocol/modbus-RTU protocol ya CANopen, ndipo imatha kukwera mpaka zida 16;kuthandizira kuwongolera malo, kuwongolera liwiro Ndi kuwongolera ma torque ndi njira zina zogwirira ntchito, zoyenera ma loboti munthawi zosiyanasiyana, zomwe zimalimbikitsa kwambiri chitukuko chamakampani opanga maloboti.Kuti mudziwe zambiri za ZLTECH's wheel hub servo drives, chonde tcherani khutu: www.zlrobotmotor.com.


Nthawi yotumiza: Aug-04-2022