CN105388441A - Magnetic sensor detection method and magnetic sensor detection system - Google Patents

Magnetic sensor detection method and magnetic sensor detection system Download PDF

Info

Publication number
CN105388441A
CN105388441A CN201510799087.8A CN201510799087A CN105388441A CN 105388441 A CN105388441 A CN 105388441A CN 201510799087 A CN201510799087 A CN 201510799087A CN 105388441 A CN105388441 A CN 105388441A
Authority
CN
China
Prior art keywords
passage
background data
magnetic sensor
whole
less
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
CN201510799087.8A
Other languages
Chinese (zh)
Other versions
CN105388441B (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 Yihua Computer Co Ltd
Shenzhen Yihua Time Technology Co Ltd
Shenzhen Yihua Financial Intelligent Research Institute
Original Assignee
Shenzhen Yihua Computer Co Ltd
Shenzhen Yihua Time Technology Co Ltd
Shenzhen Yihua Financial Intelligent Research Institute
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 Yihua Computer Co Ltd, Shenzhen Yihua Time Technology Co Ltd, Shenzhen Yihua Financial Intelligent Research Institute filed Critical Shenzhen Yihua Computer Co Ltd
Priority to CN201510799087.8A priority Critical patent/CN105388441B/en
Publication of CN105388441A publication Critical patent/CN105388441A/en
Application granted granted Critical
Publication of CN105388441B publication Critical patent/CN105388441B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R35/00Testing or calibrating of apparatus covered by the other groups of this subclass

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Measuring Magnetic Variables (AREA)

Abstract

The invention discloses a magnetic sensor detection method and a magnetic sensor detection system. The method comprises the following steps: acquiring the background data of all the channels of a magnetic sensor; determining that the maximum value of the background data of every channel is smaller than a preset first threshold and the minimum value is greater than a preset second threshold, or determining that the number of random noise points in the background data of every channel is smaller than a preset number; determining that the difference parameter of the background data of the channels is smaller than a preset parameter; determining that the average difference coefficient of the background data of the channels is smaller than a preset coefficient; and detecting that the magnetic sensor is qualified. According to the invention, the background data of all the channels of the magnetic sensor is acquired, and whether the magnetic sensor is qualified or not can be detected according to the maximum values, minimum values, random noise points, difference parameter and average difference coefficient of the background data of all the channels.

Description

A kind of detection method of magnetic sensor and system
Technical field
The present invention relates to sensor technical field, particularly relate to a kind of detection method and system of magnetic sensor.
Background technology
Magnetic sensor detects as to magnetic signal, analyzes important sensor, and whether himself state is good, plays vital effect to the reliability of image data and validity.If magnetic sensor is defective, the data deviation to some extent of collection, this has a great impact the process tool of late time data, also drastically influence the accuracy rate that instrument detects, therefore, is necessary to detect magnetic sensor.
Summary of the invention
The invention provides a kind of detection method and system of magnetic sensor, by obtaining the background data of whole passages of magnetic sensor, according to the maximal value of the background data of whole passage, minimum value, random point noise, difference parameter and average coefficient of variation, can detect that whether magnetic sensor is qualified.
For realizing above-mentioned design, the present invention by the following technical solutions:
On the one hand, provide a kind of detection method of magnetic sensor, the method, comprising:
Obtain the background data of whole passages of magnetic sensor;
Determine that the maximal value of the background data of whole passage is less than preset first threshold and minimum value is greater than preset Second Threshold, or determine that the random noise point number of background data of whole passage is less than preset quantity;
Determine that the difference parameter of the background data of passage is less than preset parameter;
Determine that the average coefficient of variation of the background data of passage is less than pre-set factory;
Detect that magnetic sensor is qualified.
Preferably, describedly determine that the difference parameter of the background data of passage is less than preset parameter, comprising:
The maxima and minima of the background data of each passage is obtained from the background data of described whole passage;
Calculate the difference of the maxima and minima of the background data of each passage respectively, obtain the base value fluctuation range Δ MAG of each passage;
From the base value fluctuation range Δ MAG of whole passage, obtain maximum base value fluctuation range Δ MAG maxwith minimum base value fluctuation range Δ MAG min;
Calculate the difference parameter of the background data of passage, difference parameter is: 1-Δ MAG min/ Δ MAG max, determine that described difference parameter is less than the first preset parameter.
Preferably, describedly determine that the difference parameter of the background data of passage is less than preset parameter, comprising:
According to the background data of described whole passage, calculate the variance var of the background data of each passage respectively;
From the variance var of the background data of whole passage, obtain maximum variance var maxwith minimum variance var min;
Calculate the difference parameter of the background data of passage, difference parameter is: 1-var min/ var max, determine that described difference parameter is less than the second preset parameter.
Preferably, describedly determine that the average coefficient of variation of the background data of passage is less than pre-set factory, comprising:
According to the background data of described whole passage, calculate the mean value K of the background data of each passage respectively;
From the mean value K of whole passage, obtain maximum mean value K maxwith minimum mean value K min;
Calculate the average coefficient of variation of passage, average coefficient of variation is: 1-K min/ K max, determine that described average coefficient of variation is less than pre-set factory.
Preferably, the background data of whole passages of described acquisition magnetic sensor, is specially: the background data obtaining whole passages of magnetic sensor in preset time, or the background data of whole passages of acquisition predetermined times magnetic sensor.
Preferably, described in detect that magnetic sensor is qualified after, also comprise output detections result.
On the other hand, provide a kind of detection system of magnetic sensor, this system, comprising:
Data acquisition module, for obtaining the background data of whole passages of magnetic sensor;
First determination module, the maximal value for the background data determining whole passage is less than preset first threshold and minimum value is greater than preset Second Threshold, or determines that the random noise point number of background data of whole passage is less than preset quantity;
Second determination module, the difference parameter for the background data determining passage is less than preset parameter;
3rd determination module, for determining that the average coefficient of variation of the background data of passage is less than pre-set factory;
Detection module, for detecting that magnetic sensor is qualified.
Preferably, described second determination module, specifically for:
The maxima and minima of the background data of each passage is obtained from the background data of described whole passage;
Calculate the difference of the maxima and minima of the background data of each passage respectively, obtain the base value fluctuation range Δ MAG of each passage;
From the base value fluctuation range Δ MAG of whole passage, obtain maximum base value fluctuation range Δ MAG maxwith minimum base value fluctuation range Δ MAG min;
Calculate the difference parameter of the background data of passage, difference parameter is: 1-Δ MAG min/ Δ MAG max, determine that described difference parameter is less than the first preset parameter; Or
According to the background data of described whole passage, calculate the variance var of the background data of each passage respectively;
From the variance var of whole passage, obtain maximum variance var maxwith minimum variance var min;
Calculate the difference parameter of the background data of passage, difference parameter is: 1-var min/ var max, determine that described difference parameter is less than the second preset parameter.
Preferably, described 3rd determination module, specifically for:
According to the background data of described whole passage, calculate the mean value K of the background data of each passage respectively;
From the mean value K of the background data of whole passage, obtain maximum mean value K maxwith minimum mean value K min;
Calculate the average coefficient of variation of passage, average coefficient of variation is: 1-K min/ K max, determine that described average coefficient of variation is less than pre-set factory.
Preferably, also comprise: output module, for output detections result;
Described data acquisition module, specifically for, obtain the background data of whole passages of magnetic sensor in preset time; Or the background data of whole passages of acquisition predetermined times magnetic sensor.
Compared with prior art, beneficial effect of the present invention is: the background data obtaining whole passages of magnetic sensor; Determine that the maximal value of the background data of whole passage is less than preset first threshold and minimum value is greater than preset Second Threshold, or determine that the random noise point number of background data of whole passage is less than preset quantity; Determine that the difference parameter of the background data of passage is less than preset parameter; Determine that the average coefficient of variation of the background data of passage is less than pre-set factory; Detect that magnetic sensor is qualified.The present invention, by obtaining the background data of whole passages of magnetic sensor, according to the maximal value of the background data of whole passage, minimum value, random point noise, difference parameter and average coefficient of variation, can detect that whether magnetic sensor is qualified.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing the embodiment of the present invention is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to the content of the embodiment of the present invention and these accompanying drawings.
Fig. 1 is the method flow diagram of the first embodiment of the detection method of a kind of magnetic sensor provided in the specific embodiment of the invention.
Fig. 2 is the method flow diagram of the second embodiment of the detection method of a kind of magnetic sensor provided in the specific embodiment of the invention.
Fig. 3 is the block diagram of the first embodiment of the detection system of a kind of magnetic sensor provided in the specific embodiment of the invention.
Fig. 4 is the block diagram of the second embodiment of the detection system of a kind of magnetic sensor provided in the specific embodiment of the invention.
Embodiment
The technical matters solved for making the present invention, the technical scheme of employing and the technique effect that reaches are clearly, be described in further detail below in conjunction with the technical scheme of accompanying drawing to the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those skilled in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Please refer to Fig. 1, it is the method flow diagram of the first embodiment of the detection method of a kind of magnetic sensor provided in the specific embodiment of the invention.As shown in the figure, the method, comprising:
Step S101: the background data obtaining whole passages of magnetic sensor.
Preferably, data when described background data refers to nonmagnetic, being the reference of data when being magnetic, is reference value.Only have the stable of reference value, magnetic signal just has confidence level.Therefore background data will control within a scope, and the number of the random noise point overruned also will control within the specific limits.Because the appearance of random noise point has randomness, can continuous acquisition repeatedly background data, with the fluctuation range of the number and whole background datas of passage of observing random noise point.
Step S102: determine that the maximal value of the background data of whole passage is less than preset first threshold and minimum value is greater than preset Second Threshold, or determine that the random noise point number of background data of whole passage is less than preset quantity.
First maximal value and the minimum value of the background data of whole passage is obtained, to determine the fluctuation range of whole passage background data, determine that the maximal value of the background data of whole passage is less than preset first threshold and minimum value is greater than preset Second Threshold, namely determine that the background data of whole passage is all greater than preset Second Threshold, and be all less than preset first threshold.Distance between preset first threshold and preset Second Threshold is more near better, and the distance between preset first threshold and preset Second Threshold is nearer, and illustrate that the fluctuation range of the background data of whole passage is narrower, namely reference value is more stable.For different magnetic sensors, preset first preset and preset Second Threshold can be different, can arrange according to actual conditions.
Preferably, also can be that the random noise point number of the background data determining whole passage is less than preset quantity, if random noise point number is too many, illustrate that the data that magnetic sensor gathers are unstable, also just illustrate that magnetic sensor is defective, therefore will determine that the random noise point number of the background data of whole passage is less than preset quantity.For different magnetic sensors, preset quantity is different, can detect data to arrange according to reality.
Step S103: determine that the difference parameter of the background data of passage is less than preset parameter.
Preferably, describedly determine that the difference parameter of the background data of passage is less than preset parameter, comprising:
The maxima and minima of the background data of each passage is obtained from the background technology of described whole passage;
Calculate the difference of the maxima and minima of the background data of each passage respectively, obtain the base value fluctuation range Δ MAG of each passage;
From the base value fluctuation range Δ MAG of whole passage, obtain maximum base value fluctuation range Δ MAG maxwith minimum base value fluctuation range Δ MAG min;
Calculate the difference parameter of the background data of passage, difference parameter is: 1-Δ MAG min/ Δ MAG max, determine that described difference parameter is less than the first preset parameter.
If determine, the difference parameter of the background data of passage is less than preset parameter, can determine that each passage meets fluctuation consistance.Be more than adopt extreme difference mode to measure each passage to fluctuate conforming method, but adopt extreme difference mode to be easily subject to the impact of noise spot, can be changed to and adopt variance or standard deviation mode to measure each passage fluctuation consistance.Preferably, adopt variance mode to measure a passage fluctuation consistance, then describedly determine that the difference parameter of the background data of passage is less than preset parameter, comprising:
According to the background data of described whole passage, calculate the variance var of the background data of each passage respectively;
From the variance var of the background data of whole passage, obtain maximum variance var maxwith minimum variance var min;
Calculate the difference parameter of the background data of passage, difference parameter is: 1-var min/ var max, determine that described difference parameter is less than the second preset parameter.
The mode of standard deviation preferably also can be adopted to measure each passage fluctuation consistance, and concrete steps are similar with variance mode to extreme difference mode, and person skilled also can be derived according to said method, repeats no more here.
Step S104: determine that the average coefficient of variation of the background data of passage is less than pre-set factory.
Preferably, describedly determine that the average coefficient of variation of the background data of passage is less than pre-set factory, comprising:
According to the background data of described whole passage, calculate the mean value K of the background data of each passage respectively;
From the mean value K of whole passage, obtain maximum mean value K maxwith minimum mean value K min;
Calculate the average coefficient of variation of passage, average coefficient of variation is: 1-K min/ K max, determine that described average coefficient of variation is less than pre-set factory.
If determine, the average coefficient of variation of the background data of passage is less than pre-set factory, can determine that each passage meets average consistance.Select the passage reference channel the most that a mean value K is maximum, Average value compare is carried out to the background data of each passage, thus calculate each passage average coefficient of variation, when this coefficient is handed over and has been reacted dynamic acquisition exactly, the sensitivity relation of each passage, namely whether the reference value of each passage on same line.In magnetic sensor, the sensitivity of each passage should ensure basically identical.If average coefficient of variation is less than pre-set factory, can verify that the sensitivity of each passage keeps basically identical, described pre-set factory is arranged based on experience value.
Preferably, step S102 will before step S103 and step S104, but the execution of step S103 and step S104 there is no inevitable precedence relationship, can first perform step S103 and perform step S104 again, also can first perform step S104 and perform step S103 again.
Step S105: detect that magnetic sensor is qualified.
Determine that the maximal value of the background data of whole passage is less than preset first threshold and minimum value is greater than preset Second Threshold, or determine that the random noise point number of background data of whole passage is less than preset quantity; Each passage meets fluctuation consistance; Each passage meets average consistance; If three conditions are all satisfied, then detect that magnetic sensor is qualified; Any condition does not meet, then detect that magnetic sensor is defective.
In sum, the present embodiment, by obtaining the background data of whole passages of magnetic sensor, according to the maximal value of the background data of whole passage, minimum value, random point noise, difference parameter and average coefficient of variation, can detect that whether magnetic sensor is qualified.
Please refer to Fig. 2, it is the method flow diagram of the second embodiment of the detection method of a kind of magnetic sensor provided in the specific embodiment of the invention.As shown in the figure, the method, comprising:
Step S201: the background data obtaining whole passages of magnetic sensor.
Preferably, the background data of whole passages of described acquisition magnetic sensor, is specially: the background data obtaining whole passages of magnetic sensor in preset time, or the background data of whole passages of acquisition predetermined times magnetic sensor.Obtain the background data of whole passages of magnetic sensor in preset time, the background data of whole passages of magnetic sensor can be obtained repeatedly, radix is more, the confidence level of the result detected is higher, described preset time can be 1s, 2s, 5s or 10s, and concrete preset time can be arranged according to detection needs; The background data of whole passages of same acquisition predetermined times magnetic sensor is also the background data of the whole passages in order to obtain repeatedly magnetic sensor, to make the confidence level of the result detected higher.Preset time and predetermined times can detect needs according to reality and arrange, with reach detection confidence high while the also high effect of detection efficiency.
Step S202: determine that the maximal value of the background data of whole passage is less than preset first threshold and minimum value is greater than preset Second Threshold, or determine that the random noise point number of background data of whole passage is less than preset quantity.
Step S203: determine that the difference parameter of the background data of passage is less than preset parameter.
Preferably, describedly determine that the difference parameter of the background data of passage is less than preset parameter, comprising:
The maxima and minima of the background data of each passage is obtained from the background technology of described whole passage;
Calculate the difference of the maxima and minima of the background data of each passage respectively, obtain the base value fluctuation range Δ MAG of each passage;
From the base value fluctuation range Δ MAG of whole passage, obtain maximum base value fluctuation range Δ MAG maxwith minimum base value fluctuation range Δ MAG min;
Calculate the difference parameter of the background data of passage, difference parameter is: 1-Δ MAG min/ Δ MAG max, determine that described difference parameter is less than the first preset parameter.
If determine, the difference parameter of the background data of passage is less than preset parameter, can determine that each passage meets fluctuation consistance.Be more than adopt extreme difference mode to measure each passage to fluctuate conforming method, but adopt extreme difference mode to be easily subject to the impact of noise spot, can be changed to and adopt variance or standard deviation mode to measure each passage fluctuation consistance.Preferably, adopt variance mode to measure a passage fluctuation consistance, then describedly determine that the difference parameter of the background data of passage is less than preset parameter, comprising:
According to the background data of described whole passage, calculate the variance var of the background data of each passage respectively;
From the variance var of the background data of whole passage, obtain maximum variance var maxwith minimum variance var min;
Calculate the difference parameter of the background data of passage, difference parameter is: 1-var min/ var max, determine that described difference parameter is less than the second preset parameter.
Step S204: determine that the average coefficient of variation of the background data of passage is less than pre-set factory.
Preferably, describedly determine that the average coefficient of variation of the background data of passage is less than pre-set factory, comprising:
According to the background data of described whole passage, calculate the mean value K of the background data of each passage respectively;
From the mean value K of whole passage, obtain maximum mean value K maxwith minimum mean value K min;
Calculate the average coefficient of variation of passage, average coefficient of variation is: 1-K min/ K max, determine that described average coefficient of variation is less than pre-set factory.
If determine, the average coefficient of variation of the background data of passage is less than pre-set factory, can determine that each passage meets average consistance.Select the passage reference channel the most that a mean value K is maximum, Average value compare is carried out to the background data of each passage, thus calculate each passage average coefficient of variation, when this coefficient is handed over and has been reacted dynamic acquisition exactly, the sensitivity relation of each passage, namely whether the reference value of each passage on same line.In magnetic sensor, the sensitivity of each passage should ensure basically identical.If average coefficient of variation is less than pre-set factory, can verify that the sensitivity of each passage keeps basically identical, described pre-set factory is arranged based on experience value.
Preferably, step S202 will before step S203 and step S204, but the execution of step S203 and step S204 there is no inevitable precedence relationship, can first perform step S203 and perform step S204 again, also can first perform step S204 and perform step S203 again.
Step S205: detect that magnetic sensor is qualified.
Determine that the maximal value of the background data of whole passage is less than preset first threshold and minimum value is greater than preset Second Threshold, or determine that the random noise point number of background data of whole passage is less than preset quantity; Each passage meets fluctuation consistance; Each passage meets average consistance; If three conditions are all satisfied, then detect that magnetic sensor is qualified; Any condition does not meet, then detect magnetic sensor defective.
Step S206: output detections result.
If detect, magnetic sensor is qualified, then export " qualified " printed words; If detect, magnetic sensor is defective, then export " defective " printed words.
The detection method of a kind of magnetic sensor that the present embodiment provides, by obtaining the background data of whole passages of magnetic sensor in preset time, or the background data of whole passages of acquisition predetermined times magnetic sensor, when ensureing that testing result is with a high credibility, also ensure detection efficiency, last output detections result, user further can operate according to testing result, if it is qualified such as to detect, then normally use; If detect defective, then stop using, or magnetic sensor is calibrated etc.
Be below the embodiment of the detection system of a kind of magnetic sensor provided in the specific embodiment of the invention, the embodiment of system realizes based on the embodiment of above-mentioned method, and description not most in systems in which, please refer to the embodiment of preceding method.
Please refer to Fig. 3, the block diagram of the first embodiment of the detection system of a kind of magnetic sensor provided in the specific embodiment of the invention.As shown in the figure, this system, comprising:
Data acquisition module 31, for obtaining the background data of whole passages of magnetic sensor.
Preferably, data when described background data refers to nonmagnetic, being the reference of data when being magnetic, is reference value.Only have the stable of reference value, magnetic signal just has confidence level.Therefore background data will control within a scope, and the number of the random noise point overruned also will control within the specific limits.Because the appearance of random noise point has randomness, can continuous acquisition repeatedly background data, with the fluctuation range of the number and whole background datas of passage of observing random noise point.
First determination module 32, the maximal value for the background data determining whole passage is less than preset first threshold and minimum value is greater than preset Second Threshold, or determines that the random noise point number of background data of whole passage is less than preset quantity.
Second determination module 33, the difference parameter for the background data determining passage is less than preset parameter.
Preferably, described second determination module 33, specifically for:
The maxima and minima of the background data of each passage is obtained from the background data of described whole passage;
Calculate the difference of the maxima and minima of the background data of each passage respectively, obtain the base value fluctuation range Δ MAG of each passage;
From the base value fluctuation range Δ MAG of whole passage, obtain maximum base value fluctuation range Δ MAG maxwith minimum base value fluctuation range Δ MAG min;
Calculate the difference parameter of the background data of passage, difference parameter is: 1-Δ MAG min/ Δ MAG max, determine that described difference parameter is less than the first preset parameter; Or
According to the background data of described whole passage, calculate the variance var of the background data of each passage respectively;
From the variance var of whole passage, obtain maximum variance var maxwith minimum variance var min;
Calculate the difference parameter of the background data of passage, difference parameter is: 1-var min/ var max, determine that described difference parameter is less than the second preset parameter.
3rd determination module 34, for determining that the average coefficient of variation of the background data of passage is less than pre-set factory.
Preferably, described 3rd determination module 34, specifically for:
According to the background data of described whole passage, calculate the mean value K of the background data of each passage respectively;
From the mean value K of the background data of whole passage, obtain maximum mean value K maxwith minimum mean value K min;
Calculate the average coefficient of variation of passage, average coefficient of variation is: 1-K min/ K max, determine that described average coefficient of variation is less than pre-set factory.
Detection module 35, for detecting that magnetic sensor is qualified.
If the first determination module 32 determines that the maximal value of the background data of whole passage is less than preset first threshold and minimum value is greater than preset Second Threshold, or determine that the random noise point number of background data of whole passage is less than preset quantity; Second determination module 33 determines that each passage meets fluctuation consistance; And the 3rd determination module 34 determines that each passage meets average consistance, three conditions are all satisfied, then detect that magnetic sensor is qualified; If any condition does not meet, then detect that magnetic sensor is defective.
In sum, the present embodiment is by the background data of the whole passages by obtaining magnetic sensor, according to the maximal value of the background data of whole passage, minimum value, random point noise, difference parameter and average coefficient of variation, can detect that whether magnetic sensor is qualified.
Please refer to Fig. 4, the block diagram of the second embodiment of the detection system of a kind of magnetic sensor provided in the specific embodiment of the invention.As shown in the figure, this system, comprising:
Data acquisition module 41, for obtaining the background data of whole passages of magnetic sensor.
Described data acquisition module 41, specifically for, obtain the background data of whole passages of magnetic sensor in preset time; Or the background data of whole passages of acquisition predetermined times magnetic sensor.Obtain the background data of whole passages of magnetic sensor in preset time, the background data of whole passages of magnetic sensor can be obtained repeatedly, radix is more, the confidence level of the result detected is higher, described preset time can be 1s, 2s, 5s or 10s, and concrete preset time can be arranged according to detection needs; The background data of whole passages of same acquisition predetermined times magnetic sensor is also the background data of the whole passages in order to obtain repeatedly magnetic sensor, to make the confidence level of the result detected higher.Preset time and predetermined times can detect needs according to reality and arrange, with reach detection confidence high while the also high effect of detection efficiency.
First determination module 42, the maximal value for the background data determining whole passage is less than preset first threshold and minimum value is greater than preset Second Threshold, or determines that the random noise point number of background data of whole passage is less than preset quantity.
Second determination module 43, the difference parameter for the background data determining passage is less than preset parameter.
Preferably, described second determination module 43, specifically for:
The maxima and minima of the background data of each passage is obtained from the background data of described whole passage;
Calculate the difference of the maxima and minima of the background data of each passage respectively, obtain the base value fluctuation range Δ MAG of each passage;
From the base value fluctuation range Δ MAG of whole passage, obtain maximum base value fluctuation range Δ MAG maxwith minimum base value fluctuation range Δ MAG min;
Calculate the difference parameter of the background data of passage, difference parameter is: 1-Δ MAG min/ Δ MAG max, determine that described difference parameter is less than the first preset parameter; Or
According to the background data of described whole passage, calculate the variance var of the background data of each passage respectively;
From the variance var of whole passage, obtain maximum variance var maxwith minimum variance var min;
Calculate the difference parameter of the background data of passage, difference parameter is: 1-var min/ var max, determine that described difference parameter is less than the second preset parameter.
3rd determination module 44, for determining that the average coefficient of variation of the background data of passage is less than pre-set factory.
Preferably, described 3rd determination module 44, specifically for:
According to the background data of described whole passage, calculate the mean value K of the background data of each passage respectively;
From the mean value K of the background data of whole passage, obtain maximum mean value K maxwith minimum mean value K min;
Calculate the average coefficient of variation of passage, average coefficient of variation is: 1-K min/ K max, determine that described average coefficient of variation is less than pre-set factory.
Detection module 45, for detecting that magnetic sensor is qualified.
If the first determination module 42 determines that the maximal value of the background data of whole passage is less than preset first threshold and minimum value is greater than preset Second Threshold, or determine that the random noise point number of background data of whole passage is less than preset quantity; Second determination module 43 determines that each passage meets fluctuation consistance; And the 3rd determination module 44 determines that each passage meets average consistance, three conditions are all satisfied, then detect that magnetic sensor is qualified; If any condition does not meet, then detect that magnetic sensor is defective.
Output module 46, output detections result.
If detection module 45 detects that magnetic sensor is qualified, then output module 46 exports " qualified " printed words; If detection module 45 detects that magnetic sensor is defective, then output module 46 exports " defective " printed words.
In sum, the detection system of a kind of magnetic sensor that the present embodiment provides is by obtaining the background data of whole passages of magnetic sensor in preset time, or the background data of whole passages of acquisition predetermined times magnetic sensor, when ensureing that testing result is with a high credibility, also ensure detection efficiency, last output detections result, user further can operate according to testing result, if it is qualified such as to detect, then normally use; If detect defective, then stop using, or magnetic sensor is calibrated etc.
Below know-why of the present invention is described in conjunction with specific embodiments.These describe just in order to explain principle of the present invention, and can not be interpreted as limiting the scope of the invention by any way.Based on explanation herein, those skilled in the art does not need to pay performing creative labour can associate other embodiment of the present invention, and these modes all will fall within protection scope of the present invention.

Claims (10)

1. a detection method for magnetic sensor, is characterized in that, comprising:
Obtain the background data of whole passages of magnetic sensor;
Determine that the maximal value of the background data of whole passage is less than preset first threshold and minimum value is greater than preset Second Threshold, or determine that the random noise point number of background data of whole passage is less than preset quantity;
Determine that the difference parameter of the background data of passage is less than preset parameter;
Determine that the average coefficient of variation of the background data of passage is less than pre-set factory;
Detect that magnetic sensor is qualified.
2. detection method according to claim 1, is characterized in that, describedly determines that the difference parameter of the background data of passage is less than preset parameter, comprising:
The maxima and minima of the background data of each passage is obtained from the background data of described whole passage;
Calculate the difference of the maxima and minima of the background data of each passage respectively, obtain the base value fluctuation range Δ MAG of each passage;
From the base value fluctuation range Δ MAG of whole passage, obtain maximum base value fluctuation range Δ MAG maxwith minimum base value fluctuation range Δ MAG min;
Calculate the difference parameter of the background data of passage, difference parameter is: 1-Δ MAG min/ Δ MAG max, determine that described otherness parameter is less than the first preset parameter.
3. detection method according to claim 1, is characterized in that, describedly determines that the difference parameter of the background data of passage is less than preset parameter, comprising:
According to the background data of described whole passage, calculate the variance var of the background data of each passage respectively;
From the variance var of the background data of whole passage, obtain maximum variance var maxwith minimum variance var min;
Calculate the difference parameter of the background data of passage, difference parameter is: 1-var min/ var max, determine that described difference parameter is less than the second preset parameter.
4. detection method according to claim 1, is characterized in that, describedly determines that the average coefficient of variation of the background data of passage is less than pre-set factory, comprising:
According to the background data of described whole passage, calculate the mean value K of the background data of each passage respectively;
From the mean value K of whole passage, obtain maximum mean value K maxwith minimum mean value K min;
Calculate the average coefficient of variation of passage, average coefficient of variation is: 1-K min/ K max, determine that described average coefficient of variation is less than pre-set factory.
5. detection method according to claim 1, it is characterized in that, the background data of whole passages of described acquisition magnetic sensor, is specially: the background data obtaining whole passages of magnetic sensor in preset time, or the background data of whole passages of acquisition predetermined times magnetic sensor.
6. detection method according to claim 1, is characterized in that, described in detect that magnetic sensor is qualified after, also comprise output detections result.
7. a detection system for magnetic sensor, is characterized in that, comprising:
Data acquisition module, for obtaining the background data of whole passages of magnetic sensor;
First determination module, the maximal value for the background data determining whole passage is less than preset first threshold and minimum value is greater than preset Second Threshold, or determines that the random noise point number of background data of whole passage is less than preset quantity;
Second determination module, the difference parameter for the background data determining passage is less than preset parameter;
3rd determination module, for determining that the average coefficient of variation of the background data of passage is less than pre-set factory;
Detection module, for detecting that magnetic sensor is qualified.
8. detection system according to claim 7, is characterized in that, described second determination module, specifically for:
The maxima and minima of the background data of each passage is obtained from the background data of described whole passage;
Calculate the difference of the maxima and minima of the background data of each passage respectively, obtain the base value fluctuation range Δ MAG of each passage;
From the base value fluctuation range Δ MAG of whole passage, obtain maximum base value fluctuation range Δ MAG maxwith minimum base value fluctuation range Δ MAG min;
Calculate the difference parameter of the background data of passage, difference parameter is: 1-Δ MAG min/ Δ MAG max, determine that described difference parameter is less than the first preset parameter; Or
According to the background data of described whole passage, calculate the variance var of the background data of each passage respectively;
From the variance var of whole passage, obtain maximum variance var maxwith minimum variance var min;
Calculate the difference parameter of the background data of passage, difference parameter is: 1-var min/ var max, determine that described difference parameter is less than the second preset parameter.
9. detection system according to claim 7, is characterized in that, described 3rd determination module, specifically for:
According to the background data of described whole passage, calculate the mean value K of the background data of each passage respectively;
From the mean value K of the background data of whole passage, obtain maximum mean value K maxwith minimum mean value K min;
Calculate the average coefficient of variation of passage, average coefficient of variation is: 1-K min/ K max, determine that described average coefficient of variation is less than pre-set factory.
10. detection system according to claim 7, is characterized in that, also comprises: output module, for output detections result;
Described data acquisition module, specifically for, obtain the background data of whole passages of magnetic sensor in preset time; Or the background data of whole passages of acquisition predetermined times magnetic sensor.
CN201510799087.8A 2015-11-18 2015-11-18 The detection method and system of a kind of magnetic sensor Expired - Fee Related CN105388441B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510799087.8A CN105388441B (en) 2015-11-18 2015-11-18 The detection method and system of a kind of magnetic sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510799087.8A CN105388441B (en) 2015-11-18 2015-11-18 The detection method and system of a kind of magnetic sensor

Publications (2)

Publication Number Publication Date
CN105388441A true CN105388441A (en) 2016-03-09
CN105388441B CN105388441B (en) 2018-04-06

Family

ID=55420932

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510799087.8A Expired - Fee Related CN105388441B (en) 2015-11-18 2015-11-18 The detection method and system of a kind of magnetic sensor

Country Status (1)

Country Link
CN (1) CN105388441B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106652157A (en) * 2016-12-22 2017-05-10 深圳怡化电脑股份有限公司 Method and device for detection of floating roller magnetism
CN108318840A (en) * 2018-01-09 2018-07-24 深圳怡化电脑股份有限公司 A kind of Magnetic sensing methods and device of magnetism dancer
CN110687491A (en) * 2018-07-04 2020-01-14 漫迪医疗仪器(上海)有限公司 Detection performance evaluation device/method, medium, and processing device for magnetocardiogram system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100117638A1 (en) * 2007-03-23 2010-05-13 Asahi Kasei Emd Corporation Magnetic sensor and sensitivity measuring method thereof
CN201886144U (en) * 2010-12-10 2011-06-29 何海参 Testing circuit of magnetic mutual inductor
CN103926494A (en) * 2014-04-30 2014-07-16 国家电网公司 Interference source determining method and device
CN103941309A (en) * 2013-01-17 2014-07-23 三星电子株式会社 Geomagnetic sensor calibration apparatus and method thereof
CN103969700A (en) * 2013-01-31 2014-08-06 雅马哈株式会社 Method of estimating offset of magnetic sensor
CN104698415A (en) * 2013-12-05 2015-06-10 感知技术无锡有限公司 Magnetic sensitive vehicle detector quality detection method, device and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100117638A1 (en) * 2007-03-23 2010-05-13 Asahi Kasei Emd Corporation Magnetic sensor and sensitivity measuring method thereof
CN201886144U (en) * 2010-12-10 2011-06-29 何海参 Testing circuit of magnetic mutual inductor
CN103941309A (en) * 2013-01-17 2014-07-23 三星电子株式会社 Geomagnetic sensor calibration apparatus and method thereof
CN103969700A (en) * 2013-01-31 2014-08-06 雅马哈株式会社 Method of estimating offset of magnetic sensor
CN104698415A (en) * 2013-12-05 2015-06-10 感知技术无锡有限公司 Magnetic sensitive vehicle detector quality detection method, device and system
CN103926494A (en) * 2014-04-30 2014-07-16 国家电网公司 Interference source determining method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106652157A (en) * 2016-12-22 2017-05-10 深圳怡化电脑股份有限公司 Method and device for detection of floating roller magnetism
CN108318840A (en) * 2018-01-09 2018-07-24 深圳怡化电脑股份有限公司 A kind of Magnetic sensing methods and device of magnetism dancer
CN110687491A (en) * 2018-07-04 2020-01-14 漫迪医疗仪器(上海)有限公司 Detection performance evaluation device/method, medium, and processing device for magnetocardiogram system
CN110687491B (en) * 2018-07-04 2021-11-16 漫迪医疗仪器(上海)有限公司 Detection performance evaluation device/method, medium, and processing device for magnetocardiogram system

Also Published As

Publication number Publication date
CN105388441B (en) 2018-04-06

Similar Documents

Publication Publication Date Title
CN102610996B (en) Method and device for rapidly calibrating luminous power
CN108287633A (en) A kind of calibration method and device of pressure sensor
CN105388441A (en) Magnetic sensor detection method and magnetic sensor detection system
CN101960332A (en) Ratiometric AC wire tracer
CN105353212A (en) Method and device for detecting signal frequency
CN105049602B (en) A kind of method and device for calibrating mobile terminal
CN101769900B (en) Method for positioning sound source in corrosion detection at bottom of acoustic emission storage tank
WO2022100234A1 (en) Method for fluorescence intensity basis calculation
CN105407348A (en) Image sensor detection method and system
CN102043084A (en) Method for detecting resistive current of lightning arrester
CN103457671A (en) Method and device for determining sensitivity of light receiver
RU2014124716A (en) SYSTEMS AND METHODOLOGY FOR DETECTING THE CONDUCTING DESIGN
CN104635190A (en) Measuring chip anti-interference detection and error correction method and device
CN103105428A (en) Method for judging limit exceeding of heavy metals in water
CN104061922A (en) Mobile terminal gyroscope range setting method, system and mobile terminal
US9746961B2 (en) Background signal processing system and background signal processing method
CN109768792B (en) Anti-interference detection device and method for capacitive touch key
CN105865973A (en) Fluid density measuring apparatus
JP2020085515A (en) Vibration characteristic detection device and vibration characteristic detection method
CN204142837U (en) Portable online resistance conductance detector
CN114885231B (en) Communication protocol self-adaptive signal acquisition method, system, terminal and medium
CN111045088B (en) Liquid leakage detection device and method
CN113822329B (en) Method and device for processing main shaft swing degree signal of hydroelectric generating set
TWI774140B (en) Two-way signal positioning method and two-way signal positioning system thereof
CN104793209A (en) Automobile anti-collision radar high-precision angle measuring method based on interferential principle

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180406

Termination date: 20211118