Figure 3: Control process of mode switching.