ConOpSys V2970  P004.07
ANVILEX control operating system
Function_Block_Inverse_Park_Transformation.h
Go to the documentation of this file.
1 //------------------------------------------------------------------------------
2 //! @file Function_Block_Inverse_Park_Transformation.h
3 //! @author ANVILEX GmbH
4 //! @version V1.0
5 //! @date 04.05.2015
6 //! @brief Inverse park transformation class header file.
7 //! @attention
8 //!
9 //! COPYRIGHT(C) 2015 ANVILEX GmbH
10 //!
11 //! Redistribution and use in source and binary forms, with or without
12 //! modification, are permitted provided that the following conditions are met:
13 //!
14 //! 1. Redistributions of source code must retain the above copyright notice,
15 //! this list of conditions and the following disclaimer.
16 //!
17 //! 2. Redistributions in binary form must reproduce the above copyright notice,
18 //! this list of conditions and the following disclaimer in the documentation
19 //! and/or other materials provided with the distribution.
20 //!
21 //! 3. Neither the name of ANVILEX nor the names of its contributors may be
22 //! used to endorse or promote products derived from this software without
23 //! specific prior written permission.
24 //!
25 //! THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
26 //! AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
27 //! IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
28 //! ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
29 //! LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
30 //! CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
31 //! SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
32 //! INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
33 //! CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
34 //! ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
35 //! POSSIBILITY OF SUCH DAMAGE.
36 //------------------------------------------------------------------------------
37 //
38 // TFunction_Block_Inverse_Park_Transformation // ANVILEX ==> T1
39 // TFunction_Block_Inverse_Park_Transformation_DQ_ABC // ANVILEX ==>
40 //
41 //------------------------------------------------------------------------------
42 
43 //------------------------------------------------------------------------------
44 // Protecting header files from mutual, recursive inclusion.
45 //------------------------------------------------------------------------------
46 
47 #pragma once
48 
49 //------------------------------------------------------------------------------
50 // Include standard libraries header files
51 //------------------------------------------------------------------------------
52 
53 //------------------------------------------------------------------------------
54 // Include thrid party header files
55 //------------------------------------------------------------------------------
56 
57 //------------------------------------------------------------------------------
58 // Include ConOpSys header files
59 //------------------------------------------------------------------------------
60 
61 #include "Function_Block_Base.h"
62 
63 //------------------------------------------------------------------------------
64 // Include ConOpSys application header files
65 //------------------------------------------------------------------------------
66 
67 //------------------------------------------------------------------------------
68 // Macros
69 //------------------------------------------------------------------------------
70 
71 //------------------------------------------------------------------------------
72 // Class declarations
73 //------------------------------------------------------------------------------
74 
75 //! @brief 32-bit floating point inverse park transformation function block class definition
77 {
78 
79  //----------------------------------------------------------------------------
80  // Public defines, variables and methods
81  //----------------------------------------------------------------------------
82 
83  public:
84 
85  //--------------------------------------------------------------------------
86  // Public methods
87  //--------------------------------------------------------------------------
88 
89  //!-------------------------------------------------------------------------
90  //! @brief Class constructor method.
91  //! @note None
92  //! \par Override
93  //! Not allowed
94  //! @attention Don't call this method directly.
95  //--------------------------------------------------------------------------
96 
98 
99  //!-------------------------------------------------------------------------
100  //! @brief Class destructor method.
101  //! @note None
102  //! \par Override
103  //! Not allowed
104  //! @attention Don't call this method directly.
105  //--------------------------------------------------------------------------
106 
108 
109  //!-------------------------------------------------------------------------
110  //! @brief Function block initialisation method.
111  //! @note None
112  //! \par Override
113  //! Not allowed
114  //! @attention Don't call this method directly.
115  //--------------------------------------------------------------------------
116 
117  virtual VOID Init();
118 
119  //!-------------------------------------------------------------------------
120  //! @brief Function block execution method.
121  //! @note None
122  //! \par Override
123  //! Not allowed
124  //! @attention None
125  //--------------------------------------------------------------------------
126 
127  virtual VOID Execute();
128 
129  //--------------------------------------------------------------------------
130  // Public variables
131  //--------------------------------------------------------------------------
132 
133  //--------------------------------------------------------------------------
134  // Function block input connectors
135  //--------------------------------------------------------------------------
136 
137  //! @brief D component input connector
139 
140  //! @brief Q component input connector
142 
143  //! @brief Sinus value input connector
145 
146  //! @brief Cosinus value input connector
148 
149  //--------------------------------------------------------------------------
150  // Function block output connectors
151  //--------------------------------------------------------------------------
152 
153  //! @brief Alpha component output connector
155 
156  //! @brief Beta component output connector
158 
159  //----------------------------------------------------------------------------
160  // Protected defines, variables and methods
161  //----------------------------------------------------------------------------
162 
163  protected:
164 
165  //----------------------------------------------------------------------------
166  // Private defines, variables and methods
167  //----------------------------------------------------------------------------
168 
169  private:
170 
171 };
172 
173 //------------------------------------------------------------------------------
174 
175 //! @brief 32-bit floating point inverse park transformation function block class definition
177 {
178 
179  //----------------------------------------------------------------------------
180  // Public defines, variables and methods
181  //----------------------------------------------------------------------------
182 
183  public:
184 
185  //--------------------------------------------------------------------------
186  // Public methods
187  //--------------------------------------------------------------------------
188 
189  //!-------------------------------------------------------------------------
190  //! @brief Class constructor method.
191  //! @note None
192  //! \par Override
193  //! Not allowed
194  //! @attention Don't call this method directly.
195  //--------------------------------------------------------------------------
196 
198 
199  //!-------------------------------------------------------------------------
200  //! @brief Class destructor method.
201  //! @note None
202  //! \par Override
203  //! Not allowed
204  //! @attention Don't call this method directly.
205  //--------------------------------------------------------------------------
206 
208 
209  //!-------------------------------------------------------------------------
210  //! @brief Function block initialisation method.
211  //! @note None
212  //! \par Override
213  //! Not allowed
214  //! @attention Don't call this method directly.
215  //--------------------------------------------------------------------------
216 
217  virtual VOID Init();
218 
219  //!-------------------------------------------------------------------------
220  //! @brief Function block execution method.
221  //! @note None
222  //! \par Override
223  //! Not allowed
224  //! @attention None
225  //--------------------------------------------------------------------------
226 
227  virtual VOID Execute();
228 
229  //--------------------------------------------------------------------------
230  // Function block input connectors
231  //--------------------------------------------------------------------------
232 
233  //! @brief D component input connector
235 
236  //! @brief Q component input connector
238 
239  //! @brief Sinus value input connector
241 
242  //! @brief Cosinus value input connector
244 
245  //--------------------------------------------------------------------------
246  // Function block output connectors
247  //--------------------------------------------------------------------------
248 
249 // ANVILEX KM: Reserved for debug properties only
250 // //! @brief Alpha component output connector
251 // TBlock_Output_Connector object_f32_Alpha;
252 
253 // ANVILEX KM: Reserved for debug properties only
254 // //! @brief Beta component output connector
255 // TBlock_Output_Connector object_f32_Beta;
256 
257  //! @brief A component output connector
259 
260  //! @brief B component output connector
262 
263  //! @brief C component output connector
265 
266  //----------------------------------------------------------------------------
267  // Protected defines, variables and methods
268  //----------------------------------------------------------------------------
269 
270  protected:
271 
272  //----------------------------------------------------------------------------
273  // Private defines, variables and methods
274  //----------------------------------------------------------------------------
275 
276  private:
277 
278 };
279 
280 //------------------------------------------------------------------------------
281 // End of file
282 //------------------------------------------------------------------------------
void VOID
Datatypesess datatype definition.
Definition: Defines.h:105
Function block base 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
32-bit floating point inverse park transformation function block class definition
Definition: Function_Block_Inverse_Park_Transformation.h:177
TBlock_Output_Connector object_f32_C
C component output connector.
Definition: Function_Block_Inverse_Park_Transformation.h:264
TBlock_Output_Connector object_f32_B
B component output connector.
Definition: Function_Block_Inverse_Park_Transformation.h:261
TBlock_Input_Connector object_f32_Q
Q component input connector.
Definition: Function_Block_Inverse_Park_Transformation.h:237
TBlock_Input_Connector object_f32_Cosinus
Cosinus value input connector.
Definition: Function_Block_Inverse_Park_Transformation.h:243
TBlock_Input_Connector object_f32_D
D component input connector.
Definition: Function_Block_Inverse_Park_Transformation.h:234
virtual VOID Init()
Function block initialisation method.
Definition: Function_Block_Inverse_Park_Transformation.cpp:168
virtual ~TFunction_Block_Inverse_Park_Transformation_DQ_ABC()
Class destructor method.
Definition: Function_Block_Inverse_Park_Transformation.cpp:160
virtual VOID Execute()
Function block execution method.
Definition: Function_Block_Inverse_Park_Transformation.cpp:182
TBlock_Input_Connector object_f32_Sinus
Sinus value input connector.
Definition: Function_Block_Inverse_Park_Transformation.h:240
TBlock_Output_Connector object_f32_A
A component output connector.
Definition: Function_Block_Inverse_Park_Transformation.h:258
TFunction_Block_Inverse_Park_Transformation_DQ_ABC()
Class constructor method.
Definition: Function_Block_Inverse_Park_Transformation.cpp:131
32-bit floating point inverse park transformation function block class definition
Definition: Function_Block_Inverse_Park_Transformation.h:77
TBlock_Input_Connector object_f32_Sinus
Sinus value input connector.
Definition: Function_Block_Inverse_Park_Transformation.h:144
TBlock_Output_Connector object_f32_Beta
Beta component output connector.
Definition: Function_Block_Inverse_Park_Transformation.h:157
virtual VOID Init()
Function block initialisation method.
Definition: Function_Block_Inverse_Park_Transformation.cpp:101
TBlock_Input_Connector object_f32_Cosinus
Cosinus value input connector.
Definition: Function_Block_Inverse_Park_Transformation.h:147
TBlock_Input_Connector object_f32_Q
Q component input connector.
Definition: Function_Block_Inverse_Park_Transformation.h:141
virtual ~TFunction_Block_Inverse_Park_Transformation()
Class destructor method.
Definition: Function_Block_Inverse_Park_Transformation.cpp:93
virtual VOID Execute()
Function block execution method.
Definition: Function_Block_Inverse_Park_Transformation.cpp:112
TBlock_Output_Connector object_f32_Alpha
Alpha component output connector.
Definition: Function_Block_Inverse_Park_Transformation.h:154
TBlock_Input_Connector object_f32_D
D component input connector.
Definition: Function_Block_Inverse_Park_Transformation.h:138
TFunction_Block_Inverse_Park_Transformation()
Class constructor method.
Definition: Function_Block_Inverse_Park_Transformation.cpp:68