The invention provides an automatic current idiq table generation method based on a permanent magnet motor parameter table. The method comprises steps that firstly, modeling of a permanent magnet motor in the matlab software is performed, and the pole pair number, the rotor flux linkage, the stator resistance and an inductance map of the permanent magnet motor are set; secondly, the maximum limitof the phase voltage peak value of the permanent magnet motor is determined, and the maximum value limit of a voltage vector amplitude is further determined; thirdly, a speed array, a torque array, acurrent vector amplitude array and a current vector angle array are set; fourthly, three-layer loop is performed according to multiple speeds preset in the speed array, multiple current vector amplitudes preset in the current vector amplitude array and multiple current vector angles preset in the current vector angle array; and fifthly, according to a d-axis component and a q-axis component of thestator current corresponding to each pair of the rotation speed and the torque, the current idiq table based on the permanent magnet motor parameter table is generated. The method has advantages of simple and convenient collection, short period, relatively high accuracy and relatively strong practicality.