In order to improve the performance of the PM (Particulate Matter) filter, the TPMS structure was used as a flow controller to control the flow entering the filter. Among various TPMS structures, a primitive structure that is easy to utilize 3D printing technique was selected and the effect of unit cell size was analyzed. In addition, numerical analysis was performed and swirl ratio was analyzed to confirm changes in filter inlet flow characteristics that affect changes in filter performance. Unit cell size is closely related to filter performance, and both PM collection efficiency and pressure drop increase as unit cell size decreases. Through quality factor (QF) comparison, which comprehensively evaluate collection efficiency and pressure drop, it was confirmed that when the unit cell size is 5 mm, PM collection efficiency increases, but the flow controller actually reduces filter performance. QF values are similar for unit cell sizes of 10 and 20 mm, and it is advantageous to select the unit cell size among these two considering collection efficiency and operating costs. The filter's collection performance increases due to the increase in swirl flow caused by the primitive structure, and the filter's collection efficiency increases due to the swirl flow that increases throughout the flow field as the unit cell size becomes smaller.