Greetings! Earlier, I already spoke in an article about my project of a charge controller for a small SES with the TMM search algorithm. This project is sluggish due to lack of time and sometimes lack of mood, but still it is developing. Since the last article, I made 2 more revisions of iron, checked various circuitry solutions, for example, methods of measuring current, and as a result, I came to the final version of the hardware, which will be discussed today.
All sources for the iron part of the project are open and available on github - here .
![Photo MRI controller](https://habrastorage.org/webt/oc/bp/el/ocbpeld2qowp2waf9jkiha76g74.jpeg)
![Photo MRI controller](https://habrastorage.org/webt/cs/g_/gp/csg_gpmgbpcenwr3dfon6lvfgie.jpeg)
Concept
, , . , , , . - "" "" . , , 146% , , - .
, , "" . , MotorControlBoard "" , , Bourns, Panasonic Wi-Fi . .
RS-485 USB CP2102, UART- Nextion HMI . , , . ...
-, RS-485 , , CAN - . CAN, RS-485 ( RS-232) , . , RS-485 CAN .
-, "" . , , , , . — " ?" 4 , . , , . CAN ...
-, ESP32. - , , ESP32-PICO-D4. SiP QFN-48 77 , ESP32, , — . , ( , ), , .. .
, , web- . , .. ESP . — , .
, .. - , . . ( ) — ACS713ELCTR-30A. , :
. (, , , ), , ACS , 200-300 "" . 10, ;
20 80-90 Co, . , . ±1% ±3%, ;
ACS Mouser! , .. , - ( ) .
INA196. , "" , , .. (GND) . , , 3 , , .
№1 — "" , :
![Schedule No. 1](https://habrastorage.org/webt/xv/zi/sr/xvzisrxniswarnzl71xnxknb40e.png)
, , . 25, 4 . , I * R = 25 * 0.004 = 0.1, . ( ) ( ), .. "", . "", , :
![Schedule No. 2](https://habrastorage.org/webt/q8/27/xu/q827xu-wlxy8_8src0-6pyrijjs.png)
, , , , .. 0.1. ? , Li-ion LiFePo4 "" , bms. . , , , U + U1. : U + U2. :
![Schedule No. 3](https://habrastorage.org/webt/ou/ib/oo/ouiboooittmqgrrwanx0kaucbau.png)
U, U1 U2, . ? . (), , 2 . INA , "". INA196 — , 10$ .
— . , , 80. 150 40, , , .
, . open source . ACS, , — "" , . . , , — , , . , . , , , ( ) — "" ( , ). — , , ( 60 ) " ". .
![Current measurement circuit](https://habrastorage.org/webt/r6/ll/k9/r6llk9r9x8tq3n_l9ehg0ca95e4.png)
, Bourns (TSV991ILT), , 2 . . , .. ( ) . , buck . HRPWM , ( ). .
, , . , , , . — . … 3D , , - , .
anvos, , , , . , "-" , ( ) . , -, . , , , 1-5 . ! SolidWorks- :
![Body model](https://habrastorage.org/webt/c1/rv/wv/c1rvwvvqksbazrkbbirjnspvyqs.png)
, , .. — , 55$. . , , :
![Building number 1](https://habrastorage.org/webt/1t/si/-l/1tsi-lj-sr3lpwwghcgdmi4hw6c.jpeg)
![Building number 2](https://habrastorage.org/webt/fd/dm/yt/fddmytnhunrdab0immz5v_hdwo0.jpeg)
, , , . : " , ?", , , ( ):
![Body on the scales](https://habrastorage.org/webt/qi/sw/4r/qisw4rkl-5b1sx5h7ndmcqi2gda.jpeg)
, 0.1 . , 3dcontent , . , 3D , , , .
, , . "" (OCP) (UVLO, OVP) , , D-, -. , CPLD. , .
, (TMS320F28, STM32F334/G474, XMC4200 ) . , STM32F334C 3 , FAULT HRTIM (HRPWM). , . :
![Protection circuit](https://habrastorage.org/webt/bb/fj/d2/bbfjd25fe4t_min6pvqhtwmk2es.png)
, , . " " , . 3-4 , . . .
, F334/G474 , , . , .. , , .
, - , . , CC/CV AGM GEL , CAN open, web- . Altium Designer KiCAD.
github — .
, PCBway.