Analysis and measurement of damping characteristics of linear generator