A synchronization processing method for a synchronous joystick sensor, the synchronous joystick sensor a joystick, a joystick arm assembly, sleeved on the joystick, and the joystick, arm assembly being driving by the joystick, to swing in a first direction and a second direction perpendicular to the first direction;
- a swing detection assembly, configured to measure the swing amount in the first direction and the second direction through a magnetic detecting element, and convert the swing amount into a first electronic signal and a second electronic signal;
- a reset assembly configured to make the joystick being in a vertical reset state when there is no external force, the method comprises:
- determining whether an electronic signal set output by a piezoelectric ceramic assembly of the synchronous joystick sensor according is received;
- when the set electronic signal is received, determining whether the first electronic signal output by the first magnetic induction element or the second electronic signal output by the second magnetic induction element is received while the electronic signal set is received;
- when the first electronic signal output by the first magnetic induction element or the second electronic signal output by the second magnetic induction element is received while the electronic signal set is received, determining the first electronic signal output by the first magnetic induction element or the second electronic signal output by the second magnetic induction element to be the detection output signal of the synchronous joystick sensor and output the detection output signal;
- when the first electronic signal output by the first magnetic induction element or the second electronic signal output by the second magnetic induction element is not received when the electronic signal set is received, inputting the electronic signal set into a first trained neural network model to calculate a pushing force direction and a pushing force value of a pushing force acting on the joystick generating the electronic signal set correspondingly;
- determine the first electronic signal or the second electronic signal that needs to be supplemented according to the pushing force direction, and input the pushing force value into a second trained neural network model or a third trained neural network model to calculate the first electronic signal or the second electronic signal that needs to be supplemented output, and determining the first electronic signal or the second electronic signal that needs to be supplemented as the detection output signal of the synchronous joystick sensor and output the detection output signal;
- determine whether the first electronic signal output by the first magnetic induction element or the second electronic signal output by the second magnetic induction element is received;
- when the first electronic signal output by the first magnetic induction element or the second electronic signal output by the second magnetic induction element is received, determining the first electronic signal output by the first magnetic induction element or the second electronic signal output by the second magnetic induction element to be the detection output signal of the synchronous joystick sensor and output the detection output signal.