From 93006b2b582654891c5adabff2098fbe803355f3 Mon Sep 17 00:00:00 2001 From: gab-k Date: Wed, 3 Jan 2024 08:45:27 +0000 Subject: [PATCH] deploy: 9b8906f47676f123410d379b2825a7816ec99204 --- CV_8h_source.html | 16 ++++++++-------- shared_8h_source.html | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/CV_8h_source.html b/CV_8h_source.html index b21ba3d..cbc1d36 100644 --- a/CV_8h_source.html +++ b/CV_8h_source.html @@ -81,8 +81,8 @@ $(function() { codefold.init(0); });
1#pragma once
2#define CV_ARRAY_SIZE 512
-
3// All CVs are 8-bit numbers ranging from (0 - 255)dec ≙ (0b00000000 - 0b11111111)bin ≙ (0x00 - 0xFF)hex
-
4// Note : CV_1 ≙ index 0, CV_2 ≙ index 1, CV_3 ≙ index 2, ...
+
3// All CVs are 8-bit numbers ranging from (0 - 255)dec = (0b00000000 - 0b11111111)bin = (0x00 - 0xFF)hex
+
4// Note : CV_1 = index 0, CV_2 = index 1, CV_3 = index 2, ...
5
6uint8_t CV_ARRAY_DEFAULT [CV_ARRAY_SIZE] = {
7 0b00000011, //CV_1 - Basic address - CV_1 = 0 and CV_1 > 127 are not valid - Default = 3
@@ -137,20 +137,20 @@ $(function() { codefold.init(0); });
60 0b00000000, //CV_45 -
61 0b00000000, //CV_46 -
62 // Speed controller - Configuration ////////////////////////////////////////////////////////////////////////////////
-
63 0b00110010, //CV_47 - Feed-forward gain k_ff ≙ CV_47/10000 Default = 50 -> 0.005 //
+
63 0b00110010, //CV_47 - Feed-forward gain k_ff = CV_47/10000 Default = 50 -> 0.005 //
64 0b00001010, //CV_48 - PID Control low pass filter time constant (tau) in ms //
65 0b00000101, //CV_49 - PID Control sampling time t in ms //
-
66 0b00011001, //CV_50 - PID Control I_Factor ≙ CV_50/10 Default = 25 -> 2.5 //
-
67 0b00110010, //CV_51 - PID Control D_Factor ≙ CV_51/10000 Default = 50 -> 0.005 //
-
68 0b01100100, //CV_52 - PID Integral Limit positive ≙ CV_52*10 Default = 100 -> +1000 //
-
69 0b01100100, //CV_53 - PID Integral Limit negative ≙ CV_53*(-10) Default = 100 -> -1000 //
+
66 0b00011001, //CV_50 - PID Control I_Factor = CV_50/10 Default = 25 -> 2.5 //
+
67 0b00110010, //CV_51 - PID Control D_Factor = CV_51/10000 Default = 50 -> 0.005 //
+
68 0b01100100, //CV_52 - PID Integral Limit positive = CV_52*10 Default = 100 -> +1000 //
+
69 0b01100100, //CV_53 - PID Integral Limit negative = CV_53*(-10) Default = 100 -> -1000 //
70 0b00000111, //CV_54 - k_p @ x0 - High Byte (Bits 8-15) divided by 100 //
71 0b11010000, //CV_55 - k_p @ x0 - Low Byte (Bits 0-7) Default = 2000 -> 20 //
72 0b00000000, //CV_56 - k_p @ x1 - High Byte (Bits 8-15) divided by 100 //
73 0b11111010, //CV_57 - k_p @ x1 - Low Byte (Bits 0-7) Default = 250 -> 2.5 //
74 0b00000000, //CV_58 - k_p @ x2 - High Byte (Bits 8-15) divided by 100 //
75 0b10010110, //CV_59 - k_p @ x2 - Low Byte (Bits 0-7) Default = 150 -> 1.5 //
-
76 0b00001101, //CV_60 - x_1 shift in % ≙ CV_60/255 //
+
76 0b00001101, //CV_60 - x_1 shift in % = CV_60/255 //
77 // V_EMF Measurement Configuration //////////////////////////////////////////////////////////////////////////////////
78 0b01100100, //CV_61 - V_EMF Total amount of Measurement Iterations - Default = 100 iterations //
79 0b01100100, //CV_62 - V_EMF Delay before Measuring - Default = 100us //
diff --git a/shared_8h_source.html b/shared_8h_source.html index 742809e..072b441 100644 --- a/shared_8h_source.html +++ b/shared_8h_source.html @@ -102,7 +102,7 @@ $(function() { codefold.init(0); });
27#define LOGLEVEL 0
28#define LOG(level, ...) { if(level <= LOGLEVEL) {printf(__VA_ARGS__);}}
29
-
30// Constant Value of 125 x 10⁶
+
30// Constant Value of 125 x 10^6
31#define _125M 125000000
32
33// GPIO used for DCC-Signal, Motor PWM or ADC