A display device, comprising: a pixel array; a power line; a ground line; a plurality of power detection lines; a plurality of ground detection lines; and a power supply circuit, configured to provide to the pixel array a supply voltage via the power line and a ground voltage via the ground line, and configured to receive from the pixel array a plurality of detected supply voltages (VDDdet) via the plurality of power detection lines and a plurality of detected ground voltages (VSSdet) via the plurality of ground detection lines, characterised in that the power supply circuit comprising: a voltage compensation circuit comprising: a voltage-averaging circuit coupled to the pixel array, and configured to generate a supply voltage average of the plurality of detected supply voltages (VDDdet), and generate a ground voltage average of the plurality of detected ground voltages (VSSdet); and a voltage difference circuit coupled to the voltage-averaging circuit, and configured to generate a difference between the supply voltage average and the ground voltage average; and a control circuit coupled to the voltage difference circuit, and configured to increase the supply voltage and/or decrease the ground voltage when the difference is less than a predetermined value, and decrease the supply voltage and/or increase the ground voltage when the difference exceeds the predetermined value; wherein the plurality of detected supply voltages (VDDdet) are obtained from a plurality of different locations in the pixel array, and the plurality of detected ground voltages (VSSdet) are obtained from the plurality of different locations in the pixel array. a pixel array; a power line; a ground line; a plurality of power detection lines; a plurality of ground detection lines; and a power supply circuit, configured to provide to the pixel array a supply voltage via the power line and a ground voltage via the ground line, and configured to receive from the pixel array a plurality of detected supply voltages (VDDdet) via the plurality of power detection lines and a plurality of detected ground voltages (VSSdet) via the plurality of ground detection lines, characterised in that the power supply circuit comprising: a voltage compensation circuit comprising: a voltage-averaging circuit coupled to the pixel array, and configured to generate a supply voltage average of the plurality of detected supply voltages (VDDdet), and generate a ground voltage average of the plurality of detected ground voltages (VSSdet); and a voltage difference circuit coupled to the voltage-averaging circuit, and configured to generate a difference between the supply voltage average and the ground voltage average; and a control circuit coupled to the voltage difference circuit, and configured to increase the supply voltage and/or decrease the ground voltage when the difference is less than a predetermined value, and decrease the supply voltage and/or increase the ground voltage when the difference exceeds the predetermined value; a voltage compensation circuit comprising: a voltage-averaging circuit coupled to the pixel array, and configured to generate a supply voltage average of the plurality of detected supply voltages (VDDdet), and generate a ground voltage average of the plurality of detected ground voltages (VSSdet); and a voltage difference circuit coupled to the voltage-averaging circuit, and configured to generate a difference between the supply voltage average and the ground voltage average; and a voltage-averaging circuit coupled to the pixel array, and configured to generate a supply voltage average of the plurality of detected supply voltages (VDDdet), and generate a ground voltage average of the plurality of detected ground voltages (VSSdet); and a voltage difference circuit coupled to the voltage-averaging circuit, and configured to generate a difference between the supply voltage average and the ground voltage average; and a control circuit coupled to the voltage difference circuit, and configured to increase the supply voltage and/or decrease the ground voltage when the difference is less than a predetermined value, and decrease the supply voltage and/or increase the ground voltage when the difference exceeds the predetermined value; wherein the plurality of detected supply voltages (VDDdet) are obtained from a plurality of different locations in the pixel array, and the plurality of detected ground voltages (VSSdet) are obtained from the plurality of different locations in the pixel array.