A multispectral sensor, comprising at least: two or more light channels, wherein each light channel comprises a light entrance part, an optical lens, a filter part, and a sensor array, the light entrance part is configured to allow external light to enter the light channel, the optical lens is configured to change a transmission path of the light to be incident on the filter part, and the filter part is configured to allow light in a specific wavelength range to pass through and reach the sensor array; orthographic projection of the sensor array is located in orthographic projection of the optical lens in an axial direction of the light entrance part, the sensor array comprises at least three rows of photoelectric sensors, the at least three rows of photoelectric sensors are divided into a middle sensor group and two edge sensor groups, the middle sensor group is located between the two edge sensor groups in a column direction of the sensor array, the middle sensor group comprises first photoelectric sensors, and each edge sensor group comprises second photoelectric sensors; the middle sensor group comprises two or more rows of first photoelectric sensors; and in a row direction of the sensor array, each row of first photoelectric sensors comprises N first photoelectric sensors and N-1 first gaps, and each first gap is formed between two adjacent first photoelectric sensors, a quantity of second photoelectric sensors in the rows of the edge sensor groups is N-1, and the second photoelectric sensor is arranged corresponding to the first gap in the column direction, such that there is a second gap between two adjacent second photoelectric sensors in the row direction; wherein the first gap and the second gap are not on a same straight line in the column direction. two or more light channels, wherein each light channel comprises a light entrance part, an optical lens, a filter part, and a sensor array, the light entrance part is configured to allow external light to enter the light channel, the optical lens is configured to change a transmission path of the light to be incident on the filter part, and the filter part is configured to allow light in a specific wavelength range to pass through and reach the sensor array; orthographic projection of the sensor array is located in orthographic projection of the optical lens in an axial direction of the light entrance part, the sensor array comprises at least three rows of photoelectric sensors, the at least three rows of photoelectric sensors are divided into a middle sensor group and two edge sensor groups, the middle sensor group is located between the two edge sensor groups in a column direction of the sensor array, the middle sensor group comprises first photoelectric sensors, and each edge sensor group comprises second photoelectric sensors; the middle sensor group comprises two or more rows of first photoelectric sensors; and in a row direction of the sensor array, each row of first photoelectric sensors comprises N first photoelectric sensors and N-1 first gaps, and each first gap is formed between two adjacent first photoelectric sensors, a quantity of second photoelectric sensors in the rows of the edge sensor groups is N-1, and the second photoelectric sensor is arranged corresponding to the first gap in the column direction, such that there is a second gap between two adjacent second photoelectric sensors in the row direction; wherein the first gap and the second gap are not on a same straight line in the column direction.