Development of an Elastically Compensated UPS-Type Constant-Force Generator for the Static Balancing of Spatial Parallel Mechanisms