Dmitry Kovalev
/
LGstaandart
forkd
Fork of LG2 by
Diff: vibro.h
- Revision:
- 137:8b99cf0842f9
- Parent:
- 136:19b9e6abb86f
--- a/vibro.h Fri Apr 15 14:20:15 2016 +0000 +++ b/vibro.h Tue Apr 19 13:58:38 2016 +0000 @@ -169,7 +169,7 @@ struct { // Device_blk int My_Addres; //e. 0 - device own address //r.0 - собственный адрес устройства - + // int HW_V; // Версия програмного обеспечения. //e. =============== parameters of HFO regulator =============== //r. =============== параметры контура ВЧ генератора накачки =============== int HF_ref; //e. 1 - value of the reference //r. 1 - значение опоры int HF_scl; //e. 2 - the gain factor (1.15) //r. 2 - коэффициент передачи (1.15) @@ -190,17 +190,17 @@ //e. =============== parameters of the dither drive regulator of the GLD ==================== //r. =============== параметры контура вибропривода ГЛД ==================== int VB_phs; //e. 12 - the phase delay parameter of the dither drive PLL //r. 12 - параметр Phase_зад. СРЧ вибропривода int VB_scl; //e. 13 - the gain factor (1.15) of the dither drive PLL //r. 13 - коэффициент передачи (1.15) СРЧ вибропривода - unsigned int VB_N; //e. 14 - divider for dither drive period (defines dither period) //r. 14 - коэфф.деления N вибропривода (период колебаний) ВП - unsigned int VB_Nmin; //e. 15 - minimum of the output value of the oscillation period regulator //r. 15 - минимум выходного значения регулятора периода - unsigned int VB_Nmax; //e. 16 - maximum of the output value of the oscillation period regulator //r. 16 - максимум выходного значения регулятора периода + int VB_N; //e. 14 - divider for dither drive period (defines dither period) //r. 14 - коэфф.деления N вибропривода (период колебаний) ВП + int VB_Nmin; //e. 15 - minimum of the output value of the oscillation period regulator //r. 15 - минимум выходного значения регулятора периода + int VB_Nmax; //e. 16 - maximum of the output value of the oscillation period regulator //r. 16 - максимум выходного значения регулятора периода int VB_Fdf_Hi; //e. 17 - adjusted output frequency (H) //r. 17 - заданная частота расщепления (H) - unsigned int VB_Fdf_Lo; //e. 18 - (L) (double precision) //r. 18 - (L) (двойная точность) + int VB_Fdf_Lo; //e. 18 - (L) (double precision) //r. 18 - (L) (двойная точность) int VB_Fsc; //e. 19 - the gain factor of the frequency regulator //r. 19 - коэффициент передачи регулятора частоты расщепления - unsigned int VB_Tmin; //e. 20 - the gain factor of the frequency regulator //r. 19 - коэффициент передачи регулятора частоты расщепления - unsigned int VB_Tmax; //e. 21 - maximum of the output value of the regulator //r. 21 - максимум выходного значения регулятора Tau - unsigned int VB_tau; //e. 22 - pulse width of the dither drive (without noise)//r. 22 - длительность импульса вибропривода (до ошумления) + int VB_Tmin; //e. 20 - the gain factor of the frequency regulator //r. 19 - коэффициент передачи регулятора частоты расщепления + int VB_Tmax; //e. 21 - maximum of the output value of the regulator //r. 21 - максимум выходного значения регулятора Tau + int VB_tau; //e. 22 - pulse width of the dither drive (without noise)//r. 22 - длительность импульса вибропривода (до ошумления) int VBN_Tzd; //e. 23 - adjusted noise period //r. 23 - заданный период ошумления int VBN_Ran; //e. 24 - range of the random component of noise //r. 24 - диапазон случайной составляющей ошумления VBN_Tsl int VBN_k; //e. 25 - adjusted noise constant //r. 25 - заданная константа ошумления @@ -211,21 +211,7 @@ int PI_scl; //_ //e. 28 - the Scale scale coefficient of the gyro //r. 28 - масштабный коэфф. гироскопа Scale int PI_bia; //_ //e. 29 - the Bias zero shift of the gyro //r. 29 - смещение нуля гироскопа Bias - //e. =============== coefficients of the temperature correction ================= //r. =============== коэффициенты температурной коррекции ================= - int PI_a0; //_ // 30 - int PI_a1; //_ // 31 - int PI_a2; //_ // 32 - int PI_a3; //_ // 33 - int PI_a4; //_ // 34 - int PI_a5; //_ // 35 - int PI_a6; //_ // 36 - int PI_b1; //_ // 37 - int PI_b2; //_ // 38 - int PI_b3; //_ // 39 - int PI_b4; //_ // 40 - int PI_b5; //_ // 41 - int PI_b6; //_ // 42 - + //e. =============== parameters of normalization of the temperature sensors ============= //r. =============== параметры нормировки датчиков температуры ============= int Tmp_bias[6]; //_ //e. 43 - an array of shifts of the 0..5 temperature sensors //r. 43 - массив сдвигов температурных датчиков 0..5 @@ -233,8 +219,8 @@ int WP_reset; //e. 55 - initial position of the CPLC regulator (after reset) //r. 55 - исходное положение регулятора СРП (после сброса) //e. ================ gain factor of photodetector channels =========== //r. ================ к-т усиления каналов фотоприемника =========== - unsigned int Gain_Ph_A; //e. 56 - initial gain factor of the A channel of photodetector //r. 56 - начальный к-т усиления канала А фотоприемника - unsigned int Gain_Ph_B; //e. 57 - initial gain factor of the B channel of photodetector //r. 57 - начальный к-т усиления канала B фотоприемника + int Gain_Ph_A; //e. 56 - initial gain factor of the A channel of photodetector //r. 56 - начальный к-т усиления канала А фотоприемника + int Gain_Ph_B; //e. 57 - initial gain factor of the B channel of photodetector //r. 57 - начальный к-т усиления канала B фотоприемника //e. =============== switch of the source of loading GLD variables block === //r. =============== переключатель источника загрузки блока переменных ГЛД (галочка в настороечной программе) @@ -247,8 +233,8 @@ int WP_reset2; //e. 91 - voltages of CPLC regulator reset at cooling //r. xx - напряжения обнуления контура СРП при охлаждении //e. parameters setting termocompensation parameters in dynamics (at heating and cooling) //r. параметры, задающие параметры термокомпенсации в динамике (при нагреве и охлаждении) - float Reserved1; //e. 92 - not used - float Reserved2; //e. 93 - not used + int Reserved1; //e. 92 - not used + int Reserved2; //e. 93 - not used int K_vb_tu; //e. 94 - slope of dependence of the VB_N division factor from temperature (as though Hz/degree, but in relative units ) //r. крутизна зависимости коэффициента деления VB_N от температуры (как бы Гц/градус, но в у.е.) int TemperNormal; //e. 95 -temperature for which the VB_N division factor of the dither drive is set //r. температура, для которой задан коэффициент деления вибропривода VB_N int K_WP_rst_heating; //r. 96 - крутизна зависимости напряжения обнуления при нагревании от температуры (как бы вольт/градус, но в у.е. ЦАП и термодатчиков ) @@ -256,15 +242,7 @@ int WP_transition_step; //e. 98 - step of change of a heater voltage at resetting //r. шаг изменения напряжения нагревателя при выполнении обнуления int Reserved3; // e. 99 -not used int HF_scl_2; //r. 100 - коэффициент передачи (1.15) контура ГВЧ при обнулении -// int TemperIntDyn[TERMO_FUNC_SIZE]; //e. 114 - -// float ThermoHeatDelta[TERMO_FUNC_SIZE]; //e. 128 - int DeltaTempRecalc; //r. 129 - температурный интервал пересчета динамич. компенсации (в у.е.) //e. temperature delta for dynamic thermocompensation recalculation(in relative units) -// int TemperCoolIntDyn[TERMO_FUNC_SIZE]; // e. 143 - -// float ThermoCoolDelta[TERMO_FUNC_SIZE]; //e. 157 - -// TERMO_MODE TermoMode; //e 62 - device operation mode (with thermocompenstion, without it, debug )//r. 62 - режим работы прибора (с термокомпенсацией, без нее или отладка) -//e. addition for the piecewise-linear termocorrection //r. добавление для кусочно-линейной термокоррекции -// int TemperInt[TERMO_FUNC_SIZE]; //e. 63 -// float TermoFunc[TERMO_FUNC_SIZE]; //e. 77 } Str; } GyroParam;