There are four small circles tangent to each other. The small circles are all inscribed in a large circle, as shown in the figure. The radii of small circles are all r. What is the ratio of the side length of the square formed by the line connecting four small circle centers to the diameter of the large circle?