MATLAB REAL-TIME WORKSHOP EMBEDDED CODER - S Manual de usuario Pagina 72

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 76
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 71
64
Appendix V: Simulink Model
The PID controller described in Appendix IV is easy to build in Simulink. Every
part of the controller is built in a separate subsystem. The coupling subsystem is
an approximate design for the actual coupling used in the car, Figure 1. The
transform subsystem is used to transform the pressure to VCS signal and vice
versa. The subsystem is also used to track quantization and saturation errors. The
Quantisation block in the Transform subsystem uses an S-function that in
Simulink just let the calculated signal VCS through while in the software and
when the code is generated a function call is used instead to return the VCS signal
value after being quantised throughout the main program.
Vista de pagina 71
1 2 ... 67 68 69 70 71 72 73 74 75 76

Comentarios a estos manuales

Sin comentarios