Approximate Control Design for Solar Driven Sensor Nodes