Download Appendix D: LabVIEW™ Tutorial
Transcript
Appendix D 878 laamim^Mtmnn*™^ LabVIEW Tutorial • *" Configure Simulation Parameters E Simulation Parameters | Timing Parameters Simula bon Parameters Enable Synchronized Timing Simulation Time 0 Synchronize Loop to Timing Source RrtalTime(s) Initial Time (s) Timing Source Source type Solver Method 00E Solver [Runge-Kutta 4 1 kHz <resetat structure start> 1MHz <reset at structu/e Mart 51 - ' B n ;e to Scan EhtfM Other <defined by source name or terminal > DNan/Inf Check Continuous Time Step a n d Tolerance Source name 1kHz to 0.01 Mawnum Step Size (s) Loop Timing Attributes Period ilE-10 • j 0.001 Offset/Phase 'lE-7 Auto Period Priority [too Deadline Discrete Time S t e p 1 Timeout (ms) Discrete Step Size (s) fo.i 0 Auto Discrete Time 'm Processor Assignment Mode j Automatic OK OX (a) FIGURE D.19 v1 Cancel m Configuring the Simulation Loop parameters: a. Simulation parameters; b. Timing parameters Example D.6 Effect of Amplifier Saturation on Motor's Load Angular Velocity Create Block Diagram and Front Panel The Block Diagram and Front Panel for simulating a dc motor with and without saturation are shown in Figure D.20. The Saturation block is obtained from Control Design & Simulation/Simulation/Nonliner Systems/Saturation. Satuabon Transfer Kntbon 1ST avtia&onTWWavpform IWBv^c^Oyti Transfer Function 2 (a) FIGURE D.20 Simulation of a dc motor with and without saturation: a. Block Diagram; (figure continues)