NOVELTY - A solar energy to electrical energy transforming method involves taking a polymer film, by rubbing sandpaper roll or polymer film polished, cleaning. The surface of the polymer base film is coated with a polymer solution in tetrahydrofuran, and dried to obtain a polymer base film. Three-dimensional and three-dimensional moving mobile platform A and Platform B are taken and set with permanent magnets formed group, followed by converging beam of sunlight, elongating composite membrane bilayer in the light, making composite membrane bend toward the light direction.    USE - Method for transforming solar energy to electrical energy.    DETAILED DESCRIPTION - A solar energy to electrical energy transforming method involves taking a polymer film, by rubbing sandpaper roll or polymer film polished, cleaning, made of a polymer surface with a groove the base film. The surface of the polymer base film is coated with a photoactive polymer solution in tetrahydrofuran, and dried to obtain a polymer base film with surface photoactive polymer film composite membrane bilayer, bis layer composite film composite membrane bilayer. Three-dimensional and three-dimensional moving mobile platform A and Platform B are taken and set with permanent magnets formed group, and corresponding to a given group, the proximal end of the three-dimensional movement of the elongate platform B fixed layer composite film formed cantilever, the cantilever distal end of the induction coil is adhered to move the group, moving the three-dimensional and three-dimensional moving mobile platform A platform B to adjust the relative position of a given dynamic group induction coils within the swing range having electromagnetic induction, followed by converging beam of sunlight by the lens after the irradiation of the cantilever proximal end, elongating composite membrane bilayer in the light, since the photoactive polymer film occurs under sunlight shrinkage, no photoactive polymer-based film, no light-induced contraction, so that the long strip of double-layer composite membrane deformation gradient occurs in the thickness direction, thus making a long strip of double-layer composite membrane bend toward the light direction, driven by the distal movement group exercise, to obtain given set voltage and current, convert solar energy into electrical energy.