Fixed-Point Blockset | ![]() ![]() |
Simulation 4: Individual Override
The previous simulation optimized results for the fixed-point digital controller. In this simulation, the A2D block is configured so that it feeds the digital controller with doubles. This represents overriding the A/D hardware constraints, and is accomplished by checking the Override with doubles check box as shown below as shown below.
The procedure and results for this simulation are shown below.
A close-up of the plant output signal is shown below. The limit cycle is no longer present in the steady state - confirmation of a poor A/D design. This means you should replace the hardware, amplify the signal, or do some digital processing to better condition the signal.
![]() | Simulation 3: Automatic Scaling | Building Systems and Filters | ![]() |