The invention relates to the technical field of vehicle control, and provides a control method, a control system, electronic equipment and a storage medium of a headlamp, which are applied to a vehicle provided with a light source matrix type headlamp. The control method comprises following steps: in an automatic driving process, when ambient light brightness is lower than a threshold value, the light source matrix type headlamp is turned on; recognizing a lane in front of the vehicle through an obstacle detection sensor, and detecting obstacles in a lane area; when the suspected obstacle is detected, adjusting the irradiation direction of the light source matrix to enable the irradiation range to at least cover the suspected obstacle; identifying suspected obstacles, judging whether the obstacles need to be avoided, and if so, adjusting the driving direction to avoid the suspected obstacles; and if not, adjusting the irradiation direction of the light source matrix to the current driving direction. According to the invention, the focusing area of the light source matrix can be adjusted based on the suspected obstacles in the automatic driving process, so that the local illumination enhancement of the suspected obstacles is realized, the identification of the suspected obstacles is facilitated, and the driving safety is improved.