How to design the switch of gravel opening