U-FOC G431.json 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337
  1. {
  2. "type": "inverter",
  3. "contentVersion": "1.0",
  4. "descVersion": 4,
  5. "name": "U-FOC G431",
  6. "algorithmCompatibility": [
  7. "FOC"
  8. ],
  9. "mcu": "STM32G431RBTx",
  10. "clockSource": "8_crystal",
  11. "clockFrequency": 170,
  12. "PN": "1",
  13. "motorDrives": [
  14. {
  15. "name": "M1",
  16. "minRatedVoltage": 10,
  17. "maxRatedCurrent": 20,
  18. "maxRatedVoltage": 50,
  19. "maxRatedPower": 1000,
  20. "features": [
  21. {
  22. "type": "CurrentSensing",
  23. "name": "CurrentSensing",
  24. "hwVariants": [
  25. {
  26. "signals": {
  27. "CURRENT_SHUNT_VP": [
  28. {
  29. "name": "PA7",
  30. "help": {},
  31. "cost": 0
  32. }
  33. ],
  34. "CURRENT_SHUNT_UP": [
  35. {
  36. "name": "PA1",
  37. "help": {},
  38. "cost": 0
  39. }
  40. ],
  41. "CURRENT_SHUNT_WP": [
  42. {
  43. "name": "PB0",
  44. "help": {},
  45. "cost": 0
  46. }
  47. ],
  48. "CURRENT_SHUNT_UN": [
  49. {
  50. "name": "PA3",
  51. "help": {},
  52. "cost": 0
  53. }
  54. ],
  55. "CURRENT_SHUNT_VN": [
  56. {
  57. "name": "PA5",
  58. "help": {},
  59. "cost": 0
  60. }
  61. ],
  62. "CURRENT_SHUNT_WN": [
  63. {
  64. "name": "PB2",
  65. "help": {},
  66. "cost": 0
  67. }
  68. ]
  69. },
  70. "type": "ThreeShunt_RawCurrents_Differential_InternalGain",
  71. "cost": 0,
  72. "amplifyingNetworkImax": 25,
  73. "amplifyingNetworkVm": 3.3,
  74. "opAmpGain": 16,
  75. "shuntResistor": 0.005,
  76. "amplifyingNetworkPrating": 2,
  77. "polarizationOffset": 2.057,
  78. "offsetNetworkAttenuation": 0.571
  79. }
  80. ],
  81. "tRise": 1000
  82. },
  83. {
  84. "type": "SpeedAndPositionSensing",
  85. "name": "SpeedAndPositionSensing",
  86. "hwVariants": [
  87. {
  88. "signals": {
  89. "HALLSENSOR_H2": [
  90. {
  91. "name": "PB3",
  92. "help": {},
  93. "cost": 0
  94. }
  95. ],
  96. "HALLSENSOR_H1": [
  97. {
  98. "name": "PA15",
  99. "help": {},
  100. "cost": 0
  101. }
  102. ],
  103. "HALLSENSOR_H3": [
  104. {
  105. "name": "PB10",
  106. "help": {},
  107. "cost": 0
  108. }
  109. ]
  110. },
  111. "type": "HallEffectSensor",
  112. "cost": 0
  113. },
  114. {
  115. "signals": {
  116. "QENC_A": [
  117. {
  118. "name": "PB4",
  119. "help": {},
  120. "cost": 0
  121. }
  122. ],
  123. "QENC_B": [
  124. {
  125. "name": "PB5",
  126. "help": {},
  127. "cost": 0
  128. }
  129. ]
  130. },
  131. "type": "QuadratureEncoderRelative",
  132. "cost": 0
  133. }
  134. ]
  135. },
  136. {
  137. "type": "PhaseVoltageGeneration",
  138. "name": "PhaseVoltageGeneration",
  139. "driverName": "",
  140. "hwVariants": [
  141. {
  142. "signals": {
  143. "PWM_CHU_H": [
  144. {
  145. "name": "PA8",
  146. "help": {},
  147. "cost": 0
  148. }
  149. ],
  150. "PWM_CHV_H": [
  151. {
  152. "name": "PA9",
  153. "help": {},
  154. "cost": 0
  155. }
  156. ],
  157. "PWM_CHW_H": [
  158. {
  159. "name": "PA10",
  160. "help": {},
  161. "cost": 0
  162. }
  163. ],
  164. "PWM_CHU_L": [
  165. {
  166. "name": "PA11",
  167. "help": {},
  168. "cost": 0
  169. }
  170. ],
  171. "PWM_CHV_L": [
  172. {
  173. "name": "PA12",
  174. "help": {},
  175. "cost": 0
  176. }
  177. ],
  178. "PWM_CHW_L": [
  179. {
  180. "name": "PB15",
  181. "help": {},
  182. "cost": 0
  183. }
  184. ]
  185. },
  186. "type": "DrivingHighAndLowSides",
  187. "cost": 0,
  188. "deadTime": 1000,
  189. "lowSideSwitchesDrivingPolarity": "Active high",
  190. "highSideSwitchesDrivingPolarity": "Active high"
  191. }
  192. ],
  193. "tNoise": 1000,
  194. "driverPN": "",
  195. "minDeadTime": 800,
  196. "maxSwitchingFreq": 64
  197. },
  198. {
  199. "type": "VBusSensing",
  200. "name": "VBusSensing",
  201. "hwVariants": [
  202. {
  203. "signals": {
  204. "VBUS": [
  205. {
  206. "name": "PB12",
  207. "help": {},
  208. "cost": 0
  209. }
  210. ]
  211. },
  212. "type": "VBusSensing",
  213. "cost": 0,
  214. "busVoltageDividerR1": 100000,
  215. "busVoltageDividerR2": 4700,
  216. "busVoltageDivider": 22.27
  217. }
  218. ],
  219. "busVoltageDivider": 22.276595
  220. },
  221. {
  222. "type": "TemperatureSensing",
  223. "name": "TemperatureSensing",
  224. "hwVariants": [
  225. {
  226. "signals": {
  227. "TEMPERATURE_NTC": [
  228. {
  229. "name": "PB11",
  230. "help": {},
  231. "cost": 0
  232. }
  233. ]
  234. },
  235. "type": "NTCThermistor",
  236. "cost": 0,
  237. "maxSensorTemperature": 170,
  238. "t0": 25,
  239. "v0": 1055,
  240. "gain": 20
  241. }
  242. ]
  243. },
  244. {
  245. "type": "Brake",
  246. "name": "Brake",
  247. "hwVariants": [
  248. {
  249. "signals": {
  250. "RBRAKE_ENABLE": [
  251. {
  252. "name": "PC14-OSC32_IN",
  253. "help": {},
  254. "cost": 0
  255. }
  256. ]
  257. },
  258. "type": "DissipativeBreak",
  259. "cost": 0,
  260. "rBrakeEnableSignalPolarity": "Active high"
  261. }
  262. ]
  263. }
  264. ],
  265. "resistorOffset": -0.819
  266. }
  267. ],
  268. "features": [
  269. {
  270. "type": "SerialPortCommunication",
  271. "name": "SerialPortCommunication",
  272. "hwVariants": [
  273. {
  274. "signals": {
  275. "UART_TX": [
  276. {
  277. "name": "PB6",
  278. "help": {},
  279. "cost": 0
  280. }
  281. ],
  282. "UART_RX": [
  283. {
  284. "name": "PB7",
  285. "help": {},
  286. "cost": 0
  287. }
  288. ]
  289. },
  290. "type": "Uart2WiresCommunication",
  291. "cost": 0
  292. }
  293. ]
  294. },
  295. {
  296. "type": "Potentiometer",
  297. "name": "Potentiometer",
  298. "hwVariants": [
  299. {
  300. "signals": {
  301. "POTENTIOMETER_LEVEL": [
  302. {
  303. "name": "PB14",
  304. "help": {},
  305. "cost": 0
  306. }
  307. ]
  308. },
  309. "type": "Potentiometer",
  310. "cost": 0,
  311. "potVm": 3.3,
  312. "potRmax": 10000,
  313. "potLevelMin": 0
  314. }
  315. ]
  316. },
  317. {
  318. "type": "ElectronicSpeedControl",
  319. "name": "ElectronicSpeedControl",
  320. "hwVariants": [
  321. {
  322. "signals": {
  323. "PWM_ESC_INPUT": [
  324. {
  325. "name": "PC6",
  326. "help": {},
  327. "cost": 0
  328. }
  329. ]
  330. },
  331. "type": "ESCPWMControl",
  332. "cost": 0
  333. }
  334. ]
  335. }
  336. ]
  337. }