This paper expounds a master-slave parallel processing architecture based on the combination of DSP and ARM,and designs a power quality detection system.Combining the advantages of DSP chips in digital signal processing algorithms and the rich peripheral features of ARM chips,it designs the system hardware and software,and develops an upper computer for displaying and analyzing power quality parameters,thereby achieving fast and accurate detection,processing,storage,and real-time display of various power quality parameters.