The selection of output form of analog output Hall sensor of joystick controller

Shanghai Chengong Electrical Control Technology Co., Ltd.  ‘s industrial joysticks and joystick controllers currently use analog Hall sensors that generally offer options for analog voltage output, pulse-width modulation (PWM) output, and bus output. The most commonly used output in Shanghai Chengong Electrical Control Technology Co., Ltd.’s joystick controllers is the 0-5V voltage output, as it is the easiest to understand and most readily accepted by application engineers.

  However, there are several critical drawbacks of analog output that are often overlooked. First, voltage signals are easily affected by external interference, leading to data misreading. While filtering and isolation measures can be used to eliminate this, they increase the complexity of the external circuit and the probability of failure. Second, this voltage is affected by proportional errors in the power supply voltage. This often results in complaints from customers in practical applications about the Hall sensor’s midpoint voltage being inaccurate, causing the control equipment to malfunction when no one is operating it. Additionally, if there is external interference (especially on the power supply side), the equipment may not function correctly, which can be quite dangerous in certain scenarios.

  To fundamentally solve this problem, the output of the Hall sensor in the industrial joystick can be changed to a pulse-width modulation (PWM) signal. This involves transmitting the proportional analog signal to the microcontroller or controller via the duty cycle, typically ranging from 10% – 50% (midpoint) – 90%.

  With this type of output, even if there are interference pulses present in the signal, it does not affect the accuracy of the signal’s output. The principle is the same as why the audio quality of FM radio is far superior to that of AM radio. Secondly, the receiving end receives the duty cycle information, which is unrelated to the pulse amplitude. Therefore, even if there is a large fluctuation in the power supply voltage, as long as it does not exceed the allowable range of the sensor chip, the receiving end can still accurately receive the correct magnetic induction information.

  Another advantage is that the analog input ports of the microcontroller receiving end are generally limited in resources, and using PWM reception does not occupy the analog input port resources.

  These are insights gained by Shanghai Chengong Electrical Control Technology Co., Ltd.’s engineers during their actual work, shared here for everyone’s benefit. We hope this is helpful to engineers working on electronic control system equipment and that it contributes to the improvement of the quality of Shanghai Chengong Electrical Control Technology Co., Ltd.’s equipment.