The invention discloses a quasi one-time orthogonal complementary Golay (A,B) code ultrasonic phased array coded excitation method. The method comprises the following steps: coded excitation is carried out by Golay A code; Golay A to B code excitation transition of received echo is realized by software algorithm, and twice stimulated echoes of Golay A,B are obtained (orthogonal complementary Golay coded excitation condition is formed); pulse compression is carried out, decoding is realized by summarizing vectors, so that quasi one-time orthogonal complementary Golay coded excitation technology is realized, and replaces the traditional double-emission scheme with physical hardware. An effective noise inhibition-deconvolution algorithm is used, FPGA(Field Programmable Gate Array) is used for realizing excitation transition algorithm of sequence Golay A code excitation to Golay B code, in order to realize the purpose of quasi one-time excitation; the traditional Golay A,B code separated excitation scheme is improved, operation efficiency of the phased array system is increased by 50%, signal to noise ratio (related to coding length Lc) is greatly improved, the problem of decoding effect influenced by inconsistent received waveforms due to position changes of twice emissions in some dynamic scanning processes is avoided, and the method has an important application value in practical engineering.