... | @@ -4,7 +4,6 @@ All three simulink blocks use the same underlying logic in the RCG, they differ |
... | @@ -4,7 +4,6 @@ All three simulink blocks use the same underlying logic in the RCG, they differ |
|
Generally speaking the `cdsFilt*` blocks take a floating point value as input then processes that input according to the blocks configuration. The block is configured at run-time through associated EPICS channels, often controlled through medm screens. Configuration can be complex with a number of options that can be combined to achieve the desired output. These blocks contain 10 infinite impulse response (IIR) filters, but the filter coefficients can be enabled/disabled so it may only be a pass through under some configurations.
|
|
Generally speaking the `cdsFilt*` blocks take a floating point value as input then processes that input according to the blocks configuration. The block is configured at run-time through associated EPICS channels, often controlled through medm screens. Configuration can be complex with a number of options that can be combined to achieve the desired output. These blocks contain 10 infinite impulse response (IIR) filters, but the filter coefficients can be enabled/disabled so it may only be a pass through under some configurations.
|
|
|
|
|
|
### Writable EPICS Configuration
|
|
### Writable EPICS Configuration
|
|
|
|
|
|
| Channel Suffix | Function | Separate Enable/Disable Bit |
|
|
| Channel Suffix | Function | Separate Enable/Disable Bit |
|
|
| ----------- | ------------------------------------------- | ---- |
|
|
| ----------- | ------------------------------------------- | ---- |
|
|
| `_OFFSET` | An offset that will be added to the sum of the input and excitation in the module.. | Yes |
|
|
| `_OFFSET` | An offset that will be added to the sum of the input and excitation in the module.. | Yes |
|
... | @@ -19,8 +18,8 @@ Generally speaking the `cdsFilt*` blocks take a floating point value as input th |
... | @@ -19,8 +18,8 @@ Generally speaking the `cdsFilt*` blocks take a floating point value as input th |
|
### Read Only EPICS Configuration
|
|
### Read Only EPICS Configuration
|
|
| Channel Suffix | Function | Sample Rate |
|
|
| Channel Suffix | Function | Sample Rate |
|
|
| ----------- | ------------------------------------------- | ---- |
|
|
| ----------- | ------------------------------------------- | ---- |
|
|
| `_INMON` | The latest value inputted to the module. (In1 on medm) | 16 Hz |
|
|
| `_INMON` | The latest value inputted to the module. | 16 Hz |
|
|
| `_EXCMON` | The latest value from the excitation input to the filter. (EXC on medm) | 16 Hz |
|
|
| `_EXCMON` | The latest value from the excitation input to the filter. | 16 Hz |
|
|
| `_OUTMON` | The latest value of the filter, after all processing. (OUT on medm) | 16 Hz |
|
|
| `_OUTMON` | The latest value of the filter, after all processing. (OUT on medm) | 16 Hz |
|
|
| `_OUT16` | The latest value of the filter, after all processing and filtered/decimated to 16 Hz. TODO: Add filter description (OUT on medm) | 16 Hz |
|
|
| `_OUT16` | The latest value of the filter, after all processing and filtered/decimated to 16 Hz. TODO: Add filter description (OUT on medm) | 16 Hz |
|
|
| `_OUTPUT` | The latest value of the filter, after all processing, taking into account filter output setting. `_OUTMON` will always have the calculated output, this channel will be 0 if the module's output is configured to be off. | 16 Hz |
|
|
| `_OUTPUT` | The latest value of the filter, after all processing, taking into account filter output setting. `_OUTMON` will always have the calculated output, this channel will be 0 if the module's output is configured to be off. | 16 Hz |
|
... | @@ -30,10 +29,18 @@ Generally speaking the `cdsFilt*` blocks take a floating point value as input th |
... | @@ -30,10 +29,18 @@ Generally speaking the `cdsFilt*` blocks take a floating point value as input th |
|
| `_SW1S` | | 16 Hz |
|
|
| `_SW1S` | | 16 Hz |
|
|
| `_Name00` - `_Name09` | The names of the individual filters, set when coefficients are loaded from the filter file. | 16 Hz |
|
|
| `_Name00` - `_Name09` | The names of the individual filters, set when coefficients are loaded from the filter file. | 16 Hz |
|
|
|
|
|
|
|
|
### DAQ Capable Fast Channels
|
|
|
|
| Channel Suffix | Function | Sample Rate |
|
|
|
|
| ----------- | ------------------------------------------- | ---- |
|
|
|
|
| `_EXC_DQ` | The latest value from the excitation input to the filter. (EXC on medm) | Full Model Rate, unless decimated in DAQ channel list |
|
|
|
|
| `_IN1_DQ` | The latest value inputted to the module. (IN1 on medm) | Full Model Rate, unless decimated in DAQ channel list |
|
|
|
|
| `_IN2_DQ` | The latest value from the excitation input summed with the input to the filter. (IN2 on medm) | Full Model Rate, unless decimated in DAQ channel list |
|
|
|
|
| `_OUT_DQ` | The latest value of the filter, after all processing. (OUT on medm) | Full Model Rate, unless decimated in DAQ channel list |
|
|
|
|
|
|
### cdsFilt
|
|
### cdsFilt
|
|
|
|

|
|
|
|
|
|
|
|
The `cdsFilt` part has all the above mentioned EPICS channels.
|
|
|
|
|
|
### cdsFiltCtrl
|
|
### cdsFiltCtrl
|
|
|
|
|
... | | ... | |