Prozkoumejte výhody členství v klubu a rozšiřte naše řady 😉

E39 kódování, sběrnice a úpravy modulů

Vše o E12, E28, E34, E39, E60/E61, F07, F10/F11, G30/G31
Zpráva
Autor
mika_hakkinen
Registrovaný
Příspěvky: 530
Registrován: úte 18.03.2008 01:00
Bydliště: Brno/Znojmo
Klubové ID: 1487
Kontaktovat uživatele:

#21 Příspěvek od mika_hakkinen »

Format i/k bus zprav je stejny. Na obou sbernicich plati 9600, 1start bit, 1stop bit + dulezita parita!!.
Mam vyzkousene, pokud chces komunikovat do k-busu, tak ti staci odeslat zpravu pres i-bus. IKE to prelozi. Podminka znat dobrou dst adresu treba 0x5B je adresa topeni. + jako src pouzivat adresu diagnostiky. Ale opacne to nejde, zpravy co chodi po k-busu se nedostanou na ibus. Normalne v aute nic takhle nekomunikuje. To je pouze kdyz vyvojari neco ladili. Kdyz tech zprav tam budes solit hodne pocitej, ze nektere veci nebudou komunikovat.

Nekde jsem cetl, ale nemam jeste overene. Ze tam funguje i priorita komunikace. Priorita max, je ta, ze pokud je volne okno na sbernici 10ms tak to hned posle. Priorita nizsi tak to treba posle az 20ms a tak. Tak se muze stat ze s tou nizsi prioritou zpravu vubec neposlaji. Rikam nemam toto overene.

Jinak ja pouzivam na pripojeni bastl. Pouze odpor a zenerka. Jen posloucham, co se tam mine.
Prave ja mam v planu vyrobit elektroniku do webasta. Tak lovim zpravy, abych vedel co posle modul topeni aby se webasto zaplo. Podle me se webasto zadne jednotky na nic nepta jen naslouha. Z dokumentace co je dostupna se webasto zajima o napeti, teplotu venku, teplotu vody, palivo v nadrzi. Treba jakym vykonem ma webasto top si resi samo. Ono bez funkcniho webasta se to tezko odhaduje, jen ze by mi to nekdo sniffnul. Ale v tomto pripade je potreba sniffovat na k-busu.

Arduino samozrejne pouzivat nemusis, muzes si ubastlit i jinou desticku. Jen ze pro uplneho zacatecnika v elektronice je to skvelej startup, to se jim povedlo. To je tak vymyslene, ze to muzou uz pouzivat deti ve skolce. Je k tomu hodne rozsireni, ke kazdemu rozsireni jsou "libky" staci slozit a funguje to. Elektronika je trochu odolna vuci blbosti :)
matiz
Registrovaný
Příspěvky: 4416
Registrován: ned 23.04.2006 00:00
Bydliště: Opava
Klubové ID: 3204
Kontaktovat uživatele:

#22 Příspěvek od matiz »

Ja si taky myslim ze maly "vlozeny" plosnak bude to nejrychlejsi a velmi dobre reseni, hw je legrace, naskladas to na 10x15mm jak nic, vlozis to kamkoliv... Arduino mne na toto prijde jako atomovka na komara.

Jinak cinske Arduina dokážou potrápit, hlavne teda ve win8 a s pajcnutyma ftdi. Jsem stravil docela dost casu nez jsem prisel na to jakou svinarnu ftdi udelalo.
mika_hakkinen
Registrovaný
Příspěvky: 530
Registrován: úte 18.03.2008 01:00
Bydliště: Brno/Znojmo
Klubové ID: 1487
Kontaktovat uživatele:

#23 Příspěvek od mika_hakkinen »

Tak se mi konecne podarilo rozjet jedno webasto, hned jsem toho vyuzil nasniffoval jsem si data co webasto posila, aby mohlo bezet.
Ale vubec zadne informace nikde ve svete jsem o tom nenasel. Jen stejny typ webasta se montuje jeste do vozu Rover.

IHK - modul topeni
WEB - webasto

tady tyto zpravy se posilaji cca co 10minut. Zde si modul topeni overuje, zda webasto zije.
20:22:42.511661 [5879] info: LIN zprava: SW: IHK -> WEB [1]
20:22:42.512711 [5879] info: LIN zprava: SW: WEB -> IHK [2, 0]

tady se topeni posila webastu co ma delat
20:22:44.525038 [5879] info: LIN zprava: SW: IHK -> WEB [146, 0, 17]
20:22:44.526391 [5879] info: LIN zprava: SW: WEB -> IHK [147, 0, 17]
posledni 3 byte nese informaci, je to pouze to co jsem vykoumal
17 - webasto vypnute
18 - webasto bezi
34 - asi zapnuti
33 - asi vypnuti
jestli existuje jeste jiny stav to nevim


tady kdyz se webasto zapne rucne pres display, nebo casovacem
zde jestli webasto zije
20:42:12.841488 [8744] info: LIN zprava: SW: IHK -> WEB [1]
20:42:12.843078 [8744] info: LIN zprava: SW: WEB -> IHK [2, 0]

tady jsem zapl webasto
20:42:14.754953 [8744] info: LIN zprava: SW: IHK -> WEB [146, 0, 34]
20:42:14.855969 [8744] info: LIN zprava: SW: WEB -> IHK [147, 0, 34]

tady webasto vratilo chybu, protoze mam problem s pomocnym vodnim cerpadlem, zablokuje horeni.
Na druhym bytu je indikace chyby. 4 byte nevim co znamena
20:42:22.215717 [8744] info: LIN zprava: SW: WEB -> IHK [147, 1, 33, 1]
20:42:22.624621 [8744] info: LIN zprava: SW: IHK -> WEB [146, 1, 17]
20:42:22.726030 [8744] info: LIN zprava: SW: WEB -> IHK [147, 1, 17, 1]
20:42:23.644524 [8744] info: LIN zprava: SW: IHK -> WEB [146, 1, 17]
20:42:23.646527 [8744] info: LIN zprava: SW: WEB -> IHK [147, 1, 17, 1]
tady zhasne display topeni a webasto je v rezimu chlazeni



pak jeste pres prvni pin vzdalene ovladani
tady jsem pin 1 pripojil na 12V
webasto se zepta, muzu topit. Asi
20:44:08.009658 [8744] info: LIN zprava: SW: WEB -> IHK [147, 0, 18]
20:44:08.111541 [8744] info: LIN zprava: SW: IHK -> WEB [1]
20:44:08.113232 [8744] info: LIN zprava: SW: WEB -> IHK [2, 0]
20:44:10.331538 [8744] info: LIN zprava: SW: WEB -> IHK [147, 0, 18]

tady modul topeni vrati, netop neni nafta. Asi
20:44:11.041820 [8744] info: LIN zprava: SW: IHK -> WEB [146, 0, 33]
20:44:11.043616 [8744] info: LIN zprava: SW: WEB -> IHK [147, 0, 33]
20:44:12.053932 [8744] info: LIN zprava: SW: IHK -> WEB [146, 0, 33]
20:44:12.055911 [8744] info: LIN zprava: SW: WEB -> IHK [147, 0, 33]
20:44:12.966577 [8744] info: LIN zprava: SW: IHK -> WEB [146, 0, 17]

takze s temito informacemi se urcite da sestavit prevodnik mezi uplne obycejnym webastem a k-busem, ze se budou fejkovat stavy webasta. Ono koluje docala famu jak to funguje. Nekdo rika, ze se webasto samo pta IKE na informace, teplota, palivo napeti. Treba teplotu si to meri samo, napeti taky a palivo to zjisti pres panel topeni, pouze jednoduchym muzu/nemuzu topit. Ale co jeste vubec nevim, nepodarilo se mi zjistit jak vypada zprava o tom kolik mas nafty v aute. Pak je dalsi fama, ze otacky wentilatoru ridi webasto, tak tomu taky tak neni. To si resi modul topeni taky sam.

pak se mi podarilo zpetne inzenyrovat diagnostickej protokol
packet = [160, 27, 40, 200, 70, 55, 20, 30, 0, 0]
##1 byte - 160
##2 byte - teplota vody
##3 byte - teplota horaku
##4 byte - vstupni napeti
##5 byte - stav bufiku
##6 byte - vykon ventilatoru
##7 byte - vykon zhavici svicky
##8 byte - podavaci pumpa
##9 byte
## - bit 0 - ventilator
## - bit 1 - hzaveni
## - bit 2 - vodni pumpa
## - bit 3 - podavaci cerpadlo
## - bit 4 - zpetna vazba linka
## - bit 5 - nic
## - bit 6 - nic
## - bit 7 - nic
##10 byte
## - bit 0 - nic
## - bit 1 - nic
## - bit 2 - nic
## - bit 3 - signal zapnuti
## - bit 4 - pridavne topeni
## - bit 5 - dobrej ohen
## - bit 6 - prehrivani
## - bit 7 - nic



Na netu se neda vubec najit. O k-bus protokolu vubec neni. Pouze jsem nasel informace o w-bus protokolu, ale to je neco uplne jineho. Nema nekdo na nekoho nejaky kontakt. Pred tydem jsem napsal primo do webasta do Nemecka o dokumentaci ke k-busu, ale vubec neodpovedeli.
starML Člen Klubu
Člen Klubu
Příspěvky: 2455
Registrován: čtv 11.05.2006 00:00
Bydliště: Mariánské Lázně
Klubové ID: 659

#24 Příspěvek od starML Člen Klubu »

Ve Webastu se na Tebe vykašlou, protože to je know-how. Ve WDS se o komunikaci píše:

Digital Activation Independent Park Heater/Auxiliary Heater
Activation via telegrams on K-bus
Telegram sequence for auxiliary heater ON:

•The heating/air conditioning control unit recognizes the need for heating and sends the AUXILIARY HEATER ON telegram to the independent park heater/auxiliary heater.
•The independent park heater/auxiliary heater sends the AUXILIARY HEATER ON feedback to the heating/air conditioning control unit and starts up.
•If no feedback is received from the independent park heater/auxiliary heater, the AUXILIARY HEATER ON telegram is sent twice at 1 second intervals. Corresponding fault code entry is made in the fault code memory if all 3 start attempts are unsuccessful.

Telegram sequence for auxiliary heater OFF:
•The heating/air conditioning control sends the AUXILIARY HEATER OFF telegram to the independent park heater/auxiliary heater.
•The independent park heater/auxiliary heater sends the AUXILIARY HEATER OFF feedback to the heating/air conditioning control unit and assumes afterrunning mode.
•If no feedback is received from the independent park heater/auxiliary heater, the AUXILIARY HEATER OFF telegram is sent twice at 1 second intervals. Corresponding fault code entry is made in the fault code memory if all 3 stop attempts are unsuccessful.

Telegram sequence for independent park heating ON:
•The MID or on-board monitor sends the INDEPENDENT PARK HEATING ON telegram via IKE to the heating/air conditioning control unit
•The heating/air conditioning control sends the AUXILIARY HEATER ON telegram to the independent park heater/auxiliary heater.
•The independent park heater/auxiliary heater sends the AUXILIARY HEATER ON feedback to the heating/air conditioning control unit and starts up.
•The heating/air conditioning control unit receives the AUXILIARY HEATER ON feedback from the independent park heater/auxiliary heater.
•If no feedback is received from the independent park heater/auxiliary heater, the AUXILIARY HEATER ON telegram is sent twice at 1 second intervals. Corresponding fault code entry is made in the fault code memory if all 3 start attempts are unsuccessful.

Telegram sequence for independent park heating OFF:
•The MID or on-board monitor sends the INDEPENDENT PARK HEATING OFF telegram via IKE to the heating/air conditioning control unit
•The heating/air conditioning control sends the AUXILIARY HEATER OFF telegram to the independent park heater/auxiliary heater.
•The independent park heater/auxiliary heater sends the AUXILIARY HEATER OFF feedback to the heating/air conditioning control unit and assumes afterrunning mode.
•The heating/air conditioning control unit receives the AUXILIARY HEATER OFF feedback from the independent park heater/auxiliary heater.
•If no feedback is received from the independent park heater/auxiliary heater, the AUXILIARY HEATER OFF telegram is sent twice at 1 second intervals. Corresponding fault code entry is made in the fault code memory if all 3 stop attempts are unsuccessful.

Telegram sequence for Telestart:
•The wavetrap receives the telestart signal and converts the HF signal into an LF signal.
•The telestart receiver sends a signal to the independent park heater/auxiliary heater.
•The independent park heater/auxiliary heater sends the AUXILIARY HEATER ON message to the heating/air conditioning control unit.
•The heating/air conditioning control unit sends AUXILIARY HEATER ON to the independent park heater/auxiliary heater.
•The independent park heater/auxiliary heater sends the AUXILIARY HEATER ON feedback to the heating/air conditioning control unit and starts up.
•If no feedback is received from the independent park heater/auxiliary heater, the AUXILIARY HEATER ON telegram is sent twice at 1 second intervals. Corresponding fault code entry is made in the fault code memory if all 3 start attempts are unsuccessful.

Telegram sequence in the event of faults in the independent park heater/auxiliary heater:
•The independent park heater/auxiliary heater sends a fault message AUXILIARY HEATER OFF to the heating/air conditioning control unit.
•The heating/air conditioning control unit sends AUXILIARY HEATER ON to the independent park heater/auxiliary heater.
•The heating/air conditioning control unit waits for the reply AUXILIARY HEATER ON from the independent park heater/auxiliary heater.
•The AUXILIARY HEATER OFF telegram is sent globally once the AUXILIARY HEATER OFF feedback is received from the independent park heater/auxiliary heater.
•If the fault message AUXILIARY HEATER OFF is sent repeatedly by the independent park heater/auxiliary heater, the AUXILIARY HEATER ON is sent twice at 1 second intervals. Corresponding fault code entry is made in the fault code memory if all 3 start attempts are unsuccessful.

Telegram sequence in the event of fault lock-out in the independent park heater/auxiliary heater:
•The independent park heater/auxiliary heater sends a fault lock-out message AUXILIARY HEATER OFF to the heating/air conditioning control unit.
•The BMW DIS Service Tester sends the CANCEL FAULT LOCK-OUT telegram to the independent park heater/auxiliary heater or the fuse for the voltage supply to the independent park heater/auxiliary heater is isolated for 10 seconds .
•The independent park heater/auxiliary heater sends the AUXILIARY HEATER READY telegram to the heating/air conditioning control unit.

Help in troubleshooting - fault lock-out
The following fault symptoms may occur in conjunction with the independent park heater/auxiliary heater:
•Independent park heater/auxiliary heater will not start (combustion air blower cannot be heard)
•Independent park heater/auxiliary heater switches off after one or several start attempts (combustion air blower can be heard but then switches off)

This may be attributed to a fault lock-out (set after 3 start attempts) due to following statuses:
•1.) Undervoltage cutout triggered
•2.) Overheating protection function triggered
•3.) Fault lock-out due to insufficient fuel

Under certain conditions, the following may provide a remedy to the individual fault symptoms:
•Re: 1.) Check battery status and charge by alternator (Attention: Repeatedly driving short distances can lead to problems; explain situation to customer accordingly)
•Re: 2.) Cancel fault lock-out and/or overheating protection by deleting fault code memory of independent park heater/auxiliary heater. Check all hose lines for bends and leaks.
•Re: 3.) Cancel fault lock-out by deleting fault code memory of independent park heater/auxiliary heater. If the independent park heater/auxiliary heater does not receive fuel it attempts to start 3 times and then sets the fault lock-out (Attention: Ensure effective fuel supply with fuel level at reserve or low).

Takže look at these pages http://www.bmw-planet.com/diagrams/rele ... /index.htm and search topic "Digital Activation Independent Park Heater/Auxiliary Heater". A když Tě to tak zajímá, asi by bylo zajímavé "sniffnout" komunikaci testovacího programu od firmy Webasto. V případě zájmu pošlu link na stažení do SZ, interfejs si už spíchneš sám. :D
Odpovědět