Pillow-type packaging machine is a packaging capacity is very strong, and can be suitable for a variety of specifications for food and non-food packaging continuous packaging machine. It can be used not only for the packaging of non-trademarked packaging materials, but also for high-speed packaging using roll material pre-printed with a logo pattern. In the production of packaging, due to packaging materials printed on the positioning between the color error, packaging materials, stretching and mechanical transmission and other factors, the packaging material on the scheduled sealing and cutting parts may deviate from the correct location, resulting in error. In order to eliminate the error to achieve the correct purpose of sealing and sealing, packaging design must consider the automatic positioning problem, to solve this problem mostly based on the positioning of packaging materials to complete continuous photoelectric automatic positioning system design. The continuous optoelectronic positioning system according to the error compensation work is divided into advance and retreat, brake and two drive system synchronization.