Download MOXA - ZARM

Transcript
Page 74
Students Experiment Document. MOXA Experiment RX16. TU Dresden.
Table 4-19: Description of 30-Byte Data Package (Downstream)
SYNC
SYNC
MSGID
MSGCNT
DATA0..23
CRC
CRC
DATA0..15 CRC
CRC
Table 4-20: Description of 22-Byte Data Package (Upstream)
SYNC
SYNC
MSGID
MSGCNT
A upstream command protocol will be used that allows setting of all elementary
experiment parameters by remote, most significantly the status and control
parameters, and allows remote triggering for the hatch and the sensors.
4.9.7 Control Loop
An digital PID controller has been implemented to control the heating. The process
parameters are flexible and can be adjusted before launch. For good performance
the control route parameters are determined experimentally and will then be used
to establish the PID parameters using an analytic model with SIMULINK software.
fig. 46: Analytic Simulink Model of the Heating with quasi-continuous PID
controller
4.9.8 Ground Station Software Design
The ground station will be used to survey and save the received measurement data.
The ground station software is developed in Java language. To access serial features,
the RXTX Library will be used. For visualisation the open JFreeChart library is used.
All commands can be executed by sending an ASCII Code through a serial interface.






Start/Stop Heating
Start/Stop Sensors
Set Experiment Parameters (Control Parameters)
Start/Stop Battery
Read/Save all Analog Values (Currents, Voltages, Pressures)
Read/Save all Temperature Values