forked from Koxx3/SmartESC_STM32_v2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
m365.stmcx
2085 lines (2085 loc) · 143 KB
/
m365.stmcx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="utf-8"?>
<STWorkBench>
<project>
<properties version="2.0">
<version value="5.04.05.00" />
<section>PMSM</section>
<type>SINGLE</type>
<example_prj>false</example_prj>
<output_setting version="1.0">
<project_name>m365</project_name>
</output_setting>
</properties>
<systems>
<system type="motor 1">
<motor version="1.0">
<name>Motor</name>
<uid>M</uid>
<type>M</type>
<board_name>Hoverboard</board_name>
<original_board_name></original_board_name>
<vars>
<var version="1.0" type="MC_List" name="I/SM-PMSM" enable="true" visible="true" readonly="false" value="0">
<items>
<item tag="1" text="Internal PMSM" />
<item tag="0" text="Surface Mounted PMSM" />
</items>
</var>
<var version="1.0" type="MC_Int" name="Pole Pairs" enable="true" visible="true" readonly="false" value="15" />
<var version="1.0" type="MC_Int" name="Max Rated Speed" enable="true" visible="true" readonly="false" value="2500" />
<var version="1.0" type="MC_Double" name="Nominal Current" enable="true" visible="true" readonly="false" value="15" />
<var version="1.0" type="MC_Double" name="Nominal DC Voltage" enable="true" visible="true" readonly="false" value="42" />
<var version="1.0" type="MC_Double" name="Rs" enable="true" visible="true" readonly="false" value="0.17" />
<var version="1.0" type="MC_Double" name="Ld" enable="true" visible="true" readonly="false" value="0.311" />
<var version="1.0" type="MC_Double" name="Lq" enable="true" visible="true" readonly="false" value="0.312" />
<var version="1.0" type="MC_Double" name="Ls" enable="true" visible="true" readonly="false" value="0.311" />
<var version="1.0" type="MC_Double" name="ld_lq_ratio" enable="true" visible="true" readonly="false" value="0.998" />
<var version="1.0" type="MC_Double" name="B-EmfConstant" enable="true" visible="true" readonly="false" value="40" />
<var version="1.0" type="MC_Double" name="inertia" enable="true" visible="true" readonly="false" value="5" />
<var version="1.0" type="MC_Double" name="friction" enable="true" visible="true" readonly="false" value="14" />
<var version="1.0" type="MC_Bool" name="Hall sensors" enable="true" visible="true" readonly="false" value="true" />
<var version="1.0" type="MC_List" name="Sensors displacement" enable="true" visible="true" readonly="false" value="1">
<items>
<item tag="60" text="60" />
<item tag="120" text="120" />
</items>
</var>
<var version="1.0" type="MC_Int" name="Placement electrical angle" enable="true" visible="true" readonly="false" value="138" />
<var version="1.0" type="MC_Bool" name="Quadrature encoder" enable="true" visible="true" readonly="false" value="false" />
<var version="1.0" type="MC_Int" name="Pulses per mechanical revolution" enable="false" visible="true" readonly="false" value="400" />
<var version="1.0" type="MC_Bool" name="Has_Index_pin" enable="true" visible="true" readonly="false" value="false" />
</vars>
</motor>
<power_stage version="3.0">
<code_id>0</code_id>
<name>Power Stage</name>
<uid>PS</uid>
<type>PS</type>
<board_name>Custom</board_name>
<original_board_name></original_board_name>
<vars>
<var version="1.0" type="MC_Int" name="Min dead-time" enable="true" visible="true" readonly="false" value="700" />
<var version="1.0" type="MC_Int" name="Max switching frequency" enable="true" visible="true" readonly="false" value="50" />
<var version="1.0" type="MC_Int" name="Max rated voltage" enable="true" visible="true" readonly="false" value="42" />
<var version="1.0" type="MC_Int" name="Min rated voltage" enable="true" visible="true" readonly="false" value="10" />
<var version="1.0" type="MC_Int" name="Nominal voltage" enable="true" visible="true" readonly="false" value="36" />
<var version="1.0" type="MC_Bool" name="Bus voltage sensing enable" enable="true" visible="true" readonly="false" value="true" />
<var version="1.0" type="MC_Double" name="Bus voltage divider" enable="false" visible="true" readonly="false" value="17.129032258064516" />
<var version="1.0" type="MC_Double" name="R1" enable="true" visible="true" readonly="false" value="10000" />
<var version="1.0" type="MC_Double" name="R2" enable="true" visible="true" readonly="false" value="620" />
<var version="1.0" type="MC_Bool" name="Current sensing enable" enable="true" visible="true" readonly="false" value="true" />
<var version="1.0" type="MC_List" name="Current reading topology" enable="true" visible="true" readonly="false" value="1">
<items>
<item tag="0" text="One Shunt Resistor" />
<item tag="1" text="Three Shunt Resistors" />
<item tag="2" text="Two Insulated Current Sensors" />
</items>
</var>
<var version="1.0" type="MC_Double" name="ICS gain" enable="false" visible="true" readonly="false" value="1" />
<var version="1.0" type="MC_Double" name="Shunt resistor(s) value" enable="true" visible="true" readonly="false" value="0.002" />
<var version="1.0" type="MC_Bool" name="Amplifying network gain available" enable="true" visible="true" readonly="false" value="true" />
<var version="1.0" type="MC_Double" name="Amplifying network gain" enable="true" visible="true" readonly="false" value="8" />
<var version="1.0" type="MC_Int" name="Tnoise" enable="true" visible="true" readonly="false" value="2550" />
<var version="1.0" type="MC_Int" name="Trise" enable="true" visible="true" readonly="false" value="2550" />
<var version="1.0" type="MC_Bool" name="Over current protection enable" enable="true" visible="true" readonly="false" value="false" />
<var version="1.0" type="MC_Double" name="Comparator threshold" enable="false" visible="true" readonly="false" value="0.5" />
<var version="1.0" type="MC_Double" name="Over current network offset" enable="false" visible="true" readonly="false" value="0" />
<var version="1.0" type="MC_Double" name="Over current network gain" enable="false" visible="true" readonly="false" value="0.14" />
<var version="1.0" type="MC_Double" name="Expected over-current threshold" enable="false" visible="true" readonly="true" value="3.5714" />
<var version="1.0" type="MC_List" name="Over-current feedback signal polarity" enable="false" visible="true" readonly="false" value="0">
<items>
<item tag="0" text="Active low" />
<item tag="1" text="Active high" />
</items>
</var>
<var version="1.0" type="MC_Bool" name="Over-current protection disabling network" enable="false" visible="true" readonly="false" value="false" />
<var version="1.0" type="MC_List" name="Over-current protection disabling network polarity" enable="false" visible="true" readonly="false" value="1">
<items>
<item tag="0" text="Active low" />
<item tag="1" text="Active high" />
</items>
</var>
<var version="1.0" type="MC_Bool" name="Dissipative brake enable" enable="true" visible="true" readonly="false" value="false" />
<var version="1.0" type="MC_List" name="Dissipative brake polarity" enable="false" visible="true" readonly="false" value="1">
<items>
<item tag="0" text="Active low" />
<item tag="1" text="Active high" />
</items>
</var>
<var version="1.0" type="MC_List" name="U Driver High side driving signal polarity" enable="true" visible="true" readonly="false" value="1">
<items>
<item tag="0" text="Active low" />
<item tag="1" text="Active high" />
</items>
</var>
<var version="1.0" type="MC_List" name="U Driver Low side driving signal polarity" enable="true" visible="true" readonly="false" value="1">
<items>
<item tag="0" text="Active low" />
<item tag="1" text="Active high" />
</items>
</var>
<var version="1.0" type="MC_Bool" name="U Driver enabling signal enable" enable="false" visible="true" readonly="false" value="false" />
<var version="1.0" type="MC_List" name="U Driver enabling signal polarity" enable="false" visible="true" readonly="true" value="1">
<items>
<item tag="0" text="Active low" />
<item tag="1" text="Active high" />
</items>
</var>
<var version="1.0" type="MC_List" name="V Driver High side driving signal polarity" enable="true" visible="true" readonly="false" value="1">
<items>
<item tag="0" text="Active low" />
<item tag="1" text="Active high" />
</items>
</var>
<var version="1.0" type="MC_List" name="V Driver Low side driving signal polarity" enable="true" visible="true" readonly="false" value="1">
<items>
<item tag="0" text="Active low" />
<item tag="1" text="Active high" />
</items>
</var>
<var version="1.0" type="MC_Bool" name="V Driver enabling signal enable" enable="false" visible="true" readonly="false" value="false" />
<var version="1.0" type="MC_List" name="V Driver enabling signal polarity" enable="false" visible="true" readonly="true" value="1">
<items>
<item tag="0" text="Active low" />
<item tag="1" text="Active high" />
</items>
</var>
<var version="1.0" type="MC_List" name="W Driver High side driving signal polarity" enable="true" visible="true" readonly="false" value="1">
<items>
<item tag="0" text="Active low" />
<item tag="1" text="Active high" />
</items>
</var>
<var version="1.0" type="MC_List" name="W Driver Low side driving signal polarity" enable="true" visible="true" readonly="false" value="1">
<items>
<item tag="0" text="Active low" />
<item tag="1" text="Active high" />
</items>
</var>
<var version="1.0" type="MC_Bool" name="W Driver enabling signal enable" enable="false" visible="true" readonly="false" value="false" />
<var version="1.0" type="MC_List" name="W Driver enabling signal polarity" enable="false" visible="true" readonly="true" value="1">
<items>
<item tag="0" text="Active low" />
<item tag="1" text="Active high" />
</items>
</var>
<var version="1.0" type="MC_Bool" name="x Driver complemented from high side" enable="true" visible="true" readonly="false" value="false" />
<var version="1.0" type="MC_Int" name="x Driver HW inserted dead time" enable="false" visible="true" readonly="false" value="100" />
<var version="1.0" type="MC_Bool" name="xAllDrive" enable="true" visible="true" readonly="false" value="true" />
<var version="1.0" type="MC_Bool" name="xAllDriver_signal_enable" enable="true" visible="true" readonly="false" value="false" />
<var version="1.0" type="MC_Bool" name="use_STGAP1S" enable="true" visible="true" readonly="false" value="false" />
<var version="1.0" type="MC_Double" name="SettParamGain - Input - Imax" enable="true" visible="true" readonly="false" value="30" />
<var version="1.0" type="MC_Double" name="SettParamGain - Input - Vm" enable="true" visible="true" readonly="false" value="3.3000000000000003" />
<var version="1.0" type="MC_Double" name="SettParamGain - Input - Prating" enable="true" visible="true" readonly="false" value="0.5" />
<var version="1.0" type="MC_Double" name="SettParamGain - Input - R1" enable="true" visible="true" readonly="false" value="1500" />
<var version="1.0" type="MC_Double" name="SettParamGain - Input - R2" enable="true" visible="true" readonly="false" value="24000" />
<var version="1.0" type="MC_Double" name="SettParamGain - Input - R3" enable="true" visible="true" readonly="false" value="2800" />
<var version="1.0" type="MC_Double" name="SettParamGain - Input - R4" enable="true" visible="true" readonly="false" value="1000" />
<var version="1.0" type="MC_Double" name="SettParamGain - Input - R5" enable="true" visible="true" readonly="false" value="7500" />
<var version="1.0" type="MC_Bool" name="SettParamGain - Input - R3using" enable="true" visible="true" readonly="false" value="false" />
<var version="1.0" type="MC_Bool" name="SettParamGain - Input - R4R5fixed" enable="true" visible="true" readonly="false" value="false" />
</vars>
<temperature_sensing version="1.0">
<vars>
<var version="1.0" type="MC_Bool" name="Temperature sensing enable" enable="true" visible="true" readonly="false" value="true" />
<var version="1.0" type="MC_Double" name="Temperature sensing - V0" enable="true" visible="true" readonly="false" value="1650" />
<var version="1.0" type="MC_Double" name="Temperature sensing - T0" enable="true" visible="true" readonly="false" value="25" />
<var version="1.0" type="MC_Double" name="Temperature sensing - Ratio V/T" enable="true" visible="true" readonly="false" value="31" />
<var version="1.0" type="MC_Int" name="Max working temperature on sensor" enable="true" visible="true" readonly="false" value="70" />
</vars>
</temperature_sensing>
<pfc version="1.0">
<vars>
<var version="1.0" type="MC_Bool" name="PFC availability" enable="true" visible="true" readonly="false" value="false" />
<var version="1.0" type="MC_Int" name="PFC - Nominal power" enable="true" visible="true" readonly="false" value="1000" />
<var version="1.0" type="MC_Double" name="PFC_nominal_current" enable="true" visible="true" readonly="true" value="6.149" />
<var version="1.0" type="MC_Double" name="PFC - Shunt resistor value" enable="true" visible="true" readonly="false" value="0.22" />
<var version="1.0" type="MC_Bool" name="PFC_OPAMP_presentOnboard" enable="true" visible="true" readonly="false" value="true" />
<var version="1.0" type="MC_Bool" name="PFC_useOPAMPForCurrentProtection" enable="true" visible="true" readonly="false" value="true" />
<var version="1.0" type="MC_Double" name="PFC_Comparator_threshold" enable="true" visible="true" readonly="false" value="1.2" />
<var version="1.0" type="MC_Double" name="PFC_Expected_overcurrent_threshold" enable="true" visible="true" readonly="true" value="1.976" />
<var version="1.0" type="MC_Double" name="PFC - Amplifying network gain" enable="true" visible="true" readonly="false" value="2.7600000000000002" />
<var version="1.0" type="MC_Int" name="PFC - AC voltage sensing divider" enable="true" visible="true" readonly="false" value="116" />
<var version="1.0" type="MC_Int" name="PFC - Ton propagation delay" enable="true" visible="true" readonly="false" value="2550" />
<var version="1.0" type="MC_Int" name="PFC - Toff propagation delay" enable="true" visible="true" readonly="false" value="2550" />
<var version="1.0" type="MC_List" name="PFC - Driving signal polarity" enable="true" visible="true" readonly="false" value="0">
<items>
<item tag="0" text="Active low" />
<item tag="1" text="Active high" />
</items>
</var>
<var version="1.0" type="MC_List" name="PFC - Overcurrent signal polarity" enable="true" visible="true" readonly="false" value="0">
<items>
<item tag="0" text="Active low" />
<item tag="1" text="Active high" />
</items>
</var>
<var version="1.0" type="MC_List" name="PFC - AC Mains synch signal polarity" enable="true" visible="true" readonly="false" value="0">
<items>
<item tag="0" text="Falling edge" />
<item tag="1" text="Rising edge" />
</items>
</var>
<var version="1.0" type="MC_Double" name="PFC_maxPowerTransistorCurrent" enable="true" visible="true" readonly="false" value="10" />
</vars>
</pfc>
<ac_input version="1.0">
<vars>
<var version="1.0" type="MC_List" name="AC_Main_Freq" enable="true" visible="true" readonly="false" value="0">
<items>
<item tag="50" text="50" />
<item tag="60" text="60" />
</items>
</var>
<var version="1.0" type="MC_Int" name="AC_Min_Input_Voltage" enable="true" visible="true" readonly="false" value="160" />
<var version="1.0" type="MC_Int" name="AC_Max_Input_Voltage" enable="true" visible="true" readonly="false" value="340" />
<var version="1.0" type="MC_List" name="AC_Voltage_Range" enable="true" visible="true" readonly="false" value="3">
<items>
<item tag="0" text="230 V - 50Hz" />
<item tag="1" text="115 V - 60Hz" />
<item tag="2" text="wide range - 50 Hz" />
<item tag="3" text="custom" />
</items>
</var>
<var version="1.0" type="MC_Int" name="AC_Nominal_Input_Voltage" enable="true" visible="true" readonly="false" value="230" />
</vars>
</ac_input>
<inrush_current_limiter version="1.0">
<vars>
<var version="1.0" type="MC_Bool" name="Inrush current limiter enable" enable="true" visible="true" readonly="false" value="false" />
<var version="1.0" type="MC_List" name="Inrush current limiter polarity" enable="true" visible="true" readonly="false" value="1">
<items>
<item tag="0" text="Active low" />
<item tag="1" text="Active high" />
</items>
</var>
</vars>
</inrush_current_limiter>
</power_stage>
<drive_management version="3.0">
<name>Drive Management</name>
<uid>DM</uid>
<type>DM</type>
<board_name></board_name>
<original_board_name></original_board_name>
<vars>
<var version="1.0" type="MC_List" name="Main - Sensor selection" enable="true" visible="true" readonly="false" value="4">
<items>
<item tag="0" text="Sensor-less (Observer+PLL)" />
<item tag="1" text="Sensor-less (Observer+Cordic)" />
<item tag="5" text="Sensor-less (HFI+Observer)" />
<item tag="2" text="Quadrature encoder" />
<item tag="3" text="Hall sensors" />
</items>
</var>
<var version="1.0" type="MC_Int" name="Main - Max allowed speed" enable="false" visible="false" readonly="false" value="2500" />
<var version="1.0" type="MC_Int" name="Main - Min allowed speed" enable="false" visible="false" readonly="false" value="0" />
<var version="1.0" type="MC_Int" name="Main - Max measurement errors number before fault" enable="true" visible="true" readonly="false" value="3" />
<var version="1.0" type="MC_Int" name="Main - Hall Sensors - Average speed FIFO depth" enable="true" visible="true" readonly="false" value="6" />
<var version="1.0" type="MC_Double" name="Main - Hall Sensors - Input Capture filter duration" enable="true" visible="true" readonly="false" value="1.25" />
<var version="1.0" type="MC_Bool" name="Main_ObsPLL_Use_MTPA" enable="true" visible="true" readonly="false" value="true" />
<var version="1.0" type="MC_Int" name="Main - Encoder - Average speed FIFO depth" enable="false" visible="true" readonly="false" value="16" />
<var version="1.0" type="MC_Double" name="Main - Encoder - Input Capture filter duration" enable="false" visible="true" readonly="false" value="0.70000000000000007" />
<var version="1.0" type="MC_Bool" name="Main - Encoder - Reverse counting direction" enable="false" visible="true" readonly="false" value="false" />
<var version="1.0" type="MC_Double" name="Main - ObsPLL - Variance threshold" enable="false" visible="true" readonly="false" value="10" />
<var version="1.0" type="MC_Double" name="Main - ObsPLL - B-emf consistency tolerance" enable="false" visible="true" readonly="false" value="100" />
<var version="1.0" type="MC_Double" name="Main - ObsPLL - B-emf consistency gain" enable="false" visible="true" readonly="false" value="100" />
<var version="1.0" type="MC_Bool" name="Main - ObsPLL - Manual editing enabled" enable="false" visible="true" readonly="false" value="false" />
<var version="1.0" type="MC_Bool" name="Main - ObsPLL - Back compatibility" enable="false" visible="true" readonly="false" value="false" />
<var version="1.0" type="MC_Int" name="Main - ObsPLL - F1" enable="false" visible="true" readonly="false" value="16384" />
<var version="1.0" type="MC_Int" name="Main - ObsPLL - F2" enable="false" visible="true" readonly="false" value="8192" />
<var version="1.0" type="MC_Int" name="Main - ObsPLL - G1" enable="false" visible="true" readonly="false" value="-24157" />
<var version="1.0" type="MC_Int" name="Main - ObsPLL - G2" enable="false" visible="true" readonly="false" value="24481" />
<var version="1.0" type="MC_Int" name="Main - ObsPLL - K1" enable="false" visible="true" readonly="false" value="-23591" />
<var version="1.0" type="MC_Int" name="Main - ObsPLL - K2" enable="false" visible="true" readonly="false" value="45438" />
<var version="1.0" type="MC_Int" name="Main - ObsPLL - Average speed FIFO depth for speed loop" enable="false" visible="true" readonly="false" value="64" />
<var version="1.0" type="MC_Int" name="Main - ObsPLL - Average speed FIFO depth for observer equations" enable="false" visible="true" readonly="false" value="64" />
<var version="1.0" type="MC_Int" name="Main - ObsPLL - P dividend" enable="false" visible="true" readonly="false" value="1247" />
<var version="1.0" type="MC_Int" name="Main - ObsPLL - I dividend" enable="false" visible="true" readonly="false" value="55" />
<var version="1.0" type="MC_Int" name="Main - ObsPLL - P divisor" enable="false" visible="true" readonly="false" value="16384" />
<var version="1.0" type="MC_Int" name="Main - ObsPLL - I divisor" enable="false" visible="true" readonly="false" value="65536" />
<var version="1.0" type="MC_Double" name="Main - ObsCRD - Variance threshold" enable="false" visible="true" readonly="false" value="400" />
<var version="1.0" type="MC_Double" name="Main - ObsCRD - B-emf consistency tolerance" enable="false" visible="true" readonly="false" value="100" />
<var version="1.0" type="MC_Double" name="Main - ObsCRD - B-emf consistency gain" enable="false" visible="true" readonly="false" value="100" />
<var version="1.0" type="MC_Bool" name="Main - ObsCRD - Manual editing enabled" enable="false" visible="true" readonly="false" value="false" />
<var version="1.0" type="MC_Bool" name="Main - ObsCRD - Back compatibility" enable="false" visible="true" readonly="false" value="false" />
<var version="1.0" type="MC_Int" name="Main - ObsCRD - F1" enable="false" visible="true" readonly="false" value="16384" />
<var version="1.0" type="MC_Int" name="Main - ObsCRD - F2" enable="false" visible="true" readonly="false" value="8192" />
<var version="1.0" type="MC_Int" name="Main - ObsCRD - G1" enable="false" visible="true" readonly="false" value="-24157" />
<var version="1.0" type="MC_Int" name="Main - ObsCRD - G2" enable="false" visible="true" readonly="false" value="24481" />
<var version="1.0" type="MC_Int" name="Main - ObsCRD - K1" enable="false" visible="true" readonly="false" value="-23591" />
<var version="1.0" type="MC_Int" name="Main - ObsCRD - K2" enable="false" visible="true" readonly="false" value="45438" />
<var version="1.0" type="MC_Int" name="Main - ObsCRD - Average speed FIFO depth for speed loop" enable="false" visible="true" readonly="false" value="64" />
<var version="1.0" type="MC_Int" name="Main - ObsCRD - Average speed FIFO depth for observer equations" enable="false" visible="true" readonly="false" value="64" />
<var version="1.0" type="MC_Int" name="Main - ObsCRD - Maximum application acceleration" enable="false" visible="true" readonly="false" value="6000" />
<var version="1.0" type="MC_Double" name="Main - ObsCRD - B-emf quality factor" enable="false" visible="true" readonly="false" value="0.017" />
<var version="1.0" type="MC_Int" name="Main_HFI_Frequency" enable="false" visible="true" readonly="false" value="400" />
<var version="1.0" type="MC_Int" name="Main_HFI_Amplitude" enable="false" visible="true" readonly="false" value="25" />
<var version="1.0" type="MC_Int" name="Main_HFI_P_dividend" enable="false" visible="true" readonly="false" value="800" />
<var version="1.0" type="MC_Int" name="Main_HFI_P_divisor" enable="false" visible="true" readonly="false" value="16384" />
<var version="1.0" type="MC_Int" name="Main_HFI_I_dividend" enable="false" visible="true" readonly="false" value="400" />
<var version="1.0" type="MC_Int" name="Main_HFI_I_divisor" enable="false" visible="true" readonly="false" value="32768" />
<var version="1.0" type="MC_Double" name="Main_HFI_PLL_KP" enable="false" visible="true" readonly="false" value="0.00060000000000000006" />
<var version="1.0" type="MC_Double" name="Main_HFI_PLL_KI" enable="false" visible="true" readonly="false" value="0.004" />
<var version="1.0" type="MC_Int" name="Main_HFI_MinSpeed_ObsReset" enable="false" visible="true" readonly="false" value="402" />
<var version="1.0" type="MC_Int" name="Main_HFI_InitialScan_Frequency" enable="false" visible="true" readonly="false" value="10" />
<var version="1.0" type="MC_Int" name="Main_HFI_InitialScan_RotationNumber" enable="false" visible="true" readonly="false" value="3" />
<var version="1.0" type="MC_Int" name="Main_HFI_NS_Detection_WaitBefore" enable="false" visible="true" readonly="false" value="6" />
<var version="1.0" type="MC_Int" name="Main_HFI_NS_Detection_WaitAfter" enable="false" visible="true" readonly="false" value="4" />
<var version="1.0" type="MC_Int" name="Main_HFI_NS_Detection_PulseNum" enable="false" visible="true" readonly="false" value="20" />
<var version="1.0" type="MC_Int" name="Main_HFI_NS_Detection_PulseSkipped" enable="false" visible="true" readonly="false" value="10" />
<var version="1.0" type="MC_Int" name="Main_HFI_NS_Detection_Amplitude" enable="false" visible="true" readonly="false" value="0" />
<var version="1.0" type="MC_Int" name="Main_HFI_NS_Detection_MinSatDiff" enable="false" visible="true" readonly="false" value="0" />
<var version="1.0" type="MC_Int" name="Main_HFI_Consecutive_succesful_start_up_output_tests" enable="false" visible="true" readonly="false" value="2" />
<var version="1.0" type="MC_Int" name="Main_HFI_STO_THRESHOLD" enable="false" visible="true" readonly="false" value="580" />
<var version="1.0" type="MC_Int" name="Main_STO_HFI_THRESHOLD" enable="false" visible="true" readonly="false" value="460" />
<var version="1.0" type="MC_Double" name="Main_HFI_Estimated_speed_Band_tolerance_UL" enable="false" visible="true" readonly="false" value="106.25" />
<var version="1.0" type="MC_Double" name="Main_HFI_Estimated_speed_Band_tolerance_LL" enable="false" visible="true" readonly="false" value="93.75" />
<var version="1.0" type="MC_Bool" name="Main_HFI_Debug" enable="true" visible="true" readonly="false" value="false" />
<var version="1.0" type="MC_Bool" name="Main_HFI_RevertDirection" enable="true" visible="true" readonly="false" value="true" />
<var version="1.0" type="MC_Bool" name="Aux - Enable auxiliary sensor" enable="true" visible="true" readonly="false" value="false" />
<var version="1.0" type="MC_List" name="Aux - Sensor selection" enable="false" visible="true" readonly="false" value="1">
<items>
<item tag="0" text="Sensor-less (Observer+PLL)" />
<item tag="1" text="Sensor-less (Observer+Cordic)" />
<item tag="2" text="Quadrature encoder" />
<item tag="3" text="Hall sensors" />
</items>
</var>
<var version="1.0" type="MC_Int" name="Aux - Max allowed speed" enable="false" visible="false" readonly="false" value="2500" />
<var version="1.0" type="MC_Int" name="Aux - Min allowed speed" enable="false" visible="false" readonly="false" value="0" />
<var version="1.0" type="MC_Int" name="Aux - Max measurement errors number before fault" enable="false" visible="true" readonly="false" value="3" />
<var version="1.0" type="MC_Int" name="Aux - Hall Sensors - Average speed FIFO depth" enable="false" visible="true" readonly="false" value="6" />
<var version="1.0" type="MC_Double" name="Aux - Hall Sensors - Input Capture filter duration" enable="false" visible="true" readonly="false" value="1.3" />
<var version="1.0" type="MC_Bool" name="Aux_ObsPLL_Use_MTPA" enable="false" visible="true" readonly="false" value="false" />
<var version="1.0" type="MC_Int" name="Aux - Encoder - Average speed FIFO depth" enable="false" visible="true" readonly="false" value="16" />
<var version="1.0" type="MC_Double" name="Aux - Encoder - Input Capture filter duration" enable="false" visible="true" readonly="false" value="0.70000000000000007" />
<var version="1.0" type="MC_Bool" name="Aux - Encoder - Reverse counting direction" enable="false" visible="true" readonly="false" value="false" />
<var version="1.0" type="MC_Double" name="Aux - ObsPLL - Variance threshold" enable="false" visible="true" readonly="false" value="6.25" />
<var version="1.0" type="MC_Double" name="Aux - ObsPLL - B-emf consistency tolerance" enable="false" visible="true" readonly="false" value="100" />
<var version="1.0" type="MC_Double" name="Aux - ObsPLL - B-emf consistency gain" enable="false" visible="true" readonly="false" value="100" />
<var version="1.0" type="MC_Bool" name="Aux - ObsPLL - Manual editing enabled" enable="false" visible="true" readonly="false" value="false" />
<var version="1.0" type="MC_Bool" name="Aux - ObsPLL - Back compatibility" enable="false" visible="true" readonly="false" value="false" />
<var version="1.0" type="MC_Int" name="Aux - ObsPLL - F1" enable="false" visible="true" readonly="false" value="16384" />
<var version="1.0" type="MC_Int" name="Aux - ObsPLL - F2" enable="false" visible="true" readonly="false" value="8192" />
<var version="1.0" type="MC_Int" name="Aux - ObsPLL - G1" enable="false" visible="true" readonly="false" value="-24157" />
<var version="1.0" type="MC_Int" name="Aux - ObsPLL - G2" enable="false" visible="true" readonly="false" value="24481" />
<var version="1.0" type="MC_Int" name="Aux - ObsPLL - K1" enable="false" visible="true" readonly="false" value="-23591" />
<var version="1.0" type="MC_Int" name="Aux - ObsPLL - K2" enable="false" visible="true" readonly="false" value="45438" />
<var version="1.0" type="MC_Int" name="Aux - ObsPLL - Average speed FIFO depth for speed loop" enable="false" visible="true" readonly="false" value="64" />
<var version="1.0" type="MC_Int" name="Aux - ObsPLL - Average speed FIFO depth for observer equations" enable="false" visible="true" readonly="false" value="64" />
<var version="1.0" type="MC_Int" name="Aux - ObsPLL - P dividend" enable="false" visible="true" readonly="false" value="1247" />
<var version="1.0" type="MC_Int" name="Aux - ObsPLL - I dividend" enable="false" visible="true" readonly="false" value="55" />
<var version="1.0" type="MC_Int" name="Aux - ObsPLL - P divisor" enable="false" visible="true" readonly="false" value="16384" />
<var version="1.0" type="MC_Int" name="Aux - ObsPLL - I divisor" enable="false" visible="true" readonly="false" value="65536" />
<var version="1.0" type="MC_Double" name="Aux - ObsCRD - Variance threshold" enable="true" visible="true" readonly="false" value="400" />
<var version="1.0" type="MC_Double" name="Aux - ObsCRD - B-emf consistency tolerance" enable="true" visible="true" readonly="false" value="100" />
<var version="1.0" type="MC_Double" name="Aux - ObsCRD - B-emf consistency gain" enable="true" visible="true" readonly="false" value="100" />
<var version="1.0" type="MC_Bool" name="Aux - ObsCRD - Manual editing enabled" enable="true" visible="true" readonly="false" value="false" />
<var version="1.0" type="MC_Bool" name="Aux - ObsCRD - Back compatibility" enable="true" visible="true" readonly="false" value="false" />
<var version="1.0" type="MC_Int" name="Aux - ObsCRD - F1" enable="false" visible="true" readonly="false" value="16384" />
<var version="1.0" type="MC_Int" name="Aux - ObsCRD - F2" enable="false" visible="true" readonly="false" value="8192" />
<var version="1.0" type="MC_Int" name="Aux - ObsCRD - G1" enable="false" visible="true" readonly="false" value="-24157" />
<var version="1.0" type="MC_Int" name="Aux - ObsCRD - G2" enable="false" visible="true" readonly="false" value="24481" />
<var version="1.0" type="MC_Int" name="Aux - ObsCRD - K1" enable="false" visible="true" readonly="false" value="-23591" />
<var version="1.0" type="MC_Int" name="Aux - ObsCRD - K2" enable="false" visible="true" readonly="false" value="45438" />
<var version="1.0" type="MC_Int" name="Aux - ObsCRD - Average speed FIFO depth for speed loop" enable="true" visible="true" readonly="false" value="64" />
<var version="1.0" type="MC_Int" name="Aux - ObsCRD - Average speed FIFO depth for observer equations" enable="true" visible="true" readonly="false" value="64" />
<var version="1.0" type="MC_Int" name="Aux - ObsCRD - Maximum application acceleration" enable="true" visible="true" readonly="false" value="6000" />
<var version="1.0" type="MC_Double" name="Aux - ObsCRD - B-emf quality factor" enable="true" visible="true" readonly="false" value="0.017" />
<var version="1.0" type="MC_Int" name="PWM frequency" enable="true" visible="true" readonly="false" value="16000" />
<var version="1.0" type="MC_List" name="High sides PWM idle state" enable="true" visible="true" readonly="false" value="1">
<items>
<item tag="0" text="Turn-on" />
<item tag="1" text="Turn-off" />
</items>
</var>
<var version="1.0" type="MC_Int" name="Dead time" enable="true" visible="true" readonly="false" value="800" />
<var version="1.0" type="MC_List" name="Low sides PWM idle state" enable="true" visible="true" readonly="false" value="1">
<items>
<item tag="0" text="Turn-on" />
<item tag="1" text="Turn-off" />
</items>
</var>
<var version="1.0" type="MC_List" name="Control mode" enable="true" visible="true" readonly="false" value="0">
<items>
<item tag="0" text="Torque control" />
<item tag="1" text="Speed control" />
<item tag="2" text="Position control" />
</items>
</var>
<var version="1.0" type="MC_Int" name="Target speed" enable="false" visible="true" readonly="false" value="0" />
<var version="1.0" type="MC_Double" name="Target stator current flux component" enable="true" visible="true" readonly="false" value="0" />
<var version="1.0" type="MC_Double" name="Target stator current torque component" enable="true" visible="true" readonly="false" value="0" />
<var version="1.0" type="MC_List" name="Torque&Flux - Execution rate" enable="true" visible="true" readonly="false" value="0">
<items>
<item tag="1" text="1" />
<item tag="2" text="2" />
<item tag="3" text="3" />
<item tag="4" text="4" />
<item tag="5" text="5" />
</items>
</var>
<var version="1.0" type="MC_Int" name="Torque&Flux - Cut-off frequency" enable="true" visible="true" readonly="false" value="2000" />
<var version="1.0" type="MC_Bool" name="Torque&Flux - Manual editing enabled" enable="true" visible="true" readonly="false" value="false" />
<var version="1.0" type="MC_Int" name="Torque - P dividend" enable="false" visible="true" readonly="false" value="3661" />
<var version="1.0" type="MC_Int" name="Torque - P divisor" enable="false" visible="true" readonly="false" value="1024" />
<var version="1.0" type="MC_Int" name="Torque - I dividend" enable="false" visible="true" readonly="false" value="1995" />
<var version="1.0" type="MC_Int" name="Torque - I divisor" enable="false" visible="true" readonly="false" value="16384" />
<var version="1.0" type="MC_Bool" name="Torque - Enable differential term" enable="false" visible="true" readonly="false" value="false" />
<var version="1.0" type="MC_Int" name="Torque - D dividend" enable="false" visible="true" readonly="false" value="100" />
<var version="1.0" type="MC_Int" name="Torque - D divisor" enable="false" visible="true" readonly="true" value="8192" />
<var version="1.0" type="MC_Int" name="Flux - P dividend" enable="false" visible="true" readonly="false" value="3649" />
<var version="1.0" type="MC_Int" name="Flux - P divisor" enable="false" visible="true" readonly="false" value="1024" />
<var version="1.0" type="MC_Int" name="Flux - I dividend" enable="false" visible="true" readonly="false" value="1995" />
<var version="1.0" type="MC_Int" name="Flux - I divisor" enable="false" visible="true" readonly="false" value="16384" />
<var version="1.0" type="MC_Bool" name="Flux - Enable differential term" enable="false" visible="true" readonly="false" value="false" />
<var version="1.0" type="MC_Int" name="Flux - D dividend" enable="false" visible="true" readonly="false" value="100" />
<var version="1.0" type="MC_Int" name="Flux - D divisor" enable="false" visible="true" readonly="true" value="8192" />
<var version="1.0" type="MC_Bool" name="SpeedCtrl_Manual_editing" enable="true" visible="true" readonly="false" value="true" />
<var version="1.0" type="MC_Double" name="SpeedCtrl - Execution rate" enable="true" visible="true" readonly="false" value="1" />
<var version="1.0" type="MC_Int" name="SpeedCtrl - P dividend" enable="true" visible="true" readonly="false" value="400" />
<var version="1.0" type="MC_Int" name="SpeedCtrl - P divisor" enable="true" visible="true" readonly="false" value="16" />
<var version="1.0" type="MC_Int" name="SpeedCtrl - I dividend" enable="true" visible="true" readonly="false" value="50" />
<var version="1.0" type="MC_Int" name="SpeedCtrl - I divisor" enable="true" visible="true" readonly="false" value="256" />
<var version="1.0" type="MC_Bool" name="SpeedCtrl - Enable differential term" enable="false" visible="true" readonly="false" value="false" />
<var version="1.0" type="MC_Int" name="SpeedCtrl - D dividend" enable="false" visible="true" readonly="false" value="0" />
<var version="1.0" type="MC_Int" name="SpeedCtrl - D divisor" enable="true" visible="true" readonly="true" value="16" />
<var version="1.0" type="MC_Int" name="PositionControl_P_dividend" enable="true" visible="true" readonly="false" value="10000" />
<var version="1.0" type="MC_Int" name="PositionControl_P_divisor" enable="true" visible="true" readonly="false" value="1024" />
<var version="1.0" type="MC_Int" name="PositionControl_I_dividend" enable="true" visible="true" readonly="false" value="1000" />
<var version="1.0" type="MC_Int" name="PositionControl_I_divisor" enable="true" visible="true" readonly="false" value="32768" />
<var version="1.0" type="MC_Int" name="PositionControl_D_dividend" enable="true" visible="true" readonly="false" value="1000" />
<var version="1.0" type="MC_Int" name="PositionControl_D_divisor" enable="true" visible="true" readonly="false" value="16" />
<var version="1.0" type="MC_Bool" name="Bus voltage sensing" enable="true" visible="true" readonly="false" value="true" />
<var version="1.0" type="MC_Bool" name="Over-voltage" enable="true" visible="true" readonly="false" value="true" />
<var version="1.0" type="MC_Bool" name="Set intervention threshold to power stage max rated voltage" enable="true" visible="true" readonly="false" value="true" />
<var version="1.0" type="MC_Int" name="Over-voltage threshold" enable="false" visible="true" readonly="false" value="42" />
<var version="1.0" type="MC_List" name="On over voltage" enable="true" visible="true" readonly="false" value="0">
<items>
<item tag="0" text="Disable PWM generation" />
<item tag="1" text="Switch on brake resistor" />
<item tag="2" text="Turn on low side switches" />
</items>
</var>
<var version="1.0" type="MC_Bool" name="On over-voltage, disable over-current protection by HW" enable="false" visible="true" readonly="false" value="false" />
<var version="1.0" type="MC_Int" name="Brake resistor switch-off threshold" enable="false" visible="false" readonly="false" value="34" />
<var version="1.0" type="MC_Bool" name="Under-voltage" enable="true" visible="true" readonly="false" value="true" />
<var version="1.0" type="MC_Bool" name="Set intervention threshold to power stage min rated voltage" enable="true" visible="true" readonly="false" value="true" />
<var version="1.0" type="MC_Int" name="Under-voltage threshold" enable="false" visible="true" readonly="false" value="10" />
<var version="1.0" type="MC_Bool" name="speed_feedback_check" enable="true" visible="true" readonly="false" value="false" />
<var version="1.0" type="MC_Int" name="Enc - Duration" enable="false" visible="true" readonly="false" value="700" />
<var version="1.0" type="MC_Int" name="Enc - Alignment electrical angle" enable="false" visible="true" readonly="false" value="90" />
<var version="1.0" type="MC_Double" name="Enc - Final current ramp value" enable="false" visible="true" readonly="false" value="1.95" />
<var version="1.0" type="MC_Bool" name="SL - Basic profile" enable="false" visible="true" readonly="false" value="true" />
<var version="1.0" type="MC_Int" name="SL - BP - Speed ramp duration" enable="false" visible="true" readonly="false" value="1500" />
<var version="1.0" type="MC_Int" name="SL - BP - Speed ramp final value" enable="false" visible="true" readonly="false" value="2700" />
<var version="1.0" type="MC_Double" name="SL - BP - Current ramp initial value" enable="false" visible="true" readonly="false" value="0.6" />
<var version="1.0" type="MC_Double" name="SL - BP - Current ramp final value" enable="false" visible="true" readonly="false" value="0.70000000000000007" />
<var version="1.0" type="MC_Int" name="SL - BP - Current ramp duration" enable="false" visible="true" readonly="false" value="350" />
<var version="1.0" type="MC_Bool" name="SL - BP - Include alignment before ramp-up" enable="false" visible="true" readonly="false" value="true" />
<var version="1.0" type="MC_Int" name="SL - BP - Duration" enable="false" visible="true" readonly="false" value="700" />
<var version="1.0" type="MC_Int" name="SL - BP - Alignment electrical angle" enable="false" visible="true" readonly="false" value="90" />
<var version="1.0" type="MC_Double" name="SL - BP - Final current ramp value" enable="false" visible="true" readonly="false" value="0.6" />
<var version="1.0" type="MC_Int" name="SL - ACP - Initial electrical angle" enable="false" visible="true" readonly="false" value="90" />
<var version="1.0" type="MC_Int" name="SL - ACP - Phase1 - Duration" enable="false" visible="true" readonly="false" value="700" />
<var version="1.0" type="MC_Int" name="SL - ACP - Phase1 - Final speed" enable="false" visible="true" readonly="false" value="2000" />
<var version="1.0" type="MC_Double" name="SL - ACP - Phase1 - Final current" enable="false" visible="true" readonly="false" value="0.70000000000000007" />
<var version="1.0" type="MC_Int" name="SL - ACP - Phase2 - Duration" enable="false" visible="true" readonly="false" value="700" />
<var version="1.0" type="MC_Int" name="SL - ACP - Phase2 - Final speed" enable="false" visible="true" readonly="false" value="2000" />
<var version="1.0" type="MC_Double" name="SL - ACP - Phase2 - Final current" enable="false" visible="true" readonly="false" value="0.70000000000000007" />
<var version="1.0" type="MC_Int" name="SL - ACP - Phase3 - Duration" enable="false" visible="true" readonly="false" value="700" />
<var version="1.0" type="MC_Int" name="SL - ACP - Phase3 - Final speed" enable="false" visible="true" readonly="false" value="2000" />
<var version="1.0" type="MC_Double" name="SL - ACP - Phase3 - Final current" enable="false" visible="true" readonly="false" value="0.70000000000000007" />
<var version="1.0" type="MC_Int" name="SL - ACP - Phase4 - Duration" enable="false" visible="true" readonly="false" value="700" />
<var version="1.0" type="MC_Int" name="SL - ACP - Phase4 - Final speed" enable="false" visible="true" readonly="false" value="2000" />
<var version="1.0" type="MC_Double" name="SL - ACP - Phase4 - Final current" enable="false" visible="true" readonly="false" value="0.70000000000000007" />
<var version="1.0" type="MC_Int" name="SL - ACP - Phase5 - Duration" enable="false" visible="true" readonly="false" value="700" />
<var version="1.0" type="MC_Int" name="SL - ACP - Phase5 - Final speed" enable="false" visible="true" readonly="false" value="2000" />
<var version="1.0" type="MC_Double" name="SL - ACP - Phase5 - Final current" enable="false" visible="true" readonly="false" value="0.70000000000000007" />
<var version="1.0" type="MC_List" name="SL - ACP - Execute sensor-less algorithm starting from phase" enable="false" visible="true" readonly="false" value="0">
<items>
<item tag="1" text="1" />
<item tag="2" text="2" />
<item tag="3" text="3" />
<item tag="4" text="4" />
<item tag="5" text="5" />
</items>
</var>
<var version="1.0" type="MC_Int" name="SL - Consecutive succesful start-up output tests" enable="false" visible="true" readonly="false" value="2" />
<var version="1.0" type="MC_Int" name="SL - Minimum start-up output speed" enable="false" visible="true" readonly="false" value="580" />
<var version="1.0" type="MC_Double" name="SL - Estimated speed Band tolerance upper limit" enable="false" visible="true" readonly="false" value="106.25" />
<var version="1.0" type="MC_Double" name="SL - Estimated speed Band tolerance lower limit" enable="false" visible="true" readonly="false" value="93.75" />
<var version="1.0" type="MC_Int" name="SL - Rev-up to FOC switch-over duration" enable="false" visible="true" readonly="false" value="25" />
<var version="1.0" type="MC_Bool" name="SL - Rev-up to FOC switch-over duration enabling" enable="true" visible="true" readonly="false" value="true" />
<var version="1.0" type="MC_Bool" name="SL_start_up_on_fly" enable="true" visible="true" readonly="false" value="false" />
<var version="1.0" type="MC_Int" name="SL_startUP_detection_duration" enable="true" visible="true" readonly="false" value="1000" />
<var version="1.0" type="MC_Int" name="SL_startUP_braking_duration" enable="true" visible="true" readonly="false" value="1000" />
<var version="1.0" type="MC_Bool" name="DAC functionality" enable="true" visible="true" readonly="false" value="true" />
</vars>
<temperature_sensing version="1.0">
<vars>
<var version="1.0" type="MC_Bool" name="Temperature sensing" enable="true" visible="true" readonly="false" value="true" />
<var version="1.0" type="MC_Bool" name="Set intervention threshold to power stage max working temperature" enable="true" visible="true" readonly="false" value="true" />
<var version="1.0" type="MC_Int" name="Over-temperature threshold" enable="true" visible="true" readonly="false" value="70" />
<var version="1.0" type="MC_Int" name="Hysteresis" enable="true" visible="true" readonly="false" value="10" />
<var version="1.0" type="MC_Bool" name="use_temperature_protection" enable="true" visible="true" readonly="false" value="true" />
</vars>
</temperature_sensing>
<pfc version="1.0">
<vars>
<var version="1.0" type="MC_Bool" name="PFC - Enable" enable="true" visible="true" readonly="false" value="false" />
<var version="1.0" type="MC_Int" name="PFC - PWM frequency" enable="true" visible="true" readonly="false" value="40000" />
<var version="1.0" type="MC_List" name="PFC - Current regulation execution rate" enable="true" visible="true" readonly="false" value="0">
<items>
<item tag="1" text="1" />
<item tag="2" text="2" />
<item tag="3" text="3" />
<item tag="4" text="4" />
<item tag="5" text="5" />
<item tag="6" text="6" />
<item tag="7" text="7" />
<item tag="8" text="8" />
</items>
</var>
<var version="1.0" type="MC_Int" name="PFC - Current - P dividend" enable="true" visible="true" readonly="false" value="1000" />
<var version="1.0" type="MC_Int" name="PFC - Current - P divisor" enable="true" visible="true" readonly="false" value="16" />
<var version="1.0" type="MC_Int" name="PFC - Current - I dividend" enable="true" visible="true" readonly="false" value="700" />
<var version="1.0" type="MC_Int" name="PFC - Current - I divisor" enable="true" visible="true" readonly="false" value="256" />
<var version="1.0" type="MC_Int" name="PFC - Output voltage reference" enable="true" visible="true" readonly="false" value="350" />
<var version="1.0" type="MC_Int" name="PFC over-voltage threshold" enable="true" visible="true" readonly="false" value="370" />
<var version="1.0" type="MC_Int" name="PFC - Voltage regulation frequency" enable="true" visible="true" readonly="false" value="100" />
<var version="1.0" type="MC_Int" name="PFC - Voltage - P dividend" enable="true" visible="true" readonly="false" value="1000" />
<var version="1.0" type="MC_Int" name="PFC - Voltage - P divisor" enable="true" visible="true" readonly="false" value="16" />
<var version="1.0" type="MC_Int" name="PFC - Voltage - I dividend" enable="true" visible="true" readonly="false" value="700" />
<var version="1.0" type="MC_Int" name="PFC - Voltage - I divisor" enable="true" visible="true" readonly="false" value="256" />
<var version="1.0" type="MC_Int" name="PFC - Switch-on duration" enable="true" visible="true" readonly="false" value="300" />
<var version="1.0" type="MC_Int" name="PFC - Switch-on Power level" enable="true" visible="true" readonly="false" value="250" />
<var version="1.0" type="MC_Int" name="PFC - Switch-off Power level" enable="true" visible="true" readonly="false" value="50" />
<var version="1.0" type="MC_Double" name="PFC - Digital filter duration on AC sync pin" enable="true" visible="true" readonly="false" value="1.3" />
<var version="1.0" type="MC_Double" name="PFC - Digital filter duration on OCP pin" enable="true" visible="true" readonly="false" value="1.3" />
<var version="1.0" type="MC_Double" name="PFC_sw_overCurrentThreshold" enable="true" visible="true" readonly="false" value="4.999" />
</vars>
</pfc>
<ac_input version="1.0">
<vars>
<var version="1.0" type="MC_Bool" name="AC_Input_OverVoltage_FromPS" enable="true" visible="true" readonly="false" value="true" />
<var version="1.0" type="MC_Int" name="AC_Input_OverVoltage" enable="false" visible="true" readonly="false" value="340" />
</vars>
</ac_input>
<inrush_current_limiter version="1.0">
<vars>
<var version="1.0" type="MC_Bool" name="Inrush current limiter" enable="true" visible="true" readonly="false" value="false" />
<var version="1.0" type="MC_List" name="Power on state" enable="true" visible="true" readonly="false" value="0">
<items>
<item tag="0" text="Active" />
<item tag="1" text="Inactive" />
</items>
</var>
<var version="1.0" type="MC_Int" name="Change state after" enable="true" visible="true" readonly="false" value="1000" />
</vars>
</inrush_current_limiter>
<additional_features version="1.0">
<flux_weakening version="1.0">
<vars>
<var version="1.0" type="MC_Bool" name="AF_FluxWeakening" enable="true" visible="true" readonly="false" value="false" />
<var version="1.0" type="MC_Int" name="Flux weakening - P dividend" enable="true" visible="true" readonly="false" value="3000" />
<var version="1.0" type="MC_Int" name="Flux weakening - I dividend" enable="true" visible="true" readonly="false" value="5000" />
<var version="1.0" type="MC_Int" name="Flux weakening - P divisor" enable="true" visible="true" readonly="true" value="32768" />
<var version="1.0" type="MC_Int" name="Flux weakening - I divisor" enable="true" visible="true" readonly="true" value="32768" />
<var version="1.0" type="MC_Double" name="Voltage limit" enable="true" visible="true" readonly="false" value="98.5" />
</vars>
</flux_weakening>
<mtpa version="1.0">
<vars>
<var version="1.0" type="MC_Bool" name="AF_MTPA" enable="true" visible="true" readonly="false" value="true" />
</vars>
</mtpa>
<feed_forward version="1.0">
<vars>
<var version="1.0" type="MC_Bool" name="AF_Feed_Forward" enable="true" visible="true" readonly="false" value="false" />
</vars>
</feed_forward>
</additional_features>
<freertos version="1.0">
<item name="use_it" value="true" />
<item name="RTOS_USE_IRQ" value="false" />
<item name="timer" value="TIM4" />
</freertos>
<joystic_lcd version="1.0">
<vars>
<var version="1.0" type="MC_Bool" name="Joystick_LCD_Enable" enable="true" visible="true" readonly="false" value="false" />
<var version="1.0" type="MC_Bool" name="Joystick_LCD" enable="true" visible="true" readonly="false" value="true" />
</vars>
</joystic_lcd>
<start_stop_button version="1.0">
<vars>
<var version="1.0" type="MC_Bool" name="Start_Stop_Button" enable="true" visible="true" readonly="false" value="true" />
</vars>
</start_stop_button>
<serial_communication version="1.0">
<vars>
<var version="1.0" type="MC_Bool" name="Serial_Communication_Enable" enable="true" visible="true" readonly="false" value="true" />
<var version="1.0" type="MC_Bool" name="Serial_Communication" enable="true" visible="true" readonly="false" value="true" />
<var version="1.0" type="MC_List" name="SC_Uni_CH1_Motor" enable="true" visible="true" readonly="true" value="0">
<items>
<item tag="1" text="M1" />
<item tag="2" text="M2" />
</items>
</var>
<var version="1.0" type="MC_List" name="SC_Uni_CH1_Variable" enable="true" visible="true" readonly="false" value="0">
<items>
<item tag="35" text="Ia" />
<item tag="36" text="Ib" />
<item tag="37" text="Ialpha" />
<item tag="38" text="Ibeta" />
<item tag="39" text="Iq" />
<item tag="40" text="Id" />
<item tag="41" text="Iq reference" />
<item tag="42" text="Id reference" />
<item tag="43" text="Vq" />
<item tag="44" text="Vd" />
<item tag="45" text="Valpha" />
<item tag="46" text="Vbeta" />
<item tag="47" text="Measured electrical angle" />
<item tag="48" text="Measured rotor speed" />
<item tag="49" text="Observer electrical angle (PLL)" />
<item tag="50" text="Observer rotor speed (PLL)" />
<item tag="51" text="Observer Ialpha (PLL)" />
<item tag="52" text="Observer Ibeta (PLL)" />
<item tag="53" text="Observer BEMF alpha (PLL)" />
<item tag="54" text="Observer BEMF beta (PLL)" />
<item tag="55" text="Observer electrical angle (CORDIC)" />
<item tag="56" text="Observer rotor speed (CORDIC)" />
<item tag="57" text="Observer Ialpha (CORDIC)" />
<item tag="58" text="Observer Ibeta (CORDIC)" />
<item tag="59" text="Observer BEMF alpha (CORDIC)" />
<item tag="60" text="Observer BEMF beta (CORDIC)" />
<item tag="61" text="User defined DAC 1" />
<item tag="62" text="User defined DAC 2" />
<item tag="93" text="HFI electrical angle" />
<item tag="94" text="HFI rotor speed" />
<item tag="95" text="HFI debug current" />
<item tag="96" text="HFI debug angle" />
</items>
</var>
<var version="1.0" type="MC_Bool" name="SC_Uni_CH2_Enable" enable="true" visible="true" readonly="false" value="true" />
<var version="1.0" type="MC_List" name="SC_Uni_CH2_Variable" enable="true" visible="true" readonly="false" value="0">
<items>
<item tag="35" text="Ia" />
<item tag="36" text="Ib" />
<item tag="37" text="Ialpha" />
<item tag="38" text="Ibeta" />
<item tag="39" text="Iq" />
<item tag="40" text="Id" />
<item tag="41" text="Iq reference" />
<item tag="42" text="Id reference" />
<item tag="43" text="Vq" />
<item tag="44" text="Vd" />
<item tag="45" text="Valpha" />
<item tag="46" text="Vbeta" />
<item tag="47" text="Measured electrical angle" />
<item tag="48" text="Measured rotor speed" />
<item tag="49" text="Observer electrical angle (PLL)" />
<item tag="50" text="Observer rotor speed (PLL)" />
<item tag="51" text="Observer Ialpha (PLL)" />
<item tag="52" text="Observer Ibeta (PLL)" />
<item tag="53" text="Observer BEMF alpha (PLL)" />
<item tag="54" text="Observer BEMF beta (PLL)" />
<item tag="55" text="Observer electrical angle (CORDIC)" />
<item tag="56" text="Observer rotor speed (CORDIC)" />
<item tag="57" text="Observer Ialpha (CORDIC)" />
<item tag="58" text="Observer Ibeta (CORDIC)" />
<item tag="59" text="Observer BEMF alpha (CORDIC)" />
<item tag="60" text="Observer BEMF beta (CORDIC)" />
<item tag="61" text="User defined DAC 1" />
<item tag="62" text="User defined DAC 2" />
<item tag="93" text="HFI electrical angle" />
<item tag="94" text="HFI rotor speed" />
<item tag="95" text="HFI debug current" />
<item tag="96" text="HFI debug angle" />
</items>
</var>
</vars>
</serial_communication>
</drive_management>
</system>
<system type="common">
<control_stage version="4.0">
<code_id>0</code_id>
<name>Control Stage</name>
<uid>CS</uid>
<type>CS</type>
<board_name>Custom</board_name>
<original_board_name>Custom</original_board_name>
<vars>
<var version="1.0" type="MC_List" name="DIO - MCT - Timer" enable="true" visible="true" readonly="false" value="0">
<items>
<item tag="1" text="TIM1" />
</items>
</var>
<var version="1.0" type="MC_List" name="DIO - MCT - Remap" enable="true" visible="true" readonly="false" value="0">
<items>
<item tag="0" text="No remap" />
<item tag="2" text="Partial re-map" />
</items>
</var>
<var version="1.0" type="MC_List" name="DIO - MCT - Pin - CH1" enable="true" visible="true" readonly="true" value="1">
<items>
<item tag="108" text="A8" />
<item tag="108" text="A8" />
</items>
</var>
<var version="1.0" type="MC_List" name="DIO - MCT - Pin - CH2" enable="true" visible="true" readonly="true" value="1">
<items>
<item tag="109" text="A9" />
<item tag="109" text="A9" />
</items>
</var>
<var version="1.0" type="MC_List" name="DIO - MCT - Pin - CH3" enable="true" visible="true" readonly="true" value="1">
<items>
<item tag="110" text="A10" />
<item tag="110" text="A10" />
</items>
</var>
<var version="1.0" type="MC_List" name="DIO - MCT - Pin - CH1N" enable="true" visible="true" readonly="true" value="0">
<items>
<item tag="213" text="B13" />
<item tag="107" text="A7" />
</items>
</var>
<var version="1.0" type="MC_List" name="DIO - MCT - Pin - CH2N" enable="true" visible="true" readonly="true" value="0">
<items>
<item tag="214" text="B14" />
<item tag="200" text="B0" />
</items>
</var>
<var version="1.0" type="MC_List" name="DIO - MCT - Pin - CH3N" enable="true" visible="true" readonly="true" value="0">
<items>
<item tag="215" text="B15" />
<item tag="201" text="B1" />
</items>
</var>
<var version="1.0" type="MC_List" name="DIO - MCT - Pin - BKIN" enable="false" visible="true" readonly="true" value="0">
<items>
<item tag="212" text="B12" />
<item tag="106" text="A6" />
</items>
</var>
<var version="1.0" type="MC_List" name="DIO - MCT - Enb - CH1 - Port" enable="false" visible="true" readonly="false" value="2">
<items>
<item tag="65" text="GPIOA" />
<item tag="66" text="GPIOB" />
<item tag="67" text="GPIOC" />
<item tag="68" text="GPIOD" />
<item tag="69" text="GPIOE" />
<item tag="70" text="GPIOF" />
<item tag="71" text="GPIOG" />
<item tag="72" text="GPIOH" />
<item tag="73" text="GPIOI" />
</items>
</var>
<var version="1.0" type="MC_List" name="DIO - MCT - Enb - CH1 - Pin" enable="false" visible="true" readonly="false" value="13">
<items>
<item tag="300" text="C0" />
<item tag="301" text="C1" />
<item tag="302" text="C2" />
<item tag="303" text="C3" />
<item tag="304" text="C4" />
<item tag="305" text="C5" />
<item tag="306" text="C6" />
<item tag="307" text="C7" />
<item tag="308" text="C8" />
<item tag="309" text="C9" />
<item tag="310" text="C10" />
<item tag="311" text="C11" />
<item tag="312" text="C12" />
<item tag="313" text="C13" />
<item tag="314" text="C14" />
<item tag="315" text="C15" />
</items>
</var>
<var version="1.0" type="MC_List" name="DIO - MCT - Enb - CH2 - Port" enable="false" visible="true" readonly="false" value="2">
<items>
<item tag="65" text="GPIOA" />
<item tag="66" text="GPIOB" />
<item tag="67" text="GPIOC" />
<item tag="68" text="GPIOD" />
<item tag="69" text="GPIOE" />
<item tag="70" text="GPIOF" />
<item tag="71" text="GPIOG" />
<item tag="72" text="GPIOH" />
<item tag="73" text="GPIOI" />
</items>
</var>
<var version="1.0" type="MC_List" name="DIO - MCT - Enb - CH2 - Pin" enable="false" visible="true" readonly="false" value="13">
<items>
<item tag="300" text="C0" />
<item tag="301" text="C1" />
<item tag="302" text="C2" />
<item tag="303" text="C3" />
<item tag="304" text="C4" />
<item tag="305" text="C5" />
<item tag="306" text="C6" />
<item tag="307" text="C7" />
<item tag="308" text="C8" />
<item tag="309" text="C9" />
<item tag="310" text="C10" />
<item tag="311" text="C11" />
<item tag="312" text="C12" />
<item tag="313" text="C13" />
<item tag="314" text="C14" />
<item tag="315" text="C15" />
</items>
</var>
<var version="1.0" type="MC_List" name="DIO - MCT - Enb - CH3 - Port" enable="false" visible="true" readonly="false" value="2">
<items>
<item tag="65" text="GPIOA" />
<item tag="66" text="GPIOB" />
<item tag="67" text="GPIOC" />
<item tag="68" text="GPIOD" />
<item tag="69" text="GPIOE" />
<item tag="70" text="GPIOF" />
<item tag="71" text="GPIOG" />
<item tag="72" text="GPIOH" />
<item tag="73" text="GPIOI" />
</items>
</var>
<var version="1.0" type="MC_List" name="DIO - MCT - Enb - CH3 - Pin" enable="false" visible="true" readonly="false" value="13">
<items>
<item tag="300" text="C0" />
<item tag="301" text="C1" />
<item tag="302" text="C2" />
<item tag="303" text="C3" />
<item tag="304" text="C4" />
<item tag="305" text="C5" />
<item tag="306" text="C6" />
<item tag="307" text="C7" />
<item tag="308" text="C8" />
<item tag="309" text="C9" />
<item tag="310" text="C10" />
<item tag="311" text="C11" />
<item tag="312" text="C12" />
<item tag="313" text="C13" />
<item tag="314" text="C14" />
<item tag="315" text="C15" />
</items>
</var>
<var version="1.0" type="MC_List" name="DIO - EIT - Timer" enable="false" visible="true" readonly="false" value="0">
<items>
<item tag="2" text="TIM2" />
<item tag="3" text="TIM3" />
<item tag="4" text="TIM4" />
</items>
</var>
<var version="1.0" type="MC_List" name="DIO - EIT - Remap" enable="false" visible="true" readonly="false" value="0">
<items>
<item tag="0" text="No remap" />
<item tag="4" text="Partial re-map '01'" />
<item tag="5" text="Partial re-map '10'" />
<item tag="3" text="Full re-map" />
</items>
</var>
<var version="1.0" type="MC_List" name="DIO - EIT - Pin - CH1" enable="false" visible="true" readonly="false" value="0">
<items>
<item tag="100" text="A0" />
<item tag="115" text="A15" />
<item tag="100" text="A0" />
<item tag="115" text="A15" />
</items>
</var>
<var version="1.0" type="MC_List" name="DIO - EIT - Pin - CH2" enable="false" visible="true" readonly="false" value="1">
<items>
<item tag="101" text="A1" />
<item tag="203" text="B3" />
<item tag="101" text="A1" />
<item tag="203" text="B3" />
</items>
</var>
<var version="1.0" type="MC_List" name="DIO - EIT - Pin - CH3" enable="false" visible="true" readonly="false" value="2">
<items>
<item tag="102" text="A2" />
<item tag="102" text="A2" />
<item tag="210" text="B10" />
<item tag="210" text="B10" />
</items>
</var>
<var version="1.0" type="MC_List" name="DIO - HIT - Timer" enable="true" visible="true" readonly="false" value="1">
<items>
<item tag="2" text="TIM2" />
<item tag="3" text="TIM3" />
<item tag="4" text="TIM4" />
</items>
</var>
<var version="1.0" type="MC_List" name="DIO - HIT - Remap" enable="true" visible="true" readonly="false" value="1">
<items>
<item tag="0" text="No remap" />
<item tag="2" text="Partial re-map" />
<item tag="3" text="Full re-map" />
</items>
</var>
<var version="1.0" type="MC_List" name="DIO - HIT - Pin - CH1" enable="true" visible="true" readonly="true" value="1">
<items>
<item tag="106" text="A6" />
<item tag="204" text="B4" />
<item tag="306" text="C6" />
</items>
</var>
<var version="1.0" type="MC_List" name="DIO - HIT - Pin - CH2" enable="true" visible="true" readonly="true" value="1">
<items>
<item tag="107" text="A7" />
<item tag="205" text="B5" />
<item tag="307" text="C7" />
</items>
</var>
<var version="1.0" type="MC_List" name="DIO - HIT - Pin - CH3" enable="true" visible="true" readonly="true" value="1">
<items>
<item tag="200" text="B0" />
<item tag="200" text="B0" />
<item tag="308" text="C8" />
</items>
</var>
<var version="1.0" type="MC_List" name="DIO - DBO - Port" enable="false" visible="true" readonly="false" value="4">
<items>
<item tag="65" text="GPIOA" />
<item tag="66" text="GPIOB" />
<item tag="67" text="GPIOC" />
<item tag="68" text="GPIOD" />
<item tag="69" text="GPIOE" />
<item tag="70" text="GPIOF" />
<item tag="71" text="GPIOG" />
<item tag="72" text="GPIOH" />
<item tag="73" text="GPIOI" />
</items>
</var>
<var version="1.0" type="MC_List" name="DIO - DBO - Pin" enable="false" visible="true" readonly="false" value="5">
<items>
<item tag="500" text="E0" />
<item tag="501" text="E1" />
<item tag="502" text="E2" />
<item tag="503" text="E3" />
<item tag="504" text="E4" />
<item tag="505" text="E5" />
<item tag="506" text="E6" />
<item tag="507" text="E7" />
<item tag="508" text="E8" />
<item tag="509" text="E9" />
<item tag="510" text="E10" />
<item tag="511" text="E11" />
<item tag="512" text="E12" />
<item tag="513" text="E13" />
<item tag="514" text="E14" />
<item tag="515" text="E15" />
</items>
</var>
<var version="1.0" type="MC_List" name="DIO - ICL - Port" enable="false" visible="true" readonly="false" value="4">
<items>
<item tag="65" text="GPIOA" />
<item tag="66" text="GPIOB" />
<item tag="67" text="GPIOC" />
<item tag="68" text="GPIOD" />
<item tag="69" text="GPIOE" />
<item tag="70" text="GPIOF" />
<item tag="71" text="GPIOG" />
<item tag="72" text="GPIOH" />
<item tag="73" text="GPIOI" />
</items>
</var>
<var version="1.0" type="MC_List" name="DIO - ICL - Pin" enable="false" visible="true" readonly="false" value="4">
<items>
<item tag="500" text="E0" />
<item tag="501" text="E1" />
<item tag="502" text="E2" />
<item tag="503" text="E3" />
<item tag="504" text="E4" />
<item tag="505" text="E5" />
<item tag="506" text="E6" />
<item tag="507" text="E7" />
<item tag="508" text="E8" />
<item tag="509" text="E9" />
<item tag="510" text="E10" />