Hall sensor diamagnetic method, processing module and mobile lighting equipment

By detecting the number of Hall sensors and shielding the signal output when strong magnetic interference occurs, the problem of false triggering of Hall sensors under external strong magnetic interference is solved, the anti-interference ability is improved, and it is suitable for mobile lighting equipment.

CN120652370APending Publication Date: 2025-09-16李文杰
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510731315.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-03
Publication Date
2025-09-16

AI Technical Summary

Technical Problem

Traditional Hall switches cannot distinguish between valid signals and interference signals under strong external magnetic interference, resulting in false triggering or trigger failure.

Method used

By detecting the number of Hall sensors activated by the external magnetic field in the Hall sensor setting area, it is determined whether the set threshold is exceeded, and the signal output of all Hall sensors is shielded when strong magnetic interference is confirmed.

Benefits of technology

It effectively prevents the Hall sensor from outputting erroneous signals under strong external magnetic interference, improves anti-interference capability, and is particularly suitable for mobile lighting equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120652370A_ABST
    Figure CN120652370A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of Hall sensor anti-magnetic interference, and discloses a Hall sensor anti-magnetic method, a processing module and mobile lighting equipment, and the method comprises the steps: detecting whether there is a Hall sensor activated by an external magnetic field in a preset Hall sensor setting region; if yes, obtaining the number information of the Hall sensors activated by the external magnetic field in the Hall sensor setting area; comparing the quantity information with a set threshold value; and if the quantity information exceeds a set threshold value, determining that the Hall sensors in the Hall sensor setting area are subjected to strong magnetic interference, and shielding signal output of each Hall sensor in the Hall sensor setting area. Whether the external magnetic field interference exists or not is judged according to the number information corresponding to the Hall sensors activated by the influence of the external magnetic field, the Hall sensors are prevented from outputting wrong signals when the Hall sensors are interfered by the external strong magnetic field, and therefore the anti-interference capacity of the Hall sensors is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of Hall effect sensor anti-magnetic interference, and in particular to a Hall effect sensor anti-magnetic method, a processing module and a mobile lighting device. Background Art

[0002] Traditional Hall switches rely on Hall elements to detect changes in magnetic fields, and their output signals are directly affected by the strength of the external magnetic field. Therefore, when strong external magnetic interference (such as artificially placed permanent magnets) exists, the Hall element cannot distinguish between valid signals and interference signals, resulting in false triggering or trigger failure.

[0003] Therefore, the existing technology still needs to be improved and developed. Summary of the Invention

[0004] In view of the above-mentioned deficiencies in the prior art, the object of the present invention is to provide a Hall sensor antimagnetic method, a processing module and a mobile lighting device to solve the problem that the existing Hall sensor cannot distinguish between valid signals and interference signals when subjected to strong external magnetic interference.

[0005] The technical solutions of the present invention are as follows:

[0006] In a first aspect, the present invention provides a Hall sensor antimagnetic method, which comprises the steps of:

[0007] Detecting whether there is a Hall sensor activated by an external magnetic field in a preset Hall sensor setting area;

[0008] If so, obtaining information on the number of Hall sensors activated by the external magnetic field in the Hall sensor arrangement area;

[0009] comparing the quantity information with a set threshold;

[0010] If the quantity information exceeds the set threshold, it is determined that the Hall sensors in the Hall sensor setting area are subject to strong magnetic interference, and signal outputs of the Hall sensors in the Hall sensor setting area are shielded.

[0011] A further arrangement of the present invention is that, in the step of comparing the quantity information with the set threshold, the set threshold is single.

[0012] According to a further configuration of the present invention, after the step of obtaining information on the number of Hall sensors activated by the external magnetic field in the Hall sensor arrangement area, the step further includes:

[0013] Confirm whether the number of Hall sensors activated by the external magnetic field is single;

[0014] If the number of Hall sensors activated by the external magnetic field is greater than one, it is determined that the Hall sensors in the Hall sensor setting area are subject to strong magnetic interference, and outputs of the Hall sensors in the Hall sensor setting area are shielded.

[0015] According to a further configuration of the present invention, a first Hall sensor group and a second Hall sensor group are provided in the Hall sensor setting area; the first Hall sensor group includes a plurality of first Hall sensors arranged at intervals, and the second Hall sensor group includes a plurality of second Hall sensors, and the second Hall sensors are arranged at intervals between two adjacent first Hall sensors;

[0016] The detecting whether there is a Hall sensor activated by the external magnetic field in a preset Hall sensor setting area includes:

[0017] detecting whether there is a second Hall sensor activated by an external magnetic field in a Hall sensor arrangement area;

[0018] If there is a second Hall sensor activated by an external magnetic field in the Hall sensor arrangement area, controlling to stop signal output of each of the first Hall sensors in the Hall sensor arrangement area;

[0019] If the second Hall sensor activated by the external magnetic field does not exist in the Hall sensor arrangement area, it is detected whether the first Hall sensor activated by the external magnetic field exists in the Hall sensor arrangement area.

[0020] According to a further configuration of the present invention, after the step of comparing the quantity information with a set threshold, the following steps are further included:

[0021] If the quantity information does not exceed the set threshold, marking the Hall sensor activated by the external magnetic field as an activated Hall sensor;

[0022] When other Hall sensors other than the Hall sensor marked as activated obtain an external magnetic field, the Hall sensors that obtain the external magnetic field are marked as Hall sensors to be activated;

[0023] When it is detected that the Hall sensor to be activated is an adjacent Hall sensor of the activated Hall sensor, the signal output of the activated Hall sensor is shielded, and the Hall sensor to be activated is activated.

[0024] According to a further configuration of the present invention, when it is detected that the Hall sensor to be activated is not a Hall sensor adjacent to the activated Hall sensor, it is determined that there is strong external magnetic interference, and the signal output of the Hall sensor to be activated is shielded.

[0025] According to a further configuration of the present invention, before the step of detecting whether there is a Hall sensor activated by an external magnetic field in a preset Hall sensor setting area, the following steps are further included:

[0026] Confirm whether the Hall sensor setting area is in an unlocked state; the unlocked state means that the Hall sensor for outputting a control signal in the Hall sensor setting area is in an unlocked state.

[0027] According to a further configuration of the present invention, after the step of confirming that the Hall sensors in the Hall sensor setting area are subject to strong magnetic interference and shielding the signal outputs of the Hall sensors in the Hall sensor setting area, the following steps are further included:

[0028] After the set time, it is re-detected whether there is a Hall sensor activated by the external magnetic field in the preset Hall sensor setting area.

[0029] In a second aspect, the present invention further provides a processing module, which includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, it is used to implement the steps in the Hall sensor antimagnetic method as described above.

[0030] In a third aspect, the present invention further provides a mobile lighting device, which includes the processing module as described above.

[0031] The present invention provides a Hall sensor anti-magnetic method, processing module, and mobile lighting device. The Hall sensor anti-magnetic method includes the following steps: detecting whether there are Hall sensors activated by an external magnetic field in a preset Hall sensor setting area; if so, obtaining information on the number of Hall sensors activated by the external magnetic field in the Hall sensor setting area; comparing the information on the number of Hall sensors activated by the external magnetic field in the Hall sensor setting area; and if the information on the number of Hall sensors exceeds the threshold, confirming that the Hall sensors in the Hall sensor setting area are subject to strong magnetic interference, and shielding the signal outputs of each Hall sensor in the Hall sensor setting area. The present invention obtains information on the number of Hall sensors activated by the external magnetic field, determines whether there is external magnetic field interference based on the information on the number of activated Hall sensors, and shields the signal outputs of all Hall sensors when it is determined that there is magnetic field interference. This prevents the Hall sensors from outputting erroneous signals when subject to strong external magnetic interference, thereby improving the Hall sensor's anti-interference capability. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary personnel in this field, other drawings can be obtained based on the structures shown in these drawings without paying any creative work.

[0033] Figure 1 It is a flow chart of the anti-magnetic method of the Hall sensor in the present invention.

[0034] Figure 2 Schematic diagram of the structure of a button and a first Hall sensor in one embodiment of the present invention.

[0035] Figure 3 FIG. 1 is a schematic diagram of the distribution of the first Hall sensor group and the second Hall sensor group in one embodiment of the present invention.

[0036] Figure 4 This is a circuit principle block diagram of a first Hall sensor, a second Hall sensor, and a processing module in one embodiment of the present invention.

[0037] Figure 5 1 is a circuit schematic diagram of a first Hall effect sensor and a second Hall effect sensor in one embodiment of the present invention.

[0038] Reference numerals in the accompanying drawings are: 100, first Hall sensor group; 110, first Hall sensor; 200, second Hall sensor group; 210, second Hall sensor; 300, processing module; 400, button; 500, magnet. DETAILED DESCRIPTION

[0039] The present invention provides a Hall effect sensor antimagnetic method, processing module, and mobile lighting device. To clarify the objectives, technical solutions, and effects of the present invention, the present invention is further described below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the present invention and are not intended to limit the present invention.

[0040] In the embodiments and patent claims, unless otherwise specified herein, the words "a," "an," "the," and "the" may include plural forms. If the embodiments of the present invention include descriptions of "first," "second," etc., such descriptions are for descriptive purposes only and should not be understood as indicating or implying their relative importance or implicitly specifying the number of the technical features indicated. Therefore, a feature specified as "first" or "second" may explicitly or implicitly include at least one of such features.

[0041] It should be further understood that the term "comprising" used in the description of the present invention refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof. It should be understood that when an element is "connected" or "coupled" to another element, it can be directly connected or coupled to the other element, or there can be intermediate elements. In addition, "connected" or "coupled" as used herein can include wireless connections or wireless couplings. The term "and / or" as used herein includes all or any units and all combinations of one or more of the items listed in association.

[0042] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by those skilled in the art in the art to which the present invention belongs. It should also be understood that terms such as those defined in common dictionaries should be understood to have meanings consistent with their meanings in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless specifically defined as herein.

[0043] In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the fact that ordinary technicians in this field can implement them. When the combination of technical solutions is mutually contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.

[0044] The inventors have discovered that Hall sensors can be used in mobile lighting devices to adjust gear positions, for example, to control lock mode and brightness mode. Traditional Hall switches rely on Hall elements to detect changes in magnetic fields, and their output signals are directly affected by the strength of the external magnetic field. Therefore, when strong external magnetic interference (such as artificially placed permanent magnets) is present, the Hall element cannot distinguish between valid and interfering signals, resulting in false triggering or trigger failure. For example, this can cause the mobile lighting device to be mistakenly triggered and illuminated, or the brightness mode cannot be adjusted.

[0045] In response to the above technical problems, the present invention provides a Hall sensor anti-magnetic method, processing module and mobile lighting device, which obtains the corresponding number information of Hall sensors activated by the external magnetic field, and judges whether there is external magnetic field interference based on the number information of the activated Hall sensors, and shields the signal output of all Hall sensors when it is determined that there is magnetic field interference, thereby avoiding the Hall sensor from outputting erroneous signals when subjected to strong external magnetic interference, thereby improving the anti-interference ability of the Hall sensor. The present invention is particularly suitable for mobile lighting devices.

[0046] Please also see Figures 1 to 5The present invention provides a preferred embodiment of a Hall sensor anti-magnetic method.

[0047] In some embodiments, as Figure 1 As shown, the present invention provides a Hall sensor antimagnetic method, which includes the steps of:

[0048] S100, detecting whether there is a Hall sensor activated by an external magnetic field in a preset Hall sensor setting area;

[0049] Specifically, the Hall sensor setting area refers to the location area where the Hall sensors that can output corresponding control signals need to be set. Taking mobile lighting equipment as an example, the various Hall sensors are arranged at intervals in the Hall sensor setting area pre-set for the mobile lighting equipment, wherein the Hall sensor arranged in the first position can be used to implement the locking function, and the Hall sensors arranged in sequence thereafter are used to implement the gear adjustment function. For example, the second Hall sensor is used to implement 1st gear adjustment, the third Hall sensor is used to implement 2nd gear adjustment, and the fourth Hall sensor is used to implement 3rd gear adjustment. The number of Hall sensors can be set according to the actual application or the function to be implemented. When the Hall sensors in the Hall sensor setting area are in the power-on state, they will be activated if they are affected by an external magnetic field.

[0050] S200: If yes, obtain information on the number of Hall sensors activated by the external magnetic field in the Hall sensor setting area;

[0051] Specifically, the quantity information refers to the number of Hall sensors activated by the external magnetic field in the Hall sensor installation area. Taking a mobile lighting device as an example, the mobile lighting device includes a processing module that is connected to each Hall sensor and is capable of detecting the activation status of the Hall sensors. If a Hall sensor is detected to be activated by the external magnetic field, the activation status is counted in the quantity information. For example, if one Hall sensor is detected to be activated by the external magnetic field, the quantity information is 1; if three Hall sensors are detected to be activated by the external magnetic field, the quantity information is 3.

[0052] S300, comparing the quantity information with a set threshold;

[0053] Specifically, taking a mobile lighting device as an example, a processing module of the mobile lighting device is pre-set with a set threshold. Each time the processing module detects quantity information, it compares it with the pre-set threshold and obtains a comparison result. In one implementation, the set threshold can be set to a single value, i.e., 1.

[0054] S400: If the quantity information exceeds the set threshold, confirm that the Hall sensors in the Hall sensor setting area are subject to strong magnetic interference, and shield the signal outputs of the Hall sensors in the Hall sensor setting area.

[0055] Specifically, when the number of Hall sensors activated by the external magnetic field in the Hall sensor setting area exceeds a set threshold, it can be determined that strong magnetic interference is currently present, and the signal output of the Hall sensors in the Hall sensor setting area needs to be shielded. When the number of Hall sensors activated by the external magnetic field in the Hall sensor setting area does not exceed the set threshold, it is determined that strong magnetic interference is currently absent.

[0056] In the above technical solution, the present invention obtains the number information corresponding to the Hall sensors activated by the external magnetic field, and determines whether there is external magnetic field interference based on the number information of the activated Hall sensors, and shields the signal output of all Hall sensors when it is determined that there is magnetic field interference, thereby avoiding the Hall sensors from outputting erroneous signals when subjected to strong external magnetic interference, thereby improving the anti-interference ability of the Hall sensors. The present invention is particularly suitable for mobile lighting equipment.

[0057] In some embodiments, after the step of obtaining information on the number of Hall sensors activated by the external magnetic field in the Hall sensor arrangement area, the step further includes:

[0058] S210, confirming whether the number of Hall sensors activated by the external magnetic field is single;

[0059] S220: If the number of Hall sensors activated by the external magnetic field is greater than one, confirm that the Hall sensors in the Hall sensor setting area are subject to strong magnetic interference, and shield the outputs of the Hall sensors in the Hall sensor setting area.

[0060] In this embodiment, the threshold is set to single. After obtaining information on the number of Hall sensors activated by the external magnetic field, it is determined whether the number indicates that a single Hall sensor has been activated. If the number is greater than single, i.e., two or more, it can be determined that the Hall sensors in the set Hall sensor area are subject to strong magnetic interference. In this case, it is necessary to shield the signal output of each Hall sensor to prevent the Hall sensors from outputting erroneous signals.

[0061] In some embodiments, as Figures 2 to 5As shown, a first Hall sensor group 100 and a second Hall sensor group 200 are arranged in the Hall sensor setting area; the first Hall sensor group 100 includes a plurality of first Hall sensors 110 arranged at intervals, and the second Hall sensor group 200 includes a plurality of second Hall sensors 210, and the second Hall sensors 210 are arranged at intervals between two adjacent first Hall sensors 110.

[0062] The detecting whether there is a Hall sensor activated by the external magnetic field in a preset Hall sensor setting area includes:

[0063] S110, detecting whether there is a second Hall sensor activated by an external magnetic field in the Hall sensor setting area;

[0064] S120: If there is a second Hall sensor activated by the external magnetic field in the Hall sensor setting area, controlling to stop signal output of each of the first Hall sensors in the Hall sensor setting area;

[0065] S130: If the second Hall sensor activated by the external magnetic field does not exist in the Hall sensor setting area, detect whether the first Hall sensor activated by the external magnetic field exists in the Hall sensor setting area.

[0066] In this embodiment, the Hall sensor setting area is provided with a first Hall sensor group 100 and a second Hall sensor group 200. The Hall sensors in the first Hall sensor group 100 can send corresponding control signals to implement corresponding functions, such as gear adjustment, etc. Figure 5 As shown, Figure 5 The Hall sensor Q4 is used to realize the locking function, the Hall sensor Q1 is used to realize the gear 1 function, the Hall sensor Q2 is used to realize the gear 2 function, and the Hall sensor Q3 is used to realize the gear 3 function. The second Hall sensor group 200 is used to perform auxiliary activation judgment, such as Figure 5 The Hall sensor Q20 and the Hall sensor Q21 are second Hall sensors.

[0067] Among them, such as Figure 2As shown, the Hall sensor area also includes a button 400, located above the first Hall sensor group 100. A magnet 500 is housed within the button 400, activating the first Hall sensor 110. The first Hall sensors 110 are spaced apart, enabling different first Hall sensors 110 to be activated by sliding the button 400. The spacing between two adjacent first Hall sensors 110 is less than a preset distance. This preset distance ensures that activating one first Hall sensor 110 prevents the other adjacent Hall sensor from being mistakenly activated by the magnet 500 signal. The spacing between the second Hall sensor group 200 and the first Hall sensor group 100 must be at least the preset distance to prevent the magnet 500 in the button 400 above the first Hall sensor 110 from interfering with the signals of the second Hall sensor group 200.

[0068] The second Hall sensor group 200 is used as a Hall sensor for auxiliary activation judgment. The second Hall sensor 210 is also connected to the processing module 300, and the second Hall sensor 210 is distributed between two adjacent first Hall sensors 110. Figure 3 and Figure 4 When the second Hall sensor 210 in the second Hall sensor group 200 is detected to be activated by an external magnetic field, the signal output of the first Hall sensor 110 is directly stopped. If the second Hall sensor 210 is not detected to be activated, the number of first Hall sensors 110 activated by the magnetic field signal is further detected.

[0069] In some embodiments, the step of comparing the quantity information with a set threshold further includes the steps of:

[0070] S310: If the quantity information does not exceed the set threshold, mark the Hall sensor activated by the external magnetic field as an activated Hall sensor;

[0071] S320: When other Hall sensors other than the Hall sensor marked as activated obtain an external magnetic field, mark the Hall sensor that obtains the external magnetic field as a Hall sensor to be activated;

[0072] S330: When it is detected that the Hall sensor to be activated is an adjacent Hall sensor of the activated Hall sensor, shield the signal output of the activated Hall sensor and activate the Hall sensor to be activated.

[0073] In this embodiment, when only one Hall sensor (i.e., the first Hall sensor outputting a control signal) is detected to be activated by an external magnetic field, the first Hall sensor to be activated is designated as the activated Hall sensor. When other Hall sensors, i.e., the other first Hall sensors in the first Hall sensor group, detect an external magnetic field, the first Hall sensor that detects the external magnetic field is marked as the Hall sensor to be activated. The position of the Hall sensor to be activated is then detected to determine whether it is the first Hall sensor adjacent to the activated Hall sensor. If the Hall sensor to be activated is the first Hall sensor adjacent to the activated Hall sensor, the signal output of the activated Hall sensor is blocked and the Hall sensor to be activated is activated, ensuring that the first Hall sensors are activated in the order in which they are arranged. It should be noted that to ensure that the Hall sensors are activated in the order of 1-2-3-4 (adjacent), if this order is not followed and the next Hall sensor is activated before the next one in the middle (e.g., 1, 3), it indicates that the Hall sensor in the middle may have been affected by the external magnetic field and failed. In addition, if the Hall sensor is used to implement the gear adjustment function, if the first Hall sensor of the first Hall sensor group is not activated in sequence, a gear skipping situation may occur.

[0074] If it is detected that the Hall sensor to be activated is not adjacent to the Hall sensor to be activated, strong external magnetic interference is confirmed, and the signal output of the Hall sensor to be activated is blocked. It should be noted that Hall sensors include those with linear output functions and those that output single signals. The Hall sensor in this embodiment is a Hall sensor with a linear output function that can continuously output a signal when activated. Therefore, after blocking the signal output of the Hall sensor to be activated, the signal output of the activated Hall sensor can be maintained.

[0075] In some embodiments, the step of detecting whether there is a Hall sensor activated by an external magnetic field in a preset Hall sensor setting area further includes the following steps:

[0076] S101. Confirm whether the Hall sensor setting area is in an unlocked state; the unlocked state means that the Hall sensor in the Hall sensor setting area for outputting a control signal is in an unlocked state.

[0077] In this embodiment, the Hall sensors in the Hall sensor area have a locking mechanism. Generally, the first Hall sensor in the first Hall sensor group is used to send or unlock signals to collectively lock or unlock the remaining first Hall sensors in the first Hall sensor group. When it is necessary to detect whether a first Hall sensor in the Hall sensor area is activated by an external magnetic field, the first Hall sensor in the Hall sensor area is first unlocked.

[0078] In some embodiments, after the step of confirming that the Hall sensors in the Hall sensor setting area are subject to strong magnetic interference and shielding the signal outputs of the Hall sensors in the Hall sensor setting area, the step further includes:

[0079] S500: After the set time, re-detect whether there is a Hall sensor activated by the external magnetic field in the preset Hall sensor setting area.

[0080] In this embodiment, when the external magnetic field may have disappeared and it is necessary to unshield the signal outputs of each Hall sensor in the Hall sensor setting area, it is necessary to wait for a certain period of time before re-detecting the Hall sensors in the Hall sensor setting area that are activated by the external magnetic field to prevent the original external magnetic field from still interfering with the Hall sensors.

[0081] In some embodiments, the present invention further provides a processing module comprising a memory and a processor. The memory stores a computer program that, when executed by the processor, implements the steps of the Hall effect sensor antimagnetic method described above. The details are as described in an embodiment of a Hall effect sensor antimagnetic method and are not further elaborated here.

[0082] In some embodiments, the present invention further provides a mobile lighting device, which includes the processing module described above. Specific details are as described in the embodiment of a Hall sensor anti-magnetic method, which will not be repeated here.

[0083] In summary, the Hall sensor antimagnetic method, processing module, and mobile lighting device provided by the present invention have the following beneficial effects:

[0084] By obtaining the corresponding number information of Hall sensors activated by the external magnetic field, and judging whether there is external magnetic field interference based on the number information of the activated Hall sensors, and shielding the signal output of all Hall sensors when it is determined that there is magnetic field interference, the Hall sensors are prevented from outputting erroneous signals when subjected to strong external magnetic interference, thereby improving the anti-interference ability of the Hall sensors. The present invention is particularly suitable for use in mobile lighting equipment.

[0085] It should be understood that the application of the present invention is not limited to the above examples. For those skilled in the art, improvements or changes can be made based on the above description. All these improvements and changes should fall within the scope of protection of the claims attached to the present invention.

Claims

1. A Hall sensor antimagnetic method, characterized in that: Including steps: Detecting whether there is a Hall sensor activated by an external magnetic field in a preset Hall sensor setting area; If so, obtaining information on the number of Hall sensors activated by the external magnetic field in the Hall sensor arrangement area; comparing the quantity information with a set threshold; If the quantity information exceeds the set threshold, it is determined that the Hall sensors in the Hall sensor setting area are subject to strong magnetic interference, and signal outputs of the Hall sensors in the Hall sensor setting area are shielded.

2. The Hall sensor antimagnetic method according to claim 1, characterized in that: In the step of comparing the quantity information with the set threshold, the set threshold is a single one.

3. The Hall sensor antimagnetic method according to claim 2, characterized in that: After the step of obtaining information on the number of Hall sensors activated by the external magnetic field in the Hall sensor arrangement area, the step further includes: Confirm whether the number of Hall sensors activated by the external magnetic field is single; If the number of Hall sensors activated by the external magnetic field is greater than one, it is determined that the Hall sensors in the Hall sensor setting area are subject to strong magnetic interference, and outputs of the Hall sensors in the Hall sensor setting area are shielded.

4. The Hall sensor antimagnetic method according to claim 1, characterized in that: The Hall sensor setting area is provided with a first Hall sensor group and a second Hall sensor group; the first Hall sensor group includes a plurality of first Hall sensors arranged at intervals, and the second Hall sensor group includes a plurality of second Hall sensors, and the second Hall sensors are arranged at intervals between two adjacent first Hall sensors; The detecting whether there is a Hall sensor activated by the external magnetic field in a preset Hall sensor setting area includes: detecting whether there is a second Hall sensor activated by an external magnetic field in a Hall sensor arrangement area; If there is a second Hall sensor activated by an external magnetic field in the Hall sensor arrangement area, controlling to stop signal output of each of the first Hall sensors in the Hall sensor arrangement area; If the second Hall sensor activated by the external magnetic field does not exist in the Hall sensor arrangement area, it is detected whether the first Hall sensor activated by the external magnetic field exists in the Hall sensor arrangement area.

5. The Hall sensor antimagnetic method according to claim 1, characterized in that: After the step of comparing the quantity information with a set threshold, the following steps are also included: If the quantity information does not exceed the set threshold, marking the Hall sensor activated by the external magnetic field as an activated Hall sensor; When other Hall sensors other than the Hall sensor marked as activated obtain an external magnetic field, the Hall sensors that obtain the external magnetic field are marked as Hall sensors to be activated; When it is detected that the Hall sensor to be activated is an adjacent Hall sensor of the activated Hall sensor, the signal output of the activated Hall sensor is shielded, and the Hall sensor to be activated is activated.

6. The Hall sensor antimagnetic method according to claim 5, characterized in that: When it is detected that the Hall sensor to be activated is not a Hall sensor adjacent to the activated Hall sensor, it is determined that there is strong external magnetic interference, and the signal output of the Hall sensor to be activated is shielded.

7. The Hall sensor antimagnetic method according to claim 1, characterized in that: The step of detecting whether there is a Hall sensor activated by the external magnetic field in the preset Hall sensor setting area also includes the following steps: Confirm whether the Hall sensor setting area is in an unlocked state; the unlocked state means that the Hall sensor for outputting a control signal in the Hall sensor setting area is in an unlocked state.

8. The Hall sensor antimagnetic method according to claim 1, characterized in that: After the step of confirming that the Hall sensors in the Hall sensor setting area are subject to strong magnetic interference and shielding the signal outputs of the Hall sensors in the Hall sensor setting area, the method further includes the following steps: After the set time, it is re-detected whether there is a Hall sensor activated by the external magnetic field in the preset Hall sensor setting area.

9. A processing module, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, it is used to implement the steps in the Hall sensor antimagnetism method according to any one of claims 1 to 8.

10. A mobile lighting device, characterized in that: Comprising a processing module as claimed in claim 9.