| Inports
| |
| In | Input signal |
| phi | Angle signal |
| Outports
| |
| max | Maximum of input signal |
| min | Minimum of input signal |
Outputs the minimum and maximum of the input signal over one period of the (angle) signal phi.
Exemplary signal waveforms:
| FiP8 | 8 Bit Fixed Point Implementation |
| FiP16 | 16 Bit Fixed Point Implementation |
| FiP32 | 32 Bit Fixed Point Implementation |
| Float32 | 32 Bit Floating Point Implementation |
| Float64 | 64 Bit Floating Point Implementation |
| Name | FiP8 |
| ID | 464 |
| Revision | 0.1 |
| C filename | MinMaxPeriodic_FiP8.c |
| H filename | MinMaxPeriodic_FiP8.h |
8 Bit Fixed Point Implementation
| Controller Parameters | |
| min_act | Current minimum |
| max_act | Current maximum |
| phi_old | Angle signal from previous cycle |
Data Structure:
| Name | FiP16 |
| ID | 465 |
| Revision | 0.1 |
| C filename | MinMaxPeriodic_FiP16.c |
| H filename | MinMaxPeriodic_FiP16.h |
16 Bit Fixed Point Implementation
| Controller Parameters | |
| min_act | Current minimum |
| max_act | Current maximum |
| phi_old | Angle signal from previous cycle |
Data Structure:
| Name | FiP32 |
| ID | 466 |
| Revision | 0.1 |
| C filename | MinMaxPeriodic_FiP32.c |
| H filename | MinMaxPeriodic_FiP32.h |
32 Bit Fixed Point Implementation
| Controller Parameters | |
| min_act | Current minimum |
| max_act | Current maximum |
| phi_old | Angle signal from previous cycle |
Data Structure:
| Name | Float32 |
| ID | 467 |
| Revision | 0.1 |
| C filename | MinMaxPeriodic_Float32.c |
| H filename | MinMaxPeriodic_Float32.h |
32 Bit Floating Point Implementation
| Controller Parameters | |
| min_act | Current minimum |
| max_act | Current maximum |
| phi_old | Angle signal from previous cycle |
Data Structure:
| Name | Float64 |
| ID | 468 |
| Revision | 0.1 |
| C filename | MinMaxPeriodic_Float64.c |
| H filename | MinMaxPeriodic_Float64.h |
64 Bit Floating Point Implementation
| Controller Parameters | |
| min_act | Current minimum |
| max_act | Current maximum |
| phi_old | Angle signal from previous cycle |
Data Structure: