Abstract
New CCD photometric observations of G-type contact binary UV Lyn were obtained in 2006 and 2020, when the light curves (LCs) show positive O'Connell effect and negative O'Connell effect, especially. From the previous studies, the LCs by other ground-based telescope are variable from 1973 to 2020, particularly the magnitude difference between the two maxima. These phenomena indicate that the component is active in the past 47 years. In addition, under the monitoring of the space telescope of Transiting Exoplant Survey Satellite (TESS) from January to March in 2020, we fortunately find the continuous variations of O'Connell effect in every circle for the first time. The analysis also shows that in a short time, the positive O'Connell effect has been transformed into the negative one, which proves that there are stronger magnetic activities on the surface of the component. By using the Wilson-Devinney code with a spot model, these photometric solutions confirm UV Lyn is a shallow W-subtype contact binary with a cool equatorial spot on the less massive component. The successive variability of O'Connell effect possibly result from one equatorial cool spot shifting gradually along with time. We also investigate its \emph{O-C} curve from these continuous LCs, there is not obvious variation in such short time. while, the O’Connell effect as the indicator of the magnetic activity are possibly undergoing a periodic trend of a period of nearly 38 days. Comparing \emph{O-C} curve, we could find there is not relation between the period variation and magnetic activity.