According to the one-dimensional antiresonance effect (Wang X R, Wang Y and Sun Z Z 2003 Phys. Rev. B 65 193402), we propose a possible spin-polarized current generation device. Our proposed model consists of one chain and an impurity coupling to the chain. The energy level of the impurity can be occupied by an electron with a specific spin, and the electron with such a spin is blocked because of the antiresonance effect. Based on this phenomenon our model can generate the spin-polarized current flowing through the chain due to different polarization rates. On the other hand, the device can also be used to measure the generated spin accumulation. Our model is feasible with today's technology.