Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CAN Bus
#1
Jedan moj drugar bavi se odrzavanje masina za preradu koja se koriste u industriji mesa. Neki dan me je pitao da li postoji mogucnost da se napravi jednostavan CAN Bus tester. Ono sto mi je opisao ukratko jeste da mu treba da se nakaci direktno na CAN devices i da proveri dali se odaziva na CAN Bus pozive. Posto je meni to totalno strano postavih pitanje ovde jer mozda ima neko da se bavio takvom potrebom.
Reply
#2
Ne.
CAN jeste parcijalno standardizovan protokol, medjutim, svakom inzenjeru je ostavljena sloboda kodiranja infomacija u okviru paketa. Na CAN se prikljucuje uredjaj koji ce da sebi dodeli status mastera i da proziva komponente mreze.
Jedino da mu neko "jednostavno" doturi hakovan ili fabricki test jig.
Reply
#3
paa nije bas tako, uredjaj kojim se cita can, van i ostali protokoli ne dodeljuju sebi master status.
koji oni tacno uredjaj ili masinu, model sa can komunikacijom koriste industriji mesa?
Reply
#4
Najjednostavnije i najjeftinije da to uradi preko ELM327 OBD skenera. Treba samo da proveri na kojoj brzini radi taj njegov CAN i da uporedi to sa ELM/om. ELM ima monitor mod u kome može da sniffuje CAN bus i preko njega može da se vidi šta pričaju uređaji na bus-u. Tako dobru spravu za tako malo para ja još ne videh.
Reply
#5
Da se nadovezem na Goranov post, za ovaj Elm, ima i Android i iOS aplikacija preko koje moze direktno da se salju komande i vidi response (posto ima ugradjen BT)
Reply
#6
I još bolje. ELM je ustvari PIC mikrokontroler, sad je valjda neki iz serije PIC24xxx, pa kome treba neka posebna funkcionalnost za CAN može da iskoristi ceo hardver jeftinog kineskog uređaja i "samo" napiše softver. To pisanje softvera i nije komplikovano jer ima dosta primera.
Reply
#7
mozda i moze da prodje elm ali pitanje je, tacnije treba proveriti prvo koji protokol je na toj masini.
Ako je obd2 odlicno ali ako ide preko k-linije ili vana nece da moze...



ps
ukratko


CAN CONNECTION LINES - DESCRIPTION
This vehicle is equipped with a CAN (Controller Area Network) system of electrical connections: it involves a software and
hardware solution which is designed to manage the resources on the vehicle efficiently allowing:
? the sharing of information between the various electronic units;
? the intergration of several electronic units through one network;
? a high network information exchange speed;
? advantages in economic terms because there is a considerable reduction in the wiring/connectors inside the vehicle;
? superior standards in terms of quality and reliability.
The advantage of using a CAN system stems from the fact that communication takes place between numerous control units and
consequently the number of signals to be managed is very high.
For this reason the signals travel on a CAN type serial Bus where one wire is high level (H) and the other low level (L); these
signals on the CAN Bus are differential types, i.e. the value assigned to the bit is represented by the difference between the CANH
and CAN-L voltage levels.
The different electronic units which make up the system, known as network nodes, are connected to the CAN by means of
communication interfaces known as transreceivers; these connection interfaces, integrated in the electronic units, constitute the
gate for sending/reading the information at the CAN or at the serial lines.
The exchange of information at CAN type serial lines is only possible using a transmission protocol which is the collection of rules
that allow communication between two or more nodes by means of the exchange of information or "data packages".
The main element of the network is the Body Computer.
The Body Computer node is entrusted with "waking up the network" when the ignition key is turned to the ON position (if there is
a problem with the Body Computer this task is entrusted to the instrument panel).
The Body Computer also carries out the functions of checking the network which make it possible to provide information on:
? the network activities status;
? the functional failure status of the individual electronic units (nodes);
? a possible CAN fault.
The various electronic units process the various signals coming from the corresponding sensors both for their own management
and for other control units to which they are sent via the CAN.
The specific structure adopted for this vehicle consists of two CAN communication networks which connect nodes belonging to two
different areas:
? C-CAN for dynamic vehicle control (high speed): bus CAN-H and CAN-L;
? B-CAN for the management of standard body functions (low speed): BUS CAN-A and CAN-B; the two CAN communication
networks are connected to one another by a gateway for transferring joint information, located in the Body Computer
Node.


Attached Files Thumbnail(s)


.pdf   ELM327DS.pdf (Size: 435,9 KB / Downloads: 5)
.pdf   mcp2551ip.pdf (Size: 349,2 KB / Downloads: 1)
.pdf   CAN-.pdf (Size: 523,88 KB / Downloads: 3)
Reply
#8
mozda ovako nesto

http://www.ems-wuensche.com/product/manu...m7-d-e.pdf

http://www.ems-wuensche.com/product/data...cgarm7.pdf


http://www.ems-wuensche.com/product/data...garm7.html
Reply
#9
Hvala na odgovorima ali vidim ja da tu nije nista lako ni jednostavno.

(09-02-2018, 02:49 PM)Аритон Wrote: koji oni tacno uredjaj ili masinu, model sa can komunikacijom koriste industriji mesa?

Spominje LENZE koji koristi System Bus CAN300
Reply
#10
Ne postoji protokol kod CAN bus-a. CAN bus podrazumeva kompletan OSI sloj, tj. od fizickog, do aplikativnog i kod njega je sve jasno definisano. Tacno se zna sta je sta. Takodje ne postoji master, a ne postoji ni slave, vec je bitan ID poruke.
Bilo koji CAN bus driver ce da ti prebaci komunikaciju u format za PC ili MCU, a na tebi je da parsiras ove poruke.
Projektovanje softvera za te svrhe nije trivijalni, zato je moj savet da poslusas Gorana sa njegovom preporukom.
Protokol ovde nije cisto bajtovski, tako da ima malo vise zezanja oko prijema i tumacenja.
Reply
#11
Čini mi se da bi LENZE trebalo da se relativno lako poveže preko CANOpen.
Čini mi se da sam tako nešto viđao na jednoj žabarskoj mašini sa 3 servo drajvera.
Nemo' me držiš za reč, ali koliko me sećanje drži, kačeno na neki mali PC pod linuxom.
Make no mistake between my personality and my attitude.
My personality is who I am.
My attitude depends on who you are.

塞爾維亞文
Reply
#12
ako je to ovo, tesko da ce tu elm raditi

https://www.helmholz.de/fileadmin/docume...300_18.pdf

http://download.lenze.com/AKB/English/20...bus_1a.pdf

http://download.lenze.com/TD/DDS__System...-0__EN.pdf
Reply
#13
Zašto? ELM podržava 11bit i 29bit ID mod. Problem mogu da budu brzine jer ELM ne ide preko 500kbps ali ga ništa ne košta da proba ili možda smanji brzinu na tom Lenze.
Reply
#14
Teško će na tom Lenze da smanji brzinu.
Treba poseban interfejs i poseban kabl za povezivanje sa, npr, servo drajverom, ...
Make no mistake between my personality and my attitude.
My personality is who I am.
My attitude depends on who you are.

塞爾維亞文
Reply
#15
Da, zbog brzine...
Naravno, ako ima vremena i volje neka proba covek.
Ja sam od can odustao, ne pratim, bosh je ove godine imao lokalnu prezentaciju bnovog sistema bez can-a i njima slicnih anemicnih...
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)