In this work, the computerized control of a hydraulic system with analog characteristics is examined, and within this scope, a novel force sensor is designed. The system consists of two main structures: an analog subsystem comprising a four-way servo valve, hydraulic piston, servo amplifier, and the designed force sensor, and a digitizing subsystem responsible for comparison and control, composed of a desktop computer. Throughout this work, a cost-effective force sensor was designed by integrating a compression spring, guides, a support frame and a linear variable differential transformer (LVDT). In this integrated system, the force applied at a specific magnitude and frequency from an external force measurement and feedback unit is converted into electrical signals by horizontal motion of the LVDT core. These electrical signals from the force sensor are digitized and fed back to the computer and data acquisition card. The digitized data transferred to the software developed in this study continuously compare with the reference data, enabling position-dependent force control. Experiments conducted with the force sensor placed between two hydraulic pistons controlled by a servo valve revealed that it caused the pistons to move right and left, providing the desired control of the system with the reference force input. The system was observed to operate much more stably, especially for high-frequency signal inputs.