WO2024002083A1 - Weak magnetic detection method and endoscope detector - Google Patents

Weak magnetic detection method and endoscope detector Download PDF

Info

Publication number
WO2024002083A1
WO2024002083A1 PCT/CN2023/102827 CN2023102827W WO2024002083A1 WO 2024002083 A1 WO2024002083 A1 WO 2024002083A1 CN 2023102827 W CN2023102827 W CN 2023102827W WO 2024002083 A1 WO2024002083 A1 WO 2024002083A1
Authority
WO
WIPO (PCT)
Prior art keywords
magnetic
vector
calibration
magnetic field
observation
Prior art date
Application number
PCT/CN2023/102827
Other languages
French (fr)
Chinese (zh)
Inventor
杨戴天杙
明繁华
Original Assignee
安翰科技(武汉)股份有限公司
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 安翰科技(武汉)股份有限公司 filed Critical 安翰科技(武汉)股份有限公司
Publication of WO2024002083A1 publication Critical patent/WO2024002083A1/en

Links

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/06Devices, other than using radiation, for detecting or locating foreign bodies ; determining position of probes within or on the body of the patient
    • A61B5/061Determining position of a probe within the body employing means separate from the probe, e.g. sensing internal probe position employing impedance electrodes on the surface of the body
    • A61B5/062Determining position of a probe within the body employing means separate from the probe, e.g. sensing internal probe position employing impedance electrodes on the surface of the body using magnetic field
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/74Details of notification to user or communication with user or patient ; user input means
    • A61B5/746Alarms related to a physiological condition, e.g. details of setting alarm thresholds or avoiding false alarms
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B2562/00Details of sensors; Constructional details of sensor housings or probes; Accessories for sensors
    • A61B2562/02Details of sensors specially adapted for in-vivo measurements
    • A61B2562/0223Magnetic field sensors

Definitions

  • the invention relates to the field of medical technology, and in particular to a weak magnetic detection method and an endoscope detector.
  • the endoscope discharge detection methods provided in the medical technology field mainly use the acoustic signal or light signal output by the endoscope itself when it is discharged from the body to remind the patient to recycle it by himself.
  • this solution brings a poor sense of experience, and it is inevitable that the endoscope will be mistakenly triggered inside the patient's body, or that the alarm cannot be triggered through the photosensitive element due to the obstruction of feces after being discharged from the body.
  • the existing technology also provides a technical solution for detecting the internal conditions of the patient's digestive tract through It takes a long time and is harmful to the human body. Therefore, how to provide a weak magnetic detection method that has a low probability of false triggering, is not harmful to the human body, has a convenient and rapid detection process, and can be applied in the field of medical technology has become an urgent technical problem to be solved.
  • One of the purposes of the present invention is to provide a weak magnetic detection method to solve the technical problems in the prior art of poor detection effect of weak magnetic medical equipment, slow detection speed, harmful detection process to human body, and high probability of false triggering.
  • One object of the present invention is to provide an endoscopic detector.
  • one embodiment of the present invention provides a weak magnetic detection method for detecting weak magnetic medical equipment in a non-magnetic cavity, including: obtaining at least one observation point on a reference sphere model after the magnetic field changes.
  • the formed magnetic field observation vector wherein, the reference sphere model represents the geomagnetic field and has a first geomagnetic radius; if the module of the magnetic field observation vector and the first geomagnetic radius satisfy a preset quantitative relationship, it is determined that There is a weak magnetic source in the non-magnetic cavity, and a presence signal is output.
  • "Outputting the presence signal” specifically includes: if the module of the magnetic field observation vector is less than the first criterion value, or the module of the magnetic field observation vector is greater than the second criterion value, then it is determined that a weak magnetic source exists in the non-magnetic cavity, Output a presence signal; wherein the first criterion value is equal to the difference between the first geomagnetic radius and the first tolerance, and the second criterion value is equal to the sum of the first geomagnetic radius and the first tolerance, The first tolerance represents the difference between modes of different geomagnetic field vectors in the reference sphere model.
  • the method further includes: receiving the presence signal, and obtaining the number and/or average duration of the presence signal; if the number and/or average duration of the presence signal is greater than If the preset value is reached, an alarm signal will be output.
  • the method further includes: receiving the presence signal, obtaining several modes of the magnetic field observation vectors within a preset time range; and calculating standards for several modes of the magnetic field observation vectors. difference, the magnetic observation standard deviation is obtained; when the magnetic observation standard deviation is less than or equal to the preset dynamic magnetic field threshold, an alarm signal is output.
  • the "obtaining the magnetic field observation vector formed by at least one observation point after the magnetic field changes on the reference sphere model” specifically includes: obtaining the magnetic field observation vector formed by at least one observation point after the magnetic field changes on the reference sphere model.
  • the formed magnetic field observation vector, as well as the acceleration and rotation angular velocity change signals during the magnetic field change process, are used to obtain the module, acceleration data and gyro data of the magnetic field observation vector; the method also includes: receiving the presence signal, calculating the The standard deviation of the acceleration data, and/or the average value of the gyro data, is used to obtain the speed standard deviation and/or the gyro mean value; if the speed standard deviation is less than or equal to the preset dynamic speed threshold, and/or if the gyro mean value If it is less than or equal to the preset dynamic rotation threshold, an alarm signal will be output.
  • the method before “obtaining the magnetic field observation vector formed by at least one observation point after the magnetic field changes on the reference sphere model", the method further includes: acquiring multi-directional geomagnetic field data, in three dimensions
  • the reference sphere model is obtained by fitting in the coordinate system; multi-directional geomagnetic field vectors are calculated according to the geomagnetic field data; and the first value in the preset quantitative relationship is calculated according to the module of the geomagnetic field vector.
  • the first tolerance represents the difference between the modes of different geomagnetic field vectors in the reference sphere model, and the geomagnetic field vector is configured such that the center of the sphere of the reference sphere model points to the earth.
  • a directed line segment of the position of the magnetic field data in the three-dimensional coordinate system; the first tolerance is configured as an integer multiple of the standard deviation of the mode of the geomagnetic field vector.
  • the method before “obtaining the magnetic field observation vector formed by at least one observation point after the magnetic field changes on the reference sphere model”, the method further includes: acquiring the multi-azimuth observations of multiple magnetic sensors. Using geomagnetic field data, fit multiple sphere models in a three-dimensional coordinate system to obtain multiple calibration sphere models; calculate the sphere center of the calibration sphere model and the vector from the sphere center of the reference sphere model to the calibration point, and obtain Multiple calibration sphere centers and calibration vectors; Calibrate the modules of multiple calibration vectors with the calibration vector of one of the multiple calibration sphere models to obtain multiple data vectors; According to the data vectors and the corresponding The calibration sphere center is calculated to obtain multiple data points, and a reference sphere model is fitted in a three-dimensional coordinate system according to the data points; wherein the magnetic field data is distributed on the calibration sphere model to form multiple calibration spheres.
  • the calibration The vector is the calibration vector in the preset direction of one of the calibration sphere models;
  • the "obtaining the magnetic field observation vector formed by at least one observation point after the magnetic field changes on the reference sphere model" specifically includes: obtaining the observation The vector corresponding to the point in the first state is obtained to obtain the first observation vector; the vector corresponding to the observation point in the second state is obtained, and calibrated with the calibration vector to obtain the second observation vector;
  • the "if If the modulus of the magnetic field observation vector and the first geomagnetic radius satisfy a preset quantitative relationship, then it is determined that a weak magnetic source exists in the non-magnetic cavity, and outputting the presence signal specifically includes: If the modulus of the second observation vector If the preset quantitative relationship is satisfied with the first geomagnetic radius, then it is determined that the weak magnetic source exists in the non-magnetic cavity, and the existence signal is output.
  • the calibration sphere model is an ellipsoid
  • the preset direction is the long axis direction of the ellipsoid
  • the "use one of the multiple calibration sphere models" "Calibrate vectors, calibrate the modules of multiple calibration vectors, and obtain multiple data vectors” specifically includes: calculating multiple calibration parameters according to the calibration vector and the modules of multiple calibration vectors; wherein the calibration parameters are The quotient of the module of the calibration vector and the module of the calibration vector; calibrating the modules of multiple calibration vectors respectively according to multiple calibration parameters to obtain multiple data vectors; the "obtaining the observation point at The corresponding vector in the second state is calibrated with the calibration vector to obtain the second observation vector” specifically includes: obtaining the calibration parameter corresponding to the first observation vector to obtain the observation calibration parameter; obtaining the position of the observation point in the second The corresponding vector in the state is calibrated with the observation calibration parameters to obtain the second observation vector.
  • the method further includes: if the mode of the magnetic field observation vector and the first geomagnetic radius do not satisfy a preset quantitative relationship, tracking at least two of the reference sphere models Observe how the spacing of the points changes with the magnetic field, and obtain the spacing change value; if the spacing change value and the preset spacing change threshold satisfy a preset quantitative relationship, it is determined that a weak magnetic source exists in the non-magnetic cavity.
  • the "tracking the change of the distance between at least two observation points on the reference sphere model with the magnetic field and obtaining the distance change value" specifically includes: tracking at least two sets of observation points on the reference sphere model The dispersion situation is obtained, and the first dispersion data and the second dispersion data are obtained, and the overall dispersion situation of the at least two groups of observation points is tracked to obtain global dispersion data, which are respectively used to characterize the change of the distance between observation points with the magnetic field.
  • the "if the distance change value and the preset distance change threshold satisfy a preset quantitative relationship, then determine that there is a weak magnetic source in the non-magnetic cavity" specifically includes: if the global dispersion If a preset quantitative relationship is satisfied between the data and the preset spacing change threshold, the first dispersion data and the second dispersion data, it is determined that a weak magnetic source exists in the non-magnetic cavity.
  • one embodiment of the present invention provides an endoscope detector for detecting an endoscope in a non-magnetic cavity, the endoscope is configured to have weak magnetism, and the endoscope
  • the detector includes a detection panel and a handle connected to the detection panel.
  • the detection panel includes a display surface and a sensing surface arranged oppositely.
  • the endoscopic detector is configured to implement any of the above technical solutions. Weak magnetic detection method.
  • the display surface is provided with alarm lights and status lights configured in a ring shape
  • the sensing surface is evenly distributed with at least four sensing units, and the sensing units include at least two Magnetic sensor, one of the magnetic sensors is disposed close to the geometric center of the sensing surface, and the other one is disposed far away from the geometric center.
  • the present invention uses the weak magnetism carried by medical equipment to detect the medical equipment in the non-magnetic cavity.
  • the invention tracks the reference sphere model in different states.
  • the vector changes of a certain data point in the data point are compared and judged based on a certain preset quantitative relationship. Since the detection process only needs to receive the geomagnetic field and the weak magnetic field emitted by the medical equipment, it does not send a signal to the non-magnetic cavity. Therefore, high-intensity radiation will not be generated to cause damage to the non-magnetic cavity.
  • the technical solution based on fitting the sphere model and making vector judgment can achieve the technical effects of fast detection speed, simple process and low probability of false triggering.
  • Figure 1 is a schematic structural diagram of the first side of the endoscope detection device in an embodiment of the present invention
  • Figure 2 is a schematic structural diagram of the second side of the endoscope detection device in one embodiment of the present invention.
  • Figure 3 is a schematic structural diagram of the third side of the endoscope detection device in another embodiment of the present invention.
  • Figure 4 is a schematic structural diagram of the fourth side of the endoscope detection device in another embodiment of the present invention.
  • Figure 5 is a schematic structural diagram of the cooperation between the endoscope detection device and the human body in one embodiment of the present invention.
  • Figure 6 is a schematic structural diagram of the scanning trajectory of the endoscope detection device in one embodiment of the present invention.
  • Figure 7 is a schematic structural diagram of the scanning trajectory of the endoscope detection device in another embodiment of the present invention.
  • Figure 8 is a schematic diagram of the steps of a weak magnetic detection method in an embodiment of the present invention.
  • Figure 9 is a schematic diagram of magnetic field distribution in a specific application scenario of the weak magnetic detection method in an embodiment of the present invention.
  • Figure 10 is a schematic diagram of the steps of a weak magnetic detection method in another embodiment of the present invention.
  • Figure 11 is a schematic diagram of the steps of the first embodiment of the weak magnetic detection method in an embodiment of the present invention.
  • Figure 12 is a schematic diagram of signal changes in the first embodiment of the weak magnetic detection method in an embodiment of the present invention.
  • Figure 13 is a schematic diagram of the steps of the second embodiment of the weak magnetic detection method in an embodiment of the present invention.
  • Figure 14 is a schematic diagram of the steps of the third embodiment of the weak magnetic detection method in an embodiment of the present invention.
  • Figure 15 is a schematic diagram of the steps of a weak magnetic detection method in yet another embodiment of the present invention.
  • Figure 16 is a schematic step diagram of a specific example of a weak magnetic detection method in yet another embodiment of the present invention.
  • Figure 17 is a schematic distribution diagram of a sphere model in a specific application scenario of the weak magnetic detection method in yet another embodiment of the present invention.
  • Figure 18 is a schematic distribution diagram of a sphere model in another specific application scenario of the weak magnetic detection method in yet another embodiment of the present invention.
  • Figure 19 is a schematic distribution diagram of the reference sphere model in a specific application scenario of the weak magnetic detection method in yet another embodiment of the present invention.
  • Figure 20 is a schematic step diagram of a first embodiment of a specific example of a weak magnetic detection method in yet another embodiment of the present invention.
  • Figure 21 is a schematic step diagram of a second embodiment of a specific example of a weak magnetic detection method in yet another embodiment of the present invention.
  • Figure 22 is a schematic diagram of magnetic field distribution in a specific application scenario of the weak magnetic detection method in another embodiment of the present invention.
  • Figure 23 is a schematic distribution diagram of the observation point change process in a specific application scenario of the weak magnetic detection method in another embodiment of the present invention.
  • Figure 24 is a schematic diagram of two possible distributions of observation points after changes in a specific application scenario of the weak magnetic detection method in another embodiment of the present invention.
  • the field weakening detection tool can be equipped with a field weakening detection method and be used to detect the field weakening equipment in the non-magnetic cavity. Since the magnetism of weak magnetic equipment is relatively weak, it is usually difficult to accurately measure it when external interference such as the geomagnetic field is superimposed, making it impossible for the operator to accurately know whether there is still weak magnetic equipment inside the non-magnetic cavity, and it is impossible to Know the current status of the field weakening equipment.
  • the above problems are reflected in the medical field as follows: it is difficult for medical workers to determine whether the human body (can be regarded as the above-mentioned non-magnetic cavity) still contains an endoscope (which can be regarded as the above-mentioned weak magnetic equipment). If the endoscope (especially the capsule endoscope) is not smoothly discharged from the human body, retaining it for a long time will make subsequent treatment and diagnosis difficult, and it is also very likely to cause damage to the human body.
  • the present invention provides an endoscope detection device for detecting an endoscope in the human body; the endoscope is configured to have weak magnetism.
  • the endoscope detection device can be further applied in other scenarios with the same accuracy requirements to detect any weak magnetic equipment existing in the non-magnetic cavity.
  • the structure of the endoscope detection device 1 is as shown in FIGS. 1 and 2 , including a detection panel 11 and a handle 12 pivotally connected to the detection panel 11 .
  • the detection panel 11 may further include a display surface 111 and a sensing surface 112 arranged oppositely, wherein the display surface 111 may be provided on the first side of the endoscope detection device 1 (or the detection panel 11 ), and the sensing surface 112 may It is provided on the second side of the endoscope detection device 1 (or detection panel 11).
  • the endoscope detection device 1 is configured to implement a weak magnetic detection method to realize the endoscope detection function.
  • the handle 12 may be configured in the shape of a long block, and may be arranged in the first plane along its length extension direction.
  • the first plane can be set at an angle to the plane where the detection panel 11 is located, and the handle 12 can preferably be configured to rotate around its pivot connection part with the detection panel 11 to adjust the angle between the first plane and the detection panel 11, so as to adjust the angle between the first plane and the detection panel 11. Adjust the relative positional relationship between the handle 12 and the detection panel 11.
  • the operator holds the handle 12 and places the detection panel 11 close to the non-magnetic cavity. Based on the above structural configuration, the operator can easily adjust the posture of the detection panel 11 by adjusting the relative position relationship between the two.
  • the detection panel 11 and the handle 12 can also be configured as a fixed connection with a fixed relative position.
  • the handle 12 and the detection panel 11 can extend along the same horizontal plane, or the handle 12 and the detection panel 11 can be located where the handle 12 and the detection panel 11 are located.
  • the plane is arranged at an angle to facilitate the proximity of the detection panel 11 to the non-magnetic cavity to be detected.
  • the handle 12 may be further provided with an indicator light 121 for indicating the power supply status and/or fault status of the endoscope detection device 1 .
  • the indicator light 121 is configured to emit a first color light in the charging state, a second color light in the use state, and/or a third color light in the low battery state.
  • at least two indicator lights 121 are configured to show the current power supply status by lighting the number of indicator lights 121 .
  • the indicator light 121 is configured to emit a strobe or continuous light to indicate when it detects that an internal component of the endoscope detection device 1 is working abnormally.
  • the handle 12 may further include an empty storage compartment 122, which may be configured as a battery compartment to accommodate a power supply battery, or as a control compartment to accommodate components used to implement the weak magnetic detection function.
  • an empty storage compartment 122 may be configured as a battery compartment to accommodate a power supply battery, or as a control compartment to accommodate components used to implement the weak magnetic detection function.
  • the indicator light 121 is set on the side of the handle 12 close to the detection panel 11, and the empty storage compartment 122 is set on the side of the handle 12 away from the detection panel 11, so that after the operator holds it, the palm of his hand is enough to cover the container.
  • the empty compartment 122 is installed to protect the internal components and not to block the indicator light 121, so as to facilitate checking the current status of the endoscope detection device 1.
  • at least the indicator light 121 may be configured to be located on the same side of the display surface 111 (which may be the above-mentioned first side).
  • the cover plate that accommodates the empty compartment 122 and is exposed to the outside can be configured to be in the same plane as other parts of the handle 12 to lift the handle 12 of oneness.
  • the cover can also be configured to protrude from other parts of the handle 12 and form an ergonomic shape to increase the friction between the palm and the handle 12 and enhance the grip effect. .
  • the display surface 111 may further include an alarm light 1111 and a status light 1112 configured in a ring shape.
  • the alarm light 1111 and the status light 1112 may also be configured in an arc or other shapes.
  • the alarm light 1111 is configured to be located on the display surface 111
  • the status light 1112 is configured as a semi-circular arc located on the display surface 111 that is close to or away from the handle 12 .
  • the alarm light 1111 and the status light 1112 can be configured as an integrated light strip, and can be illuminated as a whole with a preset brightness or as a whole after a preset alarm situation occurs or a preset status indication signal is received. Different levels of brightness light up.
  • the alarm light 1111 can also be configured so that when responding, part of the arc is lit with a preset brightness, or part of the arc is lit with different levels of brightness; especially when multiple magnetic sensors are provided on the sensing surface 112.
  • multiple parts of the alarm light 1111 can be directly or indirectly connected to the plurality of magnetic sensors, so that when the data detected by one or more magnetic sensors meets the preset alarm situation, it can be reflected in the alarm light 1111 corresponding parts to issue alarm instructions.
  • the preset alarm condition may be that the corresponding magnetic sensor detects a weak magnetic device (which may be a capsule endoscope in the human body) located in the non-magnetic cavity, or detects a weak magnetic field from the non-magnetic cavity. Signal. Based on this, for example, when the magnetic field weakening equipment or the magnetic field weakening signal is located in the upper left corner of the detection panel 11, at least part of the arc in the upper left corner of the alarm light 1111 will light up, thereby displaying the detected magnetic field weakening condition and instructing the operator to handle the situation. Hold the endoscope detection device 1 and move it toward the upper left, thereby further and quickly determining the location of the weak magnetic equipment, and serving as a guide for the scanning path.
  • a weak magnetic device which may be a capsule endoscope in the human body
  • the status light 1112 can be used to indicate the current working status of the endoscope detection device 1 , for example, indicating that the endoscope detection device 1 is in a sensing state, a calibration state, or an initialization state.
  • the distinction between the above states can be formed by referring to the previous description of the working conditions of the alarm light 1111, or it can be formed by setting the alarm light 1111 to emit light of different colors or the alarm light 1111 flashing, which is different from the above.
  • the status light 1112 when the endoscope detection device 1 is in the sensing state, the status light 1112 is configured to be always on; when the endoscope detection device 1 is in the calibration state, the status light 1112 is configured to strobe; When in the initialization state, the status light 1112 is configured as a "marquee" effect.
  • FIG. 2 shows the structure of the second side of the endoscope detection device 1 .
  • at least four sensing units 1120 are evenly distributed on the sensing surface 112 .
  • the at least four sensing units 1120 may be arranged crosswise along the "cross" direction, and the sensing units 1120 located on the left and right sides may be configured as Extending along the horizontal direction, the sensing units 1120 located on the upper and lower sides can be configured to extend along the vertical direction; of course, under the same situation, the at least four sensing units 1120 can also be arranged crosswise along the "X" direction, and They are arranged centrally symmetrically with each other and axially symmetrically.
  • the sensing unit 1120 may include at least two magnetic sensors respectively, and one of the magnetic sensors is disposed close to the geometric center of the sensing surface 112 , and the other of the magnetic sensors is disposed far away from the geometric center. .
  • the sensing unit 1120 may include a first magnetic sensor 1120A and a second magnetic sensor 1120B. The first sensor 1120A and the second magnetic sensor 1120B are spaced apart along the length extension direction of the sensing unit 1120 .
  • One magnetic sensor 1120A is disposed close to the geometric center of the sensing surface 112
  • a second magnetic sensor 1120B is disposed far away from the geometric center of the sensing surface 112 .
  • Other magnetic sensors may have the same configuration as described above, or may have other configurations.
  • the sensing units 1120 on the sensing surface 112 can be configured as eight, respectively arranged along the "cross" direction and along the "X" direction.
  • the arrangement of the sensing units 1120 in the present invention is not Limited to the specific examples provided above.
  • the role of configuring two magnetic sensors in a single sensing unit 1120 is to improve the anti-interference ability of the endoscope detection device 1; based on this, the magnetic field in a single sensing unit 1120 can be increased or decreased according to needs and cost control considerations. Number of sensors.
  • the detection panel 11 is configured to have a circular extended surface, thereby accommodating more sensors in a smaller space. test unit 1120 and form a more beautiful appearance.
  • the detection panel 11 can also be configured to have an extended surface in a shape such as a rectangle or a rounded rectangle, thereby configuring the endoscope detection device 1 to have a larger diameter. The length is enough to extend into a relatively narrow space, expanding the device's applicable scenarios and making it easier to store.
  • the endoscope detection device 1 may also include a detection panel 11 and a handle 12 connected to the detection panel 11 .
  • the detection panel 11 may also include displays arranged oppositely.
  • Surface 111 and sensing surface 112 the endoscope detection device 1 can also be configured to implement a weak magnetic detection method to detect an endoscope with weak magnetism in the human body.
  • the alarm light 1111 and the status light 1112 in the display surface 111 can also be configured as strips with the same rounded rectangle to maintain the consistency of the design language. Similar to the previous embodiment, the alarm light 1111 may be disposed outside the status light 1112 and arranged along the edge of the detection panel 11 . At the same time, in order to maintain the portability of the endoscope detection device 1 as much as possible without losing its sensing accuracy, multiple sensing elements 1120 can be provided at intervals in the length extension direction of the detection panel 11 , preferably five. The detection effect can be achieved at different positions along the length extension direction. Of course, in this configuration, the alarm light 1111 and the sensing element 1120 can also be configured to have the connection relationship and functions described above to achieve the technical effect of endoscope tracking and navigation.
  • the detection panel 11 is configured to be longer. Therefore, in this embodiment, the length of the handle 12 can be shortened adaptively to balance the volume of the endoscope detection device 1 .
  • the connection relationship between the handle 12 and the detection panel 11 can also be configured as a simple fixed connection, so that the operator can hold the handle 12 and adjust the position and direction of the detection panel 11 .
  • handle 12 The indicator light 121 and the empty storage bin 122 can also be provided, and the functional configuration provided by the previous embodiment can be used for reference.
  • the shape configuration of the detection panel 11 with rounded rectangular corners enables the sensing surface 112 to have a larger coverage area, making the scanning process faster.
  • the present invention is not limited to the above two shape configurations.
  • the sensing elements 1120 are configured to be evenly distributed on the sensing surface 112 with a specific relative position in the foregoing, this does not exclude implementations in which the sensing elements 1120 are configured to be flexibly detachable and/or the relative position is adjustable. , those skilled in the art can make replacements as needed.
  • the above-mentioned magnetic sensor can be configured as an AMR (Anisotropic Magnetoresistance) sensor or a TMR (Tunneling Magnetoresistance) sensor.
  • Figure 5 shows the matching state of the endoscope detection device 1 and the human body 2. Since the detection depth L of the endoscope detection device 1 is greatly affected by the intensity of the magnetic source, when detecting the magnet installed in the endoscope, And when the magnetic sensor faces the north and south poles of the magnet, the detection depth L can reach 20cm to 30cm. Based on this, the endoscope detection device 1 can be scanned close to the surface of the human abdomen 21 so that the detection range 100 of the endoscope detection device 1 is sufficient to cover the surface of the human abdomen 21 to the part between the human spine 22 .
  • ferromagnetic materials such as metal have certain interference with the detection process of the endoscope detection device 1
  • the detection process can still be performed. Work properly.
  • an angle can be formed between the detection panel 11 and the handle 12, thereby making it easier for the operator to hold and move the endoscope detection device. 1, the detection panel 11 and the human body's abdomen 21 can always be kept close to each other.
  • the endoscope detection device 1 provided in the above two embodiments may have different scanning steps respectively.
  • Figure 6 shows the scanning steps of the endoscope detection device 1 provided in the previous embodiment.
  • the detection range 100 formed by the endoscope detection device 1 can be the same circle, facing When scanning a rectangular-like area to be measured 200 on the human body, since it is relatively small and lightweight, it can be scanned in a zigzag trajectory, such as an S-shaped trajectory or a "ji"-shaped trajectory.
  • Figure 7 shows the scanning steps of the endoscope detection device 1 provided in the latter embodiment.
  • the detection range 100 formed by the endoscope detection device 1 is the same long strip, facing When the area to be measured 200 is measured, the advantage of having a large coverage area can be used to perform linear scanning, for example, scanning back and forth along the diagonal line of the area to be measured 200 .
  • any of the above scanning methods can be accomplished by holding the handle 12 that is pivotally connected or fixedly connected to the detection panel 11 .
  • one embodiment of the present invention provides a weak magnetic detection method, which can be used to detect weak magnetic medical equipment in a non-magnetic cavity, such as the endoscope used to detect the human body as mentioned above.
  • the weak magnetic detection method specifically includes:
  • Step 31 Obtain the magnetic field observation vector formed by at least one observation point after the magnetic field changes on the reference sphere model
  • Step 32 If the mode of the magnetic field observation vector and the first geomagnetic radius satisfy a preset quantitative relationship, it is determined that a weak magnetic source exists in the non-magnetic cavity, and an existence signal is output.
  • the reference sphere model represents the geomagnetic field and has a first geomagnetic radius.
  • Figure 9 shows a schematic diagram (part) of the magnetic field distribution formed by carrying the above weak magnetic field detection method in a specific application scenario.
  • the magnetic field distribution is mainly composed of the reference sphere model 4, and the reference sphere model 4 is shaped like a "spherical shell" (the area of the arc-shaped solid line and the two arc-shaped dashed lines in the figure), and is composed of the end points of multiple magnetic field vectors According to the fitting structure, the starting point of the magnetic field vector is the center 40 of the reference sphere model 4 .
  • the position change relative to the reference sphere model 4 may occur.
  • the first observation point 41 moves to the location of the second observation point 42 and outwardly departs from the coverage of the reference sphere model 4; for example, in another case, the first observation point 41 moves to The third observation point 43 is located inwardly away from the coverage of the reference sphere model 4; for example, in another case, the first observation point 41 moves to the location of the fourth observation point 44 and is within the coverage of the reference sphere model 4. Relative position movement occurs within the range.
  • the first geomagnetic radius may be the distance between the center of the sphere 40 and the arc-shaped solid line, that is, R shown in the figure.
  • the arc-shaped solid line is located between two arc-shaped dotted lines and has a radius relative to the sphere center 40. A more balanced distance length. At this time, you can judge whether the observation point deviates from the two lines due to its position having a large fluctuation amplitude by judging the quantitative relationship between the mode of the magnetic field observation vector formed after the observation point undergoes changes in the magnetic field and the first geomagnetic radius. outside the spherical shell formed by the arc-shaped dotted line.
  • the first observation point 41 forms a first observation vector 410 with the sphere center 40 .
  • a second observation vector 420 is formed with the center of the sphere 40; when the first observation point 41 is affected by another change of the magnetic field, the second observation vector 420 is formed.
  • a third observation vector 430 is formed with the center of the sphere 40; when the first observation point 41 is affected by another magnetic field change and moves to the position of the fourth observation point 44, A fourth observation vector 440 is formed with the center 40 of the sphere. Therefore, the quantitative relationship between the mode of the second observation vector 420, the third observation vector 430, or the fourth observation vector 440 and the first geomagnetic radius R can be compared to determine the movement of the observation point due to changes in the magnetic field.
  • the first observation point 41 when the first observation point 41 moves to the position of the second observation point 42 or moves to the position of the third observation point 43, it may be determined that an external presence causes the observation point to deviate from the reference sphere.
  • Weak magnetic source of model 4 moving from the first observation point 41 to the fourth observation point 44 When it is in the position, it is determined that there is no weak magnetic source outside that causes the observation point to deviate from the reference sphere model 4.
  • another embodiment of the present invention provides a weak magnetic detection method, which specifically limits the content of the preset quantitative relationship of the previous embodiment, specifically including:
  • Step 31 Obtain the magnetic field observation vector formed by at least one observation point after the magnetic field changes on the reference sphere model
  • Step 32' if the module of the magnetic field observation vector is less than the first criterion value, or the module of the magnetic field observation vector is greater than the second criterion value, it is determined that a weak magnetic source exists in the non-magnetic cavity, and an existence signal is output.
  • the reference sphere model represents the geomagnetic field and has a first geomagnetic radius.
  • the first criterion value is equal to the difference between the first geomagnetic radius and the first tolerance
  • the second criterion value is equal to the sum of the first geomagnetic radius and the first tolerance
  • the first tolerance Characterizes the difference between the modes of different geomagnetic field vectors in the reference sphere model.
  • Step 32' based on the refinement of step 32 can be applied to any of the above technical solutions, especially to any of the above definitions of the preset quantity relationship.
  • B′ s define the magnetic field observation vector before the magnetic field changes as B′ s
  • r T define the first tolerance as r T .
  • the above judgment process is: if
  • the characteristic that observation points are usually evenly distributed within the spherical shell range of the reference sphere model 4 is utilized, so that the above judgment steps are sufficient to cover most situations of selecting observation points, and the output results are more accurate.
  • Be can represent the geomagnetic field vector detected in a space that does not contain weak magnetic sources, and is preferably a calibrated geomagnetic field vector.
  • the mode of the geomagnetic field vector, or the geomagnetic field intensity may be the result of the square sum of the square root of the orthogonal components of the geomagnetic field in three directions, that is,
  • the first tolerance r T can be estimated through actual measurement; the noise levels of different magnetic sensors may differ based on the different hardware structures of the magnetic sensors themselves. Based on this, different magnetic sensors can have different first tolerances r T , Regardless of whether the magnetic sensor is uniformly calibrated for sensitivity and bias.
  • a first embodiment of a weak magnetic detection method in an embodiment of the present invention is provided, which specifically includes:
  • Step 31 Obtain the magnetic field observation vector formed by at least one observation point after the magnetic field changes on the reference sphere model
  • Step 32 If the mode of the magnetic field observation vector and the first geomagnetic radius satisfy a preset quantitative relationship, it is determined that a weak magnetic source exists in the non-magnetic cavity, and an existence signal is output;
  • Step 331 Receive presence signals and obtain the number and/or average duration of presence signals
  • Step 332 If the number and/or average duration of existing signals is greater than the preset value, an alarm signal is output.
  • steps 31 and 32 are repeatedly executed, if there is a high precision requirement for triggering the alarm signal, the "output presence signal" itself is not sufficient evidence to directly determine the presence of a weak magnetic source in the non-magnetic cavity. , therefore, in the first embodiment, by determining whether at least one of the number of presence signals and the duration of the presence signal output meets the conditions, the triggering of the alarm signal is limited to meet the need for high-precision determination.
  • the number of presence signals is preferably defined as the number of magnetic sensors that output presence signals.
  • the duration is preferably defined as the average duration, which can be the arithmetic mean of multiple durations output by a single magnetic sensor under different detection periods, or the arithmetic mean of multiple durations output by multiple magnetic sensors under the same detection period. Average or weighted average, thus avoiding accidental alarms due to excessive movements or other disturbances.
  • the preset value for the number of presence signals may be 2, and the preset value for the duration may be 0.5s. It is worth noting that the joint judgment and window monitoring judgment mentioned above can be adaptively combined with the above steps.
  • Figure 12 shows the signal changes output by the sensing unit 1120 and the alarm light 1111, where the sensing unit 1120 can be used to output a high-level presence signal sig(e) and a low-level non-presence signal sig(n) , the alarm light 1111 or its front-end component can be used to receive or output the high-level alarm signal sig(w) and the low-level non-alarm signal sig(r) respectively. Therefore, in Figure 12, the dotted box represents the average duration (or represents the monitoring window used to detect the average duration). When the monitoring window always and only includes the presence signal sig(e), it is determined that the weak magnetic source exists. , an alarm signal is output after the monitoring window duration expires, and the alarm light 1111 is triggered to form an alarm indication.
  • the sensing unit 1120 can be used to output a high-level presence signal sig(e) and a low-level non-presence signal sig(n)
  • the alarm light 1111 or its front-end component can be used to receive or output the
  • the sampling rate of the detection device can also be adaptively increased and the length of the monitoring window can be shortened (that is, shortened For the preset value of the average duration), and select a compromise and appropriate preset value based on stable filtering noise, this point can be adaptively configured as needed.
  • the presence signal may not trigger any indication effect.
  • the detection device is configured to respond to the presence signal to form a pre-alarm to prompt the operator to conduct detailed scanning at the current location, and can also be combined with the above steps to perform normal operations. Alarm operation.
  • a second embodiment of the weak magnetic detection method in an embodiment of the present invention which specifically includes:
  • Step 31 Obtain the magnetic field observation vector formed by at least one observation point after the magnetic field changes on the reference sphere model
  • Step 32 If the mode of the magnetic field observation vector and the first geomagnetic radius satisfy a preset quantitative relationship, it is determined that a weak magnetic source exists in the non-magnetic cavity, and an existence signal is output;
  • Step 341 Receive the existence signal and obtain the modes of several magnetic field observation vectors within the preset time range;
  • Step 342 Calculate the standard deviation of the modes of several magnetic field observation vectors to obtain the magnetic observation standard deviation
  • Step 343 When the standard deviation of the magnetic observation is less than or equal to the preset dynamic magnetic field threshold, an alarm signal is output.
  • the modes of the plurality of magnetic field observation vectors may be modes of multiple magnetic field observation vectors detected by a single magnetic sensor within a preset time range. Define the vector data length as L m(mag) (or the module of several magnetic field observation vectors formed within a preset time range).
  • mag() represents the data detected by any magnetic sensor
  • std() represents the calculation of the standard deviation of the data sequence. Therefore, when the magnetic observation standard deviation std mag satisfies std mag > std mTh , it can be determined that the current detection device is in a violently moving or rapidly changing magnetic field.
  • the judgment result at this time cannot be used to determine whether a weak magnetic source exists, and it can indicate The operator turns off the detection device to protect himself; when the magnetic observation standard deviation std mag satisfies std mag ⁇ std mTh , it can be determined that the current detection device is working normally, and an alarm signal can be output corresponding to the presence signal output in the previous steps; where, std mTh is The dynamic magnetic field threshold.
  • a third embodiment of the weak magnetic detection method in an embodiment of the present invention is provided, which provides step 31' refined based on step 31, and steps 351 and 352 arranged after step 32.
  • Weak magnetic detection methods specifically include:
  • Step 31' obtain the magnetic field observation vector formed by at least one observation point after the magnetic field changes on the reference sphere model, as well as the acceleration and rotation angular velocity change signals during the magnetic field change process, and obtain the module, acceleration data and gyro data of the magnetic field observation vector.
  • Step 32 If the mode of the magnetic field observation vector and the first geomagnetic radius satisfy a preset quantitative relationship, it is determined that a weak magnetic source exists in the non-magnetic cavity, and an existence signal is output;
  • Step 351 Receive the presence signal, calculate the standard deviation of the acceleration data and/or the average value of the gyro data, and obtain the speed standard deviation and/or gyro average value;
  • Step 352 If the speed standard deviation is less than or equal to the preset dynamic speed threshold, and/or if the gyro mean is less than or equal to the preset dynamic rotation threshold, an alarm signal is output.
  • the above detection device or other devices equipped with the weak magnetic detection method provided in this embodiment can be further configured with an acceleration sensor and/or a gyroscope.
  • one of the above components can be provided in the detection device, or can be integrated There are multiple sensing elements arranged overall.
  • the length of the acceleration data as L m(acc) (or the length of the acceleration data sequence formed within the preset time range)
  • the sensing axis of the magnetic sensor corresponding to the acceleration data as j, where the sensing axis j can be the x-axis , y-axis or z-axis
  • acc() represents the data detected by any acceleration sensor
  • std() represents the calculation of the standard deviation of the data sequence. Therefore, when the speed standard deviation std acc satisfies std acc >std aTh , it can be determined that the current detection device is in a violent motion or a rapidly changing magnetic field. The judgment result at this time cannot be used to determine whether the weak magnetic source exists, and the operation can be instructed.
  • std acc satisfies std acc ⁇ std aTh , it can be determined that the current detection device is working normally, and an alarm signal can be output corresponding to the presence signal output in the previous steps;
  • std aTh is the Dynamic speed threshold.
  • gyr() represents the data detected by any gyroscope
  • mean() represents the calculation of the average value of the data sequence. Therefore, when the gyro mean value A gyr satisfies A gyr >A gTh , it can be determined that the current detection device is in a violently moving or rapidly changing magnetic field.
  • the judgment result at this time cannot be used to determine whether a weak magnetic source exists, and the operator can be instructed Turn off the detection device for self-protection; when the gyro average A gyr satisfies A gyr ⁇ A gTh , it can be determined that the current detection device is working normally, and an alarm signal can be output corresponding to the presence signal output in the previous steps; where A gTh is the dynamic rotation threshold.
  • the reason for calculating the standard deviation and the average value separately is that acceleration also exists during the normal use of the detection device, so calculating the standard deviation can grasp its acceleration changes; while during the normal use of the detection device, the angle change is often not obvious or even 0. Therefore, the average value can be calculated to quickly grasp the current changes.
  • the above three embodiments respectively provide different steps that are arranged after the presence signal output step (step 32) and used to determine whether to alarm, this does not mean that the above different embodiments are necessarily isolated from each other. In order to avoid redundancy, this article will not elaborate too much on the combination of the above three embodiments. But it can be understood that in other implementations, the alarm signal can be configured to be output when any two, three or more of the quantity requirements, duration requirements, standard deviation requirements, acceleration requirements and gyro data requirements are met, Thus, joint judgment, window monitoring, dynamic judgment and other mechanisms are introduced to further reduce the probability of false triggering.
  • the third embodiment may be executed first and then the first embodiment, or the second embodiment may be executed first and then the first embodiment, or the second embodiment may be executed first. and the third embodiment, and then execute the sequence of the first embodiment. In this way, the judgment logic of "data reception-data correction-dynamic judgment-data analysis-joint judgment-window monitoring judgment" can be formed.
  • another embodiment of the present invention provides a weak magnetic field detection method, which adds several pre-steps before performing weak magnetic field detection, especially steps 301, 302 and steps before step 31. 303.
  • Weak magnetic detection methods specifically include:
  • Step 301 Obtain multi-directional geomagnetic field data and fit it in a three-dimensional coordinate system to obtain a reference sphere model
  • Step 302 Calculate the multi-directional geomagnetic field vector based on the geomagnetic field data
  • Step 303 Calculate the first tolerance according to the module of the geomagnetic field vector
  • Step 31 Obtain the magnetic field observation vector formed by at least one observation point after the magnetic field changes on the reference sphere model
  • Step 32 If the mode of the magnetic field observation vector and the first geomagnetic radius satisfy a preset quantitative relationship, it is determined that a weak magnetic source exists in the non-magnetic cavity, and an existence signal is output.
  • the reference sphere model represents the geomagnetic field and has a first geomagnetic radius.
  • the first tolerance represents the difference between modes of different geomagnetic field vectors in the reference sphere model.
  • the geomagnetic field vector may be configured as a directed line segment pointing from the center of the reference sphere model to the position of the geomagnetic field data in the three-dimensional coordinate system.
  • the first tolerance may be configured to be equal to an integer multiple of the standard deviation of the mode of the geomagnetic field vector.
  • the tracking of the observation point and the acquisition and judgment of the module of the magnetic field observation vector need to be based on the reference sphere model.
  • the reference sphere model can be preset before detection, and usually should be completely formed by fitting the geomagnetic field data in an environment that does not contain weak magnetic sources; of course, under other special working conditions, such as detection environment requirements Under the condition of applying a constant magnetic field, the reference sphere model can naturally be formed by fitting under the combined action of the external magnetic field and the geomagnetic field.
  • R es is the transformation matrix. Since the geomagnetic field is uniform and stable, the posture of the detection device itself can be adjusted, so the projection of the geomagnetic field on each axis at various parts of the detection device (or at each of its magnetic sensors) changes. Therefore, under one working condition, it is possible to rotate in an open environment without additional magnetic field interference to obtain multi-directional geomagnetic field data, and express it as a three-dimensional model based on the real-time geomagnetic field data B s (t) measured at each time t.
  • B s (t) [B x (t), B y (t), B z (t)].
  • the process of fitting the geomagnetic field data to the reference sphere model can also have multiple implementations, and the present invention is not limited to fitting based on the vector corresponding to the geomagnetic field data.
  • the geomagnetic field data can also be defined as the above-mentioned coordinates corresponding to the geomagnetic field vector, which can also achieve the expected technical effect of step 301.
  • This embodiment further provides a technical solution for calculating the first tolerance of the reference sphere model based on the mode of the geomagnetic field vector, which may be to calculate the difference between the maximum value and the minimum value of the mode of the multi-directional geomagnetic field vector as the said
  • the first tolerance can also be calculated by calculating the standard deviation of the modes of all geomagnetic field vectors, and directly using this standard deviation as the first tolerance, or multiplying the standard deviation as the first tolerance (increasing tolerance , improve model fault tolerance).
  • the first tolerance is defined as r T
  • the first tolerance corresponding to the i-th magnetic sensor is r Ti
  • at least: r Ti n ⁇ std( ⁇
  • std() is the standard deviation operation function
  • ⁇ 1,2,...,M is the module of M geomagnetic field vectors measured by the i-th magnetic sensor
  • n is the empirical multiple, n
  • the value range can be 1-3.
  • step 303 may also specifically include: analyzing the mode of the geomagnetic field vector, filtering out outliers, and calculating the reference sphere model based on the screened mode of the geomagnetic field vector. First tolerance. In this way, the accuracy of model fitting is further improved.
  • Weak magnetic detection methods specifically include:
  • Step 3011 Obtain geomagnetic field data from multiple magnetic sensors in multiple directions, fit multiple sphere models in the three-dimensional coordinate system, and obtain multiple calibration sphere models;
  • Step 3012 Calculate the spherical center of the calibration sphere model and the vector from the spherical center to the calibration point, and obtain multiple calibration vectors of the spherical center;
  • Step 3013 use the calibration vector of one of the multiple calibration sphere models to calibrate the modules of the multiple calibration vectors to obtain multiple data vectors;
  • Step 3014 Calculate multiple data points based on the data vector and the corresponding calibration sphere center, and fit the reference sphere model in the three-dimensional coordinate system based on the data points;
  • Step 31 Obtain the magnetic field observation vector formed by at least one observation point after the magnetic field changes on the reference sphere model
  • Step 32 If the mode of the magnetic field observation vector and the first geomagnetic radius satisfy a preset quantitative relationship, it is determined that a weak magnetic source exists in the non-magnetic cavity, and an existence signal is output.
  • the magnetic field data is distributed on the calibration sphere model to form a plurality of calibration points;
  • the calibration vector is a calibration vector in a preset direction of one of the calibration sphere models.
  • step 301 Since actual magnetic sensors often have a certain degree of inconsistency, in order to further improve detection accuracy and reference sphere model quality, this specific example provides refinement steps for step 301. It is worth noting that although step 302 and step 303 are omitted in this embodiment, it does not mean that this embodiment cannot combine the above steps to form a new technical solution.
  • the conversion coefficient K ij may deviate from 1, and the bias D ij may not be 0, which causes errors in the output magnetic field value of the magnetic sensor, and in the absence of an external magnetic field The output is not 0.
  • an ellipsoid model with the center of the sphere not at the origin will be formed as shown in Figure 17, which can be defined as the calibration sphere model 4'.
  • the intensity of geomagnetic field data obtained by the same magnetic sensor in different postures is different (this is one of the reasons why the calibration sphere model 4' is shaped like an ellipsoid).
  • multi-directional geomagnetic field data can be collected by changing the posture of the magnetic sensor.
  • the offset of the calibrated center of the ellipsoid model relative to the origin, at least along the x-axis, y-axis, and z-axis can be calculated. also because:
  • the offset D ij can be obtained, and the scales of the calibration sphere model 4' in each direction (for example, the length of the ellipsoid) can be obtained further based on the calibration sphere center coordinates [ ⁇ B ix , ⁇ B iy , ⁇ B iz ] . axis and minor axis).
  • different calibration vectors can be calculated based on the calibration sphere center and the scales in each direction, and one of them is selected as the calibration vector.
  • the other calibration vectors are calibrated (which can be for the proportional amplification of the module or Projection processing), thereby generating a quasi-normal sphere reference sphere model corresponding to the magnetic sensor. In this way, the problem of non-standard sphere model caused by the error of the magnetic sensor itself can be improved, and the module of the magnetic field observation vector can be used to subsequently determine whether the weak magnetic source exists.
  • Step 3011 can be: Obtain the geomagnetic field data of the magnetic sensor in multiple directions, fit the sphere model in the three-dimensional coordinate system, and obtain the calibration sphere model; calculate the sphere center of the calibration sphere model, and the vector from the sphere center to the calibration point, and obtain the calibration sphere center and Calibration vectors; use one of the calibration vectors of the calibration sphere model as the calibration vector, calibrate the modules of multiple calibration vectors, and obtain multiple data vectors; calculate multiple data points based on the data vectors and the calibration sphere center, and calculate Point, fit the reference sphere model in the three-dimensional coordinate system.
  • step 3013 may further include: determining the major axis and/or minor axis of the calibration spheroid model to The vector where at least one of the long axis or the short axis is located is used as a calibration vector, and the modules of other calibration vectors are calibrated to obtain multiple data vectors.
  • the degree of deviation of different magnetic sensors may be different, which will lead to differences in the output results of the magnetic sensors (for example, different vector components, different total intensities, etc.), which will form multiple calibration sphere models as shown in Figure 18. 4'.
  • the first calibration sphere model 4A', the second calibration sphere model 4B', the third calibration sphere model 4C', the fourth calibration sphere model 4D', and the fifth calibration sphere model in the calibration sphere model 4' can be 4E', the sixth calibration sphere model 4F' and the seventh calibration sphere model 4G' are analyzed to obtain a reference sphere model.
  • the above-mentioned multiple calibration sphere models may be generated by fitting the geomagnetic field data corresponding to multiple magnetic sensors.
  • the first calibration sphere model 4A' Define the first calibration sphere model 4A' to be formed by fitting the geomagnetic field data obtained by the first magnetic sensor. Assuming that its vector extending in the positive direction along the x-axis is used as the calibration vector, then the module of the calibration vector is r 1x , corresponding to the i-th The module of the calibration vector of a magnetic sensor on the j-axis is r ij . Further, a scalar operation can be performed on the modulus r 1x of the calibration vector and the modulus r ij of other calibration vectors to achieve calibration of other calibration vectors and form a calibrated data vector accordingly.
  • the above process converts multiple calibrated sphere models shaped like ellipsoids located at different positions into multiple sphere models located at different positions and approximate to regular spheres. Since the calibration process can also include the participation of offset D ij , the The calibration sphere centers of different calibrated spheres are unified to the origin of the three-dimensional coordinate system (the calibration vector minus the corresponding offset D ij or ⁇ B ij ). Therefore, after traversal processing, the multiple calibration sphere models in Figure 18 will finally The unified fitting forms the reference sphere model 4 as shown in Figure 19.
  • the geomagnetic field data detected by different magnetic sensors are distributed on it, which is enough to adapt to the subsequent steps of the weak magnetic detection method provided above, using the magnetic field changes at the observation point as the An indicator to determine whether weak magnetic field exists.
  • the above steps improve the consistency of detection data of different magnetic sensors in the detection device, as well as the consistency of detection data of the same magnetic sensor on different axes.
  • FIG. 20 it is a first embodiment of a specific example of the weak magnetic detection method in yet another embodiment of the present invention, which provides steps 311 and 312 based on step 31 and steps 312 based on step 32. 32".
  • Weak magnetic detection methods specifically include:
  • Step 3011 Obtain geomagnetic field data from multiple magnetic sensors in multiple directions, fit multiple sphere models in the three-dimensional coordinate system, and obtain multiple calibration sphere models;
  • Step 3012 Calculate the sphere center of the calibration sphere model and the vector from the sphere center to the calibration point, and obtain multiple calibration sphere centers and calibration vectors;
  • Step 3013 use the calibration vector of one of the multiple calibration sphere models to calibrate the modules of the multiple calibration vectors to obtain multiple data vectors;
  • Step 3014 Calculate multiple data points based on the data vector and the corresponding calibration sphere center, and fit the reference sphere model in the three-dimensional coordinate system based on the data points;
  • Step 311 Obtain the vector corresponding to the observation point in the first state and obtain the first observation vector
  • Step 312 obtain the vector corresponding to the observation point in the second state, and calibrate it with the calibration vector to obtain the second observation vector;
  • Step 32 if the mode of the second observation vector and the first geomagnetic radius satisfy a preset quantitative relationship, it is determined that a weak magnetic source exists in the non-magnetic cavity, and an existence signal is output.
  • the first embodiment provides a detailed step 31 that matches the foregoing steps, and a corresponding matching step 32".
  • the first observation vector may correspond to the first observation vector 410 in Figure 9, and the second observation vector may correspond to Figure 9. 9, the second observation vector 420, the third observation vector 430, and the fourth observation vector 440, or any other observation vector with respect to the changed state of the first observation vector 410.
  • step 301 and step 31 are configured in detail simultaneously, there is only a relationship between the two that "step 31 is executed based on the calibration parameters generated in step 301". It is understandable that step 301 can be implemented independently of step 31 to generate a more accurate reference sphere model; in addition, the specific implementation of step 31 provided later can be implemented in place of other implementations of step 31, to achieve Corresponding technical effects.
  • a second embodiment of a specific example of the weak magnetic detection method in yet another embodiment of the present invention provides steps 30131 and 30132 refined based on step 3013, and steps refined based on step 312. 3121.
  • Weak magnetic detection methods specifically include:
  • Step 3011 Obtain geomagnetic field data from multiple magnetic sensors in multiple directions, fit multiple sphere models in the three-dimensional coordinate system, and obtain multiple calibration sphere models;
  • Step 3012 Calculate the sphere center of the calibration sphere model and the vector from the sphere center to the calibration point, and obtain multiple calibration sphere centers and calibration vectors;
  • Step 30131 Calculate multiple calibration parameters based on the calibration vector and the modules of the multiple calibration vectors
  • Step 30132 Calibrate the modules of multiple calibration vectors respectively according to multiple calibration parameters to obtain multiple data vectors
  • Step 3014 Calculate multiple data points based on the data vector and the corresponding calibration sphere center, and fit the reference sphere model in the three-dimensional coordinate system based on the data points;
  • Step 311 Obtain the vector corresponding to the observation point in the first state and obtain the first observation vector
  • Step 3121 Obtain the calibration parameters corresponding to the first observation vector and obtain the observation calibration parameters
  • Step 3122 Obtain the vector corresponding to the observation point in the second state, calibrate it with the observation calibration parameters, and obtain the second observation vector;
  • Step 32 if the mode of the second magnetic field observation vector and the first geomagnetic radius satisfy a preset quantitative relationship, it is determined that a weak magnetic source exists in the non-magnetic cavity, and an existence signal is output.
  • the calibration parameter is the quotient of the module of the calibration vector and the module of the calibration vector.
  • the calibration parameter s ij-1x corresponding to the calibration vector is at least configured to satisfy:
  • K i ′ j is the data vector corresponding to the calibration vector
  • K 1x is the conversion coefficient corresponding to the calibration vector (in this embodiment, it is the conversion corresponding to the calibration vector of the first magnetic sensor in the x-axis direction). coefficient).
  • the calibration parameters s ij-1x can be used to calibrate the calibration vectors of all magnetic sensors in all axial directions to generate the data vector B′ ij , where
  • B ij is the output of the i-th magnetic sensor corresponding to the j-axis
  • ⁇ B ij is the offset of the i-th magnetic sensor corresponding to the j-axis.
  • step 3013 and step 312 are configured in detail simultaneously, there is only a relationship between the two that "step 312 is executed based on the calibration parameters generated in step 3013". It is understandable that step 3013 can be implemented independently of step 312 to generate a more accurate reference sphere model; in addition, the specific implementation of step 31 provided later can be implemented in place of other implementations of step 31, to achieve Corresponding technical effects.
  • the above calibration process can be implemented in any process of detection.
  • the detection device will calculate the strength of the magnetic field in real time and judge the weak magnetic source.
  • the operator can be instructed through the status light , to express that there are other strong magnetic field interferences (magnetic control systems, large magnets, etc.) around, which affects the use of the detection device.
  • the alarm light can be configured to be always off to avoid false alarms. The operator can avoid magnetic field interference and then recalibrate the detection device. After the calibration is completed and the detected magnetic field interference has been eliminated, the alarm light and detection process can be restarted.
  • the operator can place the detection device in an environment without an obvious magnetic field, or shake it randomly in the environment (it can be Draw a circle along the "8" figure (or rotate the detection device) until all calibration points are within the corresponding spherical shell range. After testing, the above initialization process usually takes 1-3s.
  • the present invention can also provide another embodiment as shown in Figure 22 to Figure 24, which specifically includes: tracking the change of the distance between at least two observation points on the reference sphere model with the magnetic field, and obtaining the distance change value; if the distance changes If the preset quantitative relationship between the value and the preset spacing change threshold is satisfied, it is determined that a weak magnetic source exists in the non-magnetic cavity. In this way, it is possible to prevent missed detection or omissions caused by the magnetic field generated by the weak magnetic source not being large enough to set the observation point away from the geomagnetic field spherical shell.
  • the reference sphere model may include a fifth observation point 45 and a sixth observation point 46, which have a first spacing ⁇ x 1 in the initial state, and correspond to the sphere center 40 to form fifth observation vectors 450 and 46 respectively.
  • Sixth observation vector 460 After the external magnetic field of the detection device changes, the fifth observation point 45 moves to the first position 45' and forms a new observation vector 450' with the sphere center 40, and the sixth observation point 46 moves to the second position 46 accordingly. ', and forms another new observation vector 460' with the sphere center 40, the first position 45' and the sixth position 46' have a second distance ⁇ x 2 .
  • the difference between the first spacing and the second spacing can be calculated to obtain the spacing change value, and a quantitative relationship can be determined with the corresponding spacing change threshold to determine whether there is a weak magnetic source in the non-magnetic cavity.
  • the above technical solution can be used as a separate technical solution for determining whether a weak magnetic source exists, or as a complement to the above technical solution for using the mode of a magnetic field observation vector to determine whether a weak magnetic source exists. That is, if the module of the magnetic field observation vector and the first geomagnetic radius do not satisfy the preset quantitative relationship, perform the above steps for further verification and judgment.
  • the weak magnetic detection method may further include the following steps.
  • the "tracking the change of the distance between at least two observation points on the reference sphere model with the magnetic field, and obtaining the distance change value" specifically includes: tracking the dispersion of at least two sets of observation points on the reference sphere model, and obtaining the first degree of dispersion. data and second dispersion data, and track the overall dispersion of the at least two groups of observation points to obtain global dispersion data, which are respectively used to characterize the change of the distance between observation points with the magnetic field;
  • the "if the distance change value satisfies a preset quantitative relationship with the preset distance change threshold, then it is determined that a weak magnetic source exists in the non-magnetic cavity" specifically includes: if the global dispersion data is consistent with the preset distance change threshold. If the distance change threshold, the first dispersion data and the second dispersion data satisfy a preset quantitative relationship, it is determined that a weak magnetic source exists in the non-magnetic cavity.
  • the first dispersion data is defined as s (group 1 )
  • the second dispersion data is defined as s (group 2 )
  • the distance change threshold is defined as s th
  • the global dispersion data is defined is s(group 1 , group 2 ,...), then the global dispersion data is at least configured to satisfy: s(group 1 ,group 2 ,%)>max(s(group 1 ),s(group 1 ),%)+s th .
  • the global dispersion data is greater than the sum of the maximum value of all dispersion data such as the first dispersion data and the second dispersion data and the dispersion tolerance, it is determined that the entire magnetic field is affected by The interference of the external magnetic field (weak magnetic source, etc.) is detected, and then it is determined that there is a weak magnetic source in the non-magnetic cavity.
  • the function of the dispersion tolerance is to adjust the sensitivity and anti-interference ability of calculation and judgment.
  • the global discrete data is approximately equal to or slightly smaller than the sum of the maximum value and the dispersion tolerance, it is determined that the entire magnetic field is not interfered by the external magnetic field. In the presence of outliers, the above conditions are still achieved.
  • the above preferred technical solution provided by the present invention can be used as a supplementary verification step for any of the foregoing embodiments. It can also be used as an independent method to determine the weak magnetic source, replacing the previous technical solution of judging whether the weak magnetic source exists through the mode of the magnetic field observation vector, and preferably can be combined with any of the additional features or implementations described above.
  • the observation point set before the magnetic field change is defined is distributed in the first region 47 , and the first region 47 has a degree of dispersion.
  • the original observation point set will form a first sub-set 471 and a second sub-set 472, reflecting that the observation point distribution area expands from the first area 47 For the second area 47'. In this way, it can be determined that there is a weak magnetic source in the non-magnetic cavity.
  • the third area 48A shows the global distribution of the first observation point set 481A and the second observation point set 482A under the action of the weak magnetic source.
  • the third area 48A has global dispersion data representing the current global distribution
  • the first observation point set 481A has the first dispersion data
  • the second observation point set 482A has the second dispersion data.
  • the global dispersion data is greater than the sum of the maximum value and the dispersion tolerance in the first dispersion data and the second dispersion data.
  • the fourth area 48B shows the global distribution of the first observation point set 481B and the second observation point set 482B in another situation.
  • the fourth area 48B has another global dispersion data characterizing the current global distribution.
  • the distribution area of the second observation point set 482B is basically unchanged compared to 482A.
  • Outliers appear in the first observation point set 481B and the distribution area is larger than 481A.
  • the global dispersion degree of the fourth area 48B is still roughly equal to The sum of the first dispersion degree and the dispersion degree tolerance of the larger first observation point set 481B. Based on this, even if outliers appear in the set, it can be determined based on the global dispersion data and global distribution that there is no weak magnetic source or other external magnetic field influence at this time, and the influence of outliers can be effectively eliminated.
  • the method provided by this embodiment may further include: filtering out outliers among the at least two observation points after the change, and calculating the dispersion data based on the filtered observation points.
  • the present invention uses the weak magnetism carried by the medical equipment to detect the medical equipment in the non-magnetic cavity.
  • a reference sphere model that represents the strength of the geomagnetic field
  • the vector changes of the points are compared and judged based on a certain preset quantitative relationship. Since the detection process only needs to receive the geomagnetic field and the weak magnetic field emitted by the medical equipment, it does not send a signal to the non-magnetic cavity, so there will be no High-intensity radiation causes damage to the non-magnetic cavity.
  • the technical solution based on fitting the sphere model and making vector judgment can achieve the technical effects of fast detection speed, simple process and low probability of false triggering.

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Molecular Biology (AREA)
  • Biophysics (AREA)
  • Pathology (AREA)
  • Biomedical Technology (AREA)
  • Veterinary Medicine (AREA)
  • Medical Informatics (AREA)
  • Physics & Mathematics (AREA)
  • Surgery (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Human Computer Interaction (AREA)
  • Physiology (AREA)
  • Measuring Magnetic Variables (AREA)
  • Endoscopes (AREA)

Abstract

Disclosed are a weak magnetic detection method and an endoscope detector. The weak magnetic detection method is used for detecting a weak magnetic medical device in a non-magnetic cavity, and comprises: acquiring, on a reference sphere model, a magnetic field observation vector formed by at least one observation point after a magnetic field change; and if a preset quantitative relation is satisfied between a module of the magnetic field observation vector and a first geomagnetic radius, judging that a weak magnetic source exists in the non-magnetic cavity, and outputting an existence signal. The weak magnetic detection method provided by the present invention does not generate high-intensity radiation to damage the non-magnetic cavity, and can achieve the technical effects of high detection speed, simple process, and low false triggering probability.

Description

弱磁探测方法及内窥镜探测器Weak magnetic detection method and endoscopic detector
本申请要求了申请日为2022年06月28日,申请号为202210749814.X,发明名称为“弱磁探测方法及内窥镜探测器”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the filing date of June 28, 2022, the application number is 202210749814.X, and the invention name is "Weak magnetic detection method and endoscopic detector", the entire content of which is incorporated by reference in this application.
技术领域Technical field
本发明涉及医疗技术领域,尤其涉及一种弱磁探测方法及内窥镜探测器。The invention relates to the field of medical technology, and in particular to a weak magnetic detection method and an endoscope detector.
背景技术Background technique
目前,医疗技术领域所提供的内窥镜排出检测方法,主要通过内窥镜自身在排出体外时所输出声信号或光信号,提醒患者自行回收。但此种方案带来的体验感较差,也难以避免地存在内窥镜在患者体内被误触发,或存在排出体外后由于粪便遮挡而无法通过感光元件触发报警的问题。现有技术中还提供一种通过X光检测患者消化道内部情况,进而判断患者体内是否仍存在内窥镜的技术方案,虽然能够准确检测出内窥镜的位置,但是X光拍摄流程复杂、耗时较长,且对人体具有损害。因此,如何提供一种误触发概率低、对人体无损害、检测过程方便迅速,且能够应用于医疗技术领域的弱磁探测方法,成为亟待解决的技术问题。Currently, the endoscope discharge detection methods provided in the medical technology field mainly use the acoustic signal or light signal output by the endoscope itself when it is discharged from the body to remind the patient to recycle it by himself. However, this solution brings a poor sense of experience, and it is inevitable that the endoscope will be mistakenly triggered inside the patient's body, or that the alarm cannot be triggered through the photosensitive element due to the obstruction of feces after being discharged from the body. The existing technology also provides a technical solution for detecting the internal conditions of the patient's digestive tract through It takes a long time and is harmful to the human body. Therefore, how to provide a weak magnetic detection method that has a low probability of false triggering, is not harmful to the human body, has a convenient and rapid detection process, and can be applied in the field of medical technology has become an urgent technical problem to be solved.
发明内容Contents of the invention
本发明的目的之一在于提供一种弱磁探测方法,以解决现有技术中对弱磁性医疗设备的检测效果差、检测速度慢,检测过程对人体有害,以及误触发概率高的技术问题。One of the purposes of the present invention is to provide a weak magnetic detection method to solve the technical problems in the prior art of poor detection effect of weak magnetic medical equipment, slow detection speed, harmful detection process to human body, and high probability of false triggering.
本发明的目的之一在于提供一种内窥镜探测器。One object of the present invention is to provide an endoscopic detector.
为实现上述发明目的之一,本发明一实施方式提供一种弱磁探测方法,用于探测非磁性腔体内的弱磁性医疗设备,包括:获取参考球体模型上,至少一个观察点在磁场变化后形成的磁场观察向量;其中,所述参考球体模型表征地磁场情况且具有第一地磁半径;若所述磁场观察向量的模与所述第一地磁半径之间满足预设的数量关系,则判定所述非磁性腔体内存在弱磁源,输出存在信号。In order to achieve one of the above-mentioned objects of the invention, one embodiment of the present invention provides a weak magnetic detection method for detecting weak magnetic medical equipment in a non-magnetic cavity, including: obtaining at least one observation point on a reference sphere model after the magnetic field changes. The formed magnetic field observation vector; wherein, the reference sphere model represents the geomagnetic field and has a first geomagnetic radius; if the module of the magnetic field observation vector and the first geomagnetic radius satisfy a preset quantitative relationship, it is determined that There is a weak magnetic source in the non-magnetic cavity, and a presence signal is output.
作为本发明一实施方式的进一步改进,所述“若所述磁场观察向量的模与所述第一地磁半径之间满足预设的数量关系,则判定所述非磁性腔体内存在弱磁源,输出存在信号”具体包括:若所述磁场观察向量的模小于第一判据值,或所述磁场观察向量的模大于第二判据值,则判定所述非磁性腔体内存在弱磁源,输出存在信号;其中,所述第一判据值等于所述第一地磁半径与第一容差之差,所述第二判据值等于所述第一地磁半径与第一容差之和,所述第一容差表征所述参考球体模型中不同地磁场向量的模之间的差异。As a further improvement of an embodiment of the present invention, it is said that "if the mode of the magnetic field observation vector and the first geomagnetic radius satisfy a preset quantitative relationship, it is determined that a weak magnetic source exists in the non-magnetic cavity, "Outputting the presence signal" specifically includes: if the module of the magnetic field observation vector is less than the first criterion value, or the module of the magnetic field observation vector is greater than the second criterion value, then it is determined that a weak magnetic source exists in the non-magnetic cavity, Output a presence signal; wherein the first criterion value is equal to the difference between the first geomagnetic radius and the first tolerance, and the second criterion value is equal to the sum of the first geomagnetic radius and the first tolerance, The first tolerance represents the difference between modes of different geomagnetic field vectors in the reference sphere model.
作为本发明一实施方式的进一步改进,所述方法还包括:接收所述存在信号,获取所述存在信号的数量和/或平均持续时间;若所述存在信号的数量和/或平均持续时间大于预设值,则输出报警信号。As a further improvement of an embodiment of the present invention, the method further includes: receiving the presence signal, and obtaining the number and/or average duration of the presence signal; if the number and/or average duration of the presence signal is greater than If the preset value is reached, an alarm signal will be output.
作为本发明一实施方式的进一步改进,所述方法还包括:接收所述存在信号,获取在预设时间范围内的若干所述磁场观察向量的模;计算若干所述磁场观察向量的模的标准差,得到磁观察标准差;当所述磁观察标准差小于等于预设的动态磁场阈值时,输出报警信号。As a further improvement of an embodiment of the present invention, the method further includes: receiving the presence signal, obtaining several modes of the magnetic field observation vectors within a preset time range; and calculating standards for several modes of the magnetic field observation vectors. difference, the magnetic observation standard deviation is obtained; when the magnetic observation standard deviation is less than or equal to the preset dynamic magnetic field threshold, an alarm signal is output.
作为本发明一实施方式的进一步改进,所述“获取参考球体模型上,至少一个观察点在磁场变化后形成的磁场观察向量”具体包括:获取参考球体模型上,至少一个观察点在磁场变化后形成的磁场观察向量,以及在所述磁场变化过程中的加速度和旋转角速度变化信号,得到磁场观察向量的模、加速度数据和陀螺数据;所述方法还包括:接收所述存在信号,计算所述加速度数据的标准差,和/或所述陀螺数据的平均值,得到速度标准差和/或陀螺均值;若所述速度标准差小于等于预设的动态速度阈值,且/或若所述陀螺均值小于等于预设的动态旋转阈值,则输出报警信号。As a further improvement of an embodiment of the present invention, the "obtaining the magnetic field observation vector formed by at least one observation point after the magnetic field changes on the reference sphere model" specifically includes: obtaining the magnetic field observation vector formed by at least one observation point after the magnetic field changes on the reference sphere model. The formed magnetic field observation vector, as well as the acceleration and rotation angular velocity change signals during the magnetic field change process, are used to obtain the module, acceleration data and gyro data of the magnetic field observation vector; the method also includes: receiving the presence signal, calculating the The standard deviation of the acceleration data, and/or the average value of the gyro data, is used to obtain the speed standard deviation and/or the gyro mean value; if the speed standard deviation is less than or equal to the preset dynamic speed threshold, and/or if the gyro mean value If it is less than or equal to the preset dynamic rotation threshold, an alarm signal will be output.
作为本发明一实施方式的进一步改进,在“获取参考球体模型上,至少一个观察点在磁场变化后形成的磁场观察向量”之前,所述方法还包括:获取多方位的地磁场数据,在三维坐标系中拟合得到所述参考球体模型;根据所述地磁场数据,计算得到多方位的地磁场向量;根据所述地磁场向量的模,计算得到所述预设的数量关系中的第一容差;其中,所述第一容差表征所述参考球体模型中不同地磁场向量的模之间的差异,所述地磁场向量配置为,由所述参考球体模型的球心指向所述地磁场数据在所述三维坐标系中位置的有向线段;所述第一容差配置为所述地磁场向量的模的标准差的整数倍。As a further improvement of an embodiment of the present invention, before "obtaining the magnetic field observation vector formed by at least one observation point after the magnetic field changes on the reference sphere model", the method further includes: acquiring multi-directional geomagnetic field data, in three dimensions The reference sphere model is obtained by fitting in the coordinate system; multi-directional geomagnetic field vectors are calculated according to the geomagnetic field data; and the first value in the preset quantitative relationship is calculated according to the module of the geomagnetic field vector. Tolerance; wherein, the first tolerance represents the difference between the modes of different geomagnetic field vectors in the reference sphere model, and the geomagnetic field vector is configured such that the center of the sphere of the reference sphere model points to the earth. A directed line segment of the position of the magnetic field data in the three-dimensional coordinate system; the first tolerance is configured as an integer multiple of the standard deviation of the mode of the geomagnetic field vector.
作为本发明一实施方式的进一步改进,在“获取参考球体模型上,至少一个观察点在磁场变化后形成的磁场观察向量”之前,所述方法还包括:获取多个磁传感器在多方位下的地磁场数据,在三维坐标系中拟合多个球体模型,得到多个标定球体模型;计算所述标定球体模型的球心,以及由所述参考球体模型的球心到标定点的向量,得到多个标定球心和标定向量;以多个所述标定球体模型的其中之一的校准向量,校准多个所述标定向量的模,得到多个数据向量;根据所述数据向量及对应的所述标定球心,计算得到多个数据点,并根据所述数据点,在三维坐标系中拟合参考球体模型;其中,所述磁场数据分布于所述标定球体模型上形成多个所述标定点;所述校准 向量为所述标定球体模型的其中之一在预设方向上的标定向量;所述“获取参考球体模型上,至少一个观察点在磁场变化后形成的磁场观察向量”具体包括:获取所述观察点在第一状态下对应的向量,得到第一观察向量;获取所述观察点在第二状态下对应的向量,并以所述校准向量校准,得到第二观察向量;所述“若所述磁场观察向量的模与所述第一地磁半径之间满足预设的数量关系,则判定所述非磁性腔体内存在弱磁源,输出存在信号”具体包括:若所述第二观察向量的模与所述第一地磁半径之间满足预设的数量关系,则判定所述非磁性腔体内存在所述弱磁源,输出所述存在信号。As a further improvement of an embodiment of the present invention, before "obtaining the magnetic field observation vector formed by at least one observation point after the magnetic field changes on the reference sphere model", the method further includes: acquiring the multi-azimuth observations of multiple magnetic sensors. Using geomagnetic field data, fit multiple sphere models in a three-dimensional coordinate system to obtain multiple calibration sphere models; calculate the sphere center of the calibration sphere model and the vector from the sphere center of the reference sphere model to the calibration point, and obtain Multiple calibration sphere centers and calibration vectors; Calibrate the modules of multiple calibration vectors with the calibration vector of one of the multiple calibration sphere models to obtain multiple data vectors; According to the data vectors and the corresponding The calibration sphere center is calculated to obtain multiple data points, and a reference sphere model is fitted in a three-dimensional coordinate system according to the data points; wherein the magnetic field data is distributed on the calibration sphere model to form multiple calibration spheres. fixed point; the calibration The vector is the calibration vector in the preset direction of one of the calibration sphere models; the "obtaining the magnetic field observation vector formed by at least one observation point after the magnetic field changes on the reference sphere model" specifically includes: obtaining the observation The vector corresponding to the point in the first state is obtained to obtain the first observation vector; the vector corresponding to the observation point in the second state is obtained, and calibrated with the calibration vector to obtain the second observation vector; the "if If the modulus of the magnetic field observation vector and the first geomagnetic radius satisfy a preset quantitative relationship, then it is determined that a weak magnetic source exists in the non-magnetic cavity, and outputting the presence signal specifically includes: If the modulus of the second observation vector If the preset quantitative relationship is satisfied with the first geomagnetic radius, then it is determined that the weak magnetic source exists in the non-magnetic cavity, and the existence signal is output.
作为本发明一实施方式的进一步改进,所述标定球体模型为椭球体,所述预设方向为所述椭球体的长轴方向,所述“以多个所述标定球体模型的其中之一的校准向量,校准多个所述标定向量的模,得到多个数据向量”具体包括:根据所述校准向量和多个所述标定向量的模,计算得到多个校准参数;其中所述校准参数为所述校准向量的模与所述标定向量的模的商;根据多个所述校准参数,分别校准多个所述标定向量的模,得到多个数据向量;所述“获取所述观察点在第二状态下对应的向量,并以所述校准向量校准,得到第二观察向量”具体包括:获取第一观察向量对应的校准参数,得到观察校准参数;获取所述观察点在所述第二状态下对应的向量,以所述观察校准参数校准,得到第二观察向量。As a further improvement of an embodiment of the present invention, the calibration sphere model is an ellipsoid, the preset direction is the long axis direction of the ellipsoid, and the "use one of the multiple calibration sphere models" "Calibrate vectors, calibrate the modules of multiple calibration vectors, and obtain multiple data vectors" specifically includes: calculating multiple calibration parameters according to the calibration vector and the modules of multiple calibration vectors; wherein the calibration parameters are The quotient of the module of the calibration vector and the module of the calibration vector; calibrating the modules of multiple calibration vectors respectively according to multiple calibration parameters to obtain multiple data vectors; the "obtaining the observation point at The corresponding vector in the second state is calibrated with the calibration vector to obtain the second observation vector" specifically includes: obtaining the calibration parameter corresponding to the first observation vector to obtain the observation calibration parameter; obtaining the position of the observation point in the second The corresponding vector in the state is calibrated with the observation calibration parameters to obtain the second observation vector.
作为本发明一实施方式的进一步改进,所述方法还包括:若所述磁场观察向量的模与所述第一地磁半径之间不满足预设的数量关系,则追踪参考球体模型上至少两个观察点的间距随磁场变化的情况,获得间距变化值;若所述间距变化值与预设的间距变化阈值之间满足预设的数量关系,则判定所述非磁性腔体内存在弱磁源。As a further improvement of an embodiment of the present invention, the method further includes: if the mode of the magnetic field observation vector and the first geomagnetic radius do not satisfy a preset quantitative relationship, tracking at least two of the reference sphere models Observe how the spacing of the points changes with the magnetic field, and obtain the spacing change value; if the spacing change value and the preset spacing change threshold satisfy a preset quantitative relationship, it is determined that a weak magnetic source exists in the non-magnetic cavity.
作为本发明一实施方式的进一步改进,所述“追踪参考球体模型上至少两个观察点的间距随磁场变化的情况,获得间距变化值”具体包括:追踪参考球体模型上至少两组观察点集合的离散度情况,得到第一离散度数据和第二离散度数据,并追踪所述至少两组观察点整体的离散度情况,得到全局离散度数据,分别用于表征观察点的间距随磁场变化的情况;所述“若所述间距变化值与预设的间距变化阈值之间满足预设的数量关系,则判定所述非磁性腔体内存在弱磁源”具体包括:若所述全局离散度数据与所述预设的间距变化阈值、所述第一离散度数据和所述第二离散度数据之间满足预设的数量关系,则判定所述非磁性腔体内存在弱磁源。As a further improvement of an embodiment of the present invention, the "tracking the change of the distance between at least two observation points on the reference sphere model with the magnetic field and obtaining the distance change value" specifically includes: tracking at least two sets of observation points on the reference sphere model The dispersion situation is obtained, and the first dispersion data and the second dispersion data are obtained, and the overall dispersion situation of the at least two groups of observation points is tracked to obtain global dispersion data, which are respectively used to characterize the change of the distance between observation points with the magnetic field. situation; the "if the distance change value and the preset distance change threshold satisfy a preset quantitative relationship, then determine that there is a weak magnetic source in the non-magnetic cavity" specifically includes: if the global dispersion If a preset quantitative relationship is satisfied between the data and the preset spacing change threshold, the first dispersion data and the second dispersion data, it is determined that a weak magnetic source exists in the non-magnetic cavity.
为实现上述发明目的之一,本发明一实施方式提供一种内窥镜探测器,用于探测非磁性腔体内的内窥镜,所述内窥镜配置为具有弱磁性,所述内窥镜探测器包括探测面板,以及连接于所述探测面板的手柄,所述探测面板包括相背设置的显示面和感测面,所述内窥镜探测器配置为实施上述任一种技术方案所述的弱磁探测方法。In order to achieve one of the above-mentioned objects of the invention, one embodiment of the present invention provides an endoscope detector for detecting an endoscope in a non-magnetic cavity, the endoscope is configured to have weak magnetism, and the endoscope The detector includes a detection panel and a handle connected to the detection panel. The detection panel includes a display surface and a sensing surface arranged oppositely. The endoscopic detector is configured to implement any of the above technical solutions. Weak magnetic detection method.
作为本发明一实施方式的进一步改进,所述显示面设置有配置为环形的报警灯和状态灯,所述感测面均匀分布有至少四个感测单元,所述感测单元包括至少两个磁传感器,所述磁传感器其中之一设置于靠近所述感测面的几何中心一侧,其中另一设置于远离所述几何中心一侧。As a further improvement of an embodiment of the present invention, the display surface is provided with alarm lights and status lights configured in a ring shape, and the sensing surface is evenly distributed with at least four sensing units, and the sensing units include at least two Magnetic sensor, one of the magnetic sensors is disposed close to the geometric center of the sensing surface, and the other one is disposed far away from the geometric center.
与现有技术相比,本发明利用医疗设备携带的弱磁性,对非磁性腔体内的医疗设备进行检测,通过拟合表征地磁场强度的参考球体模型,追踪在不同状态下,该参考球体模型中某一数据点的向量变化情况,从而根据一定预设的数量关系进行比较判断,由于检测过程只需要对地磁场以及医疗设备发出的弱磁场进行接收,并不向非磁性腔体发出信号,因此不会产生高强度辐射而对非磁性腔体产生损伤,同时基于拟合球体模型并进行向量判断的技术方案,又能够达到检测速度快、流程简单且误触发概率低的技术效果。Compared with the existing technology, the present invention uses the weak magnetism carried by medical equipment to detect the medical equipment in the non-magnetic cavity. By fitting a reference sphere model that represents the strength of the geomagnetic field, the invention tracks the reference sphere model in different states. The vector changes of a certain data point in the data point are compared and judged based on a certain preset quantitative relationship. Since the detection process only needs to receive the geomagnetic field and the weak magnetic field emitted by the medical equipment, it does not send a signal to the non-magnetic cavity. Therefore, high-intensity radiation will not be generated to cause damage to the non-magnetic cavity. At the same time, the technical solution based on fitting the sphere model and making vector judgment can achieve the technical effects of fast detection speed, simple process and low probability of false triggering.
附图说明Description of drawings
图1是本发明一实施方式中内窥镜探测装置第一侧面的结构示意图;Figure 1 is a schematic structural diagram of the first side of the endoscope detection device in an embodiment of the present invention;
图2是本发明一实施方式中内窥镜探测装置第二侧面的结构示意图;Figure 2 is a schematic structural diagram of the second side of the endoscope detection device in one embodiment of the present invention;
图3是本发明另一实施方式中内窥镜探测装置第三侧面的结构示意图;Figure 3 is a schematic structural diagram of the third side of the endoscope detection device in another embodiment of the present invention;
图4是本发明另一实施方式中内窥镜探测装置第四侧面的结构示意图;Figure 4 is a schematic structural diagram of the fourth side of the endoscope detection device in another embodiment of the present invention;
图5是本发明一实施方式中内窥镜探测装置与人体的配合结构示意图;Figure 5 is a schematic structural diagram of the cooperation between the endoscope detection device and the human body in one embodiment of the present invention;
图6是本发明一实施方式中内窥镜探测装置的扫描轨迹的结构示意图;Figure 6 is a schematic structural diagram of the scanning trajectory of the endoscope detection device in one embodiment of the present invention;
图7是本发明另一实施方式中内窥镜探测装置的扫描轨迹的结构示意图;Figure 7 is a schematic structural diagram of the scanning trajectory of the endoscope detection device in another embodiment of the present invention;
图8是本发明一实施方式中弱磁探测方法的步骤示意图;Figure 8 is a schematic diagram of the steps of a weak magnetic detection method in an embodiment of the present invention;
图9是本发明一实施方式中弱磁探测方法的一具体应用场景下的磁场分布示意图;Figure 9 is a schematic diagram of magnetic field distribution in a specific application scenario of the weak magnetic detection method in an embodiment of the present invention;
图10是本发明另一实施方式中弱磁探测方法的步骤示意图;Figure 10 is a schematic diagram of the steps of a weak magnetic detection method in another embodiment of the present invention;
图11是本发明一实施方式中弱磁探测方法的第一实施例的步骤示意图;Figure 11 is a schematic diagram of the steps of the first embodiment of the weak magnetic detection method in an embodiment of the present invention;
图12是本发明一实施方式中弱磁探测方法的第一实施例的信号变化示意图;Figure 12 is a schematic diagram of signal changes in the first embodiment of the weak magnetic detection method in an embodiment of the present invention;
图13是本发明一实施方式中弱磁探测方法的第二实施例的步骤示意图;Figure 13 is a schematic diagram of the steps of the second embodiment of the weak magnetic detection method in an embodiment of the present invention;
图14是本发明一实施方式中弱磁探测方法的第三实施例的步骤示意图;Figure 14 is a schematic diagram of the steps of the third embodiment of the weak magnetic detection method in an embodiment of the present invention;
图15是本发明再一实施方式中弱磁探测方法的步骤示意图; Figure 15 is a schematic diagram of the steps of a weak magnetic detection method in yet another embodiment of the present invention;
图16是本发明再一实施方式中弱磁探测方法的一具体示例的步骤示意图;Figure 16 is a schematic step diagram of a specific example of a weak magnetic detection method in yet another embodiment of the present invention;
图17是本发明再一实施方式中弱磁探测方法的一具体应用场景下的球体模型的分布示意图;Figure 17 is a schematic distribution diagram of a sphere model in a specific application scenario of the weak magnetic detection method in yet another embodiment of the present invention;
图18是本发明再一实施方式中弱磁探测方法的另一具体应用场景下的球体模型的分布示意图;Figure 18 is a schematic distribution diagram of a sphere model in another specific application scenario of the weak magnetic detection method in yet another embodiment of the present invention;
图19是本发明再一实施方式中弱磁探测方法的一具体应用场景下的参考球体模型的分布示意图;Figure 19 is a schematic distribution diagram of the reference sphere model in a specific application scenario of the weak magnetic detection method in yet another embodiment of the present invention;
图20是本发明再一实施方式中弱磁探测方法的一具体示例的第一实施例的步骤示意图;Figure 20 is a schematic step diagram of a first embodiment of a specific example of a weak magnetic detection method in yet another embodiment of the present invention;
图21是本发明再一实施方式中弱磁探测方法的一具体示例的第二实施例的步骤示意图;Figure 21 is a schematic step diagram of a second embodiment of a specific example of a weak magnetic detection method in yet another embodiment of the present invention;
图22是本发明又一实施方式中弱磁探测方法的一具体应用场景下的磁场分布示意图;Figure 22 is a schematic diagram of magnetic field distribution in a specific application scenario of the weak magnetic detection method in another embodiment of the present invention;
图23是本发明又一实施方式中弱磁探测方法的一具体应用场景下的观察点变化过程的分布示意图;Figure 23 is a schematic distribution diagram of the observation point change process in a specific application scenario of the weak magnetic detection method in another embodiment of the present invention;
图24是本发明又一实施方式中弱磁探测方法的一具体应用场景下的变化后观察点的两种可能的分布示意图。Figure 24 is a schematic diagram of two possible distributions of observation points after changes in a specific application scenario of the weak magnetic detection method in another embodiment of the present invention.
具体实施方式Detailed ways
以下将结合附图所示的具体实施方式对本发明进行详细描述。但这些实施方式并不限制本发明,本领域的普通技术人员根据这些实施方式所做出的结构、方法、或功能上的变换均包含在本发明的保护范围内。The present invention will be described in detail below with reference to the specific embodiments shown in the accompanying drawings. However, these embodiments do not limit the present invention. Structural, method, or functional changes made by those of ordinary skill in the art based on these embodiments are all included in the protection scope of the present invention.
需要说明的是,术语“包括”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。此外,术语“第一”、“第二”、“第三”、“第四”、“第五”、“第六”、“第七”等仅用于描述目的,而不能理解为指示或暗示相对重要性。It should be noted that the term "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion, such that a process, method, article or apparatus including a list of elements not only includes those elements, but also includes those not expressly listed Other elements, or elements inherent to the process, method, article or equipment. In addition, the terms "first", "second", "third", "fourth", "fifth", "sixth", "seventh", etc. are used for descriptive purposes only and are not to be construed as indicating or indicating implies relative importance.
弱磁探测工具可以搭载一种弱磁探测方法,并被用于探测非磁性腔体内的弱磁设备。由于弱磁设备的磁性比较弱,在叠加有诸如地磁场等外界干扰后,通常难以被准确地测得,使得操作者无法准确地知晓非磁性腔体内部是否还留存有弱磁设备,以及无法知晓弱磁设备当前的状态情况。The field weakening detection tool can be equipped with a field weakening detection method and be used to detect the field weakening equipment in the non-magnetic cavity. Since the magnetism of weak magnetic equipment is relatively weak, it is usually difficult to accurately measure it when external interference such as the geomagnetic field is superimposed, making it impossible for the operator to accurately know whether there is still weak magnetic equipment inside the non-magnetic cavity, and it is impossible to Know the current status of the field weakening equipment.
上述问题在医疗领域中反映为:医疗工作者难以判断人体(可看作上述非磁性腔体)中是否仍然包含内窥镜(可看作上述弱磁设备)。若内窥镜(特别是胶囊内窥镜)并未被顺利排出人体,长时间留存会给后续治疗、诊断带来困难,也极有可能对人体造成损伤。The above problems are reflected in the medical field as follows: it is difficult for medical workers to determine whether the human body (can be regarded as the above-mentioned non-magnetic cavity) still contains an endoscope (which can be regarded as the above-mentioned weak magnetic equipment). If the endoscope (especially the capsule endoscope) is not smoothly discharged from the human body, retaining it for a long time will make subsequent treatment and diagnosis difficult, and it is also very likely to cause damage to the human body.
基于此,本发明提供一种内窥镜探测装置,用于探测人体内的内窥镜;所述内窥镜配置为具有弱磁性。当然,所述内窥镜探测装置还可以进一步应用于其他具有同等精度要求的场景下,从而对任何存在于非磁性腔体内的弱磁设备进行探测。Based on this, the present invention provides an endoscope detection device for detecting an endoscope in the human body; the endoscope is configured to have weak magnetism. Of course, the endoscope detection device can be further applied in other scenarios with the same accuracy requirements to detect any weak magnetic equipment existing in the non-magnetic cavity.
在本发明一实施方式中,内窥镜探测装置1的结构如图1和图2所示,包括探测面板11,以及枢转地连接于探测面板11的手柄12。探测面板11进一步可以包括相背设置的显示面111和感测面112,其中显示面111可以设置于内窥镜探测装置1(或者,探测面板11)的第一侧面,而感测面112可以设置于内窥镜探测装置1(或者,探测面板11)的第二侧面。优选地,内窥镜探测装置1配置为实施一种弱磁探测方法,以实现内窥镜探测功能。In one embodiment of the present invention, the structure of the endoscope detection device 1 is as shown in FIGS. 1 and 2 , including a detection panel 11 and a handle 12 pivotally connected to the detection panel 11 . The detection panel 11 may further include a display surface 111 and a sensing surface 112 arranged oppositely, wherein the display surface 111 may be provided on the first side of the endoscope detection device 1 (or the detection panel 11 ), and the sensing surface 112 may It is provided on the second side of the endoscope detection device 1 (or detection panel 11). Preferably, the endoscope detection device 1 is configured to implement a weak magnetic detection method to realize the endoscope detection function.
进一步地,手柄12可以配置为长条块状,且可以沿其长度延伸方向布置于第一平面内。所述第一平面可以与探测面板11所在平面呈角度设置,手柄12可以优选地配置为以其与探测面板11的枢转连接部分为轴旋转,调整第一平面与探测面板11的角度,以调节手柄12和探测面板11的相对位置关系。在实际使用过程中,操作者握持手柄12并将探测面板11靠近非磁性腔体设置,基于上述结构配置,操作者可以轻松地通过调节两者的相对位置关系来调节探测面板11的姿态。当然,在其他实施方式中,探测面板11和手柄12之间也可以配置为相对位置固定的固定连接,可以是手柄12与探测面板11沿同一水平面延伸,也可以是手柄12与探测面板11所在平面成角度地设置,以方便探测面板11贴近待检测的非磁性腔体。Further, the handle 12 may be configured in the shape of a long block, and may be arranged in the first plane along its length extension direction. The first plane can be set at an angle to the plane where the detection panel 11 is located, and the handle 12 can preferably be configured to rotate around its pivot connection part with the detection panel 11 to adjust the angle between the first plane and the detection panel 11, so as to adjust the angle between the first plane and the detection panel 11. Adjust the relative positional relationship between the handle 12 and the detection panel 11. During actual use, the operator holds the handle 12 and places the detection panel 11 close to the non-magnetic cavity. Based on the above structural configuration, the operator can easily adjust the posture of the detection panel 11 by adjusting the relative position relationship between the two. Of course, in other embodiments, the detection panel 11 and the handle 12 can also be configured as a fixed connection with a fixed relative position. The handle 12 and the detection panel 11 can extend along the same horizontal plane, or the handle 12 and the detection panel 11 can be located where the handle 12 and the detection panel 11 are located. The plane is arranged at an angle to facilitate the proximity of the detection panel 11 to the non-magnetic cavity to be detected.
在本实施方式中,手柄12还可以进一步设置有指示灯121,用于指示内窥镜探测装置1的供电状态和/或故障状态。例如,在一种情况下,指示灯121被配置为:在充电状态发出第一种颜色灯光、在使用状态发出第二种颜色灯光、且/或在电量不足状态发出第三种颜色灯光。又例如,在另一种情况下,指示灯121被配置为至少两个,以通过点亮指示灯121的数量多少示出当前供电状态。又例如,在另一种情况下,指示灯121配置为检测到内窥镜探测装置1的内部元器件出现工作异常时,发出频闪或持续的灯光以指示。In this embodiment, the handle 12 may be further provided with an indicator light 121 for indicating the power supply status and/or fault status of the endoscope detection device 1 . For example, in one case, the indicator light 121 is configured to emit a first color light in the charging state, a second color light in the use state, and/or a third color light in the low battery state. For another example, in another case, at least two indicator lights 121 are configured to show the current power supply status by lighting the number of indicator lights 121 . For another example, in another case, the indicator light 121 is configured to emit a strobe or continuous light to indicate when it detects that an internal component of the endoscope detection device 1 is working abnormally.
手柄12还可以进一步包括一容置空仓122,该容置空仓122可以配置为电池仓以容纳供电电池,也可以配置为控制仓以容纳用于实现弱磁探测功能的元器件。出于美观和使用方便的考虑,指示灯121设置于手柄12靠近探测面板11一侧,容置空仓122设置于手柄12远离探测面板11一侧,从而在操作者握持后,手掌足以覆盖容置空仓122以保护内部元器件,且不至于遮挡指示灯121,方便查看当前内窥镜探测装置1的状态。基于同样理由,至少指示灯121可以配置为位于显示面111的同侧(可以是上述第一侧面)。The handle 12 may further include an empty storage compartment 122, which may be configured as a battery compartment to accommodate a power supply battery, or as a control compartment to accommodate components used to implement the weak magnetic detection function. For the sake of appearance and ease of use, the indicator light 121 is set on the side of the handle 12 close to the detection panel 11, and the empty storage compartment 122 is set on the side of the handle 12 away from the detection panel 11, so that after the operator holds it, the palm of his hand is enough to cover the container. The empty compartment 122 is installed to protect the internal components and not to block the indicator light 121, so as to facilitate checking the current status of the endoscope detection device 1. For the same reason, at least the indicator light 121 may be configured to be located on the same side of the display surface 111 (which may be the above-mentioned first side).
当然,容置空仓122暴露于外部的盖板可以配置为与手柄12上其他部位处于相同的平面内,以提升手柄12 的一体性。考虑到握持稳定的好处,当然也可以将所述盖板配置为突出于手柄12上其他部位,并形成符合人体工学的造型,增加手掌与手柄12之间配合的摩擦力,增强握持效果。Of course, the cover plate that accommodates the empty compartment 122 and is exposed to the outside can be configured to be in the same plane as other parts of the handle 12 to lift the handle 12 of oneness. Considering the benefit of stable grip, of course, the cover can also be configured to protrude from other parts of the handle 12 and form an ergonomic shape to increase the friction between the palm and the handle 12 and enhance the grip effect. .
优选地,显示面111可以进一步包括配置为环形的报警灯1111和状态灯1112,当然报警灯1111和状态灯1112还可以被配置为弧形或其他形状,例如报警灯1111配置为位于显示面111上远离或靠近手柄12位置的半圆圆弧,状态灯1112配置为位于显示面111上靠近或远离手柄12位置的半圆圆弧。Preferably, the display surface 111 may further include an alarm light 1111 and a status light 1112 configured in a ring shape. Of course, the alarm light 1111 and the status light 1112 may also be configured in an arc or other shapes. For example, the alarm light 1111 is configured to be located on the display surface 111 The status light 1112 is configured as a semi-circular arc located on the display surface 111 that is close to or away from the handle 12 .
具体地,报警灯1111和状态灯1112可以配置为一体式的灯带,并可以是在出现预设报警情况或接收到预设状态指示信号后,被整体以预设亮度点亮或被整体以不同级别的亮度点亮。报警灯1111也可以配置为在响应时,部分弧度部位以预设亮度点亮,或部分弧度部位以不同级别的亮度点亮;特别是当感测面112上设置有多个磁传感器的实施方式中,报警灯1111中的多个部位可以分别与所述多个磁传感器直接或间接连接,从而在某个或多个磁传感器检测到的数据符合预设报警情况时,能够反映到报警灯1111的对应部位以发出报警指示。Specifically, the alarm light 1111 and the status light 1112 can be configured as an integrated light strip, and can be illuminated as a whole with a preset brightness or as a whole after a preset alarm situation occurs or a preset status indication signal is received. Different levels of brightness light up. The alarm light 1111 can also be configured so that when responding, part of the arc is lit with a preset brightness, or part of the arc is lit with different levels of brightness; especially when multiple magnetic sensors are provided on the sensing surface 112. , multiple parts of the alarm light 1111 can be directly or indirectly connected to the plurality of magnetic sensors, so that when the data detected by one or more magnetic sensors meets the preset alarm situation, it can be reflected in the alarm light 1111 corresponding parts to issue alarm instructions.
在一种实施方式中,预设报警情况可以是对应磁传感器检测到位于非磁性腔体内的弱磁设备(可以是人体内的胶囊内窥镜),或检测到来自非磁性腔体内的弱磁信号。基于此,例如弱磁设备或弱磁信号位于探测面板11的左上方时,报警灯1111的左上角至少部分弧形会点亮,从而将检测到的弱磁情况显示出来,并指示操作者握持内窥镜探测装置1向靠近左上方运动,从而进一步且快速确定弱磁设备所处位置,起到扫描路径引导的作用。In one embodiment, the preset alarm condition may be that the corresponding magnetic sensor detects a weak magnetic device (which may be a capsule endoscope in the human body) located in the non-magnetic cavity, or detects a weak magnetic field from the non-magnetic cavity. Signal. Based on this, for example, when the magnetic field weakening equipment or the magnetic field weakening signal is located in the upper left corner of the detection panel 11, at least part of the arc in the upper left corner of the alarm light 1111 will light up, thereby displaying the detected magnetic field weakening condition and instructing the operator to handle the situation. Hold the endoscope detection device 1 and move it toward the upper left, thereby further and quickly determining the location of the weak magnetic equipment, and serving as a guide for the scanning path.
此外,状态灯1112可以用于指示内窥镜探测装置1当前的工作状态,例如指示内窥镜探测装置1处于感测状态、标定状态或初始化状态。上述状态的区分可以借鉴前文对报警灯1111工作情况的描述形成,也可以利用与上文有所区别的,设置报警灯1111发出不同颜色光或者报警灯1111闪烁的方式形成。例如,在内窥镜探测装置1处于感测状态时,状态灯1112配置为常亮;在内窥镜探测装置1处于标定状态时,状态灯1112配置为频闪;在内窥镜探测装置1处于初始化状态时,状态灯1112配置为“跑马灯”效果。In addition, the status light 1112 can be used to indicate the current working status of the endoscope detection device 1 , for example, indicating that the endoscope detection device 1 is in a sensing state, a calibration state, or an initialization state. The distinction between the above states can be formed by referring to the previous description of the working conditions of the alarm light 1111, or it can be formed by setting the alarm light 1111 to emit light of different colors or the alarm light 1111 flashing, which is different from the above. For example, when the endoscope detection device 1 is in the sensing state, the status light 1112 is configured to be always on; when the endoscope detection device 1 is in the calibration state, the status light 1112 is configured to strobe; When in the initialization state, the status light 1112 is configured as a "marquee" effect.
图2示出了内窥镜探测装置1的第二侧面的结构情况。其中,感测面112均匀分布有至少四个感测单元1120。如图2所示,在手柄12沿竖直方向延伸的情况下,所述至少四个感测单元1120可以沿“十”字方向交叉设置,且位于左右两侧的感测单元1120可以配置为沿水平方向延伸,位于上下两侧的感测单元1120可以配置为沿竖直方向延伸;当然在相同情况下,所述至少四个感测单元1120还可以沿“X”字方向交叉设置,且相互中心对称且轴对称设置。FIG. 2 shows the structure of the second side of the endoscope detection device 1 . Among them, at least four sensing units 1120 are evenly distributed on the sensing surface 112 . As shown in FIG. 2 , when the handle 12 extends in the vertical direction, the at least four sensing units 1120 may be arranged crosswise along the "cross" direction, and the sensing units 1120 located on the left and right sides may be configured as Extending along the horizontal direction, the sensing units 1120 located on the upper and lower sides can be configured to extend along the vertical direction; of course, under the same situation, the at least four sensing units 1120 can also be arranged crosswise along the "X" direction, and They are arranged centrally symmetrically with each other and axially symmetrically.
进一步地,感测单元1120可以分别包括至少两个磁传感器,且所述磁传感器其中之一设置于靠近感测面112的几何中心一侧,而其中另一设置于远离所述几何中心一侧。在图2所示实施方式中,感测单元1120可以包括第一磁传感器1120A和第二磁传感器1120B,第一传感器1120A和第二磁传感器1120B沿感测单元1120长度延伸方向间隔设置,且第一磁传感器1120A设置于靠近感测面112的几何中心一侧,第二磁传感器1120B设置于远离感测面112的几何中心一侧。其他磁传感器可以具有上述同样的配置,也可以具有其他配置方式。Further, the sensing unit 1120 may include at least two magnetic sensors respectively, and one of the magnetic sensors is disposed close to the geometric center of the sensing surface 112 , and the other of the magnetic sensors is disposed far away from the geometric center. . In the embodiment shown in FIG. 2 , the sensing unit 1120 may include a first magnetic sensor 1120A and a second magnetic sensor 1120B. The first sensor 1120A and the second magnetic sensor 1120B are spaced apart along the length extension direction of the sensing unit 1120 . One magnetic sensor 1120A is disposed close to the geometric center of the sensing surface 112 , and a second magnetic sensor 1120B is disposed far away from the geometric center of the sensing surface 112 . Other magnetic sensors may have the same configuration as described above, or may have other configurations.
可以理解地,感测面112上的感测单元1120可以配置为八个,分别沿“十”字方向设置以及沿“X”字方向设置,当然本发明中感测单元1120的布置方式并不局限于上述提供的具体示例。同时,单个感测单元1120内配置两个磁传感器的作用在于提高内窥镜探测装置1的抗干扰能力;基于此,可以根据需要和成本控制的考虑,增加或减少单个感测单元1120内磁传感器的数量。It can be understood that the sensing units 1120 on the sensing surface 112 can be configured as eight, respectively arranged along the "cross" direction and along the "X" direction. Of course, the arrangement of the sensing units 1120 in the present invention is not Limited to the specific examples provided above. At the same time, the role of configuring two magnetic sensors in a single sensing unit 1120 is to improve the anti-interference ability of the endoscope detection device 1; based on this, the magnetic field in a single sensing unit 1120 can be increased or decreased according to needs and cost control considerations. Number of sensors.
上文提供的内窥镜探测装置1的一个实施方式中,如图1和图2所示,探测面板11被配置为具有圆形的延展面,从而在较小的空间内容纳更多的感测单元1120,并形成更美观的外形。当然如图3和图4所示的另一实施方式中,探测面板11还可以被配置为具有矩形或圆角矩形等形状的延展面,从而将内窥镜探测装置1配置为具有较大的长度分量,足以伸入较为狭窄的空间内,扩展装置适用场景,也更便于收纳。In one embodiment of the endoscopic detection device 1 provided above, as shown in Figures 1 and 2, the detection panel 11 is configured to have a circular extended surface, thereby accommodating more sensors in a smaller space. test unit 1120 and form a more beautiful appearance. Of course, in another embodiment as shown in FIGS. 3 and 4 , the detection panel 11 can also be configured to have an extended surface in a shape such as a rectangle or a rounded rectangle, thereby configuring the endoscope detection device 1 to have a larger diameter. The length is enough to extend into a relatively narrow space, expanding the device's applicable scenarios and making it easier to store.
在该另一实施方式中,如图3和图4所示,内窥镜探测装置1同样可以包括探测面板11以及连接于探测面板11的手柄12,探测面板11也可以包括相背设置的显示面111和感测面112,内窥镜探测装置1也同样可以配置为实施一种弱磁探测方法,以探测人体内的具有弱磁性的内窥镜。In another embodiment, as shown in FIGS. 3 and 4 , the endoscope detection device 1 may also include a detection panel 11 and a handle 12 connected to the detection panel 11 . The detection panel 11 may also include displays arranged oppositely. Surface 111 and sensing surface 112, the endoscope detection device 1 can also be configured to implement a weak magnetic detection method to detect an endoscope with weak magnetism in the human body.
在探测面板11配置为具有圆角矩形延展面的实施方式中,显示面111中的报警灯1111和状态灯1112同样可以配置为具有相同圆角矩形的条状,以保持设计语言的一致性。与前一种实施方式相同地,报警灯1111可以设置于状态灯1112的外侧,并沿探测面板11的边缘布置。同时,为了尽可能保持内窥镜探测装置1的便携性,且不损失其感测精度,感测元件1120可以在探测面板11的长度延伸方向上间隔设置有多个,优选为5个,以在长度延伸方向的不同位置上均能够达到探测效果。当然,在这种配置下,报警灯1111和感测元件1120之间同样可以配置为具有上文所述的连接关系和功能,以实现内窥镜追踪导航的技术效果。In an embodiment where the detection panel 11 is configured with a rounded rectangular extended surface, the alarm light 1111 and the status light 1112 in the display surface 111 can also be configured as strips with the same rounded rectangle to maintain the consistency of the design language. Similar to the previous embodiment, the alarm light 1111 may be disposed outside the status light 1112 and arranged along the edge of the detection panel 11 . At the same time, in order to maintain the portability of the endoscope detection device 1 as much as possible without losing its sensing accuracy, multiple sensing elements 1120 can be provided at intervals in the length extension direction of the detection panel 11 , preferably five. The detection effect can be achieved at different positions along the length extension direction. Of course, in this configuration, the alarm light 1111 and the sensing element 1120 can also be configured to have the connection relationship and functions described above to achieve the technical effect of endoscope tracking and navigation.
由于需要为感测元件1120留有足够的空间,导致探测面板11被配置的较长,因而在此种实施方式中,可以适应性缩短手柄12的长度,以平衡内窥镜探测装置1的体积。同时,手柄12与探测面板11之间的连接关系也可以配置为单纯的固定连接,从而便于操作者握持手柄12并调整探测面板11的位置和指向。同样地,手柄12 上同样可以设置指示灯121和容置空仓122,并借鉴前一种实施方式提供的功能配置。Due to the need to leave enough space for the sensing element 1120 , the detection panel 11 is configured to be longer. Therefore, in this embodiment, the length of the handle 12 can be shortened adaptively to balance the volume of the endoscope detection device 1 . At the same time, the connection relationship between the handle 12 and the detection panel 11 can also be configured as a simple fixed connection, so that the operator can hold the handle 12 and adjust the position and direction of the detection panel 11 . Likewise, handle 12 The indicator light 121 and the empty storage bin 122 can also be provided, and the functional configuration provided by the previous embodiment can be used for reference.
圆角矩形的探测面板11形状配置使得感测面112具有了更大的覆盖范围,使得扫描过程更快捷。当然本发明并不局限于上述两种形状配置,在上文配置的启发下,还可以衍生出多种其他固定形状的配置,或可变形状的配置方式。感测元件1120虽然在前文中被配置为均匀且具有特定相对位置关系地分布于感测面112上,但并不排斥将感测元件1120配置为灵活拆卸和/或相对位置可调的实施方式,本领域技术人员可以根据需要进行替换。值得注意地,在选型方面,上述磁传感器可以配置为AMR(Anisotropic Magnetoresistance,各向异性磁阻)传感器,也可以配置为TMR(Tunneling Magnetoresistance,隧穿磁阻)传感器。The shape configuration of the detection panel 11 with rounded rectangular corners enables the sensing surface 112 to have a larger coverage area, making the scanning process faster. Of course, the present invention is not limited to the above two shape configurations. Inspired by the above configurations, a variety of other fixed shape configurations or variable shape configurations can also be derived. Although the sensing elements 1120 are configured to be evenly distributed on the sensing surface 112 with a specific relative position in the foregoing, this does not exclude implementations in which the sensing elements 1120 are configured to be flexibly detachable and/or the relative position is adjustable. , those skilled in the art can make replacements as needed. It is worth noting that in terms of selection, the above-mentioned magnetic sensor can be configured as an AMR (Anisotropic Magnetoresistance) sensor or a TMR (Tunneling Magnetoresistance) sensor.
图5示出了内窥镜探测装置1与人体2的配合状态,由于内窥镜探测装置1的探测深度L受磁源强度的影响很大,在对内窥镜中设置的磁铁进行检测,且磁传感器正对磁铁的南北极时,探测深度L可以达到20cm至30cm。基于此,可以将内窥镜探测装置1贴近人体腹部21的表面扫描,以使内窥镜探测装置1的探测范围100足以覆盖人体腹部21的表面直至人体脊柱22之间的部分。Figure 5 shows the matching state of the endoscope detection device 1 and the human body 2. Since the detection depth L of the endoscope detection device 1 is greatly affected by the intensity of the magnetic source, when detecting the magnet installed in the endoscope, And when the magnetic sensor faces the north and south poles of the magnet, the detection depth L can reach 20cm to 30cm. Based on this, the endoscope detection device 1 can be scanned close to the surface of the human abdomen 21 so that the detection range 100 of the endoscope detection device 1 is sufficient to cover the surface of the human abdomen 21 to the part between the human spine 22 .
此外,虽然金属等铁磁性材料等对内窥镜探测装置1的探测过程具有一定干扰,但在人体腹部21的表面(例如衣服上)并未设置有明显的铁磁性物质时,探测过程仍然能够正常进行。同时,将内窥镜探测装置1的探测面板11贴近人体腹部21的表面时,可以使探测面板11与手柄12之间形成一角度,从而便于操作者握持,并在移动内窥镜探测装置1的过程中,能够始终保持探测面板11与人体腹部21贴近设置。In addition, although ferromagnetic materials such as metal have certain interference with the detection process of the endoscope detection device 1, when there is no obvious ferromagnetic material on the surface of the human abdomen 21 (such as clothes), the detection process can still be performed. Work properly. At the same time, when the detection panel 11 of the endoscope detection device 1 is close to the surface of the human abdomen 21, an angle can be formed between the detection panel 11 and the handle 12, thereby making it easier for the operator to hold and move the endoscope detection device. 1, the detection panel 11 and the human body's abdomen 21 can always be kept close to each other.
对于上述两种实施方式提供的内窥镜探测装置1,可以分别具有不同的扫描步骤。如图6示出了前一种实施方式提供的内窥镜探测装置1的扫描步骤,基于上述结构配置,内窥镜探测装置1所形成的探测范围100可以是相同的圆形,在面对人体上类似矩形的待测区域200时,由于其相对小巧轻便,因而可以以折线轨迹进行扫描,例如以S形轨迹或以“己”字形轨迹。如图7示出了后一种实施方式提供的内窥镜探测装置1的扫描步骤,基于上述结构配置,内窥镜探测装置1所形成的探测范围100是相同的长条形,在面对所述待测区域200时,可以利用其具有较大覆盖面积的优势,进行直线形扫描,例如沿待测区域200的对角线来回扫描。当然,上述任一种扫描方式均可以通过,握持枢转连接或固定连接于探测面板11的手柄12完成。The endoscope detection device 1 provided in the above two embodiments may have different scanning steps respectively. Figure 6 shows the scanning steps of the endoscope detection device 1 provided in the previous embodiment. Based on the above structural configuration, the detection range 100 formed by the endoscope detection device 1 can be the same circle, facing When scanning a rectangular-like area to be measured 200 on the human body, since it is relatively small and lightweight, it can be scanned in a zigzag trajectory, such as an S-shaped trajectory or a "ji"-shaped trajectory. Figure 7 shows the scanning steps of the endoscope detection device 1 provided in the latter embodiment. Based on the above structural configuration, the detection range 100 formed by the endoscope detection device 1 is the same long strip, facing When the area to be measured 200 is measured, the advantage of having a large coverage area can be used to perform linear scanning, for example, scanning back and forth along the diagonal line of the area to be measured 200 . Of course, any of the above scanning methods can be accomplished by holding the handle 12 that is pivotally connected or fixedly connected to the detection panel 11 .
如图8所示,本发明一实施方式提供一种弱磁探测方法,可以用于探测非磁性腔体内的弱磁性医疗设备,例如前文所述的用于探测人体内的内窥镜。所述弱磁探测方法具体包括:As shown in FIG. 8 , one embodiment of the present invention provides a weak magnetic detection method, which can be used to detect weak magnetic medical equipment in a non-magnetic cavity, such as the endoscope used to detect the human body as mentioned above. The weak magnetic detection method specifically includes:
步骤31,获取参考球体模型上,至少一个观察点在磁场变化后形成的磁场观察向量;Step 31: Obtain the magnetic field observation vector formed by at least one observation point after the magnetic field changes on the reference sphere model;
步骤32,若磁场观察向量的模与第一地磁半径之间满足预设的数量关系,则判定非磁性腔体内存在弱磁源,输出存在信号。Step 32: If the mode of the magnetic field observation vector and the first geomagnetic radius satisfy a preset quantitative relationship, it is determined that a weak magnetic source exists in the non-magnetic cavity, and an existence signal is output.
其中,参考球体模型表征地磁场情况,且具有第一地磁半径。Among them, the reference sphere model represents the geomagnetic field and has a first geomagnetic radius.
图9示出了在一种具体应用场景下,搭载上述弱磁探测方法后所形成的磁场分布示意图(的部分)。具体地,磁场分布主要由参考球体模型4构成,而参考球体模型4形如“球壳”状(图中弧形实线和两条弧形虚线的区域),且由多个磁场向量的终点拟合构成,所述磁场向量的起点为参考球体模型4的球心40。Figure 9 shows a schematic diagram (part) of the magnetic field distribution formed by carrying the above weak magnetic field detection method in a specific application scenario. Specifically, the magnetic field distribution is mainly composed of the reference sphere model 4, and the reference sphere model 4 is shaped like a "spherical shell" (the area of the arc-shaped solid line and the two arc-shaped dashed lines in the figure), and is composed of the end points of multiple magnetic field vectors According to the fitting structure, the starting point of the magnetic field vector is the center 40 of the reference sphere model 4 .
以参考球体模型上第一观察点41作为上述观察点,在不同时间(前一时刻或前一时刻后的任意时刻)或不同状态(可以是其所搭载的探测装置或磁传感器的姿态变化状态,或其所搭载的探测装置的变化工作状态)下,可能会发生相对于参考球体模型4的位置变化。例如,在一种情况下,第一观察点41移动至第二观察点42所在位置而向外脱离参考球体模型4的覆盖范围;例如,在另一种情况下,第一观察点41移动至第三观察点43所在位置而向内脱离参考球体模型4的覆盖范围;例如,在又一种情况下,第一观察点41移动至第四观察点44所在位置而在参考球体模型4的覆盖范围内发生相对位置移动。Taking the first observation point 41 on the reference sphere model as the above-mentioned observation point, at different times (the previous moment or any moment after the previous moment) or in different states (it can be the attitude change state of the detection device or magnetic sensor mounted on it) , or the changing working state of the detection device it is equipped with), the position change relative to the reference sphere model 4 may occur. For example, in one case, the first observation point 41 moves to the location of the second observation point 42 and outwardly departs from the coverage of the reference sphere model 4; for example, in another case, the first observation point 41 moves to The third observation point 43 is located inwardly away from the coverage of the reference sphere model 4; for example, in another case, the first observation point 41 moves to the location of the fourth observation point 44 and is within the coverage of the reference sphere model 4. Relative position movement occurs within the range.
所述第一地磁半径可以是球心40到弧形实线之间的距离长度,也即图中示出的R,弧形实线位于两条弧形虚线之间,相对于球心40具有较为平衡的距离长度。此时,可以通过判断观察点经过磁场变化后所形成的磁场观察向量的模,与第一地磁半径的数量关系,判断观察点是否因自身位置具有较大的波动幅度,而导致其脱离两条弧形虚线所形成的球壳之外。The first geomagnetic radius may be the distance between the center of the sphere 40 and the arc-shaped solid line, that is, R shown in the figure. The arc-shaped solid line is located between two arc-shaped dotted lines and has a radius relative to the sphere center 40. A more balanced distance length. At this time, you can judge whether the observation point deviates from the two lines due to its position having a large fluctuation amplitude by judging the quantitative relationship between the mode of the magnetic field observation vector formed after the observation point undergoes changes in the magnetic field and the first geomagnetic radius. outside the spherical shell formed by the arc-shaped dotted line.
例如,第一观察点41在初始状态下,与球心40形成有第一观察向量410。在第一观察点41受到磁场变化的影响而移动至第二观察点42所处位置时,与球心40形成有第二观察向量420;在第一观察点41受到另一磁场变化的影响而移动至第三观察点43所处位置时,与球心40形成有第三观察向量430;在第一观察点41受到再一磁场变化的影响而移动至第四观察点44所处位置时,与球心40形成有第四观察向量440。从而,可以比较第二观察向量420、第三观察向量430或第四观察向量440的模与所述第一地磁半径R之间的数量关系,进而判断观察点受到磁场变化的移动情况。For example, in the initial state, the first observation point 41 forms a first observation vector 410 with the sphere center 40 . When the first observation point 41 is affected by the change of the magnetic field and moves to the position of the second observation point 42, a second observation vector 420 is formed with the center of the sphere 40; when the first observation point 41 is affected by another change of the magnetic field, the second observation vector 420 is formed. When moving to the position of the third observation point 43, a third observation vector 430 is formed with the center of the sphere 40; when the first observation point 41 is affected by another magnetic field change and moves to the position of the fourth observation point 44, A fourth observation vector 440 is formed with the center 40 of the sphere. Therefore, the quantitative relationship between the mode of the second observation vector 420, the third observation vector 430, or the fourth observation vector 440 and the first geomagnetic radius R can be compared to determine the movement of the observation point due to changes in the magnetic field.
例如,在一种实施方式中,可以是在第一观察点41移动至第二观察点42所处位置,或移动至第三观察点43所处位置时,判定外部存在使得观察点脱离参考球体模型4的弱磁源;在第一观察点41移动至第四观察点44 所处位置时,判定外部不存在使得观察点脱离参考球体模型4的弱磁源。For example, in one embodiment, when the first observation point 41 moves to the position of the second observation point 42 or moves to the position of the third observation point 43, it may be determined that an external presence causes the observation point to deviate from the reference sphere. Weak magnetic source of model 4; moving from the first observation point 41 to the fourth observation point 44 When it is in the position, it is determined that there is no weak magnetic source outside that causes the observation point to deviate from the reference sphere model 4.
如图10所示,本发明另一实施方式提供一种弱磁探测方法,具体限定了前一种实施方式的预设的数量关系的内容,具体包括:As shown in Figure 10, another embodiment of the present invention provides a weak magnetic detection method, which specifically limits the content of the preset quantitative relationship of the previous embodiment, specifically including:
步骤31,获取参考球体模型上,至少一个观察点在磁场变化后形成的磁场观察向量;Step 31: Obtain the magnetic field observation vector formed by at least one observation point after the magnetic field changes on the reference sphere model;
步骤32’,若磁场观察向量的模小于第一判据值,或磁场观察向量的模大于第二判据值,则判定非磁性腔体内存在弱磁源,输出存在信号。Step 32', if the module of the magnetic field observation vector is less than the first criterion value, or the module of the magnetic field observation vector is greater than the second criterion value, it is determined that a weak magnetic source exists in the non-magnetic cavity, and an existence signal is output.
其中,所述参考球体模型表征地磁场情况,且具有第一地磁半径。所述第一判据值等于所述第一地磁半径与第一容差之差,所述第二判据值等于所述第一地磁半径与第一容差之和,所述第一容差表征所述参考球体模型中不同地磁场向量的模之间的差异。Wherein, the reference sphere model represents the geomagnetic field and has a first geomagnetic radius. The first criterion value is equal to the difference between the first geomagnetic radius and the first tolerance, the second criterion value is equal to the sum of the first geomagnetic radius and the first tolerance, and the first tolerance Characterizes the difference between the modes of different geomagnetic field vectors in the reference sphere model.
基于步骤32细化的步骤32’,可以应用于上述任一种技术方案中,特别是可以应用于上述任一种对所述预设的数量关系的定义中。基于此,定义磁场变化前的磁场观察向量为B′s,定义第一地磁半径R=|Be|,定义第一容差为rT,则上述判断过程为:若|B′s|<|Be|-rT或|B′s|>|Be|+rT,则判定非磁性腔体内存在弱磁源,输出存在信号。如此,利用了观察点通常均匀分布于参考球体模型4的球壳范围内的特性,以使上述判断步骤足以覆盖大多数对观察点选择的情形,并使输出结果更为准确。Step 32' based on the refinement of step 32 can be applied to any of the above technical solutions, especially to any of the above definitions of the preset quantity relationship. Based on this, define the magnetic field observation vector before the magnetic field changes as B′ s , define the first geomagnetic radius R = |B e |, and define the first tolerance as r T , then the above judgment process is: if |B′ s |< |B e |-r T or |B′ s |>|B e |+r T , then it is determined that there is a weak magnetic source in the non-magnetic cavity, and an existence signal is output. In this way, the characteristic that observation points are usually evenly distributed within the spherical shell range of the reference sphere model 4 is utilized, so that the above judgment steps are sufficient to cover most situations of selecting observation points, and the output results are more accurate.
其中,Be可以表征在不包含弱磁源空间内检测到的地磁场向量,并优选是经过标定后的地磁场向量。在一些实施方式中,该地磁场向量的模,或称地磁场强度可以是地磁场的三个方向下的正交分量的平方和开方后的结果,也即所述第一容差rT可以通过实测估计得到;不同磁传感器的噪声水平可能基于磁传感器自身硬件构造的不同而存在差异,基于此,不同磁传感器可以具有不同的第一容差rT,不论磁传感器是否经过灵敏度和偏置的统一校正。Among them, Be can represent the geomagnetic field vector detected in a space that does not contain weak magnetic sources, and is preferably a calibrated geomagnetic field vector. In some embodiments, the mode of the geomagnetic field vector, or the geomagnetic field intensity, may be the result of the square sum of the square root of the orthogonal components of the geomagnetic field in three directions, that is, The first tolerance r T can be estimated through actual measurement; the noise levels of different magnetic sensors may differ based on the different hardware structures of the magnetic sensors themselves. Based on this, different magnetic sensors can have different first tolerances r T , Regardless of whether the magnetic sensor is uniformly calibrated for sensitivity and bias.
如图11所示,提供了本发明一实施方式中弱磁探测方法的第一实施例,具体包括:As shown in Figure 11, a first embodiment of a weak magnetic detection method in an embodiment of the present invention is provided, which specifically includes:
步骤31,获取参考球体模型上,至少一个观察点在磁场变化后形成的磁场观察向量;Step 31: Obtain the magnetic field observation vector formed by at least one observation point after the magnetic field changes on the reference sphere model;
步骤32,若磁场观察向量的模与第一地磁半径之间满足预设的数量关系,则判定非磁性腔体内存在弱磁源,输出存在信号;Step 32: If the mode of the magnetic field observation vector and the first geomagnetic radius satisfy a preset quantitative relationship, it is determined that a weak magnetic source exists in the non-magnetic cavity, and an existence signal is output;
步骤331,接收存在信号,获取存在信号的数量和/或平均持续时间;Step 331: Receive presence signals and obtain the number and/or average duration of presence signals;
步骤332,若存在信号的数量和/或平均持续时间大于预设值,则输出报警信号。Step 332: If the number and/or average duration of existing signals is greater than the preset value, an alarm signal is output.
在步骤31和步骤32循环重复执行的实施方式中,若对报警信号的触发具有高精度的要求,则“输出存在信号”本身并不足以直接作为判定非磁性腔体内存在弱磁源的充分证据,因此在本第一实施例中,通过判断存在信号的数量和存在信号输出的持续时间至少其中之一是否符合条件,限定报警信号的触发,以满足高精度判定的需求。In an embodiment where steps 31 and 32 are repeatedly executed, if there is a high precision requirement for triggering the alarm signal, the "output presence signal" itself is not sufficient evidence to directly determine the presence of a weak magnetic source in the non-magnetic cavity. , therefore, in the first embodiment, by determining whether at least one of the number of presence signals and the duration of the presence signal output meets the conditions, the triggering of the alarm signal is limited to meet the need for high-precision determination.
进一步地,存在信号的数量优选定义为输出存在信号的磁传感器的数量,如此,可以结合多个磁传感器的输出综合判断弱磁源的存在情况,提高探测过程的鲁棒性并降低误触发的概率。持续时间优选定义为平均持续时间,可以是单个磁传感器在不同探测周期下输出的多个持续时间的算术平均值,也可以是多个磁传感器在同一探测周期下输出的多个持续时间的算术平均值或加权平均值,如此,可以避免由于动作过大或其他干扰导致的偶然报警。优选地,针对所述存在信号的数量的预设值可以为2个,针对所述持续时间的预设值可以为0.5s。值得注意地,前文所述的联合判断和窗口监测判断可以适应性结合上述步骤。Furthermore, the number of presence signals is preferably defined as the number of magnetic sensors that output presence signals. In this way, the output of multiple magnetic sensors can be combined to comprehensively determine the presence of weak magnetic sources, improve the robustness of the detection process and reduce the risk of false triggering. Probability. The duration is preferably defined as the average duration, which can be the arithmetic mean of multiple durations output by a single magnetic sensor under different detection periods, or the arithmetic mean of multiple durations output by multiple magnetic sensors under the same detection period. Average or weighted average, thus avoiding accidental alarms due to excessive movements or other disturbances. Preferably, the preset value for the number of presence signals may be 2, and the preset value for the duration may be 0.5s. It is worth noting that the joint judgment and window monitoring judgment mentioned above can be adaptively combined with the above steps.
如图12示出了感测单元1120和报警灯1111输出的信号变化情况,其中,感测单元1120可以用于输出高电平存在信号sig(e)以及低电平非存在信号sig(n),报警灯1111或其前端部件可以分别用于接收或输出高电平报警信号sig(w)以及低电平非报警信号sig(r)。从而在图12中,虚线框表示所述平均持续时间(或表示用于检测平均持续时间的监测窗口),在监测窗口中始终且仅包括存在信号sig(e)时,则判定弱磁源存在,在监测窗口持续时间结束后输出报警信号,并触发报警灯1111形成报警指示。Figure 12 shows the signal changes output by the sensing unit 1120 and the alarm light 1111, where the sensing unit 1120 can be used to output a high-level presence signal sig(e) and a low-level non-presence signal sig(n) , the alarm light 1111 or its front-end component can be used to receive or output the high-level alarm signal sig(w) and the low-level non-alarm signal sig(r) respectively. Therefore, in Figure 12, the dotted box represents the average duration (or represents the monitoring window used to detect the average duration). When the monitoring window always and only includes the presence signal sig(e), it is determined that the weak magnetic source exists. , an alarm signal is output after the monitoring window duration expires, and the alarm light 1111 is triggered to form an alarm indication.
当然,为了提升响应速度,还可以适应性提高探测装置的采样率,并缩短监测窗口的时间长度(也即,缩短 针对平均持续时间的预设值),并在稳定滤波噪声的基础上选择折中且适宜的预设值,此点可以根据需要进行适应性配置。同时,存在信号也可能不触发任何指示效果,在一种实施方式中,探测装置配置响应所述存在信号形成预报警,以提示操作者在当前位置进行详细扫描,并可以同样结合上述步骤进行正常报警操作。Of course, in order to improve the response speed, the sampling rate of the detection device can also be adaptively increased and the length of the monitoring window can be shortened (that is, shortened For the preset value of the average duration), and select a compromise and appropriate preset value based on stable filtering noise, this point can be adaptively configured as needed. At the same time, the presence signal may not trigger any indication effect. In one embodiment, the detection device is configured to respond to the presence signal to form a pre-alarm to prompt the operator to conduct detailed scanning at the current location, and can also be combined with the above steps to perform normal operations. Alarm operation.
如图13所示,提供了本发明一实施方式中弱磁探测方法的第二实施例,具体包括:As shown in Figure 13, a second embodiment of the weak magnetic detection method in an embodiment of the present invention is provided, which specifically includes:
步骤31,获取参考球体模型上,至少一个观察点在磁场变化后形成的磁场观察向量;Step 31: Obtain the magnetic field observation vector formed by at least one observation point after the magnetic field changes on the reference sphere model;
步骤32,若磁场观察向量的模与第一地磁半径之间满足预设的数量关系,则判定非磁性腔体内存在弱磁源,输出存在信号;Step 32: If the mode of the magnetic field observation vector and the first geomagnetic radius satisfy a preset quantitative relationship, it is determined that a weak magnetic source exists in the non-magnetic cavity, and an existence signal is output;
步骤341,接收存在信号,获取在预设时间范围内的若干磁场观察向量的模;Step 341: Receive the existence signal and obtain the modes of several magnetic field observation vectors within the preset time range;
步骤342,计算若干磁场观察向量的模的标准差,得到磁观察标准差;Step 342: Calculate the standard deviation of the modes of several magnetic field observation vectors to obtain the magnetic observation standard deviation;
步骤343,当磁观察标准差小于等于预设的动态磁场阈值时,输出报警信号。Step 343: When the standard deviation of the magnetic observation is less than or equal to the preset dynamic magnetic field threshold, an alarm signal is output.
在本第二实施例中,提供了对应于前文所述动态判断的一种方案,通过求取标准差判断探测装置是否处于快速强烈的运动中,从而排除由此产生磁场变化所形成的误报警和其他干扰。其中,所述若干磁场观察向量的模,可以是单个磁传感器在预设时间范围内检测形成的多个磁场观察向量的模。定义向量数据长度为Lm(mag)(或称,预设时间范围内形成的若干磁场观察向量的模),定义磁场观察向量的模对应磁传感器的感测轴为j,其中感测轴j可以是x轴、y轴或z轴其中任一,则磁观察标准差stdmag至少可以配置为满足:
stdmag=std(mag(Lm(mag),j))。
In this second embodiment, a solution corresponding to the dynamic judgment described above is provided. By calculating the standard deviation, it is judged whether the detection device is in rapid and intense motion, thereby eliminating false alarms caused by changes in the magnetic field. and other distractions. The modes of the plurality of magnetic field observation vectors may be modes of multiple magnetic field observation vectors detected by a single magnetic sensor within a preset time range. Define the vector data length as L m(mag) (or the module of several magnetic field observation vectors formed within a preset time range). Define the module of the magnetic field observation vector corresponding to the sensing axis of the magnetic sensor as j, where the sensing axis j It can be any of the x-axis, y-axis or z-axis, then the magnetic observation standard deviation std mag can at least be configured to satisfy:
std mag =std(mag(L m(mag) ,j)).
其中,mag()表示任一磁传感器所探测到的数据,std()表示计算该数据序列的标准差。因而,当磁观察标准差stdmag满足stdmag>stdmTh时,可以判定当前探测装置处于剧烈运动或快速变化的磁场中,不能以此时的判断结果判定弱磁源存在与否,并且可以指示操作者关闭探测装置以自我保护;当磁观察标准差stdmag满足stdmag≤stdmTh时,可以判定当前探测装置工作正常,并且可以对应前述步骤输出的存在信号输出报警信号;其中,stdmTh为所述动态磁场阈值。Among them, mag() represents the data detected by any magnetic sensor, and std() represents the calculation of the standard deviation of the data sequence. Therefore, when the magnetic observation standard deviation std mag satisfies std mag > std mTh , it can be determined that the current detection device is in a violently moving or rapidly changing magnetic field. The judgment result at this time cannot be used to determine whether a weak magnetic source exists, and it can indicate The operator turns off the detection device to protect himself; when the magnetic observation standard deviation std mag satisfies std mag ≤ std mTh , it can be determined that the current detection device is working normally, and an alarm signal can be output corresponding to the presence signal output in the previous steps; where, std mTh is The dynamic magnetic field threshold.
如图14所示,提供了本发明一实施方式中弱磁探测方法的第三实施例,提供了基于步骤31细化的步骤31’,以及设置于步骤32之后的步骤351和步骤352。弱磁探测方法具体包括:As shown in Figure 14, a third embodiment of the weak magnetic detection method in an embodiment of the present invention is provided, which provides step 31' refined based on step 31, and steps 351 and 352 arranged after step 32. Weak magnetic detection methods specifically include:
步骤31’,获取参考球体模型上,至少一个观察点在磁场变化后形成的磁场观察向量,以及在磁场变化过程中的加速度和旋转角速度变化信号,得到磁场观察向量的模、加速度数据和陀螺数据;Step 31', obtain the magnetic field observation vector formed by at least one observation point after the magnetic field changes on the reference sphere model, as well as the acceleration and rotation angular velocity change signals during the magnetic field change process, and obtain the module, acceleration data and gyro data of the magnetic field observation vector. ;
步骤32,若磁场观察向量的模与第一地磁半径满足预设的数量关系,则判定非磁性腔体内存在弱磁源,输出存在信号;Step 32: If the mode of the magnetic field observation vector and the first geomagnetic radius satisfy a preset quantitative relationship, it is determined that a weak magnetic source exists in the non-magnetic cavity, and an existence signal is output;
步骤351,接收存在信号,计算加速度数据的标准差,和/或陀螺数据的平均值,得到速度标准差和/或陀螺均值;Step 351: Receive the presence signal, calculate the standard deviation of the acceleration data and/or the average value of the gyro data, and obtain the speed standard deviation and/or gyro average value;
步骤352,若速度标准差小于等于预设的动态速度阈值,且/或若陀螺均值小于等于预设的动态旋转阈值,则输出报警信号。Step 352: If the speed standard deviation is less than or equal to the preset dynamic speed threshold, and/or if the gyro mean is less than or equal to the preset dynamic rotation threshold, an alarm signal is output.
在本第三实施例中,提供了对应于前文所述动态判断的另一种方案,通过接收并求取加速度数据和陀螺数据(或具体地,求取加速度数据的标准差和陀螺数据的平均值)至少其中之一,来判断探测装置是否处于快速强烈的运动中,从而排除由此产生磁场变化所形成的误报警和其他干扰。基于此,上述探测装置或其他搭载有本实施例提供的弱磁探测方法的装置,可以进一步配置有加速度传感器和/或陀螺仪,当然上述元器件可以在探测装置中设置有一个,也可以集成到每个感测元件中而整体布置有多个。In this third embodiment, another solution corresponding to the dynamic judgment described above is provided, by receiving and obtaining the acceleration data and the gyro data (or specifically, obtaining the standard deviation of the acceleration data and the average of the gyro data value) at least one of them to determine whether the detection device is in rapid and intense motion, thereby eliminating false alarms and other interference caused by changes in the magnetic field. Based on this, the above detection device or other devices equipped with the weak magnetic detection method provided in this embodiment can be further configured with an acceleration sensor and/or a gyroscope. Of course, one of the above components can be provided in the detection device, or can be integrated There are multiple sensing elements arranged overall.
定义加速度数据长度为Lm(acc)(或称,预设时间范围内形成的加速度数据序列的长度),定义加速度数据对应磁传感器的感测轴为j,其中感测轴j可以是x轴、y轴或z轴其中任一,则速度标准差stdacc至少可以配置为满足:
stdacc=std(acc(Lm(acc),j));
Define the length of the acceleration data as L m(acc) (or the length of the acceleration data sequence formed within the preset time range), define the sensing axis of the magnetic sensor corresponding to the acceleration data as j, where the sensing axis j can be the x-axis , y-axis or z-axis, then the speed standard deviation std acc can at least be configured to satisfy:
std acc = std(acc(L m(acc) ,j));
其中,acc()表示任一加速度传感器所探测到的数据,std()表示计算该数据序列的标准差。因而,当速度标准差stdacc满足stdacc>stdaTh时,可以判定当前探测装置处于剧烈运动或快速变化的磁场中,不能以此时的判断结果判定弱磁源存在与否,并且可以指示操作者关闭探测装置以自我保护;当速度标准差stdacc满足stdacc≤stdaTh时,可以判定当前探测装置工作正常,并且可以对应前述步骤输出的存在信号输出报警信号;其中,stdaTh为所述动态速度阈值。Among them, acc() represents the data detected by any acceleration sensor, and std() represents the calculation of the standard deviation of the data sequence. Therefore, when the speed standard deviation std acc satisfies std acc >std aTh , it can be determined that the current detection device is in a violent motion or a rapidly changing magnetic field. The judgment result at this time cannot be used to determine whether the weak magnetic source exists, and the operation can be instructed. or turn off the detection device for self-protection; when the speed standard deviation std acc satisfies std acc ≤ std aTh , it can be determined that the current detection device is working normally, and an alarm signal can be output corresponding to the presence signal output in the previous steps; where, std aTh is the Dynamic speed threshold.
对应地,定义陀螺数据长度为Lm(gyr)(或称,预设时间范围内形成的陀螺数据序列的长度),定义陀螺数据对应磁传感器的感测轴为j,其中感测轴j可以是x轴、y轴或z轴其中任一,则陀螺均值Agyr至少可以配置为满足:
Agyr=mean(gyr(Lm(gyr),j));
Correspondingly, the length of the gyro data is defined as L m(gyr) (or the length of the gyro data sequence formed within the preset time range), and the sensing axis of the magnetic sensor corresponding to the gyro data is defined as j, where the sensing axis j can be is any of the x-axis, y-axis or z-axis, then the gyro mean A gyr can at least be configured to satisfy:
A gyr =mean(gyr(L m(gyr) ,j));
其中,gyr()表示任一陀螺仪所探测到的数据,mean()表示计算该数据序列的平均值。因而,当陀螺均值Agyr满足Agyr>AgTh时,可以判定当前探测装置处于剧烈运动或快速变化的磁场中,不能以此时的判断结果判定弱磁源存在与否,并且可以指示操作者关闭探测装置以自我保护;当陀螺均值Agyr满足Agyr≤AgTh时,可以判定当前探测装置工作正常,并且可以对应前述步骤输出的存在信号输出报警信号;其中,AgTh为所述动态旋转阈值。Among them, gyr() represents the data detected by any gyroscope, and mean() represents the calculation of the average value of the data sequence. Therefore, when the gyro mean value A gyr satisfies A gyr >A gTh , it can be determined that the current detection device is in a violently moving or rapidly changing magnetic field. The judgment result at this time cannot be used to determine whether a weak magnetic source exists, and the operator can be instructed Turn off the detection device for self-protection; when the gyro average A gyr satisfies A gyr ≤ A gTh , it can be determined that the current detection device is working normally, and an alarm signal can be output corresponding to the presence signal output in the previous steps; where A gTh is the dynamic rotation threshold.
分别求取标准差和平均值的原因在于:探测装置正常使用过程中也存在加速度,因而求取标准差可以掌握其加速度变化情况;而探测装置正常使用过程中角度变化往往不明显甚至为0,因此可以求取平均值快速掌握当前变化情况。本领域技术人员可以在此原理的启发下衍生形成更多的实施方式。The reason for calculating the standard deviation and the average value separately is that acceleration also exists during the normal use of the detection device, so calculating the standard deviation can grasp its acceleration changes; while during the normal use of the detection device, the angle change is often not obvious or even 0. Therefore, the average value can be calculated to quickly grasp the current changes. Those skilled in the art can derive more embodiments inspired by this principle.
应当注意地,上述三种实施例虽然分别提供了设置于存在信号输出步骤(步骤32)之后且用于判断是否报警的不同步骤,但是并不意味着上述不同实施例必然是相互孤立的。为了避免赘述,本文不对上述三种实施例的组合进行过多阐述。但可以理解地,在其他的实施方式中,报警信号可以配置为:在满足数量要求、持续时间要求、标准差要求、加速度要求和陀螺数据要求的任意两种、三种或多种时输出,从而引入联合判断、窗口监测、动态判断等机制,进一步降低误触发的概率。在一种实施方式中,可以按照先执行第三实施例后执行第一实施例的顺序执行,或按照先执行第二实施例后执行第一实施例的顺序执行,或按照先执行第二实施例和第三实施例、后执行第一实施例的顺序执行。如此,可以形成“数据接收—数据校正—动态判断—数据分析—联合判断—窗口监测判断”的判断逻辑。It should be noted that although the above three embodiments respectively provide different steps that are arranged after the presence signal output step (step 32) and used to determine whether to alarm, this does not mean that the above different embodiments are necessarily isolated from each other. In order to avoid redundancy, this article will not elaborate too much on the combination of the above three embodiments. But it can be understood that in other implementations, the alarm signal can be configured to be output when any two, three or more of the quantity requirements, duration requirements, standard deviation requirements, acceleration requirements and gyro data requirements are met, Thus, joint judgment, window monitoring, dynamic judgment and other mechanisms are introduced to further reduce the probability of false triggering. In one implementation, the third embodiment may be executed first and then the first embodiment, or the second embodiment may be executed first and then the first embodiment, or the second embodiment may be executed first. and the third embodiment, and then execute the sequence of the first embodiment. In this way, the judgment logic of "data reception-data correction-dynamic judgment-data analysis-joint judgment-window monitoring judgment" can be formed.
如图15所示,本发明再一实施方式提供一种弱磁探测方法,在进行弱磁探测之前新增了若干前置步骤,特别是提供了在步骤31之前的步骤301、步骤302和步骤303。弱磁探测方法具体包括:As shown in Figure 15, another embodiment of the present invention provides a weak magnetic field detection method, which adds several pre-steps before performing weak magnetic field detection, especially steps 301, 302 and steps before step 31. 303. Weak magnetic detection methods specifically include:
步骤301,获取多方位的地磁场数据,在三维坐标系中拟合得到参考球体模型;Step 301: Obtain multi-directional geomagnetic field data and fit it in a three-dimensional coordinate system to obtain a reference sphere model;
步骤302,根据地磁场数据,计算得到多方位的地磁场向量;Step 302: Calculate the multi-directional geomagnetic field vector based on the geomagnetic field data;
步骤303,根据地磁场向量的模,计算得到第一容差;Step 303: Calculate the first tolerance according to the module of the geomagnetic field vector;
步骤31,获取参考球体模型上,至少一个观察点在磁场变化后形成的磁场观察向量;Step 31: Obtain the magnetic field observation vector formed by at least one observation point after the magnetic field changes on the reference sphere model;
步骤32,若磁场观察向量的模与第一地磁半径之间满足预设的数量关系,则判定非磁性腔体内存在弱磁源,输出存在信号。Step 32: If the mode of the magnetic field observation vector and the first geomagnetic radius satisfy a preset quantitative relationship, it is determined that a weak magnetic source exists in the non-magnetic cavity, and an existence signal is output.
其中,所述参考球体模型表征地磁场情况,且具有第一地磁半径。所述第一容差表征所述参考球体模型中不同地磁场向量的模之间的差异。所述地磁场向量可以配置为:由参考球体模型的球心指向地磁场数据在三维坐标系中位置的有向线段。而第一容差可以配置为等于地磁场向量的模的标准差的整数倍。 Wherein, the reference sphere model represents the geomagnetic field and has a first geomagnetic radius. The first tolerance represents the difference between modes of different geomagnetic field vectors in the reference sphere model. The geomagnetic field vector may be configured as a directed line segment pointing from the center of the reference sphere model to the position of the geomagnetic field data in the three-dimensional coordinate system. The first tolerance may be configured to be equal to an integer multiple of the standard deviation of the mode of the geomagnetic field vector.
所述观察点的追踪和磁场观察向量的模的获取、判断,需要基于参考球体模型。所述参考球体模型可以是在探测前预设完毕的,通常应当是在不包含弱磁源的环境下,完全由地磁场数据拟合形成的;当然在其他特殊工况下,例如探测环境要求外加一恒定磁场的工况下,自然可以是在该外加磁场和地磁场共同作用下拟合形成所述参考球体模型。The tracking of the observation point and the acquisition and judgment of the module of the magnetic field observation vector need to be based on the reference sphere model. The reference sphere model can be preset before detection, and usually should be completely formed by fitting the geomagnetic field data in an environment that does not contain weak magnetic sources; of course, under other special working conditions, such as detection environment requirements Under the condition of applying a constant magnetic field, the reference sphere model can naturally be formed by fitting under the combined action of the external magnetic field and the geomagnetic field.
参考球体模型的拟合,依托于多方位的地磁场数据。由于地磁场数据是相对于地球坐标系而言的,此种原始地磁场数据(或如前文所述,地磁场向量)可以定义为Be(可以具有50-60μT的取值范围);进一步地,需要将其转化为相对于探测装置拟合的三维坐标系中的表示形式,由此得到的探测地磁场数据可以定义为Bs。基于此,探测地磁场数据Bs至少可以满足:Bs=ResBeThe fitting of the reference sphere model relies on multi-directional geomagnetic field data. Since the geomagnetic field data is relative to the earth's coordinate system, this original geomagnetic field data (or as mentioned above, the geomagnetic field vector) can be defined as B e (which can have a value range of 50-60 μT); further , it needs to be converted into a representation in a three-dimensional coordinate system fitted relative to the detection device, and the resulting detection geomagnetic field data can be defined as B s . Based on this, the detected geomagnetic field data B s can at least satisfy: B s =R es B e ;
其中,Res为转换矩阵。基于地磁场是均匀稳定的,探测装置自身的姿态可以调整,因此地磁场在探测装置各个部位处(或者,在其各个磁传感器处)每个轴上的投影是变化的。因此在一种工况下,可以在空旷、没有额外磁场干扰的环境中旋转以获得多方位的地磁场数据,并根据每个时刻t测得的实时地磁场数据Bs(t)表达为三维坐标Bx(t)By(t)和Bz(t)的形式,也即:Bs(t)=[Bx(t),By(t),Bz(t)]。Among them, R es is the transformation matrix. Since the geomagnetic field is uniform and stable, the posture of the detection device itself can be adjusted, so the projection of the geomagnetic field on each axis at various parts of the detection device (or at each of its magnetic sensors) changes. Therefore, under one working condition, it is possible to rotate in an open environment without additional magnetic field interference to obtain multi-directional geomagnetic field data, and express it as a three-dimensional model based on the real-time geomagnetic field data B s (t) measured at each time t. The form of coordinates B x (t) , B y (t) and B z (t), that is: B s (t) = [B x (t), B y (t), B z (t)].
将探测地磁场数据绘制三维坐标系中,以拟合形成参考球体模型。当然,将地磁场数据拟合成参考球体模型的过程还可以具有多种实施方式,本发明并不限于根据地磁场数据对应的向量来拟合。在一种情况下,所述地磁场数据还可以定义为上述对应于地磁场向量的坐标,同样能够实现步骤301的预期技术效果。Plot the detected geomagnetic field data into a three-dimensional coordinate system to fit and form a reference sphere model. Of course, the process of fitting the geomagnetic field data to the reference sphere model can also have multiple implementations, and the present invention is not limited to fitting based on the vector corresponding to the geomagnetic field data. In one case, the geomagnetic field data can also be defined as the above-mentioned coordinates corresponding to the geomagnetic field vector, which can also achieve the expected technical effect of step 301.
本实施方式还进一步提供,一种根据地磁场向量的模计算参考球体模型的第一容差的技术方案,可以是计算多方位地磁场向量的模的最大值和最小值的差值以作为所述第一容差,当然也可以是计算所有地磁场向量的模的标准差,并直接以该标准差作为第一容差,或将该标准差进行倍数运算后作为第一容差(增加容差,提高模型容错率)。在一种实施方式中,定义第一容差为rT,对应于第i个磁传感器的第一容差为rTi,则至少满足:rTi=n·std({|Bsi|}1,2,...,M);This embodiment further provides a technical solution for calculating the first tolerance of the reference sphere model based on the mode of the geomagnetic field vector, which may be to calculate the difference between the maximum value and the minimum value of the mode of the multi-directional geomagnetic field vector as the said The first tolerance, of course, can also be calculated by calculating the standard deviation of the modes of all geomagnetic field vectors, and directly using this standard deviation as the first tolerance, or multiplying the standard deviation as the first tolerance (increasing tolerance , improve model fault tolerance). In one implementation, the first tolerance is defined as r T , and the first tolerance corresponding to the i-th magnetic sensor is r Ti , then at least: r Ti =n·std({|B si |} 1 ,2,...,M );
其中,std()为标准差运算函数;{|Bsi|}1,2,...,M为第i个磁传感器测得的M个地磁场向量的模;n是经验倍数,n的取值范围可以是1-3。Among them, std() is the standard deviation operation function; {|B si |} 1,2,...,M is the module of M geomagnetic field vectors measured by the i-th magnetic sensor; n is the empirical multiple, n The value range can be 1-3.
进一步地,在另一种实施方式中,步骤303还可以具体包括:分析所述地磁场向量的模,筛除离群点,并根据筛选后的地磁场向量的模,计算得到参考球体模型的第一容差。如此,进一步提高了模型拟合的准确度。Further, in another implementation, step 303 may also specifically include: analyzing the mode of the geomagnetic field vector, filtering out outliers, and calculating the reference sphere model based on the screened mode of the geomagnetic field vector. First tolerance. In this way, the accuracy of model fitting is further improved.
如图16所示,提供了本发明再一实施方式中弱磁探测方法的一具体示例,提供了在步骤31之前的步骤3011、步骤3012、步骤3013和步骤3014。弱磁探测方法具体包括:As shown in Figure 16, a specific example of the weak magnetic detection method in yet another embodiment of the present invention is provided, and steps 3011, 3012, 3013 and 3014 before step 31 are provided. Weak magnetic detection methods specifically include:
步骤3011,获取多个磁传感器在多方位下的地磁场数据,在三维坐标系中拟合多个球体模型,得到多个标定球体模型;Step 3011: Obtain geomagnetic field data from multiple magnetic sensors in multiple directions, fit multiple sphere models in the three-dimensional coordinate system, and obtain multiple calibration sphere models;
步骤3012,计算标定球体模型的球心,以及由球心到标定点的向量,得到多个标定球心的标定向量;Step 3012: Calculate the spherical center of the calibration sphere model and the vector from the spherical center to the calibration point, and obtain multiple calibration vectors of the spherical center;
步骤3013,以多个标定球体模型的其中之一的校准向量,校准多个标定向量的模,得到多个数据向量;Step 3013, use the calibration vector of one of the multiple calibration sphere models to calibrate the modules of the multiple calibration vectors to obtain multiple data vectors;
步骤3014,根据数据向量及对应的标定球心,计算得到多个数据点,并根据数据点,在三维坐标系中拟合参考球体模型;Step 3014: Calculate multiple data points based on the data vector and the corresponding calibration sphere center, and fit the reference sphere model in the three-dimensional coordinate system based on the data points;
步骤31,获取参考球体模型上,至少一个观察点在磁场变化后形成的磁场观察向量;Step 31: Obtain the magnetic field observation vector formed by at least one observation point after the magnetic field changes on the reference sphere model;
步骤32,若磁场观察向量的模与第一地磁半径之间满足预设的数量关系,则判定非磁性腔体内存在弱磁源,输出存在信号。Step 32: If the mode of the magnetic field observation vector and the first geomagnetic radius satisfy a preset quantitative relationship, it is determined that a weak magnetic source exists in the non-magnetic cavity, and an existence signal is output.
其中,所述磁场数据分布于所述标定球体模型上形成多个所述标定点;所述校准向量为所述标定球体模型的其中之一在预设方向上的标定向量。Wherein, the magnetic field data is distributed on the calibration sphere model to form a plurality of calibration points; the calibration vector is a calibration vector in a preset direction of one of the calibration sphere models.
由于实际的磁传感器往往存在一定程度的不一致性,为了进一步提高探测精度和参考球体模型质量,本具体示例提供了针对步骤301的细化步骤。值得注意地,虽然本实施方式中将步骤302和步骤303隐去,但并不代表本实施方式不能结合上述步骤形成新的技术方案。 Since actual magnetic sensors often have a certain degree of inconsistency, in order to further improve detection accuracy and reference sphere model quality, this specific example provides refinement steps for step 301. It is worth noting that although step 302 and step 303 are omitted in this embodiment, it does not mean that this embodiment cannot combine the above steps to form a new technical solution.
定义探测装置中第i个传感器在j轴上测得的磁场值为Bij,则其可以至少满足: Define the magnetic field value measured by the i-th sensor in the detection device on the j-axis as B ij , then it can at least satisfy:
其中,为j轴正方向的单位向量,表示地磁在传感器j轴上的投影值;Kij为传感器i在j轴上的转换系数,理想值为1,即输出等于输入;Dij为偏置(Bias)。in, is the unit vector in the positive direction of the j-axis, Represents the projection value of geomagnetism on the j-axis of the sensor; K ij is the conversion coefficient of sensor i on the j-axis. The ideal value is 1, that is, the output is equal to the input; D ij is the bias (Bias).
由于磁传感器受到电路设计、制作工艺和温度变化等影响,转换系数Kij可能偏离1,偏置Dij可能不为0,从而使得磁传感器输出磁场值产生误差,且在无外加磁场的情况下的输出不为0。反映到三维坐标系中会形成如图17所示的、球心不在原点的椭球模型,可以定义其为标定球体模型4’。Since the magnetic sensor is affected by circuit design, manufacturing process and temperature changes, the conversion coefficient K ij may deviate from 1, and the bias D ij may not be 0, which causes errors in the output magnetic field value of the magnetic sensor, and in the absence of an external magnetic field The output is not 0. Reflected into the three-dimensional coordinate system, an ellipsoid model with the center of the sphere not at the origin will be formed as shown in Figure 17, which can be defined as the calibration sphere model 4'.
同一磁传感器以不同姿态获取的地磁场数据强度是不同的(这也是标定球体模型4’形如椭球体的原因之一)。基于此,可以通过改变磁传感器的姿态,采集多方位的地磁场数据,拟合形成一椭球体模型后,定义当前椭球体模型的标定球心为ΔBi,则可以有:ΔBi=[△Bix,△Biy,△Biz];The intensity of geomagnetic field data obtained by the same magnetic sensor in different postures is different (this is one of the reasons why the calibration sphere model 4' is shaped like an ellipsoid). Based on this, multi-directional geomagnetic field data can be collected by changing the posture of the magnetic sensor. After fitting to form an ellipsoid model, the calibration center of the current ellipsoid model is defined as ΔB i , then it can be: ΔB i = [Δ B ix ,△B iy ,△B iz ];
从而可以计算得到椭球体模型的标定球心相对于原点,至少沿x轴、y轴、z轴的偏移量。又因为:
Thus, the offset of the calibrated center of the ellipsoid model relative to the origin, at least along the x-axis, y-axis, and z-axis, can be calculated. also because:
如此,可以求得偏置Dij,并可以进一步根据标定球心坐标[△Bix,△Biy,△Biz]求得标定球体模型4’在各个方向的尺度(例如,椭球的长轴和短轴)。继续地,可以根据标定球心及所述各个方向的尺度,计算得到不同的标定向量,并选取其中之一作为校准向量,基于此对其他标定向量进行校准处理(可以是针对模的比例放大或投影处理),从而,生成对应于该磁传感器的、类正球体的参考球体模型。如此,能够改善由于磁传感器自身的误差所导致的球体模型不标准的问题,便于后续利用磁场观察向量的模判断弱磁源是否存在。In this way, the offset D ij can be obtained, and the scales of the calibration sphere model 4' in each direction (for example, the length of the ellipsoid) can be obtained further based on the calibration sphere center coordinates [△B ix , △B iy , △B iz ] . axis and minor axis). Continuing, different calibration vectors can be calculated based on the calibration sphere center and the scales in each direction, and one of them is selected as the calibration vector. Based on this, the other calibration vectors are calibrated (which can be for the proportional amplification of the module or Projection processing), thereby generating a quasi-normal sphere reference sphere model corresponding to the magnetic sensor. In this way, the problem of non-standard sphere model caused by the error of the magnetic sensor itself can be improved, and the module of the magnetic field observation vector can be used to subsequently determine whether the weak magnetic source exists.
上文描述了对单个传感器在多方位下的地磁场数据的拟合和处理过程,由此可见,本发明上述步骤3011至步骤3014并不局限于多个磁传感器的情况,步骤3011可以是:获取磁传感器在多方位下的地磁场数据,在三维坐标系中拟合球体模型,得到标定球体模型;计算标定球体模型的球心,以及由球心到标定点的向量,得到标定球心和标定向量;以标定球体模型的标定向量的其中之一作为校准向量,校准多个标定向量的模,得到多个数据向量;根据数据向量以及标定球心,计算得到多个数据点,并根据数据点,在三维坐标系中拟合参考球体模型。The above describes the fitting and processing process of the geomagnetic field data of a single sensor in multiple directions. It can be seen that the above steps 3011 to 3014 of the present invention are not limited to the case of multiple magnetic sensors. Step 3011 can be: Obtain the geomagnetic field data of the magnetic sensor in multiple directions, fit the sphere model in the three-dimensional coordinate system, and obtain the calibration sphere model; calculate the sphere center of the calibration sphere model, and the vector from the sphere center to the calibration point, and obtain the calibration sphere center and Calibration vectors; use one of the calibration vectors of the calibration sphere model as the calibration vector, calibrate the modules of multiple calibration vectors, and obtain multiple data vectors; calculate multiple data points based on the data vectors and the calibration sphere center, and calculate Point, fit the reference sphere model in the three-dimensional coordinate system.
由于椭球体的长轴和短轴并不必然沿x轴、y轴或z轴方向延伸,因此所述步骤3013还可以进一步包括:确定所述标定球体模型的长轴和/或短轴,以所述长轴或短轴至少其中之一所在向量作为校准向量,校准其他标定向量的模,得到多个数据向量。Since the major axis and minor axis of the ellipsoid do not necessarily extend along the x-axis, y-axis, or z-axis, step 3013 may further include: determining the major axis and/or minor axis of the calibration spheroid model to The vector where at least one of the long axis or the short axis is located is used as a calibration vector, and the modules of other calibration vectors are calibrated to obtain multiple data vectors.
不同磁传感器的偏差程度可能是有区别的,如此会导致磁传感器的输出结果存在差异(例如,向量分量不同、总强度不同等),会拟合形成如图18所示的多个标定球体模型4’。基于此,可以通过对标定球体模型4’中的第一标定球体模型4A’、第二标定球体模型4B’、第三标定球体模型4C’、第四标定球体模型4D’、第五标定球体模型4E’、第六标定球体模型4F’和第七标定球体模型4G’进行分析,得到参考球体模型。值得说明地,上述多个标定球体模型可以是分别对应多个磁传感器的所述地磁场数据拟合生成的。The degree of deviation of different magnetic sensors may be different, which will lead to differences in the output results of the magnetic sensors (for example, different vector components, different total intensities, etc.), which will form multiple calibration sphere models as shown in Figure 18. 4'. Based on this, the first calibration sphere model 4A', the second calibration sphere model 4B', the third calibration sphere model 4C', the fourth calibration sphere model 4D', and the fifth calibration sphere model in the calibration sphere model 4' can be 4E', the sixth calibration sphere model 4F' and the seventh calibration sphere model 4G' are analyzed to obtain a reference sphere model. It is worth noting that the above-mentioned multiple calibration sphere models may be generated by fitting the geomagnetic field data corresponding to multiple magnetic sensors.
定义第一标定球体模型4A’由第一磁传感器获得的地磁场数据拟合形成,假设以其沿x轴正向延伸的向量作为校准向量,则该校准向量的模为r1x,对应第i个磁传感器在j轴上的标定向量的模为rij。进一步地,可以对校准向量的模r1x与其他标定向量的模rij执行标量运算,以实现对其他标定向量的校准,并对应形成校准后的数据向量。Define the first calibration sphere model 4A' to be formed by fitting the geomagnetic field data obtained by the first magnetic sensor. Assuming that its vector extending in the positive direction along the x-axis is used as the calibration vector, then the module of the calibration vector is r 1x , corresponding to the i-th The module of the calibration vector of a magnetic sensor on the j-axis is r ij . Further, a scalar operation can be performed on the modulus r 1x of the calibration vector and the modulus r ij of other calibration vectors to achieve calibration of other calibration vectors and form a calibrated data vector accordingly.
上述过程将位于不同位置的、形如椭球体的多个标定球体模型转换为位于不同位置的、近似正球体的多个球体模型,又因为校准过程中同样可以包括偏置Dij的参与,将经过校准的不同标定球体的标定球心统一为三维坐标系原点(标定向量减去对应的偏置Dij或称△Bij),从而图18中的多个标定球体模型经过遍历处理后,会最终 统一拟合形成如图19所示的参考球体模型4,其上分布有不同磁传感器检测得到的地磁场数据,足以适配前文提供的弱磁探测方法的后续步骤,以观测点的磁场变化作为判断弱磁是否存在的指标。The above process converts multiple calibrated sphere models shaped like ellipsoids located at different positions into multiple sphere models located at different positions and approximate to regular spheres. Since the calibration process can also include the participation of offset D ij , the The calibration sphere centers of different calibrated spheres are unified to the origin of the three-dimensional coordinate system (the calibration vector minus the corresponding offset D ij or △B ij ). Therefore, after traversal processing, the multiple calibration sphere models in Figure 18 will finally The unified fitting forms the reference sphere model 4 as shown in Figure 19. The geomagnetic field data detected by different magnetic sensors are distributed on it, which is enough to adapt to the subsequent steps of the weak magnetic detection method provided above, using the magnetic field changes at the observation point as the An indicator to determine whether weak magnetic field exists.
上述步骤提高了探测装置中不同磁传感器检测数据的一致性,以及同一磁传感器不同轴上的检测数据的一致性。The above steps improve the consistency of detection data of different magnetic sensors in the detection device, as well as the consistency of detection data of the same magnetic sensor on different axes.
如图20所示,为本发明再一实施方式中弱磁探测方法的一具体示例的第一实施例,提供了基于步骤31细化的步骤311、步骤312,以及基于步骤32细化的步骤32”。弱磁探测方法具体包括:As shown in Figure 20 , it is a first embodiment of a specific example of the weak magnetic detection method in yet another embodiment of the present invention, which provides steps 311 and 312 based on step 31 and steps 312 based on step 32. 32". Weak magnetic detection methods specifically include:
步骤3011,获取多个磁传感器在多方位下的地磁场数据,在三维坐标系中拟合多个球体模型,得到多个标定球体模型;Step 3011: Obtain geomagnetic field data from multiple magnetic sensors in multiple directions, fit multiple sphere models in the three-dimensional coordinate system, and obtain multiple calibration sphere models;
步骤3012,计算标定球体模型的球心,以及由球心到标定点的向量,得到多个标定球心和标定向量;Step 3012: Calculate the sphere center of the calibration sphere model and the vector from the sphere center to the calibration point, and obtain multiple calibration sphere centers and calibration vectors;
步骤3013,以多个标定球体模型的其中之一的校准向量,校准多个标定向量的模,得到多个数据向量;Step 3013, use the calibration vector of one of the multiple calibration sphere models to calibrate the modules of the multiple calibration vectors to obtain multiple data vectors;
步骤3014,根据数据向量及对应的标定球心,计算得到多个数据点,并根据数据点,在三维坐标系中拟合参考球体模型;Step 3014: Calculate multiple data points based on the data vector and the corresponding calibration sphere center, and fit the reference sphere model in the three-dimensional coordinate system based on the data points;
步骤311,获取观察点在第一状态下对应的向量,得到第一观察向量;Step 311: Obtain the vector corresponding to the observation point in the first state and obtain the first observation vector;
步骤312,获取观察点在第二状态下对应的向量,并以校准向量校准,得到第二观察向量;Step 312, obtain the vector corresponding to the observation point in the second state, and calibrate it with the calibration vector to obtain the second observation vector;
步骤32”,若第二观察向量的模与第一地磁半径之间满足预设的数量关系,则判定非磁性腔体内存在弱磁源,输出存在信号。Step 32", if the mode of the second observation vector and the first geomagnetic radius satisfy a preset quantitative relationship, it is determined that a weak magnetic source exists in the non-magnetic cavity, and an existence signal is output.
第一实施例提供了搭配前述步骤的、细化的步骤31,以及对应配合的步骤32”。其中,第一观察向量可以对应图9中的第一观察向量410,第二观察向量可以对应图9中的第二观察向量420、第三观察向量430以及第四观察向量440,或其他任一相对于第一观察向量410变化后状态的观察向量。The first embodiment provides a detailed step 31 that matches the foregoing steps, and a corresponding matching step 32". The first observation vector may correspond to the first observation vector 410 in Figure 9, and the second observation vector may correspond to Figure 9. 9, the second observation vector 420, the third observation vector 430, and the fourth observation vector 440, or any other observation vector with respect to the changed state of the first observation vector 410.
本实施方式中虽然同步对步骤301和步骤31进行了细化配置,但是其两者之间仅存在“步骤31依托于步骤301生成的校准参数而执行”的关系。可以理解地,步骤301可以独立于步骤31实施,以生成更为准确的参考球体模型;此外,后文提供的步骤31的具体的实施方式,可以替换前文步骤31的其他实施方式而实施,实现对应的技术效果。In this embodiment, although step 301 and step 31 are configured in detail simultaneously, there is only a relationship between the two that "step 31 is executed based on the calibration parameters generated in step 301". It is understandable that step 301 can be implemented independently of step 31 to generate a more accurate reference sphere model; in addition, the specific implementation of step 31 provided later can be implemented in place of other implementations of step 31, to achieve Corresponding technical effects.
如图21所示,为本发明再一实施方式中弱磁探测方法的一具体示例的第二实施例,提供了基于步骤3013细化的步骤30131、步骤30132,以及基于步骤312细化的步骤3121、步骤3122。弱磁探测方法具体包括:As shown in Figure 21, a second embodiment of a specific example of the weak magnetic detection method in yet another embodiment of the present invention provides steps 30131 and 30132 refined based on step 3013, and steps refined based on step 312. 3121. Step 3122. Weak magnetic detection methods specifically include:
步骤3011,获取多个磁传感器在多方位下的地磁场数据,在三维坐标系中拟合多个球体模型,得到多个标定球体模型;Step 3011: Obtain geomagnetic field data from multiple magnetic sensors in multiple directions, fit multiple sphere models in the three-dimensional coordinate system, and obtain multiple calibration sphere models;
步骤3012,计算标定球体模型的球心,以及由球心到标定点的向量,得到多个标定球心和标定向量;Step 3012: Calculate the sphere center of the calibration sphere model and the vector from the sphere center to the calibration point, and obtain multiple calibration sphere centers and calibration vectors;
步骤30131,根据校准向量和多个标定向量的模,计算得到多个校准参数;Step 30131: Calculate multiple calibration parameters based on the calibration vector and the modules of the multiple calibration vectors;
步骤30132,根据多个校准参数,分别校准多个标定向量的模,得到多个数据向量;Step 30132: Calibrate the modules of multiple calibration vectors respectively according to multiple calibration parameters to obtain multiple data vectors;
步骤3014,根据数据向量及对应的标定球心,计算得到多个数据点,并根据数据点,在三维坐标系中拟合参考球体模型;Step 3014: Calculate multiple data points based on the data vector and the corresponding calibration sphere center, and fit the reference sphere model in the three-dimensional coordinate system based on the data points;
步骤311,获取观察点在第一状态下对应的向量,得到第一观察向量;Step 311: Obtain the vector corresponding to the observation point in the first state and obtain the first observation vector;
步骤3121,获取第一观察向量对应的校准参数,得到观察校准参数;Step 3121: Obtain the calibration parameters corresponding to the first observation vector and obtain the observation calibration parameters;
步骤3122,获取观察点在第二状态下对应的向量,以观察校准参数校准,得到第二观察向量;Step 3122: Obtain the vector corresponding to the observation point in the second state, calibrate it with the observation calibration parameters, and obtain the second observation vector;
步骤32”,若第二磁场观察向量的模与第一地磁半径之间满足预设的数量关系,则判定非磁性腔体内存在弱磁源,输出存在信号。Step 32", if the mode of the second magnetic field observation vector and the first geomagnetic radius satisfy a preset quantitative relationship, it is determined that a weak magnetic source exists in the non-magnetic cavity, and an existence signal is output.
其中,所述校准参数为所述校准向量的模与所述标定向量的模的商。Wherein, the calibration parameter is the quotient of the module of the calibration vector and the module of the calibration vector.
定义校准向量的模为r1x,第i个传感器在j轴上的的标定向量的模为rij,则对应该标定向量的所述校准参数sij-1x,至少配置为满足: Define the module of the calibration vector as r 1x , and the module of the calibration vector of the i-th sensor on the j-axis as r ij , then the calibration parameter s ij-1x corresponding to the calibration vector is at least configured to satisfy:
从而,计算得到将该标定向量的模校正为校准向量所需要的比例系数,从而统一不同的转换系数,使其最终足以拟合为类似正球体的参考球体模型。对应于传感器i在j轴上的转换系数Kij,则有:Kij=sij-1xKij≈K1xTherefore, the proportional coefficient required to correct the module of the calibration vector to the calibration vector is calculated, thereby unifying the different conversion coefficients, so that it is finally sufficient to fit a reference sphere model similar to a right sphere. Corresponding to the conversion coefficient K ij of sensor i on the j-axis, there is: K ij = s ij-1x K ij ≈ K 1x ;
其中,Kij为所述标定向量对应的数据向量,K1x为校准向量所对应的转换系数(在本实施方式中为,第一磁传感器在x轴方向上的标定向量所对应的转换系数)。 Among them, K ij is the data vector corresponding to the calibration vector, and K 1x is the conversion coefficient corresponding to the calibration vector (in this embodiment, it is the conversion corresponding to the calibration vector of the first magnetic sensor in the x-axis direction). coefficient).
基于此,在探测装置中配置有多个磁传感器的实施方式中,可以利用校准参数sij-1x对所有磁传感器在所有轴向上的标定向量进行校准,以生成数据向量B′ij,其中数据向量B′ij至少配置为满足:B′ij=sij-1x(Bij-△Bij);Based on this, in an embodiment in which multiple magnetic sensors are configured in the detection device, the calibration parameters s ij-1x can be used to calibrate the calibration vectors of all magnetic sensors in all axial directions to generate the data vector B′ ij , where The data vector B′ ij is at least configured to satisfy: B′ ij =s ij-1x (B ij -△B ij );
其中,Bij为第i个磁传感器对应j轴上的输出,△Bij为第i个磁传感器对应j轴上的偏置。Among them, B ij is the output of the i-th magnetic sensor corresponding to the j-axis, and △B ij is the offset of the i-th magnetic sensor corresponding to the j-axis.
本实施方式中虽然同步对步骤3013和步骤312进行了细化配置,但是其两者之间仅存在“步骤312依托于步骤3013生成的校准参数而执行”的关系。可以理解地,步骤3013可以独立于步骤312实施,以生成更为准确的参考球体模型;此外,后文提供的步骤31的具体的实施方式,可以替换前文步骤31的其他实施方式而实施,实现对应的技术效果。In this embodiment, although step 3013 and step 312 are configured in detail simultaneously, there is only a relationship between the two that "step 312 is executed based on the calibration parameters generated in step 3013". It is understandable that step 3013 can be implemented independently of step 312 to generate a more accurate reference sphere model; in addition, the specific implementation of step 31 provided later can be implemented in place of other implementations of step 31, to achieve Corresponding technical effects.
上述标定过程可以实施于探测的任何过程中。The above calibration process can be implemented in any process of detection.
例如,在使用过程中,探测装置会实时计算磁场的强度,并进行弱磁源的判断,此时可以是当检测到某个磁传感器的测量值接近其量程时,可以通过状态灯指示操作者,以表达周围存在其他较强磁场干扰(磁控系统、大磁铁等),致使探测装置的使用受到影响。此时,报警灯可以配置为常灭,避免误报警,操作者可以避开磁场干扰后重新标定探测装置,待标定完成且检测到磁场干扰已经排除后,报警灯和探测过程可以重新被启动。For example, during use, the detection device will calculate the strength of the magnetic field in real time and judge the weak magnetic source. At this time, when the measured value of a certain magnetic sensor is detected to be close to its range, the operator can be instructed through the status light , to express that there are other strong magnetic field interferences (magnetic control systems, large magnets, etc.) around, which affects the use of the detection device. At this time, the alarm light can be configured to be always off to avoid false alarms. The operator can avoid magnetic field interference and then recalibrate the detection device. After the calibration is completed and the detected magnetic field interference has been eliminated, the alarm light and detection process can be restarted.
又例如,在探测装置启动并初始化,或收到强磁场的冲击需要重启并重新标定时,操作者可以将探测装置静置于无明显磁场的环境中,或在该环境中随机摇晃(可以是沿“8”字画圈,也可以是旋转探测装置),直至所有标定点都位于相应的球壳范围内。经试验,上述初始化过程通常需要1-3s。For another example, when the detection device is started and initialized, or receives the impact of a strong magnetic field and needs to be restarted and recalibrated, the operator can place the detection device in an environment without an obvious magnetic field, or shake it randomly in the environment (it can be Draw a circle along the "8" figure (or rotate the detection device) until all calibration points are within the corresponding spherical shell range. After testing, the above initialization process usually takes 1-3s.
当然,本发明还可以提供如图22至图24的又一实施方式,具体包括:追踪参考球体模型上至少两个观察点的间距随磁场变化的情况,获得间距变化值;若所述间距变化值与预设的间距变化阈值之间满足预设的数量关系,则判定所述非磁性腔体内存在弱磁源。如此,可以防止弱磁源产生的磁场大小,不足以使观察点脱离地磁场球壳而设置,所导致的漏检或遗漏的情况。Of course, the present invention can also provide another embodiment as shown in Figure 22 to Figure 24, which specifically includes: tracking the change of the distance between at least two observation points on the reference sphere model with the magnetic field, and obtaining the distance change value; if the distance changes If the preset quantitative relationship between the value and the preset spacing change threshold is satisfied, it is determined that a weak magnetic source exists in the non-magnetic cavity. In this way, it is possible to prevent missed detection or omissions caused by the magnetic field generated by the weak magnetic source not being large enough to set the observation point away from the geomagnetic field spherical shell.
如图22所示,参考球体模型上可以包括第五观察点45和第六观察点46,在初始状态下具有第一间距△x1,且分别与球心40对应形成第五观察向量450和第六观察向量460。在探测装置外界磁场发生变化后,第五观察点45移动至第一位置45’处,并重新与球心40形成一新的观察向量450’,第六观察点46对应移动至第二位置46’处,并与球心40形成另一新的观察向量460’,第一位置45’和第六位置46’具有第二间距△x2As shown in Figure 22, the reference sphere model may include a fifth observation point 45 and a sixth observation point 46, which have a first spacing Δx 1 in the initial state, and correspond to the sphere center 40 to form fifth observation vectors 450 and 46 respectively. Sixth observation vector 460. After the external magnetic field of the detection device changes, the fifth observation point 45 moves to the first position 45' and forms a new observation vector 450' with the sphere center 40, and the sixth observation point 46 moves to the second position 46 accordingly. ', and forms another new observation vector 460' with the sphere center 40, the first position 45' and the sixth position 46' have a second distance Δx 2 .
基于此,可以通过计算第一间距和第二间距的差值,得到间距变化值,并与对应的间距变化阈值进行数量关系的判断,从而判断非磁性腔体内是否存在弱磁源。上述技术方案,可以作为单独判断弱磁源是否存在的技术方案,也可以作为上述利用磁场观察向量的模判断是否存在弱磁源的技术方案的补全。也即,若磁场观察向量的模与第一地磁半径之间不满足预设的数量关系时,执行上述步骤进一步佐证和判断。Based on this, the difference between the first spacing and the second spacing can be calculated to obtain the spacing change value, and a quantitative relationship can be determined with the corresponding spacing change threshold to determine whether there is a weak magnetic source in the non-magnetic cavity. The above technical solution can be used as a separate technical solution for determining whether a weak magnetic source exists, or as a complement to the above technical solution for using the mode of a magnetic field observation vector to determine whether a weak magnetic source exists. That is, if the module of the magnetic field observation vector and the first geomagnetic radius do not satisfy the preset quantitative relationship, perform the above steps for further verification and judgment.
进一步地,在又一实施方式中,所述弱磁探测方法还可以包括下述步骤。Further, in yet another embodiment, the weak magnetic detection method may further include the following steps.
所述“追踪参考球体模型上至少两个观察点的间距随磁场变化的情况,获得间距变化值”具体包括:追踪参考球体模型上至少两组观察点集合的离散度情况,得到第一离散度数据和第二离散度数据,并追踪所述至少两组观察点整体的离散度情况,得到全局离散度数据,分别用于表征观察点的间距随磁场变化的情况;The "tracking the change of the distance between at least two observation points on the reference sphere model with the magnetic field, and obtaining the distance change value" specifically includes: tracking the dispersion of at least two sets of observation points on the reference sphere model, and obtaining the first degree of dispersion. data and second dispersion data, and track the overall dispersion of the at least two groups of observation points to obtain global dispersion data, which are respectively used to characterize the change of the distance between observation points with the magnetic field;
所述“若所述间距变化值与预设的间距变化阈值之间满足预设的数量关系,则判定所述非磁性腔体内存在弱磁源”具体包括:若所述全局离散度数据与所述间距变化阈值、所述第一离散度数据和所述第二离散度数据之间满足预设的数量关系,则判定所述非磁性腔体内存在弱磁源。The "if the distance change value satisfies a preset quantitative relationship with the preset distance change threshold, then it is determined that a weak magnetic source exists in the non-magnetic cavity" specifically includes: if the global dispersion data is consistent with the preset distance change threshold. If the distance change threshold, the first dispersion data and the second dispersion data satisfy a preset quantitative relationship, it is determined that a weak magnetic source exists in the non-magnetic cavity.
优选地,定义第一离散度数据为s(group1),定义第二离散度数据为s(group2),定义间距变化阈值(或称离散度容差)为sth,定义全局离散度数据为s(group1,group2,...),则全局离散度数据至少配置为满足:
s(group1,group2,...)>max(s(group1),s(group1),...)+sth
Preferably, the first dispersion data is defined as s (group 1 ), the second dispersion data is defined as s (group 2 ), the distance change threshold (or dispersion tolerance) is defined as s th , and the global dispersion data is defined is s(group 1 , group 2 ,...), then the global dispersion data is at least configured to satisfy:
s(group 1 ,group 2 ,...)>max(s(group 1 ),s(group 1 ),...)+s th .
也即,若所述全局离散度数据,大于所述第一离散度数据和第二离散度数据等所有离散度数据中的极大值与所述离散度容差的和时,判定磁场整体受到了外部磁场(弱磁源等)的干扰,进而判定所述非磁性腔体内存在弱磁源。在此种实施方式中,即使出现误差导致内部存在离群点,也不会触发上述条件导致系统误判。其中,所述离散度容差的作用在于:调整运算和判断的灵敏度和抗干扰能力。 That is, if the global dispersion data is greater than the sum of the maximum value of all dispersion data such as the first dispersion data and the second dispersion data and the dispersion tolerance, it is determined that the entire magnetic field is affected by The interference of the external magnetic field (weak magnetic source, etc.) is detected, and then it is determined that there is a weak magnetic source in the non-magnetic cavity. In this implementation, even if an error occurs and an outlier exists within the system, the above conditions will not be triggered to cause misjudgment by the system. The function of the dispersion tolerance is to adjust the sensitivity and anti-interference ability of calculation and judgment.
若所述全局离散数据,近似相等或略小于所述极大值和所述离散度容差的和时,判定磁场整体未受到外部磁场的干扰。在存在离群点的情况下,上述条件仍然成就。If the global discrete data is approximately equal to or slightly smaller than the sum of the maximum value and the dispersion tolerance, it is determined that the entire magnetic field is not interfered by the external magnetic field. In the presence of outliers, the above conditions are still achieved.
与前述技术方案相类似地,本发明提供的上述优选技术方案,可以作为前述任一实施方式的补充验证步骤。也可以作为独立的弱磁源判断方法,替代前文通过磁场观察向量的模来判断弱磁源是否存在的技术方案,并优选可以与前文记载的任一种附加的特征或实施方式组合。Similar to the foregoing technical solution, the above preferred technical solution provided by the present invention can be used as a supplementary verification step for any of the foregoing embodiments. It can also be used as an independent method to determine the weak magnetic source, replacing the previous technical solution of judging whether the weak magnetic source exists through the mode of the magnetic field observation vector, and preferably can be combined with any of the additional features or implementations described above.
具体地,如图23所示,对于单组观察点集合而言,定义磁场变化前的观察点集合分布于第一区域47,第一区域47具有一种离散度。在发生磁场变化后,若观察点集合出现离散度数据上的增加,原有的观察点集合会形成第一子集合471和第二子集合472,反映为观察点分布区域从第一区域47扩张为第二区域47’。如此,可以判定非磁性腔体内存在弱磁源。Specifically, as shown in FIG. 23 , for a single set of observation points, the observation point set before the magnetic field change is defined is distributed in the first region 47 , and the first region 47 has a degree of dispersion. After the magnetic field changes, if the dispersion data of the observation point set increases, the original observation point set will form a first sub-set 471 and a second sub-set 472, reflecting that the observation point distribution area expands from the first area 47 For the second area 47'. In this way, it can be determined that there is a weak magnetic source in the non-magnetic cavity.
如图24所示,对于两组观察点集合而言,第三区域48A示出了受弱磁源作用下的第一观察点集合481A和第二观察点集合482A的全局分布情况,第三区域48A具有表征当前全局分布情况的全局离散度数据,第一观察点集合481A具有第一离散度数据,第二观察点集合482A具有第二离散度数据。此时,所述全局离散度数据,大于第一离散度数据和第二离散度数据中的极大值与离散度容差的和。As shown in Figure 24, for the two sets of observation points, the third area 48A shows the global distribution of the first observation point set 481A and the second observation point set 482A under the action of the weak magnetic source. The third area 48A has global dispersion data representing the current global distribution, the first observation point set 481A has the first dispersion data, and the second observation point set 482A has the second dispersion data. At this time, the global dispersion data is greater than the sum of the maximum value and the dispersion tolerance in the first dispersion data and the second dispersion data.
第四区域48B示出了另一种情况下第一观察点集合481B和第二观察点集合482B的全局分布情况,第四区域48B具有表征当前全局分布情况的另一全局离散度数据。此时,第二观察点集合482B的分布区域相较于482A基本不变,第一观察点集合481B出现离群点而分布区域大于481A,又因为第四区域48B的全局离散程度,仍大致等于较大的第一观察点集合481B的第一离散程度与离散度容差的和。基于此,即使集合中出现了离群点,也可以根据全局离散度数据和全局分布情况,确定此时并不存在弱磁源或其他外部磁场影响,能够有效排除离群点的影响。The fourth area 48B shows the global distribution of the first observation point set 481B and the second observation point set 482B in another situation. The fourth area 48B has another global dispersion data characterizing the current global distribution. At this time, the distribution area of the second observation point set 482B is basically unchanged compared to 482A. Outliers appear in the first observation point set 481B and the distribution area is larger than 481A. Moreover, the global dispersion degree of the fourth area 48B is still roughly equal to The sum of the first dispersion degree and the dispersion degree tolerance of the larger first observation point set 481B. Based on this, even if outliers appear in the set, it can be determined based on the global dispersion data and global distribution that there is no weak magnetic source or other external magnetic field influence at this time, and the influence of outliers can be effectively eliminated.
当然,本实施方式提供的方法还可以进一步包括:筛除所述变化后所述至少两个观察点中的离群点,根据筛选后的观察点计算所述离散度数据。Of course, the method provided by this embodiment may further include: filtering out outliers among the at least two observation points after the change, and calculating the dispersion data based on the filtered observation points.
综上,本发明利用医疗设备携带的弱磁性,对非磁性腔体内的医疗设备进行检测,通过拟合表征地磁场强度的参考球体模型,追踪在不同状态下,该参考球体模型中某一数据点的向量变化情况,从而根据一定预设的数量关系进行比较判断,由于检测过程只需要对地磁场以及医疗设备发出的弱磁场进行接收,并不向非磁性腔体发出信号,因此不会产生高强度辐射而对非磁性腔体产生损伤,同时基于拟合球体模型并进行向量判断的技术方案,又能够达到检测速度快、流程简单且误触发概率低的技术效果。In summary, the present invention uses the weak magnetism carried by the medical equipment to detect the medical equipment in the non-magnetic cavity. By fitting a reference sphere model that represents the strength of the geomagnetic field, it tracks a certain data in the reference sphere model under different states. The vector changes of the points are compared and judged based on a certain preset quantitative relationship. Since the detection process only needs to receive the geomagnetic field and the weak magnetic field emitted by the medical equipment, it does not send a signal to the non-magnetic cavity, so there will be no High-intensity radiation causes damage to the non-magnetic cavity. At the same time, the technical solution based on fitting the sphere model and making vector judgment can achieve the technical effects of fast detection speed, simple process and low probability of false triggering.
应当理解,虽然本说明书按照实施方式加以描述,但并非每个实施方式仅包含一个独立的技术方案,说明书的这种叙述方式仅仅是为清楚起见,本领域技术人员应当将说明书作为一个整体,各实施方式中的技术方案也可以经适当组合,形成本领域技术人员可以理解的其他实施方式。It should be understood that although this specification is described in terms of implementations, not each implementation only contains an independent technical solution. This description of the specification is only for the sake of clarity. Persons skilled in the art should take the specification as a whole and understand each individual solution. The technical solutions in the embodiments can also be appropriately combined to form other embodiments that can be understood by those skilled in the art.
上文所列出的一系列的详细说明仅仅是针对本发明的可行性实施方式的具体说明,它们并非用以限制本发明的保护范围,凡未脱离本发明技艺精神所作的等效实施方式或变更均应包含在本发明的保护范围之内。 The series of detailed descriptions listed above are only specific descriptions of feasible implementations of the present invention. They are not intended to limit the protection scope of the present invention. Any equivalent implementations or implementations that do not deviate from the technical spirit of the present invention are not intended to limit the protection scope of the present invention. All changes should be included in the protection scope of the present invention.

Claims (12)

  1. 一种弱磁探测方法,用于探测非磁性腔体内的弱磁性医疗设备,其特征在于,包括:A weak magnetic detection method used to detect weak magnetic medical equipment in a non-magnetic cavity, which is characterized by including:
    获取参考球体模型上,至少一个观察点在磁场变化后形成的磁场观察向量;其中,所述参考球体模型表征地磁场情况且具有第一地磁半径;Obtain the magnetic field observation vector formed by at least one observation point after the magnetic field changes on the reference sphere model; wherein the reference sphere model represents the geomagnetic field and has a first geomagnetic radius;
    若所述磁场观察向量的模与所述第一地磁半径之间满足预设的数量关系,则判定所述非磁性腔体内存在弱磁源,输出存在信号。If the mode of the magnetic field observation vector and the first geomagnetic radius satisfy a preset quantitative relationship, it is determined that a weak magnetic source exists in the non-magnetic cavity, and an existence signal is output.
  2. 根据权利要求1所述的弱磁探测方法,其特征在于,所述“若所述磁场观察向量的模与所述第一地磁半径之间满足预设的数量关系,则判定所述非磁性腔体内存在弱磁源,输出存在信号”具体包括:The weak magnetic detection method according to claim 1, characterized in that "if the mode of the magnetic field observation vector and the first geomagnetic radius satisfy a preset quantitative relationship, then it is determined that the non-magnetic cavity is There is a weak magnetic source in the body, and the output signal” specifically includes:
    若所述磁场观察向量的模小于第一判据值,或所述磁场观察向量的模大于第二判据值,则判定所述非磁性腔体内存在弱磁源,输出存在信号;If the module of the magnetic field observation vector is less than the first criterion value, or the module of the magnetic field observation vector is greater than the second criterion value, it is determined that a weak magnetic source exists in the non-magnetic cavity, and an existence signal is output;
    其中,所述第一判据值等于所述第一地磁半径与第一容差之差,所述第二判据值等于所述第一地磁半径与第一容差之和,所述第一容差表征所述参考球体模型中不同地磁场向量的模之间的差异。Wherein, the first criterion value is equal to the difference between the first geomagnetic radius and the first tolerance, the second criterion value is equal to the sum of the first geomagnetic radius and the first tolerance, and the first criterion value is equal to the sum of the first geomagnetic radius and the first tolerance. The tolerance characterizes the difference between the modes of different geomagnetic field vectors in the reference sphere model.
  3. 根据权利要求1所述的弱磁探测方法,其特征在于,所述方法还包括:The weak magnetic field detection method according to claim 1, characterized in that the method further includes:
    接收所述存在信号,获取所述存在信号的数量和/或平均持续时间;Receive the presence signal and obtain the number and/or average duration of the presence signal;
    若所述存在信号的数量和/或平均持续时间大于预设值,则输出报警信号。If the number and/or average duration of the presence signals is greater than the preset value, an alarm signal is output.
  4. 根据权利要求1所述的弱磁探测方法,其特征在于,所述方法还包括:The weak magnetic field detection method according to claim 1, characterized in that the method further includes:
    接收所述存在信号,获取在预设时间范围内的若干所述磁场观察向量的模;Receive the presence signal and obtain the modes of several magnetic field observation vectors within a preset time range;
    计算若干所述磁场观察向量的模的标准差,得到磁观察标准差;Calculate the standard deviation of the modes of several magnetic field observation vectors to obtain the magnetic observation standard deviation;
    当所述磁观察标准差小于等于预设的动态磁场阈值时,输出报警信号。When the magnetic observation standard deviation is less than or equal to the preset dynamic magnetic field threshold, an alarm signal is output.
  5. 根据权利要求1所述的弱磁探测方法,其特征在于,所述“获取参考球体模型上,至少一个观察点在磁场变化后形成的磁场观察向量”具体包括:The weak magnetic detection method according to claim 1, wherein the "obtaining the magnetic field observation vector formed by at least one observation point after the magnetic field changes on the reference sphere model" specifically includes:
    获取参考球体模型上,至少一个观察点在磁场变化后形成的磁场观察向量,以及在所述磁场变化过程中的加速度和旋转角速度变化信号,得到磁场观察向量的模、加速度数据和陀螺数据;Obtain the magnetic field observation vector formed by at least one observation point after the magnetic field changes on the reference sphere model, as well as the acceleration and rotation angular velocity change signals during the magnetic field change process, and obtain the module of the magnetic field observation vector, acceleration data and gyro data;
    所述方法还包括:The method also includes:
    接收所述存在信号,计算所述加速度数据的标准差,和/或所述陀螺数据的平均值,得到速度标准差和/或陀螺均值;Receive the presence signal, calculate the standard deviation of the acceleration data and/or the average value of the gyro data, and obtain the speed standard deviation and/or gyro average value;
    若所述速度标准差小于等于预设的动态速度阈值,且/或若所述陀螺均值小于等于预设的动态旋转阈值,则输出报警信号。If the speed standard deviation is less than or equal to the preset dynamic speed threshold, and/or if the gyro mean is less than or equal to the preset dynamic rotation threshold, an alarm signal is output.
  6. 根据权利要求1所述的弱磁探测方法,其特征在于,在“获取参考球体模型上,至少一个观察点在磁场变化后形成的磁场观察向量”之前,所述方法还包括:The weak magnetic detection method according to claim 1, characterized in that before "obtaining the magnetic field observation vector formed by at least one observation point after the magnetic field changes on the reference sphere model", the method further includes:
    获取多方位的地磁场数据,在三维坐标系中拟合得到所述参考球体模型;Acquire multi-directional geomagnetic field data, and obtain the reference sphere model by fitting in a three-dimensional coordinate system;
    根据所述地磁场数据,计算得到多方位的地磁场向量;According to the geomagnetic field data, a multi-directional geomagnetic field vector is calculated;
    根据所述地磁场向量的模,计算得到所述预设的数量关系中的第一容差;Calculate the first tolerance in the preset quantitative relationship according to the mode of the geomagnetic field vector;
    其中,所述第一容差表征所述参考球体模型中不同地磁场向量的模之间的差异,所述地磁场向量配置为,由所述参考球体模型的球心指向所述地磁场数据在所述三维坐标系中位置的有向线段;所述第一容差配置为所述地磁场向量的模的标准差的整数倍。Wherein, the first tolerance represents the difference between modes of different geomagnetic field vectors in the reference sphere model, and the geomagnetic field vector is configured such that the center of the sphere of the reference sphere model points to the geomagnetic field data at A directed line segment of a position in the three-dimensional coordinate system; the first tolerance is configured as an integer multiple of the standard deviation of the mode of the geomagnetic field vector.
  7. 根据权利要求1所述的弱磁探测方法,其特征在于,在“获取参考球体模型上,至少一个观察点在磁场变化后形成的磁场观察向量”之前,所述方法还包括:The weak magnetic detection method according to claim 1, characterized in that before "obtaining the magnetic field observation vector formed by at least one observation point after the magnetic field changes on the reference sphere model", the method further includes:
    获取多个磁传感器在多方位下的地磁场数据,在三维坐标系中拟合多个球体模型,得到多个标定球体模型;Obtain geomagnetic field data from multiple magnetic sensors in multiple directions, fit multiple sphere models in a three-dimensional coordinate system, and obtain multiple calibration sphere models;
    计算所述标定球体模型的球心,以及由所述参考球体模型的球心到标定点的向量,得到多个标定球心和标定向量;Calculate the center of the sphere of the calibration sphere model and the vector from the center of the sphere of the reference sphere model to the calibration point, and obtain multiple calibration sphere centers and calibration vectors;
    以多个所述标定球体模型的其中之一的校准向量,校准多个所述标定向量的模,得到多个数据向量;Using the calibration vector of one of the multiple calibration sphere models, calibrate the modules of the multiple calibration vectors to obtain multiple data vectors;
    根据所述数据向量及对应的所述标定球心,计算得到多个数据点,并根据所述数据点,在三维坐标系中拟合参考球体模型;Calculate multiple data points according to the data vector and the corresponding calibration sphere center, and fit a reference sphere model in the three-dimensional coordinate system according to the data points;
    其中,所述磁场数据分布于所述标定球体模型上形成多个所述标定点;所述校准向量为所述标定球体模型的其中之一在预设方向上的标定向量;Wherein, the magnetic field data is distributed on the calibration sphere model to form a plurality of calibration points; the calibration vector is a calibration vector of one of the calibration sphere models in a preset direction;
    所述“获取参考球体模型上,至少一个观察点在磁场变化后形成的磁场观察向量”具体包括:The "obtaining the magnetic field observation vector formed by at least one observation point after the magnetic field changes on the reference sphere model" specifically includes:
    获取所述观察点在第一状态下对应的向量,得到第一观察向量; Obtain the vector corresponding to the observation point in the first state and obtain the first observation vector;
    获取所述观察点在第二状态下对应的向量,并以所述校准向量校准,得到第二观察向量;Obtain the vector corresponding to the observation point in the second state, and calibrate it with the calibration vector to obtain the second observation vector;
    所述“若所述磁场观察向量的模与所述第一地磁半径之间满足预设的数量关系,则判定所述非磁性腔体内存在弱磁源,输出存在信号”具体包括:The "if the module of the magnetic field observation vector and the first geomagnetic radius satisfy a preset quantitative relationship, then it is determined that a weak magnetic source exists in the non-magnetic cavity, and an existence signal is output" specifically includes:
    若所述第二观察向量的模与所述第一地磁半径之间满足预设的数量关系,则判定所述非磁性腔体内存在所述弱磁源,输出所述存在信号。If the mode of the second observation vector and the first geomagnetic radius satisfy a preset quantitative relationship, it is determined that the weak magnetic source exists in the non-magnetic cavity, and the existence signal is output.
  8. 根据权利要求7所述的弱磁探测方法,其特征在于,所述标定球体模型为椭球体,所述预设方向为所述椭球体的长轴方向,所述“以多个所述标定球体模型的其中之一的校准向量,校准多个所述标定向量的模,得到多个数据向量”具体包括:The weak magnetic detection method according to claim 7, wherein the calibration sphere model is an ellipsoid, the preset direction is the long axis direction of the ellipsoid, and the "using multiple calibration spheres" Calibrate the calibration vector of one of the models, calibrate the modules of multiple calibration vectors, and obtain multiple data vectors" specifically includes:
    根据所述校准向量和多个所述标定向量的模,计算得到多个校准参数;其中所述校准参数为所述校准向量的模与所述标定向量的模的商;A plurality of calibration parameters are calculated according to the calibration vector and the modes of the plurality of calibration vectors; wherein the calibration parameters are the quotient of the mode of the calibration vector and the mode of the calibration vector;
    根据多个所述校准参数,分别校准多个所述标定向量的模,得到多个数据向量;Calibrate the modes of multiple calibration vectors respectively according to multiple calibration parameters to obtain multiple data vectors;
    所述“获取所述观察点在第二状态下对应的向量,并以所述校准向量校准,得到第二观察向量”具体包括:The "obtaining the vector corresponding to the observation point in the second state, and calibrating it with the calibration vector to obtain the second observation vector" specifically includes:
    获取第一观察向量对应的校准参数,得到观察校准参数;Obtain the calibration parameter corresponding to the first observation vector and obtain the observation calibration parameter;
    获取所述观察点在所述第二状态下对应的向量,以所述观察校准参数校准,得到第二观察向量。Obtain the vector corresponding to the observation point in the second state, calibrate it with the observation calibration parameter, and obtain a second observation vector.
  9. 根据权利要求1所述的弱磁探测方法,其特征在于,所述方法还包括:The weak magnetic field detection method according to claim 1, characterized in that the method further includes:
    若所述磁场观察向量的模与所述第一地磁半径之间不满足预设的数量关系,则追踪参考球体模型上至少两个观察点的间距随磁场变化的情况,获得间距变化值;If the module of the magnetic field observation vector and the first geomagnetic radius do not satisfy the preset quantitative relationship, then track the change of the distance between at least two observation points on the reference sphere model with the magnetic field to obtain the distance change value;
    若所述间距变化值与预设的间距变化阈值之间满足预设的数量关系,则判定所述非磁性腔体内存在弱磁源。If the distance change value satisfies a preset quantitative relationship with the preset distance change threshold, it is determined that a weak magnetic source exists in the non-magnetic cavity.
  10. 根据权利要求9所述的弱磁探测方法,其特征在于,所述“追踪参考球体模型上至少两个观察点的间距随磁场变化的情况,获得间距变化值”具体包括:The weak magnetic detection method according to claim 9, characterized in that "tracking the change of the distance between at least two observation points on the reference sphere model with the magnetic field and obtaining the distance change value" specifically includes:
    追踪参考球体模型上至少两组观察点集合的离散度情况,得到第一离散度数据和第二离散度数据,并追踪所述至少两组观察点整体的离散度情况,得到全局离散度数据,分别用于表征观察点的间距随磁场变化的情况;Track the dispersion of at least two sets of observation points on the reference sphere model to obtain the first dispersion data and the second dispersion data, and track the overall dispersion of the at least two sets of observation points to obtain global dispersion data, They are used to characterize how the distance between observation points changes with the magnetic field;
    所述“若所述间距变化值与预设的间距变化阈值之间满足预设的数量关系,则判定所述非磁性腔体内存在弱磁源”具体包括:The "if the distance change value satisfies a preset quantitative relationship with the preset distance change threshold, then it is determined that a weak magnetic source exists in the non-magnetic cavity" specifically includes:
    若所述全局离散度数据与所述预设的间距变化阈值、所述第一离散度数据和所述第二离散度数据之间满足预设的数量关系,则判定所述非磁性腔体内存在弱磁源。If the global dispersion data, the preset spacing change threshold, the first dispersion data and the second dispersion data satisfy a preset quantitative relationship, it is determined that there is a gap in the non-magnetic cavity. Weak magnetic source.
  11. 一种内窥镜探测器,用于探测非磁性腔体内的内窥镜,所述内窥镜配置为具有弱磁性,其特征在于,所述内窥镜探测器包括探测面板,以及连接于所述探测面板的手柄,所述探测面板包括相背设置的显示面和感测面,所述内窥镜探测器配置为实施一种弱磁探测方法;所述弱磁探测方法,包括:An endoscope detector used to detect an endoscope in a non-magnetic cavity, the endoscope is configured to have weak magnetism, characterized in that the endoscope detector includes a detection panel and is connected to the The handle of the detection panel, the detection panel includes a display surface and a sensing surface arranged oppositely, the endoscope detector is configured to implement a weak magnetic detection method; the weak magnetic detection method includes:
    获取参考球体模型上,至少一个观察点在磁场变化后形成的磁场观察向量;其中,所述参考球体模型表征地磁场情况且具有第一地磁半径;Obtain the magnetic field observation vector formed by at least one observation point after the magnetic field changes on the reference sphere model; wherein the reference sphere model represents the geomagnetic field and has a first geomagnetic radius;
    若所述磁场观察向量的模与所述第一地磁半径之间满足预设的数量关系,则判定所述非磁性腔体内存在弱磁源,输出存在信号。If the mode of the magnetic field observation vector and the first geomagnetic radius satisfy a preset quantitative relationship, it is determined that a weak magnetic source exists in the non-magnetic cavity, and an existence signal is output.
  12. 根据权利要求11所述的内窥镜探测器,其特征在于,所述显示面设置有配置为环形的报警灯和状态灯,所述感测面均匀分布有至少四个感测单元,所述感测单元包括至少两个磁传感器,所述磁传感器其中之一设置于靠近所述感测面的几何中心一侧,其中另一设置于远离所述几何中心一侧。 The endoscopic detector according to claim 11, wherein the display surface is provided with alarm lights and status lights configured in a ring shape, and the sensing surface is evenly distributed with at least four sensing units, and the The sensing unit includes at least two magnetic sensors, one of which is disposed close to the geometric center of the sensing surface, and the other of which is disposed away from the geometric center.
PCT/CN2023/102827 2022-06-28 2023-06-27 Weak magnetic detection method and endoscope detector WO2024002083A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210749814.XA CN114947813A (en) 2022-06-28 2022-06-28 Weak magnetic detection method and endoscope detector
CN202210749814.X 2022-06-28

Publications (1)

Publication Number Publication Date
WO2024002083A1 true WO2024002083A1 (en) 2024-01-04

Family

ID=82966675

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/102827 WO2024002083A1 (en) 2022-06-28 2023-06-27 Weak magnetic detection method and endoscope detector

Country Status (2)

Country Link
CN (1) CN114947813A (en)
WO (1) WO2024002083A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114947813A (en) * 2022-06-28 2022-08-30 安翰科技(武汉)股份有限公司 Weak magnetic detection method and endoscope detector
CN116172540B (en) * 2023-04-28 2023-07-04 长春市鑫睿商贸有限公司 Method for detecting magnetic localizer in tissue focus and method for using detection device thereof

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130073253A1 (en) * 2011-09-20 2013-03-21 Yamaha Corporation State estimation apparatus and offset update method
CN103536290A (en) * 2012-07-12 2014-01-29 韦伯斯特生物官能(以色列)有限公司 Position and orientation algorithm for a single axis sensor
CN105919595A (en) * 2016-05-17 2016-09-07 浙江大学宁波理工学院 System and method for tracking miniature device with magnetic signals in body of moving object
CN111631717A (en) * 2020-05-26 2020-09-08 深圳市资福医疗技术有限公司 Capsule endoscope detector and detection method thereof
CN114271768A (en) * 2021-12-22 2022-04-05 重庆金山医疗技术研究院有限公司 Capsule endoscope detector and capsule endoscope detection method
CN114533033A (en) * 2022-02-28 2022-05-27 深圳硅基智控科技有限公司 Method and detection device for detecting foreign body in subject
CN114947813A (en) * 2022-06-28 2022-08-30 安翰科技(武汉)股份有限公司 Weak magnetic detection method and endoscope detector

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130073253A1 (en) * 2011-09-20 2013-03-21 Yamaha Corporation State estimation apparatus and offset update method
CN103536290A (en) * 2012-07-12 2014-01-29 韦伯斯特生物官能(以色列)有限公司 Position and orientation algorithm for a single axis sensor
CN105919595A (en) * 2016-05-17 2016-09-07 浙江大学宁波理工学院 System and method for tracking miniature device with magnetic signals in body of moving object
CN111631717A (en) * 2020-05-26 2020-09-08 深圳市资福医疗技术有限公司 Capsule endoscope detector and detection method thereof
CN114271768A (en) * 2021-12-22 2022-04-05 重庆金山医疗技术研究院有限公司 Capsule endoscope detector and capsule endoscope detection method
CN114533033A (en) * 2022-02-28 2022-05-27 深圳硅基智控科技有限公司 Method and detection device for detecting foreign body in subject
CN114947813A (en) * 2022-06-28 2022-08-30 安翰科技(武汉)股份有限公司 Weak magnetic detection method and endoscope detector

Also Published As

Publication number Publication date
CN114947813A (en) 2022-08-30

Similar Documents

Publication Publication Date Title
WO2024002083A1 (en) Weak magnetic detection method and endoscope detector
FI123713B (en) Arrangements in connection with intraoral X-rays
US8249689B2 (en) Coil arrangement for electromagnetic tracking method and system
US10080542B2 (en) Information providing method and apparatus for aligning X-ray tube and detector of mobile X-ray apparatus, and wireless detector
EP2990078B1 (en) A position detector
EP2607848B1 (en) Thermal imaging camera with compass calibration
US11669993B2 (en) Systems and methods for position and pose determination and tracking
JP2015033425A (en) Sensor unit and motion detector
JP2007040762A (en) Optical gyro calibration system, robot equipped with optical gyro, and optical gyro calibration program
WO2023186136A1 (en) Wireless capsule positioning apparatus, and method and apparatus for positioning magnetic field sensor
WO2020143118A1 (en) Capsule endoscope and positioning method and system therefor
EP2660561A1 (en) Geomagnetic device
Cheuk et al. Automatic calibration for inertial measurement unit
CN106595578A (en) Multi-sensor information fusion-based unmanned aerial vehicle height measurement method and system
KR20140093111A (en) Geomagnetic sensor calibration apparatus and method thereof
CN112815834B (en) Optical positioning system
US10376235B2 (en) Needle guide system and medical intervention system
EP3102933B1 (en) Ultrasound scanner calibration
WO2012142972A1 (en) Method for quickly and precisely calibrating medical imaging component after changing position
JP2005270482A (en) Biomagnetic field measuring apparatus and horizontal position setting method for biomagnetic field measurement
JP2013205419A (en) Portable photographing device
US11698273B2 (en) Magnetic detection system
WO2023092392A1 (en) Magnetometer sensor experimental positioning device and method
JP5819688B2 (en) MR system safety system and MR apparatus
WO2015099835A1 (en) System and method for displaying ultrasound images

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23830260

Country of ref document: EP

Kind code of ref document: A1