DALYikakhulukazi inemigomo emithathu:I-CAN, i-UART/485, ne-Modbus.
1. I-CAN Protocol
Ithuluzi Lokuhlola:I-CANtest
- Isilinganiso se-Baud:250K
- Izinhlobo zozimele:Amafreyimu Ajwayelekile Nanwetshiwe. Ngokuvamile, Kusetshenziswa Uhlaka Olunwetshiwe, kuyilapho Uhlaka Olujwayelekile lungokwe-BMS embalwa eyenziwe ngokwezifiso.
- Ifomethi Yokuxhumana:Ama-ID edatha asuka ku-0x90 kuye ku-0x98ziyafinyeleleka kumakhasimende. Amanye ama-ID ngokuvamile awafinyeleleki noma awalungiseki amakhasimende.
- I-PC Software eya ku-BMS: Okubalulekile + I-ID Yedatha + Ikheli le-BMS + Ikheli Lesofthiwe Ye-PC, isb, 0x18100140.
- Impendulo ye-BMS Kusofthiwe Ye-PC: Okubalulekile + I-ID Yedatha + Ikheli Lesofthiwe Ye-PC + Ikheli le-BMS, isb, 0x18104001.
- Qaphela indawo yekheli le-PC Software kanye nekheli le-BMS. Ikheli elithola umyalo liza kuqala.
- Ulwazi Lokuqukethwe Kokuxhumana:Isibonelo, esimweni sephutha lebhethri esinesixwayiso sesibili se-voltage ephelele ephansi, i-Byte0 izobonisa njengo-80. Iguqulelwe kokumbambambili, lokhu kungu-10000000, lapho u-0 esho okuvamile no-1 esho i-alamu. Ngokwencazelo ye-DALY ephezulu kwesokunxele, ephansi kwesokudla, lokhu kuhambisana ne-Bit7: isixwayiso sesibili se-voltage ephelele ephansi.
- Ama-ID okulawula:Iyashaja i-MOS: DA, Ikhipha i-MOS: D9. 00 isho ukuvuleka, i-01 isho ukucisha.
2.Iphrothokholi ye-UART/485
Ithuluzi Lokuhlola:Ithuluzi le-serial le-COM
- Isilinganiso se-Baud:9600bps
- Ifomethi Yokuxhumana:Indlela yokubala ye-Checksum:I-checksum iyisamba sayo yonke idatha yangaphambilini (ibhayithi ephansi kuphela ethathwayo).
- I-PC Software ku-BMS: Isihloko Sozimele + Ikheli Lemojuli Yokuxhumana (UPPER-Engeza) + I-ID Yedatha + Ubude Bedatha + Okuqukethwe Kwedatha + Hlola.
- Impendulo ye-BMS Ku-PC Software: Iheda Yohlaka + Ikheli Lemojula Yokuxhumana (BMS-Engeza) + I-ID Yedatha + Ubude Bedatha + Okuqukethwe Kwedatha + Hlola.
- Ulwazi Lokuqukethwe Kokuxhumana:Ngokufanayo ne-CAN.
3. I-Modbus Protocol
Ithuluzi Lokuhlola:Ithuluzi le-serial le-COM
- Ifomethi Yokuxhumana:
- Ifomethi Yephrothokholi Yomlayezo:Funda Irejista, Uhlaka Lwesicelo
- Isiqephu: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7
- Incazelo: 0xD2 | 0x03 | Qala Ikheli | Inombolo Yamarejista (N) | I-CRC-16 Checksum
- Isibonelo: D203000C000157AA. I-D2 yikheli lesigqila, i-03 iwumyalo ofundiwe, u-000C ikheli lokuqala, u-0001 usho ukuthi inani lamarejista okumele afundwe ngu-1, kanti u-57AA yi-CRC checksum.
- Uhlaka Lwempendulo Ejwayelekile:
- Isiqephu: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8
- Incazelo: 0xD2 | 0x03 | Ubude Bedatha | Inani lerejista yoku-1 | Inani le-Nth Register | I-CRC-16 Checksum
- L = 2 *N
- Isibonelo: N inombolo yamarejista, D203020001FC56. I-D2 ikheli lesigqila, i-03 iwumyalo ofundiwe, u-02 ubude bedatha efundiwe, u-0001 usho inani lerejista yokuqala efundiwe, okuyisimo sokukhishwa okuvela kumyalo womsingathi, futhi i-FC56 iyisheke ye-CRC.
- Ifomethi Yephrothokholi Yomlayezo:Funda Irejista, Uhlaka Lwesicelo
- Bhala Irejista:I-Byte1 ithi 0x06, lapho u-06 ewumyalo wokubhala irejista yokubamba eyodwa, i-byte4-5 imele umyalo womsingathi.
- Uhlaka Lwempendulo Ejwayelekile:Uhlaka lwempendulo olujwayelekile lokubhala irejista yokubamba eyodwa lulandela ifomethi efanayo nohlaka lwesicelo.
- Bhala amarejista edatha eminingi:I-Byte1 ithi 0x10, lapho u-10 ewumyalo wokubhala amarejista edatha amaningi, i-byte2-3 iyikheli lokuqala lamarejista, i-byte4-5 imele ubude bamarejista, futhi i-byte6-7 imele okuqukethwe kwedatha.
- Uhlaka Lwempendulo Ejwayelekile:I-Byte2-3 yikheli lokuqala lamarejista, i-byte4-5 imele ubude bamarejista.
Isikhathi sokuthumela: Jul-23-2024