CN115656697A - Strong magnetic interference detection method for door magnet and door magnet device - Google Patents

Strong magnetic interference detection method for door magnet and door magnet device Download PDF

Info

Publication number
CN115656697A
CN115656697A CN202211440536.6A CN202211440536A CN115656697A CN 115656697 A CN115656697 A CN 115656697A CN 202211440536 A CN202211440536 A CN 202211440536A CN 115656697 A CN115656697 A CN 115656697A
Authority
CN
China
Prior art keywords
hall element
values
current
value
strong magnetic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202211440536.6A
Other languages
Chinese (zh)
Other versions
CN115656697B (en
Inventor
谢斌
付鹏辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Heiman Technology Co ltd
Original Assignee
Shenzhen Heiman Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Heiman Technology Co ltd filed Critical Shenzhen Heiman Technology Co ltd
Priority to CN202211440536.6A priority Critical patent/CN115656697B/en
Publication of CN115656697A publication Critical patent/CN115656697A/en
Application granted granted Critical
Publication of CN115656697B publication Critical patent/CN115656697B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Switches That Are Operated By Magnetic Or Electric Fields (AREA)

Abstract

The invention relates to a strong magnetic interference detection method for a door magnet and a door magnet device, wherein the door magnet is provided with a first Hall element and a second Hall element which are arranged at intervals, and the method comprises the following steps: acquiring current voltage values and current AD values of the first Hall element and the second Hall element; determining the current comparison value of the first Hall element and the second Hall element according to the current AD values of the first Hall element and the second Hall element; and comparing the current comparison values of the first Hall element and the second Hall element with respective set values, comparing the current voltage values of the first Hall element and the second Hall element with the power supply voltage, and judging whether strong magnetic interference exists according to the comparison result. The method can realize the detection function of strong magnetic interference, thereby prompting a user that the door magnet is maliciously interfered and improving the safety.

Description

Strong magnetic interference detection method for door magnet and door magnet device
Technical Field
The invention relates to the technical field of door magnet security, in particular to a strong magnetic interference detection method for a door magnet and a door magnet device.
Background
Door magnetism is as security protection field product, the accuracy that stable detection opened the door and closed the door is crucial, the product of using on the market at present, it is accurate to detect when normal use, nevertheless lack strong magnetism detection function, when someone maliciously interferes through strong magnetism, tongue tube or hall element can be by the actuation, open door or drawer this moment again, tongue tube or hall element can't be released, then think to be in the closed condition always, can't realize opening the door and report to the police, the security is low.
Disclosure of Invention
The invention provides a strong magnetic interference detection method for a door magnet and a door magnet device, aiming at the problem of low safety caused by the fact that the existing door magnet product lacks a strong magnetic detection function.
In a first aspect, a strong magnetic interference detection method for a door magnet, where a first hall element and a second hall element are arranged at a distance from each other, is provided, and the method includes the following steps:
acquiring current voltage values and current AD values of the first Hall element and the second Hall element;
determining the current comparison value of the first Hall element and the second Hall element according to the current AD values of the first Hall element and the second Hall element;
comparing the current comparison values of the first Hall element and the second Hall element with respective set values, and comparing the current voltage values of the first Hall element and the second Hall element with a power supply voltage; and judging whether strong magnetic interference exists according to the comparison result.
Optionally, the determining whether there is strong magnetic interference according to the comparison result includes:
if the current comparison values of the first Hall element and the second Hall element are respectively larger than the set percentage of the respective set value, or the current voltage values of the first Hall element and the second Hall element are both larger than or equal to the power supply voltage, strong magnetic interference exists; otherwise, there is no strong magnetic interference.
Optionally, the set value is a recorded value obtained by recording AD values output by the first hall element and the second hall element respectively after the door is in a closed state for a preset time period.
Optionally, the set value is a first compensation value, and the first compensation value is obtained according to the following manner:
when the door is in a closed state and the door magnet temperature is lower than a first set temperature, acquiring third AD values output by the first Hall element and the second Hall element for multiple times according to a preset period;
and determining the first compensation value according to a plurality of third AD values output by the first Hall element and the second Hall element respectively.
Optionally, the current comparison value is a current AD value of the first hall element and the second hall element.
Optionally, when the temperature of the door sensor is higher than a second set temperature, a second compensation value is determined according to the temperature of the door sensor, and a current comparison value is obtained by calculating according to the current AD values of the first hall element and the second compensation value.
In a second aspect, a door magnet device is provided, comprising
The current value acquisition module is used for acquiring current voltage values and current AD values of the first Hall element and the second Hall element and determining a current comparison value according to the current AD values of the first Hall element and the second Hall element;
the strong magnetic interference judging module is used for comparing the current comparison values of the first Hall element and the second Hall element with respective set values and comparing the current voltage values of the first Hall element and the second Hall element with a power supply voltage; if the current comparison values of the first Hall element and the second Hall element are respectively larger than the set percentage of the respective set value, or the current voltage values of the first Hall element and the second Hall element are both larger than or equal to the power supply voltage, strong magnetic interference exists; otherwise, there is no strong magnetic interference.
In a third aspect, a computer device is provided, comprising: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating over the bus when the computer device is running, the machine-readable instructions when executed by the processor performing the method of the first aspect.
In a fourth aspect, a computer-readable storage medium is provided, having stored thereon a computer program which, when executed by a processor, performs the method of the first aspect.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
due to the arrangement of the two Hall elements, when the magnet is close to one side in normal use, the sensitivity of the Hall element on the other side is low, namely the current AD value of the Hall element on one side is high, and the current AD value of the Hall element on the other side is low; when strong magnetic interference exists, the current AD values of the two Hall elements are higher, the current comparison value is confirmed according to the current AD values of the two Hall elements, the current comparison values of the two Hall elements are compared with the set value, and whether the strong magnetic interference exists or not can be judged; if two hall element all detect strong magnetism, when the present comparative value of first hall element and second hall element was greater than the percentage of setting for of respective setting value respectively promptly, think that there is strong magnetic interference, work as when the present magnitude of voltage of first hall element and second hall element all is greater than or equal to supply voltage, also think that there is strong magnetic interference, realize strong magnetic interference's detection function to can in time send the warning notice for the user, the suggestion user door magnetism is disturbed maliciously, improves the security.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 illustrates a method for detecting strong magnetic interference of a door magnet according to an embodiment of the present disclosure.
Fig. 2 illustrates a door sensor assembly according to an embodiment of the disclosure.
FIG. 3 illustrates a computer device provided by the disclosed embodiments of the invention.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
Example 1
As shown in fig. 1, a strong magnetic interference detection method for a door magnet according to an embodiment of the present disclosure includes the following steps:
acquiring current voltage values and current AD values of the first Hall element and the second Hall element;
determining the current comparison value of the first Hall element and the second Hall element according to the current AD values of the first Hall element and the second Hall element;
when the temperature of the door magnet is less than or equal to a second set temperature, the current comparison value is the current AD value of the first Hall element and the second Hall element;
when the door magnetism temperature is higher than a second set temperature, determining a second compensation value according to the door magnetism temperature, and calculating to obtain a current comparison value according to the current AD values of the first Hall element and the second compensation value;
comparing the current comparison values of the first Hall element and the second Hall element with respective set values, and comparing the current voltage values of the first Hall element and the second Hall element with a supply voltage;
judging whether strong magnetic interference exists according to the comparison result, specifically: if the current comparison values of the first Hall element and the second Hall element are respectively larger than the set percentage of the respective set value, or the current voltage values of the first Hall element and the second Hall element are both larger than or equal to the power supply voltage, strong magnetic interference exists; otherwise, there is no strong magnetic interference.
The set value can be a recorded value obtained by recording AD values respectively output by the first Hall element and the second Hall element after the door is in a closed state for a preset time.
As a further improvement of this embodiment, the set value is a first compensation value, and the first compensation value is obtained as follows:
when the door is in a closed state and the door magnet temperature is lower than a first set temperature, acquiring third AD values output by the first Hall element and the second Hall element for multiple times according to a preset period;
and determining the first compensation value according to a plurality of third AD values output by the first Hall element and the second Hall element respectively.
Example 2
A strong magnetic interference detection method for a door magnet is characterized in that a first Hall element and a second Hall element which are arranged at intervals are arranged on the door magnet, and a thermistor is also arranged on the door magnet and used for detecting the temperature of the door magnet; the method comprises the following steps:
installing a door magnet, closing the door to enable the door to be in a closed state, reading voltage values output by the first Hall element and the second Hall element respectively through an ADC (analog to digital converter) by using a microprocessor after the door is in the closed state for a preset time, and recording AD values output by the first Hall element and the second Hall element respectively; in this embodiment, the preset time period is 3 seconds, and after the door is in the closed state for the preset time period, the AD values respectively output by the first hall element and the second hall element are recorded as the recorded values.
Acquiring current voltage values and current AD values of the first Hall element and the second Hall element;
determining the current comparison value of the first Hall element and the second Hall element according to the current AD values of the first Hall element and the second Hall element;
the current comparison value is the current AD value of the first Hall element and the second Hall element;
as a further improvement of this embodiment, when the temperature of the gate magnet is higher than the second set temperature, a second compensation value is determined according to the temperature of the gate magnet, and a current comparison value is calculated according to the current AD values of the first hall element and the second compensation value;
the second compensation value is obtained as follows:
predicting a temperature and magnetism change curve through experiments;
obtaining the relation between temperature and compensation coefficient according to the temperature and magnetism change curve, and making a compensation list according to the relation between temperature and compensation coefficient, wherein the compensation list is { temperature 1, compensation coefficient 1}, { temperature 2, compensation coefficient 2}, \8230 \ 8230; { temperature n, compensation coefficient n };
when the thermistor in the door magnet detects that the temperature of the door magnet rises and is higher than a second set temperature, searching a first compensation coefficient corresponding to the temperature of the door magnet according to a compensation list;
multiplying the current AD values of the first Hall element and the second Hall element by a first compensation coefficient to obtain respective second compensation values;
adding the current AD values of the first Hall element and the second Hall element with a second compensation value to obtain the current comparison value of the first Hall element and the second Hall element;
in this embodiment, the second set temperature is 35 ℃.
Comparing the current comparison values of the first Hall element and the second Hall element with respective set values, and comparing the current voltage values of the first Hall element and the second Hall element with a power supply voltage;
the set value is a record value obtained by recording AD values respectively output by the first Hall element and the second Hall element after the door is in a closed state for a preset time; judging whether strong magnetic interference exists according to the comparison result, specifically comprising the following steps:
if the current comparison values of the first Hall element and the second Hall element are respectively larger than 40% of the respective set values, or the current voltage values of the first Hall element and the second Hall element are both larger than or equal to the power supply voltage, strong magnetic interference exists, and an alarm is sent to inform a user; otherwise, there is no strong magnetic interference.
Judging the opening and closing state of the door according to the comparison result, which specifically comprises the following steps:
when the current comparison values of the first Hall element and the second Hall element are respectively smaller than 30% of the respective set value, and the current comparison values of the first Hall element and the second Hall element are respectively larger than 30% of the respective set value, the door is in a closed state;
and when the current comparison values of the first Hall element and the second Hall element are respectively less than 50% of the respective set values, the door is considered to be in an open state.
As a further improvement of this embodiment, an automatic adaptive adjustment algorithm is further provided, when the obtained record value exceeds 3 days, the aging error of the component is corrected, a first compensation value is determined by using a bucket sorting method, and the set value is obtained according to the record value and the first compensation value. The method specifically comprises the following steps:
when the door is in a closed state and the door magnet temperature is lower than 40 ℃, acquiring third AD values output by the first Hall element and the second Hall element for multiple times; the interval of each acquisition is N minutes; the third AD value comprises a third AD value I and a third AD value II, the first Hall element outputs the third AD value I, and the second Hall element outputs the third AD value II;
putting the third AD value I into the first array, and putting the third AD value II into the second array;
uniformly dividing the first set interval into a plurality of first subintervals, wherein each first subinterval corresponds to a first normal value, and each first normal value corresponds to a first data bucket; uniformly dividing the second set interval into a plurality of second subintervals, wherein each second subinterval corresponds to a second normal state value, and each second normal state value corresponds to a second data bucket; the first setting interval and the second setting interval are related to ADC resolution and reference voltage, and a plurality of third AD values I in the first array are respectively classified into corresponding first data buckets; respectively putting a plurality of third AD values II in the second array into corresponding second data buckets;
taking a first normal value corresponding to a first data bucket containing the maximum third AD value I as a first compensation value I of the first Hall element; taking a second normal value corresponding to a second data bucket containing the maximum third AD value II as a first compensation value II of the second Hall element; the first compensation value comprises a first compensation value I and a first compensation value II, so that respective first compensation values of the first Hall element and the second Hall element are obtained, and the respective first compensation values of the first Hall element and the second Hall element are used as set values of the first Hall element and the second Hall element after magnetic compensation.
And when judging whether strong magnetic interference exists next time, comparing the current comparison values of the first Hall element and the second Hall element with the set values after respective magnetic compensation.
If the ADC resolution is 12 bits, the total interval range is 4096 AD values (calculated by the power of 12 of 2); divided into 128 data buckets, each bucket having an interval of 32 AD values (4096 divided by 128); when the third AD value is in a certain data bucket for a long time, for example, the 100 th bucket, the AD value of the door in the closed state at ordinary times is about 100 × 32 = 3200, and if the previous recorded value is 2976 and the value is about 3200 for a long time, the first compensation value is 3200, and the set value is updated to 3200.
This embodiment provides a strong magnetic interference detection method for door magnetism, because two hall element are far away apart, when normal use, when magnet is close to a certain side, the sensitivity of the hall element of opposite side is low, when two hall element all detected strong magnetism, promptly in this embodiment, when the present comparative value of two hall element is greater than 40% of respective setting value respectively, think that there is strong magnetic interference, realize strong magnetic interference's detection function to can in time send the warning notice to the user, the suggestion user door magnetism is maliciously disturbed, improve the security. An adaptive adjustment algorithm is also set, and the set value is magnetically compensated aiming at the aging error of the components, so that the accuracy of strong magnetic detection is ensured; and aiming at the reduction of the sensitivity of the Hall element for detecting magnetism at high temperature, corresponding magnetism compensation is carried out on the current comparison value, and the accuracy of strong magnetism detection is further ensured.
Example 3
As shown in fig. 2, a door magnet device is provided, which includes a current value obtaining module, a strong magnetic interference judging module and a set value obtaining module;
the current value acquisition module is used for acquiring current voltage values and current AD values of the first Hall element and the second Hall element and determining a current comparison value according to the current AD values of the first Hall element and the second Hall element; when the temperature of the door magnet is less than or equal to a second set temperature, the current comparison value is the current AD value of the first Hall element and the second Hall element; when the temperature of the door magnet is higher than a second set temperature, determining a second compensation value according to the temperature of the door magnet, and calculating to obtain a current comparison value according to the current AD values of the first Hall element and the second compensation value;
the strong magnetic interference judging module is used for respectively comparing the current comparison values of the first Hall element and the second Hall element with respective set values and comparing the current voltage values of the first Hall element and the second Hall element with a power supply voltage; if the current comparison values of the first Hall element and the second Hall element are respectively larger than the set percentage of the respective set value, or the current voltage values of the first Hall element and the second Hall element are both larger than or equal to the power supply voltage, strong magnetic interference exists; otherwise, there is no strong magnetic interference.
And the set value acquisition module is used for acquiring a set value, and the set value is a recorded value obtained by recording AD values respectively output by the first Hall element and the second Hall element after the door is in a closed state for a preset time.
As a further improvement of this embodiment, the set value obtaining module is configured to obtain a set value, where the set value is a first compensation value, and when the door is in a closed state and the door magnetism temperature is lower than a first set temperature, obtain, for multiple times according to a preset period, third AD values output by the first hall element and the second hall element, respectively; and determining the first compensation value according to a plurality of third AD values output by the first Hall element and the second Hall element respectively.
The current comparison value acquisition module is used for acquiring the current comparison value of the first Hall element and the second Hall element, and when the door magnet temperature is less than or equal to a second set temperature, the current comparison value is the current AD value of the first Hall element and the second Hall element; and when the door magnetism temperature is higher than a second set temperature, determining a second compensation value according to the door magnetism temperature, and calculating to obtain a current comparison value according to the current AD values of the first Hall element and the second compensation value.
Example 4
Based on the same technical concept, an embodiment of the present application further provides a computer device, which includes a memory 1 and a processor 2, as shown in fig. 3, where the memory 1 stores a computer program, and the processor 2 implements any one of the methods described above when executing the computer program.
The memory 1 includes at least one type of readable storage medium, which includes a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, and the like. The memory 1 may in some embodiments be an internal storage unit, e.g. a hard disk, of a strong magnetic disturbance detection system for a door magnet. The memory 1 may also be an external storage device for a strong magnetic interference detection system for a door magnet in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Further, the memory 1 may also include both an internal storage unit for strong magnetic interference detection of the door magnet and an external storage device. The memory 1 can be used not only to store application software installed for strong magnetic interference detection of the door magnet and various types of data, such as a code of a strong magnetic interference detection program for the door magnet, but also to temporarily store data that has been output or is to be output.
The processor 2 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor or other data Processing chip in some embodiments, and is used for running program codes stored in the memory 1 or Processing data, such as executing a strong magnetic interference detection program for a door magnet.
The disclosed embodiments also provide a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method described in the method embodiments above. The storage medium may be a volatile or non-volatile computer-readable storage medium.
The computer program product for the method for detecting strong magnetic interference of a door magnet according to the embodiments of the present disclosure includes a computer-readable storage medium storing a program code, where instructions included in the program code may be used to execute the steps of the method described in the above method embodiments, which may be referred to in the above method embodiments specifically, and are not described herein again.
The embodiments disclosed herein also provide a computer program, which when executed by a processor implements any one of the methods of the preceding embodiments. The computer program product may be embodied in hardware, software or a combination thereof. In an alternative embodiment, the computer program product is embodied in a computer storage medium, and in another alternative embodiment, the computer program product is embodied in a Software product, such as a Software Development Kit (SDK), or the like.
It is understood that the same or similar parts in the above embodiments may be mutually referred to, and the same or similar contents in other embodiments may be referred to for the contents which are not described in detail in some embodiments.
It should be noted that the terms "first," "second," and the like in the description of the present invention are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Further, in the description of the present invention, the meaning of "a plurality" means at least two unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps in the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following technologies, which are well known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (9)

1. A strong magnetic interference detection method for a door magnet is characterized in that a first Hall element and a second Hall element which are arranged at intervals are arranged on the door magnet, and the method comprises the following steps:
acquiring current voltage values and current AD values of the first Hall element and the second Hall element;
determining the current comparison value of the first Hall element and the second Hall element according to the current AD values of the first Hall element and the second Hall element;
and comparing the current comparison values of the first Hall element and the second Hall element with respective set values, comparing the current voltage values of the first Hall element and the second Hall element with a power supply voltage, and judging whether strong magnetic interference exists according to the comparison result.
2. The method as claimed in claim 1, wherein said determining whether there is strong magnetic interference according to the comparison result comprises:
if the current comparison values of the first Hall element and the second Hall element are respectively larger than the set percentages of the respective set values, or the current voltage values of the first Hall element and the second Hall element are both larger than or equal to the power supply voltage, strong magnetic interference exists; otherwise, there is no strong magnetic interference.
3. The method as claimed in claim 2, wherein the set value is a recorded value obtained by recording AD values respectively outputted from the first hall element and the second hall element after the door is in a closed state for a predetermined time.
4. The method as claimed in claim 2, wherein the set value is a first compensation value, and the first compensation value is obtained by:
when the door is in a closed state and the door magnet temperature is lower than a first set temperature, acquiring third AD values output by the first Hall element and the second Hall element for multiple times according to a preset period;
and determining the first compensation value according to a plurality of third AD values output by the first Hall element and the second Hall element respectively.
5. The method as claimed in claim 3, wherein the current comparison value is a current AD value of the first Hall element and the second Hall element.
6. The method as claimed in claim 3, wherein when the temperature of the door magnet is higher than a second set temperature, a second compensation value is determined according to the temperature of the door magnet, and a current comparison value is calculated according to the current AD values of the first Hall element and the second compensation value.
7. A door magnet device is characterized by comprising
The current value acquisition module is used for acquiring current voltage values and current AD values of the first Hall element and the second Hall element and determining a current comparison value according to the current AD values of the first Hall element and the second Hall element;
the strong magnetic interference judging module is used for comparing the current comparison values of the first Hall element and the second Hall element with respective set values and comparing the current voltage values of the first Hall element and the second Hall element with a power supply voltage; if the current comparison values of the first Hall element and the second Hall element are respectively larger than the set percentages of the respective set values, or the current voltage values of the first Hall element and the second Hall element are both larger than or equal to the power supply voltage, strong magnetic interference exists; otherwise, there is no strong magnetic interference.
8. A computer device, comprising: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating over the bus when a computer device is running, the machine-readable instructions when executed by the processor performing the method of any of claims 1 to 6.
9. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, performs the method of any one of claims 1 to 6.
CN202211440536.6A 2022-11-17 2022-11-17 Strong magnetic interference detection method for door magnet and door magnet device Active CN115656697B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211440536.6A CN115656697B (en) 2022-11-17 2022-11-17 Strong magnetic interference detection method for door magnet and door magnet device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211440536.6A CN115656697B (en) 2022-11-17 2022-11-17 Strong magnetic interference detection method for door magnet and door magnet device

Publications (2)

Publication Number Publication Date
CN115656697A true CN115656697A (en) 2023-01-31
CN115656697B CN115656697B (en) 2023-03-17

Family

ID=85017649

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211440536.6A Active CN115656697B (en) 2022-11-17 2022-11-17 Strong magnetic interference detection method for door magnet and door magnet device

Country Status (1)

Country Link
CN (1) CN115656697B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201460542U (en) * 2009-04-22 2010-05-12 成都理想科技开发有限公司 Rolling screen door magnet with function of preventing external magnetic field interference
CN202886462U (en) * 2012-11-29 2013-04-17 浙江正泰仪器仪表有限责任公司 Electricity stealing detection device capable of preventing external strong magnetic interference
CN205158558U (en) * 2015-11-24 2016-04-13 武汉百络优物联科技有限公司 Door and window safety inspection device
CN106887061A (en) * 2017-02-11 2017-06-23 赵阳 A kind of intelligent access control system and control method based on Internet of Things
CN214042395U (en) * 2020-12-02 2021-08-24 中国核电工程有限公司郑州分公司 Anti-cheating door magnet system
CN113738193A (en) * 2021-09-23 2021-12-03 天津天优科技股份有限公司 Intelligent door lock quick-opening handle power-assisted lock opening and closing structure and power-assisted lock opening and closing method
CN114994580A (en) * 2022-06-14 2022-09-02 南通华卓医疗科技有限公司 Door magnetic anomaly detection system and detection method thereof

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201460542U (en) * 2009-04-22 2010-05-12 成都理想科技开发有限公司 Rolling screen door magnet with function of preventing external magnetic field interference
CN202886462U (en) * 2012-11-29 2013-04-17 浙江正泰仪器仪表有限责任公司 Electricity stealing detection device capable of preventing external strong magnetic interference
CN205158558U (en) * 2015-11-24 2016-04-13 武汉百络优物联科技有限公司 Door and window safety inspection device
CN106887061A (en) * 2017-02-11 2017-06-23 赵阳 A kind of intelligent access control system and control method based on Internet of Things
CN214042395U (en) * 2020-12-02 2021-08-24 中国核电工程有限公司郑州分公司 Anti-cheating door magnet system
CN113738193A (en) * 2021-09-23 2021-12-03 天津天优科技股份有限公司 Intelligent door lock quick-opening handle power-assisted lock opening and closing structure and power-assisted lock opening and closing method
CN114994580A (en) * 2022-06-14 2022-09-02 南通华卓医疗科技有限公司 Door magnetic anomaly detection system and detection method thereof

Also Published As

Publication number Publication date
CN115656697B (en) 2023-03-17

Similar Documents

Publication Publication Date Title
KR100952049B1 (en) System and method for estimating a state vector associated with a battery
US10845433B2 (en) Magnetic field sensor arrangement and method for processing a magnetic field sensor output signal
EP3201634B1 (en) Methods and apparatus for error detection in a magnetic field sensor
CA2699833C (en) Method for determining, section after section, a parameter-dependent correction value approximation course and sensor arrangement
US7886587B2 (en) Method and device for detecting the exchange of sheathed-element glow plugs in a combustion engine
KR20190027609A (en) Apparatus and method for estimating state of charge for battery and method thereof
US20170131364A1 (en) Battery Degradation Degree Estimation Device and Battery Degradation Degree Estimation Method
US20130293221A1 (en) Output switching systems and methods for magnetic field sensors
CN105891653B (en) Electrical load controller with error detection
KR102569897B1 (en) Method and apparatus for diagnosing vehicle battery
KR101960090B1 (en) Intelligent battery sensor and battery nominal capacity estimation method using iteration thereof
CN111289911A (en) SOC estimation method and device based on battery and electronic equipment
JP5286708B2 (en) Secondary battery abnormality detection device and abnormality detection method
US6188224B1 (en) Process for the diagnosis of an ignition device of an internal combustion engine
CN111666273B (en) Meter reading system data validity analysis method and device
CN115656697B (en) Strong magnetic interference detection method for door magnet and door magnet device
US8768645B2 (en) Estimating temperature of memory elements
US8111063B2 (en) Magnetic rotation sensing
US10422824B1 (en) System and method for efficient adaptive joint estimation of battery cell state-of-charge, resistance, and available energy
EP2345904B1 (en) Battery management system
CN106461738B (en) Circuit for measuring power conflicts using high side current sensing
CN110018343B (en) Method for estimating signal properties
JP5130937B2 (en) Current abnormality detection circuit
JP2001004690A (en) Load disconnection detecting device
US7728614B2 (en) Operating characteristic measurement device and methods thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A Strong Magnetic Interference Detection Method and Gate Magnetic Device for Gate Magnetism

Effective date of registration: 20231030

Granted publication date: 20230317

Pledgee: Societe Generale Bank Limited by Share Ltd. Shenzhen branch

Pledgor: SHENZHEN HEIMAN TECHNOLOGY CO.,LTD.

Registration number: Y2023980062979