You are on page 1of 1

Describe: This example shows distributed control of a DC-servo using communicat

ion over a wireless network. The example also shows how to simulate power consum
ption and how to use the battery block. The model contains two computer nodes lo
cated 20 m apart, each represented by a TrueTime kernel block. A time-driven sen
sor/actuator node samples the process periodically and sends the samples over th
e network to the controller node. The control task in this node calculates the c
ontrol signal and sends the result back to the sensor/actuator node, where it is
actuated. The wireless communication link is at the same time subject to a simp
le power control scheme. Power control tasks running in both the sensor/actuator
node and in the controller node periodically send out ping messages to the othe
r node to test the channel transmission. If a reply is received, the channel is
assumed to be good and the transmission power is lowered. If on the other hand n
o reply is received, then the transmi
wireless
........\actcode.m
........\actuator_init.m
........\controller_init.m
........\ctrlcode.m
........\msgRcvActuator.m
........\msgRcvCtrl.m
........\powctrlcode.m
........\powrespcode.m
........\README
........\senscode.m
........\wireless.mdl

You might also like