ConOpSys V2970  P004.07
ANVILEX control operating system
P018_39_KG3_BLA_E.h
Go to the documentation of this file.
1 //------------------------------------------------------------------------------
2 //! @file P018_39_KG3_BLA.h
3 //! @brief KG3 Electronic load device adapter board P018.39 V1 T1 hardware driver header file.
4 //! @attention No special attention requered.
5 //! @copyright (C) 2015-2020 ANVILEX LLC
6 //! $HeadURL: https://192.168.3.4:8443/svn/P004_07/ConOpSys/Hardware/P018_39_KG3_BLA/P018_39_KG3_BLA.h $
7 //! $Revision: 2305 $
8 //! $Date: 2020-12-25 03:00:01 +0500 (Пт, 25 дек 2020) $
9 //! $Author: minch $
10 //------------------------------------------------------------------------------
11 //
12 // Redistribution and use in source and binary forms, with or without
13 // modification, are permitted provided that the following conditions are met:
14 //
15 // 1. Redistributions of source code must retain the above copyright notice,
16 // this list of conditions and the following disclaimer.
17 //
18 // 2. Redistributions in binary form must reproduce the above copyright notice,
19 // this list of conditions and the following disclaimer in the documentation
20 // and/or other materials provided with the distribution.
21 //
22 // 3. Neither the name of ANVILEX nor the names of its contributors may be
23 // used to endorse or promote products derived from this software without
24 // specific prior written permission.
25 //
26 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
27 // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
28 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
29 // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
30 // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
31 // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
32 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
33 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
34 // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
35 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
36 // POSSIBILITY OF SUCH DAMAGE.
37 //
38 //------------------------------------------------------------------------------
39 //
40 // TP018_39_KG3_BLA_T1_E
41 //
42 //------------------------------------------------------------------------------
43 
44 //------------------------------------------------------------------------------
45 // Protecting header files from mutual, recursive inclusion.
46 //------------------------------------------------------------------------------
47 
48 #pragma once
49 
50 //------------------------------------------------------------------------------
51 // Include standard libraries header files
52 //------------------------------------------------------------------------------
53 
54 //------------------------------------------------------------------------------
55 // Include thrid party header files
56 //------------------------------------------------------------------------------
57 
58 //------------------------------------------------------------------------------
59 // Include ConOpSys header files
60 //------------------------------------------------------------------------------
61 
62 #include "NTCT_Sensor.h"
63 #include "Function_Block_Base.h"
64 
65 //------------------------------------------------------------------------------
66 // Include ConOpSys application header files
67 //------------------------------------------------------------------------------
68 
69 //------------------------------------------------------------------------------
70 // Macros
71 //------------------------------------------------------------------------------
72 
73 //! @brief Electronic load device adapter KG3 BLA T1 (P018.39) board class
75 {
76 
77  //----------------------------------------------------------------------------
78  // Public defines, methods and variables
79  //----------------------------------------------------------------------------
80 
81  public:
82 
83  // Register structure for generic access
84  typedef struct
85  {
86 
87  //------------------------------------------------------------------------
88  // Unit identification registers
89  //------------------------------------------------------------------------
90 
91  //! @brief 0x00 : Module identification register
93 
94  //! @brief 0x01 : Module identification register
96 
97  //------------------------------------------------------------------------
98 
99  //! @brief 0x02 : Reserved register
101 
102  //! @brief 0x03 : Reserved register
104 
105  //! @brief 0x04 : DAC data
107 
108  //! @brief 0x05 : Reserved register
110 
111  //! @brief 0x06 : Reserved register
113 
114  //! @brief 0x07 : Reserved register
116 
117  //! @brief 0x08 : Control and status registers
118  union
119  {
120 
121  //! @brief 0x08 Status register
123 
124  //! @brief 0x08 Control register
126 
127  };
128 
129  //! @brief 0x09 : ADC channel 1 data register as U16 value
131 
132  //! @brief 0x0A : ADC channel 2 data register as U16 value
134 
135  //! @brief 0x0B : ADC channel 3 data register as U16 value
137 
138  //! @brief 0x0C : ADC channel 1 filtered data register as U16 value
140 
141  //! @brief 0x0D : ADC channel 2 filtered data register as U16 value
143 
144  //! @brief 0x0E : ADC channel 3 filtered data register as U16 value
146 
147  //! @brief 0x0F : Reserved register
149 
150  //! @brief 0x10 : Fan status register
152 
153  //! @brief 0x11 : Fan control register
155 
156  //! @brief 0x12 : Fan speed setpoint
158 
159  //! @brief 0x13 : Fan speed carrier period channel 1
161 
162  //! @brief 0x14 : Fan speed carrier period channel 2
164 
165  //! @brief 0x15 : Fan speed carrier period channel 3
167 
168  //! @brief 0x16 : Fan speed carrier period channel 4
170 
171  //! @brief 0x17 : Fan speed carrier period channel 5
173 
174  //! @brief 0x18 : Fan speed carrier period channel 6
176 
177  //! @brief 0x19 : Fan speed carrier period channel 7
179 
180  //! @brief 0x1A : Fan speed carrier period channel 8
182 
183  //! @brief 0x1B : Fan speed carrier period channel 9
185 
186  //! @brief 0x1C : Fan speed carrier period channel 10
188 
189  //! @brief 0x1D : Fan speed carrier period channel 11
191 
192  //! @brief 0x1E : Fan speed carrier period channel 12
194 
196 
197  //!-------------------------------------------------------------------------
198  //! @brief Class constructor method.
199  //! @note None
200  //! \par Override
201  //! Not allowed
202  //! @attention Don't call this method directly.
203  //--------------------------------------------------------------------------
204 
206 
207  //!-------------------------------------------------------------------------
208  //! @brief Class destructor method.
209  //! @note None
210  //! \par Override
211  //! Not allowed
212  //! @attention Don't call this method directly.
213  //--------------------------------------------------------------------------
214 
215  virtual ~TP018_39_KG3_BLA_T1_E();
216 
217  VOID Map( TP018_39_KG3_BLA_Registers *struct_Registers_Base_Address ); //!< Hardware map method
218  virtual VOID Init(); //!< Block initialisation method
219  virtual VOID Execute(); //!< Block execution method
220  virtual VOID Send_Information( TProtocol_Base *object_Protocol ); //!< Send information method
221 
222  //--------------------------------------------------------------------------
223  // Function block parameters
224  //--------------------------------------------------------------------------
225 
226  //! @brief Analog input channel 1 offset
228 
229  //! @brief Analog input channel 1 gain
231 
232  //! @brief Analog input channel 2 offset
234 
235  //! @brief Analog input channel 2 gain
237 
238  //! @brief Analog input channel 3 offset
240 
241  //! @brief Analog input channel 3 gain
243 
244  //! @brief Fan speed PWM carrier frequency
246 
247  //--------------------------------------------------------------------------
248  // Function block inputs
249  //--------------------------------------------------------------------------
250 
251  //! @brief Output current setpoint
252  //! @note Acceptable signal range 0.0-1.0
254 
255  //! @brief Fan speed setpoint
256  //! @note Acceptable signal range 0.0-1.0
258 
259  //! @brief Load board voltage
260  //! @note Acceptable signal range 0.0-105.0
262 
263  //--------------------------------------------------------------------------
264  // Function block outputs
265  //--------------------------------------------------------------------------
266 
267  //! @brief Analog input status
269 
270  //! @brief Analog input channel 1 block output as I16
272 
273  //! @brief Analog input channel 2 block output as I16
275 
276  //! @brief Analog input channel 3 block output as I16
278 
279  //! @brief Analog input channel 1 block output
281 
282  //! @brief Analog input channel 2 block output
284 
285  //! @brief Analog input channel 3 block output
287 
288  //! @brief Analog power output
290 
291  //! @brief Critical hardware error flag
293 
294  //! @brief Speed of cooling fan 1
296 
297  //! @brief Speed of cooling fan 2
299 
300  //! @brief Speed of cooling fan 3
302 
303  //! @brief Speed of cooling fan 4
305 
306  //! @brief Speed of cooling fan 5
308 
309  //! @brief Speed of cooling fan 6
311 
312  //! @brief Speed of cooling fan 7
314 
315  //! @brief Speed of cooling fan 8
317 
318  //! @brief Speed of cooling fan 9
320 
321  //! @brief Speed of cooling fan 10
323 
324  //! @brief Speed of cooling fan 11
326 
327  //! @brief Speed of cooling fan 12
329 
330  //----------------------------------------------------------------------------
331  // Protected defines, methods and variables
332  //----------------------------------------------------------------------------
333 
334  protected:
335 
336  //----------------------------------------------------------------------------
337  // Private defines, methods and variables
338  //----------------------------------------------------------------------------
339 
340  private:
341 
342  typedef union
343  {
345  struct
346  {
350  U16 :1; // Bit 3
351  U16 :1; // Bit 4
352  U16 :1; // Bit 5
353  U16 :1; // Bit 6
354  U16 :1; // Bit 7
355  U16 :1; // Bit 8
356  U16 :1; // Bit 9
357  U16 :1; // Bit 10
358  U16 :1; // Bit 11
359  U16 :1; // Bit 12
360  U16 :1; // Bit 13
361  U16 :1; // Bit 14
362  U16 :1; // Bit 15
363  };
364  } TStatus;
365 
366  typedef union
367  {
369  struct
370  {
383  U16 :1; // Bit 12
384  U16 :1; // Bit 13
385  U16 :1; // Bit 14
386  U16 :1; // Bit 15
387  };
388  } TFan_Status;
389 
390  volatile TP018_39_KG3_BLA_Registers *struct_Registers; //!< Hardware mapped registers
391 
392  F32 f32_DAC_Gain; //!< Effective gain of the DAC channel
393  F32 f32_DAC_Offset; //!< Effective offset of the DAC channel
394 
395  F32 f32_ADC_Gain_1; //!< Effective gain of the ADC channel 1
396  F32 f32_ADC_Gain_2; //!< Effective gain of the ADC channel 2
397  F32 f32_ADC_Gain_3; //!< Effective gain of the ADC channel 3
398 
399  F32 f32_ADC_Offset_1; //!< Effective offset of the ADC channel 1
400  F32 f32_ADC_Offset_2; //!< Effective offset of the ADC channel 2
401  F32 f32_ADC_Offset_3; //!< Effective offset of the ADC channel 3
402 
404 
406 
419 
420  //! @brief NTC sensor object
422 
425 
432 
433 
434  //! @brief Load board model private variables
435 
436  //! @brief Load board resistance
438 
439  //! @brief Fan impeller diameter
441 
442  //! @brief Equivalent hydraulic diameter of board-to-board channel
444 
445  //! @brief Load board surface area
447 
448  //! @brief Load board material coefficient of thermal conductivity
450 
451  //! @brief Load board mass
453 
454  //! @brief Variable for storing current setpoint value
456 
457  //! @brief Air temperature
459 
460  //! @brief Load board temperature
462 
463  //! @brief Load board temperature increment
465 
466  //! @brief Variable for storing fan speed reference value
468 
469  //! @brief Air speed generated by the fan
471 
472  //! @brief Average air speed at the entrance to the board-to-board channel
474 
475  //! @brief Effective airflow rate when entering the board-to-board channel
477 
478  //! @brief Reinolds number
480 
481  //! @brief Nusselt number;
483 
484  //! @brief Heat transfer coefficient at the entrance to the channel
486 
487  //! @brief Thermal resistance to the ambient
489 
490  //! @brief Thermal resistance to the load board
492 
493  //! @brief Variable for storing load board current value
495 
496  //! @brief Variable for storing load board voltage value
498 
499  //! @brief Depth of the load board;
501 
502  //! @brief Fan time constant
504 
505  //! @brief
507 
508 
509  //! @brief Load board model private methods
510 
511  //!-------------------------------------------------------------------------
512  //! @brief Calculate value of the mosfet transistor resistance
513  //! @note -
514  //! @param [in] F64& _f64_Current_Setpoint - Reference to the current setpoint variable
515  //! @return [out] Value of the mosfet tronsistor resistance
516  //! \par Override
517  //! Not allowed
518  //! @attention None
519  //--------------------------------------------------------------------------
520 
521  F64 f64_Mosfer_Resistance(F64& _f64_Current_Setpoint);
522 
523  //!-------------------------------------------------------------------------
524  //! @brief Calculate value of the kinematic viscosity of the air
525  //! @note -
526  //! @param [in] F64& _f64_Air_Temperature - Reference to the air temperature variable
527  //! @return [out] Value of the kinematic viscosity of the air
528  //! \par Override
529  //! Not allowed
530  //! @attention None
531  //--------------------------------------------------------------------------
532 
533  F64 f64_Air_Kinematic_Viscosity(F64& _f64_Air_Temperature);
534 
535  //!-------------------------------------------------------------------------
536  //! @brief Calculate value of the load board temperature
537  //! @note -
538  //! @param [in] F64& _f64_Load_Board_Temperature - Reference to the variable storing the temperature value of the load board
539  //! @return [out] Value of the specific thermal capasity coefficient of the load board material
540  //! \par Override
541  //! Not allowed
542  //! @attention None
543  //--------------------------------------------------------------------------
544 
545  F64 f64_Load_Board_Specific_TCC(F64& _f64_Load_Board_Temperature);
546 
547  //!-------------------------------------------------------------------------
548  //! @brief Calculate value of the fan speed
549  //! @note -
550  //! @param [in] F64& _f64_Fan_Speed_Ref - Reference to the variable storing the reference fan speed value
551  //! @return [out] Value of the specific thermal capasity coefficient of the load board material
552  //! \par Override
553  //! Not allowed
554  //! @attention None
555  //--------------------------------------------------------------------------
556 
557  F64 f64_Fan_Speed(F64& _f64_Fan_Speed_Ref);
558 
559  //!-------------------------------------------------------------------------
560  //! @brief Calculate value of the coefficient of thermal conductivity of the air
561  //! @note -
562  //! @param [in] F64& _f64_Air_Temperature - Reference to the variable storing the air temperature value
563  //! @return [out] Value of the thermal conductivity of the air
564  //! \par Override
565  //! Not allowed
566  //! @attention None
567  //--------------------------------------------------------------------------
568 
569  F64 f64_Air_CTC(F64& _f64_Air_Temperature);
570 
571 };
572 
573 //------------------------------------------------------------------------------
574 // End of file
575 //------------------------------------------------------------------------------
void VOID
Datatypesess datatype definition.
Definition: Defines.h:105
float F32
IEEE-754 32-Bit single presession floating point numbers datatype defenition.
Definition: Defines.h:324
double F64
IEEE-754 64-Bit double presession floating point numbers datatype defenition.
Definition: Defines.h:327
unsigned short U16
Binary 16-Bit unsigned integer datatype defenition.
Definition: Defines.h:193
Function block base class header file.
NTC termoresistor class header file.
Function block input connector class.
Definition: Block_Input_Connector.h:83
Function block output connector class.
Definition: Block_Output_Connector.h:59
Function block base class for device.
Definition: Function_Block_Base.h:96
Negative temperature coefficient thermistor (NTC) class.
Definition: NTCT_Sensor.h:74
Electronic load device adapter KG3 BLA T1 (P018.39) board class.
Definition: P018_39_KG3_BLA_E.h:75
F32 f32_Fan_Speed_5
Definition: P018_39_KG3_BLA_E.h:411
F64 f64_Fan_Tau
Fan time constant.
Definition: P018_39_KG3_BLA_E.h:503
VOID Map(TP018_39_KG3_BLA_Registers *struct_Registers_Base_Address)
Hardware map method.
Definition: P018_39_KG3_BLA_E.cpp:196
F64 f64_Load_Board_CTC
Load board material coefficient of thermal conductivity.
Definition: P018_39_KG3_BLA_E.h:449
F32 f32_DAC_Gain
Effective gain of the DAC channel.
Definition: P018_39_KG3_BLA_E.h:392
F32 f32_Temperature
Definition: P018_39_KG3_BLA_E.h:431
F32 f32_Fan_Speed_8
Definition: P018_39_KG3_BLA_E.h:414
F64 f64_Air_Temperature
Air temperature.
Definition: P018_39_KG3_BLA_E.h:458
F64 f64_Air_CTC(F64 &_f64_Air_Temperature)
Calculate value of the coefficient of thermal conductivity of the air.
Definition: P018_39_KG3_BLA_E.cpp:542
F64 f64_Mosfer_Resistance(F64 &_f64_Current_Setpoint)
Load board model private methods.
Definition: P018_39_KG3_BLA_E.cpp:492
F64 f64_Air_Speed_Average
Average air speed at the entrance to the board-to-board channel.
Definition: P018_39_KG3_BLA_E.h:473
TBlock_Output_Connector object_f32_Analog_Input_Data_2
Analog input channel 2 block output.
Definition: P018_39_KG3_BLA_E.h:283
F32 f32_Uadc
Definition: P018_39_KG3_BLA_E.h:426
TBlock_Input_Connector object_f32_Analog_Input_Gain_2
Analog input channel 2 gain.
Definition: P018_39_KG3_BLA_E.h:236
F64 f64_Fan_Speed_Calc
Definition: P018_39_KG3_BLA_E.h:506
TBlock_Input_Connector object_f32_Analog_Input_Offset_2
Analog input channel 2 offset.
Definition: P018_39_KG3_BLA_E.h:233
F64 f64_Load_Board_Area
Load board surface area.
Definition: P018_39_KG3_BLA_E.h:446
F64 f64_Load_Board_Temperature
Load board temperature.
Definition: P018_39_KG3_BLA_E.h:461
TBlock_Output_Connector object_f32_Fan_Speed_8
Speed of cooling fan 8.
Definition: P018_39_KG3_BLA_E.h:316
F32 f32_IR707
Definition: P018_39_KG3_BLA_E.h:427
TBlock_Output_Connector object_f32_Fan_Speed_10
Speed of cooling fan 10.
Definition: P018_39_KG3_BLA_E.h:322
F64 f64_Load_Board_Resistance
Load board model private variables.
Definition: P018_39_KG3_BLA_E.h:437
F32 f32_DAC_Data
Definition: P018_39_KG3_BLA_E.h:423
F32 f32_ADC_Gain_3
Effective gain of the ADC channel 3.
Definition: P018_39_KG3_BLA_E.h:397
F32 f32_ADC_Offset_1
Effective offset of the ADC channel 1.
Definition: P018_39_KG3_BLA_E.h:399
F32 f32_IR108
Definition: P018_39_KG3_BLA_E.h:428
TBlock_Output_Connector object_bool_Hardware_Error
Critical hardware error flag.
Definition: P018_39_KG3_BLA_E.h:292
F32 f32_ADC_Offset_3
Effective offset of the ADC channel 3.
Definition: P018_39_KG3_BLA_E.h:401
TBlock_Output_Connector object_f32_Fan_Speed_12
Speed of cooling fan 12.
Definition: P018_39_KG3_BLA_E.h:328
F32 f32_Fan_Speed_3
Definition: P018_39_KG3_BLA_E.h:409
F32 f32_ADC_Offset_2
Effective offset of the ADC channel 2.
Definition: P018_39_KG3_BLA_E.h:400
F64 f64_Load_Board_Voltage
Variable for storing load board voltage value.
Definition: P018_39_KG3_BLA_E.h:497
F32 f32_Fan_Speed_11
Definition: P018_39_KG3_BLA_E.h:417
TBlock_Output_Connector object_f32_Fan_Speed_2
Speed of cooling fan 2.
Definition: P018_39_KG3_BLA_E.h:298
TBlock_Input_Connector object_f32_Output_Current_Setpoint
Output current setpoint.
Definition: P018_39_KG3_BLA_E.h:253
virtual ~TP018_39_KG3_BLA_T1_E()
Class destructor method.
Definition: P018_39_KG3_BLA_E.cpp:188
TBlock_Output_Connector object_f32_Fan_Speed_9
Speed of cooling fan 9.
Definition: P018_39_KG3_BLA_E.h:319
TBlock_Output_Connector object_f32_Analog_Input_Data_1
Analog input channel 1 block output.
Definition: P018_39_KG3_BLA_E.h:280
F64 f64_Air_Speed
Air speed generated by the fan.
Definition: P018_39_KG3_BLA_E.h:470
F32 f32_Fan_Speed_10
Definition: P018_39_KG3_BLA_E.h:416
F32 f32_Fan_Speed_7
Definition: P018_39_KG3_BLA_E.h:413
F64 f64_HTC
Heat transfer coefficient at the entrance to the channel.
Definition: P018_39_KG3_BLA_E.h:485
TNTC object_NTC
NTC sensor object.
Definition: P018_39_KG3_BLA_E.h:421
virtual VOID Send_Information(TProtocol_Base *object_Protocol)
Send information method.
Definition: P018_39_KG3_BLA_E.cpp:328
virtual VOID Execute()
Block execution method.
Definition: P018_39_KG3_BLA_E.cpp:249
TBlock_Input_Connector object_f32_Analog_Input_Offset_1
Analog input channel 1 offset.
Definition: P018_39_KG3_BLA_E.h:227
F32 f32_Fan_Speed_PWM_Setpoint
Definition: P018_39_KG3_BLA_E.h:405
F32 f32_ADC_Gain_2
Effective gain of the ADC channel 2.
Definition: P018_39_KG3_BLA_E.h:396
F64 f64_Load_Board_Mass
Load board mass.
Definition: P018_39_KG3_BLA_E.h:452
TBlock_Output_Connector object_u16_Analog_Input_Status
Analog input status.
Definition: P018_39_KG3_BLA_E.h:268
F64 f64_R_Ambient
Thermal resistance to the ambient.
Definition: P018_39_KG3_BLA_E.h:488
TBlock_Input_Connector object_f32_Analog_Input_Gain_1
Analog input channel 1 gain.
Definition: P018_39_KG3_BLA_E.h:230
virtual VOID Init()
Block initialisation method.
Definition: P018_39_KG3_BLA_E.cpp:210
F64 f64_Fan_Diameter
Fan impeller diameter.
Definition: P018_39_KG3_BLA_E.h:440
F32 f32_DAC_Offset
Effective offset of the DAC channel.
Definition: P018_39_KG3_BLA_E.h:393
TBlock_Input_Connector object_f32_Load_Board_Voltage
Load board voltage.
Definition: P018_39_KG3_BLA_E.h:261
TBlock_Output_Connector object_f32_Fan_Speed_5
Speed of cooling fan 5.
Definition: P018_39_KG3_BLA_E.h:307
F64 f64_Re
Reinolds number.
Definition: P018_39_KG3_BLA_E.h:479
TBlock_Input_Connector object_f32_Analog_Input_Gain_3
Analog input channel 3 gain.
Definition: P018_39_KG3_BLA_E.h:242
F64 f64_Load_Board_Specific_TCC(F64 &_f64_Load_Board_Temperature)
Calculate value of the load board temperature.
Definition: P018_39_KG3_BLA_E.cpp:520
TP018_39_KG3_BLA_T1_E()
Class constructor method.
Definition: P018_39_KG3_BLA_E.cpp:78
F64 f64_Air_Speed_Effective
Effective airflow rate when entering the board-to-board channel.
Definition: P018_39_KG3_BLA_E.h:476
F32 f32_R108
Definition: P018_39_KG3_BLA_E.h:430
F64 f64_Nu
Nusselt number;.
Definition: P018_39_KG3_BLA_E.h:482
F32 f32_Fan_Speed_2
Definition: P018_39_KG3_BLA_E.h:408
TBlock_Input_Connector object_f32_Fan_Speed_Control_PWM_Carrier_Frequency
Fan speed PWM carrier frequency.
Definition: P018_39_KG3_BLA_E.h:245
F64 f64_Eqv_Hyd_Diameter
Equivalent hydraulic diameter of board-to-board channel.
Definition: P018_39_KG3_BLA_E.h:443
TBlock_Output_Connector object_f32_Fan_Speed_7
Speed of cooling fan 7.
Definition: P018_39_KG3_BLA_E.h:313
F32 f32_ADC_Gain_1
Effective gain of the ADC channel 1.
Definition: P018_39_KG3_BLA_E.h:395
F64 f64_Current_Setpoint
Variable for storing current setpoint value.
Definition: P018_39_KG3_BLA_E.h:455
U16 u16_DAC_Data
Definition: P018_39_KG3_BLA_E.h:424
F64 f64_Load_Board_Temperature_Inc
Load board temperature increment.
Definition: P018_39_KG3_BLA_E.h:464
TBlock_Output_Connector object_u16_Analog_Input_Raw_Data_3
Analog input channel 3 block output as I16.
Definition: P018_39_KG3_BLA_E.h:277
volatile TP018_39_KG3_BLA_Registers * struct_Registers
Hardware mapped registers.
Definition: P018_39_KG3_BLA_E.h:390
F32 f32_Fan_Speed_1
Definition: P018_39_KG3_BLA_E.h:407
TBlock_Output_Connector object_f32_Fan_Speed_1
Speed of cooling fan 1.
Definition: P018_39_KG3_BLA_E.h:295
F32 f32_Fan_Speed_6
Definition: P018_39_KG3_BLA_E.h:412
TBlock_Output_Connector object_u16_Analog_Input_Raw_Data_1
Analog input channel 1 block output as I16.
Definition: P018_39_KG3_BLA_E.h:271
F64 f64_Load_Board_Depth
Depth of the load board;.
Definition: P018_39_KG3_BLA_E.h:500
TBlock_Output_Connector object_f32_Fan_Speed_3
Speed of cooling fan 3.
Definition: P018_39_KG3_BLA_E.h:301
F64 f64_Load_Board_Current
Variable for storing load board current value.
Definition: P018_39_KG3_BLA_E.h:494
F64 f64_Fan_Speed(F64 &_f64_Fan_Speed_Ref)
Calculate value of the fan speed.
Definition: P018_39_KG3_BLA_E.cpp:535
F64 f64_Air_Kinematic_Viscosity(F64 &_f64_Air_Temperature)
Calculate value of the kinematic viscosity of the air.
Definition: P018_39_KG3_BLA_E.cpp:513
TBlock_Output_Connector object_f32_Analog_Input_Data_3
Analog input channel 3 block output.
Definition: P018_39_KG3_BLA_E.h:286
TBlock_Output_Connector object_f32_Fan_Speed_11
Speed of cooling fan 11.
Definition: P018_39_KG3_BLA_E.h:325
F64 f64_R_Load_Board
Thermal resistance to the load board.
Definition: P018_39_KG3_BLA_E.h:491
F32 f32_PWM_Maximum_Setpoint
Definition: P018_39_KG3_BLA_E.h:403
F64 f64_Fan_Speed_Ref
Variable for storing fan speed reference value.
Definition: P018_39_KG3_BLA_E.h:467
TBlock_Output_Connector object_f32_Analog_Power
Analog power output.
Definition: P018_39_KG3_BLA_E.h:289
F32 f32_UR108
Definition: P018_39_KG3_BLA_E.h:429
TBlock_Input_Connector object_f32_Fan_Speed_Setpoint
Fan speed setpoint.
Definition: P018_39_KG3_BLA_E.h:257
F32 f32_Fan_Speed_4
Definition: P018_39_KG3_BLA_E.h:410
TBlock_Output_Connector object_f32_Fan_Speed_6
Speed of cooling fan 6.
Definition: P018_39_KG3_BLA_E.h:310
TBlock_Output_Connector object_f32_Fan_Speed_4
Speed of cooling fan 4.
Definition: P018_39_KG3_BLA_E.h:304
TBlock_Input_Connector object_f32_Analog_Input_Offset_3
Analog input channel 3 offset.
Definition: P018_39_KG3_BLA_E.h:239
F32 f32_Fan_Speed_9
Definition: P018_39_KG3_BLA_E.h:415
TBlock_Output_Connector object_u16_Analog_Input_Raw_Data_2
Analog input channel 2 block output as I16.
Definition: P018_39_KG3_BLA_E.h:274
F32 f32_Fan_Speed_12
Definition: P018_39_KG3_BLA_E.h:418
Definition: Protocol_Base.h:57
Definition: P018_39_KG3_BLA_E.h:85
U16 u16_Fan_Speed_Status_Carrier_Period_11
0x1D : Fan speed carrier period channel 11
Definition: P018_39_KG3_BLA_E.h:190
U16 u16_Fan_Speed_Setpoint
0x12 : Fan speed setpoint
Definition: P018_39_KG3_BLA_E.h:157
U16 u16_ADC_Status
0x08 Status register
Definition: P018_39_KG3_BLA_E.h:122
U16 u16_Fan_Speed_Status_Carrier_Period_2
0x14 : Fan speed carrier period channel 2
Definition: P018_39_KG3_BLA_E.h:163
U16 u16_ADC_Filtered_Data_3
0x0E : ADC channel 3 filtered data register as U16 value
Definition: P018_39_KG3_BLA_E.h:145
U16 u16_Unit_ID_L
0x00 : Module identification register
Definition: P018_39_KG3_BLA_E.h:92
U16 u16_Fan_Speed_Status_Carrier_Period_10
0x1C : Fan speed carrier period channel 10
Definition: P018_39_KG3_BLA_E.h:187
U16 u16_ADC_Filtered_Data_2
0x0D : ADC channel 2 filtered data register as U16 value
Definition: P018_39_KG3_BLA_E.h:142
U16 u16_Fan_Speed_Status_Carrier_Period_3
0x15 : Fan speed carrier period channel 3
Definition: P018_39_KG3_BLA_E.h:166
U16 u16_ADC_Data_1
0x09 : ADC channel 1 data register as U16 value
Definition: P018_39_KG3_BLA_E.h:130
U16 u16_ADC_Data_3
0x0B : ADC channel 3 data register as U16 value
Definition: P018_39_KG3_BLA_E.h:136
U16 u16_ADC_Filtered_Data_1
0x0C : ADC channel 1 filtered data register as U16 value
Definition: P018_39_KG3_BLA_E.h:139
U16 u16_Fan_Control
0x11 : Fan control register
Definition: P018_39_KG3_BLA_E.h:154
U16 u16_ADC_Data_2
0x0A : ADC channel 2 data register as U16 value
Definition: P018_39_KG3_BLA_E.h:133
U16 u16_Unused_0x02
0x02 : Reserved register
Definition: P018_39_KG3_BLA_E.h:100
U16 u16_Fan_Speed_Status_Carrier_Period_8
0x1A : Fan speed carrier period channel 8
Definition: P018_39_KG3_BLA_E.h:181
U16 u16_Fan_Speed_Status_Carrier_Period_4
0x16 : Fan speed carrier period channel 4
Definition: P018_39_KG3_BLA_E.h:169
U16 u16_Unused_0x07
0x07 : Reserved register
Definition: P018_39_KG3_BLA_E.h:115
U16 u16_Fan_Speed_Status_Carrier_Period_7
0x19 : Fan speed carrier period channel 7
Definition: P018_39_KG3_BLA_E.h:178
U16 u16_Unit_ID_H
0x01 : Module identification register
Definition: P018_39_KG3_BLA_E.h:95
U16 u16_Unused_0x06
0x06 : Reserved register
Definition: P018_39_KG3_BLA_E.h:112
U16 u16_DAC_Data
0x04 : DAC data
Definition: P018_39_KG3_BLA_E.h:106
U16 u16_Fan_Speed_Status_Carrier_Period_5
0x17 : Fan speed carrier period channel 5
Definition: P018_39_KG3_BLA_E.h:172
U16 u16_Unused_0x03
0x03 : Reserved register
Definition: P018_39_KG3_BLA_E.h:103
U16 u16_Fan_Speed_Status_Carrier_Period_6
0x18 : Fan speed carrier period channel 6
Definition: P018_39_KG3_BLA_E.h:175
U16 u16_Fan_Speed_Status_Carrier_Period_1
0x13 : Fan speed carrier period channel 1
Definition: P018_39_KG3_BLA_E.h:160
U16 u16_Unused_0x05
0x05 : Reserved register
Definition: P018_39_KG3_BLA_E.h:109
U16 u16_ADC_Control
0x08 Control register
Definition: P018_39_KG3_BLA_E.h:125
U16 u16_Fan_Status
0x10 : Fan status register
Definition: P018_39_KG3_BLA_E.h:151
U16 u16_Unused_0x0F
0x0F : Reserved register
Definition: P018_39_KG3_BLA_E.h:148
U16 u16_Fan_Speed_Status_Carrier_Period_9
0x1B : Fan speed carrier period channel 9
Definition: P018_39_KG3_BLA_E.h:184
U16 u16_Fan_Speed_Status_Carrier_Period_12
0x1E : Fan speed carrier period channel 12
Definition: P018_39_KG3_BLA_E.h:193
U16 u16_Speed_Status_Carrier_Period_Channel_5_Valid
Definition: P018_39_KG3_BLA_E.h:375
U16 u16_Speed_Status_Carrier_Period_Channel_3_Valid
Definition: P018_39_KG3_BLA_E.h:373
U16 u16_Speed_Status_Carrier_Period_Channel_8_Valid
Definition: P018_39_KG3_BLA_E.h:378
U16 u16_Speed_Status_Carrier_Period_Channel_4_Valid
Definition: P018_39_KG3_BLA_E.h:374
U16 u16_Speed_Status_Carrier_Period_Channel_2_Valid
Definition: P018_39_KG3_BLA_E.h:372
U16 u16_Speed_Status_Carrier_Period_Channel_6_Valid
Definition: P018_39_KG3_BLA_E.h:376
U16 u16_Speed_Status_Carrier_Period_Channel_9_Valid
Definition: P018_39_KG3_BLA_E.h:379
U16 u16_Status
Definition: P018_39_KG3_BLA_E.h:368
U16 u16_Speed_Status_Carrier_Period_Channel_10_Valid
Definition: P018_39_KG3_BLA_E.h:380
U16 u16_Speed_Status_Carrier_Period_Channel_12_Valid
Definition: P018_39_KG3_BLA_E.h:382
U16 u16_Speed_Status_Carrier_Period_Channel_11_Valid
Definition: P018_39_KG3_BLA_E.h:381
U16 u16_Speed_Status_Carrier_Period_Channel_7_Valid
Definition: P018_39_KG3_BLA_E.h:377
U16 u16_Speed_Status_Carrier_Period_Channel_1_Valid
Definition: P018_39_KG3_BLA_E.h:371
U16 u16_ADC_Hardware_Fault_1
Definition: P018_39_KG3_BLA_E.h:347
U16 u16_ADC_Hardware_Fault_3
Definition: P018_39_KG3_BLA_E.h:349
U16 u16_ADC_Hardware_Fault_2
Definition: P018_39_KG3_BLA_E.h:348
U16 u16_Status
Definition: P018_39_KG3_BLA_E.h:344