CN115102637A - Method and device for testing capsule endoscope - Google Patents

Method and device for testing capsule endoscope Download PDF

Info

Publication number
CN115102637A
CN115102637A CN202210705706.2A CN202210705706A CN115102637A CN 115102637 A CN115102637 A CN 115102637A CN 202210705706 A CN202210705706 A CN 202210705706A CN 115102637 A CN115102637 A CN 115102637A
Authority
CN
China
Prior art keywords
capsule endoscope
power
interval
test
qualified
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210705706.2A
Other languages
Chinese (zh)
Inventor
何伟康
周攀
杜军
朱文华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ankon Technologies Co Ltd
Original Assignee
Ankon Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ankon Technologies Co Ltd filed Critical Ankon Technologies Co Ltd
Priority to CN202210705706.2A priority Critical patent/CN115102637A/en
Publication of CN115102637A publication Critical patent/CN115102637A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/10Monitoring; Testing of transmitters
    • H04B17/15Performance testing
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B1/00Instruments for performing medical examinations of the interior of cavities or tubes of the body by visual or photographical inspection, e.g. endoscopes; Illuminating arrangements therefor
    • A61B1/00002Operational features of endoscopes
    • A61B1/00011Operational features of endoscopes characterised by signal transmission
    • A61B1/00016Operational features of endoscopes characterised by signal transmission using wireless means
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B1/00Instruments for performing medical examinations of the interior of cavities or tubes of the body by visual or photographical inspection, e.g. endoscopes; Illuminating arrangements therefor
    • A61B1/04Instruments for performing medical examinations of the interior of cavities or tubes of the body by visual or photographical inspection, e.g. endoscopes; Illuminating arrangements therefor combined with photographic or television appliances
    • A61B1/041Capsule endoscopes for imaging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/20Monitoring; Testing of receivers
    • H04B17/29Performance testing
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B1/00Instruments for performing medical examinations of the interior of cavities or tubes of the body by visual or photographical inspection, e.g. endoscopes; Illuminating arrangements therefor
    • A61B1/273Instruments for performing medical examinations of the interior of cavities or tubes of the body by visual or photographical inspection, e.g. endoscopes; Illuminating arrangements therefor for the upper alimentary canal, e.g. oesophagoscopes, gastroscopes

Landscapes

  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Surgery (AREA)
  • Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Pathology (AREA)
  • Biomedical Technology (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Optics & Photonics (AREA)
  • Signal Processing (AREA)
  • Radiology & Medical Imaging (AREA)
  • Electromagnetism (AREA)
  • Biophysics (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Medical Informatics (AREA)
  • Molecular Biology (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Veterinary Medicine (AREA)
  • Endoscopes (AREA)

Abstract

The invention discloses a method and a device for testing a capsule endoscope, wherein the method comprises the following steps: controlling the capsule endoscope to enter a test mode; after receiving the request signal of the capsule endoscope, sending out a command signal; acquiring a data signal sent by the capsule endoscope, wherein the data signal comprises an image data power value and a command signal power value; and comparing the data signal with a qualified interval to judge whether the capsule endoscope is qualified, wherein the qualified interval comprises an image data power qualified interval and a command signal power qualified interval. The test method can simultaneously test the signal transmitting capability and the signal receiving capability of the capsule endoscope, and the test indexes are more comprehensive, so that the transmitting capability and the receiving capability of the tested qualified capsule endoscope in use are reliable.

Description

Method and device for testing capsule endoscope
Technical Field
The invention relates to the technical field of capsule endoscopes, in particular to a method and a device for testing a capsule endoscope.
Background
The capsule endoscope can inspect the alimentary canal in a painless and noninvasive mode, an external device such as a recorder continuously receives data of alimentary canal images transmitted by the capsule endoscope in a wireless connection mode, and meanwhile, the external device also controls important operation parameters such as a frame rate, exposure intensity, communication frequency and output power of the capsule endoscope in a wireless connection mode.
Before the capsule endoscope leaves a factory, the capsule endoscope is placed in a wireless performance testing environment for testing, the signal power value sent by the capsule endoscope is received through the reading antenna, and the signal power value is compared with a production index to judge whether the wireless performance of the capsule endoscope reaches the standard or not.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art:
the capsule endoscope is in two-way communication with external equipment, and the prior art can only test the power of signals sent by the capsule endoscope and cannot reflect the signal receiving capability of the capsule endoscope. A capsule endoscope that is tested as acceptable may have problems in receiving instructions for important operating parameters during use.
Disclosure of Invention
In order to solve the above-mentioned problems of the prior art, an object of the present invention is to provide a testing method and device capable of simultaneously detecting the signal receiving capability and the signal transmitting capability of a capsule endoscope.
In order to achieve the above object, an embodiment of the present invention provides a method for testing a capsule endoscope, including the steps of:
controlling the capsule endoscope to enter a test mode;
after receiving the request signal of the capsule endoscope, sending out a command signal;
acquiring a data signal sent by the capsule endoscope, wherein the data signal comprises an image data power value and a command signal power value;
and comparing the data signal with a qualified interval to judge whether the capsule endoscope is qualified, wherein the qualified interval comprises an image data power qualified interval and a command signal power qualified interval.
As a further improvement of the invention, the method also comprises the following steps:
controlling a rotary platform to rotate, wherein the capsule endoscope rotates along with the rotary platform;
continuously acquiring a plurality of request signals and sending a command signal corresponding to each request signal in the rotating process of the capsule endoscope, wherein the number of the request signals in the rotating period of the rotating platform is multiple;
and acquiring a plurality of data signals sent by the capsule endoscope, wherein each data signal corresponds to each command signal one by one, and each data signal comprises an image data power value and a command signal power value of the command signal corresponding to the data signal.
As a further improvement of the invention, the method also comprises the following steps:
and controlling the rotation time of the rotary platform to be not less than the rotation period of the rotary platform.
As a further improvement of the present invention, the data signal further includes an image count and an error rate, and the qualified interval further includes an image count qualified interval and an error rate qualified interval.
As a further improvement of the present invention, when the image data power value is within the image data power-qualified interval, the command signal power value is within the command signal power-qualified interval, the number of images is within the image number-qualified interval, and the error rate is within the error rate-qualified interval, the capsule endoscope is qualified;
otherwise, the capsule endoscope is not qualified.
As a further improvement of the invention, before the step of controlling the capsule endoscope to enter the test mode, the method further comprises the following steps:
in an environment that the capsule endoscope is not powered on or is removed and a calibration device is powered on, acquiring a set of first output power of the calibration device through a first detection device, wherein the working frequency band and the communication protocol of the calibration device and the capsule endoscope are consistent;
and judging whether the first output power is stable in a preset stable interval.
As a further improvement of the invention, the method also comprises the following steps:
if the first output power is stable in a preset stable interval, acquiring a group of second output powers of the calibration equipment through second detection equipment;
calculating a power average of a set of said second output powers;
calculating the power difference value of the power average value and the calibration average value;
judging whether the power difference value is within a preset deviation interval or not;
and if the power difference value is within a preset deviation interval, closing the calibration equipment, opening the capsule endoscope, and controlling the capsule endoscope to enter a test mode.
To achieve one of the above objects, an embodiment of the present invention provides a capsule endoscope testing apparatus including:
the testing module comprises a first antenna and testing equipment connected with the first antenna, the first antenna is used for receiving signals or sending signals, and when the capsule endoscope is started, the testing equipment is wirelessly connected with the capsule endoscope through the first antenna;
a storage module storing a computer program;
and the processing module can realize the steps in the testing method of the capsule endoscope when executing the computer program.
As a further improvement of the present invention, the test apparatus further comprises:
the rotating equipment comprises a rotating platform and a jig fixedly connected to the rotating platform, and the jig is used for fixing the capsule endoscope.
As a further improvement of the present invention, the test apparatus further comprises:
and the calibration equipment is consistent with the working frequency band and the communication protocol of the capsule endoscope, and when the calibration equipment is started, the test equipment is in wired and/or wireless connection with the calibration equipment.
In order to achieve one of the above objects, an embodiment of the present invention provides a readable storage medium, which stores a computer program, wherein the computer program, when executed by a processing module, can implement the steps of the method for testing a capsule endoscope.
Compared with the prior art, the invention has the following beneficial effects: the test method can simultaneously test the signal transmitting capability and the signal receiving capability of the capsule endoscope, and the test indexes are more comprehensive, so that the transmitting capability and the receiving capability of the tested qualified capsule endoscope in use are reliable.
Drawings
FIG. 1 is a schematic structural diagram of a testing apparatus according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a testing apparatus according to an embodiment of the present invention;
FIG. 3 is a schematic view of the testing device of one embodiment of the present invention in communication with a capsule endoscope;
FIG. 4 is a flow chart of a testing method of one embodiment of the present invention;
FIG. 5 is a flow chart of a testing method of another embodiment of the present invention;
100, testing a device; 11. a first antenna; 12. a testing machine; 13. a first power divider; 14. a frequency spectrograph; 20. a rotating device; 21. rotating the platform; 22. a jig; 31. a second antenna; 32. calibrating the plate; 33. a second power divider; 34. a radio frequency switch; 41. a base; 42. a first bracket; 43. a second bracket; 44. a third support; 50. a capsule boot device; 61. a first shielding box; 62. a second shielding box; 200. a capsule endoscope.
Detailed Description
The present invention will be described in detail below with reference to specific embodiments shown in the drawings. These embodiments are not intended to limit the present invention, and structural, methodological, or functional changes made by those skilled in the art according to these embodiments are included in the scope of the present invention.
An embodiment of the invention provides a testing method and a testing device capable of simultaneously detecting signal receiving capacity and signal transmitting capacity of a capsule endoscope.
The capsule endoscope 200 includes an image acquisition module and a radio frequency wireless communication module, the radio frequency wireless communication module can be in communication connection with the testing device 100 of this embodiment in a wireless electromagnetic wave manner, the capsule endoscope 200 can acquire instruction parameters of the testing device 100, the instruction parameters include important operation parameters such as frame rate, exposure intensity, communication frequency, output power, and the like, the operation state is adjusted according to the parameters to acquire different images, and the testing device 100 can acquire a request signal and a data signal of the capsule endoscope 200.
As shown in fig. 1, the testing apparatus 100 of the capsule endoscope of the present embodiment includes a testing module, a capsule starting device 50, and a supporting structure, the testing module includes a first antenna 11, and a testing device connected to the first antenna 11, the first antenna 11 is used for receiving and sending signals, and when the capsule endoscope 200 is started, the testing device is wirelessly connected to the capsule endoscope 200 through the first antenna 11.
The capsule starting device 50 can select different starting structures according to the starting mode of the capsule endoscope 200, for example, a photosensitive starting capsule endoscope, and can be provided with an infrared or white light LED to start the capsule endoscope 200 through an external switch.
The supporting structure comprises a base 41, a first bracket 42 and a second bracket 43, wherein the base 41 is provided with a fixture 22 for supporting the capsule endoscope 200, the first bracket 42 is used for supporting the capsule starting device 50, and the second bracket 43 is used for supporting the first antenna 11. The main components of the testing device 100 are all mounted on a support structure, which facilitates the mounting and moving of the testing device 100.
The test equipment comprises a test machine 12 and a spectrometer 14, the test module further comprises a first power divider 13, a signal received by the first antenna 11 is transmitted to the first power divider 13 through a radio frequency coaxial line, and the first power divider 13 divides the received signal into two parts which are respectively transmitted to the test machine 12 and the spectrometer 14. The spectrometer 14 is only used during debugging and calibration, and a plurality of test stations of the test apparatus 100 may share one spectrometer 14; each test apparatus 100 has a tester 12 associated with it. The test machine 12 is connected to an external computing device via a data line, and is controlled by software running on the computing device.
The testing apparatus 100 further comprises a rotating device 20 and a calibration device, as shown in fig. 1 or 2, the rotating device 20 comprises a rotating platform 21 and a fixture 22 fixedly connected to the rotating platform 21, the fixture 22 is used for supporting the capsule endoscope 200, the capsule endoscope 200 can be vertically or horizontally placed on the fixture 22, and different fixtures 22 can be used according to different sizes, single and double lenses and the like of the capsule endoscope 200. The jig 22 is detachably or fixedly connected to the rotary platform 21, and the rotary platform 21 is driven by an external power supply or a rechargeable lithium battery to rotate at a uniform speed in a certain rotation period, so as to drive the jig 22 and the capsule endoscope 200 to rotate at the same speed. The axis of rotation of the capsule and the axis of rotation of the rotary platform 21 may be collinear. The capsule endoscope 200 is spaced apart from the first antenna 11.
The calibration device is compatible with the operating frequency band and communication protocol of the capsule endoscope 200, and when the calibration device is powered on, the test device is connected with the calibration device in a wired and/or wireless manner. The calibration device comprises a calibration plate 32, the main circuit of the calibration plate 32 is basically consistent with the tested capsule endoscope 200 and is used for generating a calibration signal, if the working frequency bands and the communication protocols of different types of capsule endoscopes 200 are consistent, only the appearance and the structure are different, the same calibration device can be used, and when any one of the working frequency bands and the communication protocols is changed, the calibration plate 32 is replaced to be consistent with a new capsule endoscope 200.
The calibration device further comprises a second antenna 31, a second power divider 33 and a radio frequency switch 34, as shown in fig. 2. The second antenna 31 is supported and fixed by the third support 44 of the supporting structure, the second power divider 33 divides the radio frequency signal into two parts, and the signal of the calibration board 32 can be transmitted to the second antenna 31 and the spectrometer 14, respectively.
The testing device 100 further comprises a first shielding box 61 and a second shielding box 62, and the shielding boxes can effectively avoid external wireless interference and improve the stability of a testing result. In this embodiment, the first antenna 11, the first power divider 13, the second antenna 31, the second power divider 33, the rotating device 20, and the capsule endoscope 200 are all located in a first shielding box 61, the calibration board 32 and the testing machine 12 are all located in a second shielding box 62, and the radio frequency switch 34 and the spectrometer 14 may be located outside the first shielding box 61 and the second shielding box 62.
As shown in fig. 2, the first shielding box 61 has four rf SMA interfaces a, B, C, and d, the second shielding box 62 has two rf SMA interfaces e and f, and the rf switch 34 has an a port, a B port, and a C port.
The interface a is connected with the interface e through a radio frequency coaxial line and then connected with the calibration plate 32, the interface B is connected with the port B through a radio frequency coaxial line, and the interface a and the interface B are simultaneously connected with the second power divider 33 through a radio frequency coaxial line.
The interface c is connected with the port A through a radio frequency coaxial line, the interface d is connected with the testing machine 12 through a radio frequency coaxial line connection interface f, and the interface c and the interface d are simultaneously connected with the first power divider 13 through the radio frequency coaxial line.
The port C is connected with the frequency spectrograph 14 through a radio frequency coaxial line, the port C can be connected with the port A or the port B, and the port C can also be not connected with the port A and the port B.
In the following, a method for testing a capsule endoscope according to an embodiment of the present invention will be described with reference to fig. 3 to 5, although the present application provides the following method operation steps shown in the following embodiments or flowcharts, but the method is not limited to the execution sequence provided in the embodiments of the present application in the steps where there is no necessary cause and effect relationship in logic based on the conventional or non-creative labor.
FIG. 3 shows one complete interaction of capsule endoscope 200 with testing device 100: the capsule endoscope 200 sends a request signal Req first, the test apparatus 100 returns a command signal CMD after successfully receiving the request signal Req, the capsule endoscope 200 sends Data signals Data after successfully receiving the CMD, the Data signals Data comprise image Data power values and command signal power values corresponding to the image, and each image Data comprises an image Data power value and a command signal power value corresponding to the image, and a power detection module of the test machine 12 can obtain the two Data.
During the test, software on the external computing device may send an operating parameter command to the capsule endoscope 200 through the first antenna 11, for example, the capsule endoscope 200 sends image information with a fixed data amount at a fixed frame rate (e.g., 6fps), and the testing machine 12 receives wireless information sent by the capsule endoscope 200 through the first antenna 11 and transmits the wireless information to the computing device.
Specifically, the test method includes the following steps, as shown in fig. 4:
in step S20, the capsule endoscope 200 is controlled to enter the test mode.
The test mode may include the capsule powering device 50 turning the capsule endoscope 200 on, or may include controlling the testing machine 12 in turn by controlling software running on the computing device, the testing machine 12 controlling the operating parameters of the capsule endoscope 200 via the first antenna 11, for example, to prepare it for acquiring an image.
In step S30, a request signal Req of the capsule endoscope 200 is acquired.
In step S40, the request signal Req of the capsule endoscope 200 is received, and then a command signal CMD is issued.
Step S50, acquiring Data signal Data sent by the capsule endoscope 200, wherein the Data signal includes an image Data power value and a command signal power value.
The image data power value can be used for evaluating the wireless performance of the signals transmitted by the tested capsule endoscope 200;
the power value of the command signal corresponds to the power of the capsule endoscope 200 receiving the command signal returned by the testing machine 12, the capsule endoscope 200 transmits the power value of the command signal corresponding to each frame of image to the testing machine 12 along with the image information, and the index can be used for indirectly evaluating the wireless receiving sensitivity of the tested capsule endoscope 200.
In addition, the data signal includes the number of images and the error rate.
When the frame rate, the image size and the duration are fixed, the number of the received images is also fixed, and the number of the images can be used for evaluating whether the tested capsule has frame loss and few frames;
the error rate can be used to evaluate the capsule endoscope 200 with normal transmission power but the error rate exceeds the limit value due to other reasons, such as distortion of the transmitted waveform of the capsule endoscope 200, distortion, modulation and demodulation abnormality of the radio frequency unit, and the like. The bit error rate may be replaced by a packet loss rate.
Step S60, compares the data signal with qualified intervals, and determines whether the capsule endoscope 200 is qualified, wherein the qualified intervals include an image data power qualified interval and a command signal power qualified interval.
The image data power qualified interval corresponds to the test index of the image data power value, and the instruction signal power qualified interval corresponds to the test index of the instruction signal power value.
The image data power qualified interval can be a qualified interval of an average value of image data power values, can also be a qualified interval of a value obtained by converting an image data power value through other mathematical methods, and the instruction signal power qualified interval and the image data power qualified interval are the same. When the power value of the image data is not in the power qualified interval of the image data, the wireless performance of the signals transmitted by the capsule endoscope 200 is not qualified; when the power value of the command signal is not within the power qualified interval of the command signal, the wireless performance of the signal received by the capsule endoscope 200 is not satisfactory.
The non-defective section includes a non-defective image count section and a non-defective error rate section. The image number qualified interval corresponds to the test index of the image number, and the error rate qualified interval corresponds to the test index of the error rate. When the number of the images is not in the image number qualified interval, the number of the images is less, and some images are lost; when the error rate is not in the error rate qualified interval, it indicates that the problem of frame loss and few frames occurs, or the problem of frame loss and few frames has seriously affected normal use, and in addition, it may also be detected whether the packet loss rate is in the packet loss rate qualified interval.
Further, when the power value of the image data is within the power qualified interval of the image data, the power value of the command signal is within the power qualified interval of the command signal, the number of images is within the qualified interval of the number of images, and the error rate is within the qualified interval of the error rate, the capsule endoscope 200 is qualified; otherwise, the capsule endoscope 200 is rejected.
That is, the capsule endoscope 200 is judged to be qualified only when all the indexes are within the qualified interval. When any of the conditions that the image data power value is not within the image data power-qualified interval, the command signal power value is not within the command signal power-qualified interval, the number of images is not within the image number-qualified interval, and the error rate is not within the error rate-qualified interval is satisfied, the capsule endoscope 200 is not qualified. That is, in this embodiment, while testing the wireless signal transmission power and the wireless receiving performance of the capsule endoscope 200, the capsule endoscope 200 with frame loss, few frames, and abnormal bit error rate/packet loss rate can be intercepted.
In the prior art, only whether the power of the transmitted signal is large enough can be detected, but the signal quality is not good enough, because the problems of waveform distortion, signal interference, poor modulation and demodulation of a wireless chip and the like can also occur, and the tests of the dimensions cannot be obtained only by detecting the power. In this embodiment, the four sets of indicators are used for determining that the capsule endoscope 200 is a defective product if any of the indicators does not match the corresponding qualified interval during the testing process.
In addition, the software can prompt which test index or which group of test indexes does not reach the standard, so that the analysis and the maintenance of an engineer are facilitated.
In this embodiment, in order to detect the capability of the capsule endoscope 200 to send and receive signals in various directions, steps S30 to S50 may be repeated as follows:
the rotary platform 21 is controlled to rotate, and the capsule endoscope 200 rotates along with the rotary platform 21;
continuously acquiring a plurality of request signals and sending out a command signal corresponding to each request signal in the process of rotating the capsule endoscope 200, wherein the number of the request signals in the rotation period of the rotary platform 21 is multiple;
a plurality of data signals emitted by the capsule endoscope 200 are acquired, wherein each data signal corresponds to each command signal one by one, and each data signal comprises an image data power value and a command signal power value of the command signal corresponding to the data signal.
The capsule endoscope 200 rotates at a constant speed along with the rotating platform 21, the period time of one rotation of the rotating platform 21 is T, the rotating time of the rotating platform 21 is controlled to be not less than the rotating period, for example, the rotating time is T +1(s), images sent by the capsule endoscope 200 are continuously acquired in the period of time, for example, T is 5s, the test duration is 6s, for example, a frame rate is 6fps, a total of 36 images are received, and the signal power detection module in the testing machine 12 can obtain test data at 36 angles.
At this time, the image data power value corresponds to the wireless power value of the capsule endoscope 200 rotating at a constant speed in each direction, and is used for evaluating the wireless performance of the tested capsule endoscope 200 in each direction of the transmission mode.
The rotating platform 21 drives the capsule endoscope 200 to rotate, so that on one hand, the testing efficiency is high, no specific direction requirement exists, and all angles are calculated together after the capsule endoscope 200 rotates; on the other hand, the rotation precision is high, and the test result is accurate.
In addition, when the test apparatus 100 is first debugged, the following embodiment may be performed. The three embodiments may operate alternatively or in combination.
Example 1
Optionally, one capsule endoscope 200 is placed on the jig 22, and the capsule endoscope 200 rotates at a constant speed along with the rotary platform 21. The port a and the port C of the radio frequency switch 34 are connected, the capsule starting device 50 controls the capsule endoscope 200 to start, and the capsule endoscope 200 establishes communication with the testing machine 12. The software of the computing equipment controls the capsule endoscope 200 to operate according to the operation parameters, the testing machine 12 obtains wireless power values P _ data _0 of the tested capsule in all directions through a built-in power detection module, the frequency spectrograph 14 can synchronously obtain corresponding wireless power values P _ data _1, the difference value delta P between the test result of the testing machine 12 and the test result of the frequency spectrograph 14 is P _ data _ 0-P _ data _1, after the difference value delta P is compensated in the software, the testing machine 12 can replace the frequency spectrograph 14 to complete the test of the wireless power values of the capsule endoscope 200 in all directions, the test precision is less than or equal to 1dB, the test error is less than or equal to +/-1 dB, and the technical requirements of production test can be met.
In addition, because the signal transmission path is reciprocal, the compensation of the difference Δ P is also applicable to the power value of the command signal measured by the power detection module, so that the testing machine 12 can replace the frequency spectrograph 14, and the testing machine 12 meets the requirement of the wireless performance test.
Although the accuracy of the testing machine 12 is less than that of the spectrometer 14, the testing machine 12 can be supplemented by the above-described embodiments to meet the requirements of wireless performance testing. Given that the cost of the tester 12 is much lower than the spectrometer 14, the testing stations of multiple testing apparatus 100 can share a spectrometer 14; each testing device 100 only needs to have one corresponding testing machine 12, which is beneficial to greatly saving the production cost.
In addition, the spectrometer 14 is more suitable for measuring signals emitted in a single direction, but the capsule endoscope 200 of the present embodiment rotates at a constant speed, so that the testing machine 12 is more suitable for testing requirements, and the measurement precision is improved.
Example 2
The calibration plate 32 is powered on, either by shutting down the capsule endoscope 200 or shutting down the rotary platform 21 and removing the capsule endoscope 200 from the jig 22. The port C of the rf switch 34 is connected to the port B, and the output power of the calibration board 32 is changed by adjusting the attenuator in the calibration board 32, so that the spectrometer 14 reads P0 ± P1 dBm. Where P1 is set as required, in this embodiment, the value may be 0.5, and the reading of the spectrometer 14 is also between P0 ± 0.5 dBm. At this time, the spectrometer 14 detects the power of the output signal in a wired form.
Example 3
The power of the output signal of the calibration board 32 is obtained wirelessly by the test machine 12, and the detection path passes through: the calibration board 32 → the interface e → the interface a → the second power divider 33 → the second antenna 31 → the first antenna 11 → the first power divider 13 → the interface d → the interface f → the test machine 12, the test machine 12 can obtain a set of power values of the output signal through the built-in power detection module, calculate an average value P _ ave _0 of the set of power values, the value is the initial calibration of the environment after the tool is assembled, and record the initial average value P _ ave _0 of the tool debugging. And the initial value needs to be compared during subsequent calibration.
Further, the first debugging may be first initial setting after the device is produced, and after the first debugging is passed, in the process of each subsequent test, in order to eliminate error interference caused by the test environment itself and avoid that the system error affects the correctness of the detection result, in this embodiment, before step S20, the following steps may also be included. The steps S11 to S14 and S15 to S18 may be implemented as two independent embodiments, one of which is selected to operate, or two embodiments may operate sequentially, as shown in fig. 5. After the operation of steps S11-S14 and/or steps S15-S18 is finished and the requirement is met, step S20 is started.
Step S11: control the capsule endoscope 200 to be powered off or removed and the calibration apparatus to be powered on.
Corresponding to example 2 above, if it is assumed that the capsule endoscope 200 is turned off and the calibration board 32 is turned on in the first commissioning, it is assumed that the capsule endoscope 200 is not turned on and the calibration device is turned on in step S11. If in the first commissioning it is used to stop the rotary platform 21 and remove the capsule endoscope 200 from the fixture 22 and the calibration plate 32 is powered on, then in step S11 it is used to control the capsule endoscope 200 to be removed and the calibration device to be powered on. That is, the test scenario using the capsule endoscope 200 is set to be the same as the first debugging, so that the signals can be measured in the same transmission path, and the measurement accuracy can be improved.
Step S12: a set of first output powers of a calibration device is obtained by the first detection device, wherein the calibration device is consistent with both the operating frequency band and the communication protocol of the capsule endoscope 200.
The first detection device may be the spectrometer 14 as above, in which case the C port is connected to the B port, and the spectrometer 14 tests the power of the output signal of the calibration board 32 of the calibration device in a wired manner. The set of first output powers may be output powers that are acquired for a short preset time duration.
Step S13: and judging whether the first output power is stable in a preset stable interval.
Based on the above embodiment 2, it is confirmed by the spectrometer 14 whether the set of output powers of the calibration plate 32 satisfy the requirement of P0 ± P1dBm, and normally, the power values will be stabilized within the same range of P0 ± P1dBm as the initial setting, so that the next action can be continued. If not, the output power is not within the range of P0 + -P1 dBm, and then the testing apparatus 100 needs to be manually overhauled, for example, embodiment 2 is resumed, and the attenuator in the calibration board 32 is readjusted to change the output power of the calibration board 32, so that the spectrometer 14 reads P0 + -P1 dBm.
When the first output power is stabilized within the preset stabilization interval P0 ± P1dBm, step S20 may be performed directly, or the following steps may be continued, where the following steps adopt the same test method as in embodiment 3, that is, the test machine 12 obtains the power of the output signal of the calibration board 32 in a wireless manner.
Step S14: and if the first output power is stable in the preset stable interval, acquiring a group of second output powers of the calibration equipment through second detection equipment.
The second detection device at this time may be the test machine 12, and the second output power corresponds to the power of the output signal detected in a wireless form. Since the second output power is detected by separating the first antenna 11 and the second antenna 31, and the two antennas pass through a wireless space, the second output power is much smaller than the first output power because there is more attenuation compared to the first output power. And the first output power is larger and less attenuated, the wired transmission path of the spectrometer 14 is more stable relative to the wireless detection of the testing machine 12, and the second output power is not stable enough due to the aging of equipment, the loose structure and other reasons along with the use of the testing device 100, so that the comparison of whether the first output power is stable within P0 ± P1dBm is more reliable.
The set of second output powers may be powers of output signals acquired continuously for a certain time.
Step S15: a power average value P _ ave _1 of a set of second output powers is calculated.
Based on the reason that the second output power is not stable enough, P _ ave _1 may be deviated from P _ ave _0 in embodiment 3.
Step S16: and calculating the power difference value delta P _ ave between the power average value and the calibrated average value, wherein the delta P _ ave is P _ ave _1-P _ ave _ 0.
Step S17: and judging whether the power difference value is within a preset deviation interval.
Step S18: if the power difference is within the preset deviation interval, the calibration device is closed, and the capsule endoscope 200 is opened.
If Δ P _ ave ≦ P2dB, then P _ ave _1 has a smaller test deviation than P _ ave _0, can be automatically compensated for by software, and then the subsequent step S20 is run, where the value of P2 is set as needed, and can be 2.
If Δ P _ ave > +/-P2 dB, the deviation of the test value is large, which indicates that some structures of the test device 100 may be abnormal, and the software prompts the failure of self-calibration and requires the intervention of an engineer.
After the calibration of steps S11 to S14 and/or steps S15 to S18 are added, the small test deviation of the test apparatus 100 caused by light aging and structure looseness can be compensated, and the stability of the test result can be improved. Meanwhile, large test deviation caused by other problems can be found in time, and batch test errors caused by abnormity of the test device 100 are avoided. And the automation degree of the test process is high, the use is convenient, and the operation of workers is convenient.
In one embodiment, the testing device 100 of the capsule endoscope may include the following modules, each of which has the following specific functions:
a control module for controlling the capsule endoscope 200 to enter a test mode;
a first acquisition module for receiving a request signal of the capsule endoscope 200;
a signal sending module for sending a command signal after receiving the request signal of the capsule endoscope 200;
a second acquisition module for acquiring data signals sent by the capsule endoscope 200, wherein the data signals comprise an image data power value and a command signal power value;
and a comparison module, configured to compare the data signal with a qualified interval, and determine whether the capsule endoscope 200 is qualified, where the qualified interval includes an image data power qualified interval and an instruction signal power qualified interval.
It should be noted that, for details not disclosed in the testing apparatus 100 of the embodiment of the present invention, please refer to details disclosed in the testing method of the embodiment of the present invention.
In one embodiment, the testing apparatus 100 for capsule endoscopes may further include a computing device including a memory module storing a computer program, such as the various testing method programs described above, and a processing module executing the computer program to implement the steps in the testing methods for the various capsule endoscopes, such as the steps shown in fig. 4 and 5, and software running in the computing device for controlling the testing machine 12.
In addition, the present invention further provides an electronic device, which includes a storage module and a processing module, and when the processing module executes the computer program, the steps in the test method described above may be implemented, that is, the steps in any one of the technical solutions in the test method described above may be implemented. The electronic device may be a part integrated in the computing device, or a local terminal device, or may be a part of the cloud server.
The Processing module may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. The general purpose processor may be a microprocessor, but may be any conventional processor. The processing module is the control center of the test apparatus 100.
The storage module can be used to store the computer program and/or the module, and the processing module can implement various functions of the testing device 100 by running or executing the computer program and/or the module stored in the storage module and calling the data stored in the storage module. The memory module may mainly include a memory program area and a memory data area, wherein the memory program area may store an operating system, an application program required for at least one function, and the like. In addition, the memory module may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
Illustratively, the computer program may be partitioned into one or more modules/units, stored in a memory module and executed by a processing module to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program in the testing apparatus 100.
Further, an embodiment of the present invention provides a readable storage medium, which stores a computer program, and when the computer program is executed by a processing module, the computer program can implement the steps in the testing method, that is, implement the steps in any one of the technical solutions in the testing method.
The module integrated with the test method may be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as a separate product. Based on such understanding, all or part of the flow in the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processing module, the steps of the method embodiments may be implemented.
Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying said computer program code, recording medium, diskettes, removable hard disks, magnetic disks, optical disks, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution media, and the like. It should be noted that the computer-readable medium may contain suitable additions or subtractions depending on the requirements of legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer-readable media may not include electrical carrier signals or telecommunication signals in accordance with legislation and patent practice.
Compared with the prior art, the embodiment has the following beneficial effects:
(1) by simultaneously testing the signal transmitting capacity and the signal receiving capacity of the capsule endoscope 200 by the testing method, the testing index is more comprehensive, and therefore the transmitting capacity and the receiving capacity of the capsule endoscope 200 which is tested to be qualified in use are reliable.
(2) The capability of sending signals to all directions of the capsule endoscope 200 can be detected through the rotating device 20, the detection has no specific direction requirement, all angles are calculated together after the capsule endoscope 200 is rotated, and the detection efficiency is high;
(3) the interference of system errors caused by the change of the test environment and the slight aging, looseness and the like of the test device 100 is eliminated, and the stability and the correctness of the detection result are improved.
It should be understood that although the present description refers to embodiments, not every embodiment contains only a single technical solution, and such description is for clarity only, and those skilled in the art should make the description as a whole, and the technical solutions in the embodiments can also be combined appropriately to form other embodiments understood by those skilled in the art.
The above-listed detailed description is only a specific description of a possible embodiment of the present invention, and they are not intended to limit the scope of the present invention, and equivalent embodiments or modifications made without departing from the technical spirit of the present invention should be included in the scope of the present invention.

Claims (11)

1. A method for testing a capsule endoscope, comprising the steps of:
controlling the capsule endoscope to enter a test mode;
after receiving the request signal of the capsule endoscope, sending out a command signal;
acquiring a data signal sent by the capsule endoscope, wherein the data signal comprises an image data power value and a command signal power value;
and comparing the data signal with a qualified interval to judge whether the capsule endoscope is qualified, wherein the qualified interval comprises an image data power qualified interval and a command signal power qualified interval.
2. The test method of claim 1, further comprising the steps of:
controlling a rotary platform to rotate, wherein the capsule endoscope rotates along with the rotary platform;
continuously acquiring a plurality of request signals and sending a command signal corresponding to each request signal in the rotating process of the capsule endoscope, wherein the number of the request signals in the rotating period of the rotating platform is multiple;
and acquiring a plurality of data signals sent by the capsule endoscope, wherein each data signal corresponds to each command signal one by one, and each data signal comprises an image data power value and a command signal power value of the command signal corresponding to the data signal.
3. The test method of claim 2, further comprising the steps of:
and controlling the rotation time of the rotary platform to be not less than the rotation period of the rotary platform.
4. The test method of claim 1, wherein the data signal further comprises a number of pictures and a bit error rate, and the qualifying interval further comprises a number of pictures qualifying interval and a bit error rate qualifying interval.
5. The testing method according to claim 4, wherein the capsule endoscope is qualified when the image data power value is within the image data power-qualified interval, the command signal power value is within the command signal power-qualified interval, the number of images is within the number-of-images-qualified interval, and the error rate is within the error rate-qualified interval;
otherwise, the capsule endoscope is not qualified.
6. The method for testing according to claim 1, further comprising, before said step of controlling said capsule endoscope to enter a test mode, the step of:
in an environment that the capsule endoscope is not powered on or is removed and a calibration device is powered on, acquiring a set of first output power of the calibration device through a first detection device, wherein the working frequency band and the communication protocol of the calibration device and the capsule endoscope are consistent;
and judging whether the first output power is stable in a preset stable interval.
7. The test method of claim 6, further comprising the steps of:
if the first output power is stable in a preset stable interval, acquiring a group of second output powers of the calibration equipment through second detection equipment;
calculating a power average of a set of said second output powers;
calculating the power difference value of the power average value and the calibration average value;
judging whether the power difference value is within a preset deviation interval or not;
and if the power difference value is within a preset deviation interval, closing the calibration equipment, opening the capsule endoscope, and controlling the capsule endoscope to enter a test mode.
8. A test device for a capsule endoscope, comprising:
the test module comprises a first antenna and test equipment connected with the first antenna, wherein the first antenna is used for receiving signals or sending signals, and when the capsule endoscope is started, the test equipment is wirelessly connected with the capsule endoscope through the first antenna;
a storage module storing a computer program;
a processing module which, when executing said computer program, implements the steps of the method of testing a capsule endoscope according to any one of claims 1 to 7.
9. The testing device of claim 8, further comprising:
the rotating equipment comprises a rotating platform and a jig fixedly connected to the rotating platform, and the jig is used for fixing the capsule endoscope.
10. The testing device of claim 8, further comprising:
and the calibration equipment is consistent with the working frequency band and the communication protocol of the capsule endoscope, and when the calibration equipment is started, the test equipment is in wired and/or wireless connection with the calibration equipment.
11. A readable storage medium storing a computer program which, when executed by a processing module, performs the steps of the method of testing a capsule endoscope of any of claims 1 to 7.
CN202210705706.2A 2022-06-21 2022-06-21 Method and device for testing capsule endoscope Pending CN115102637A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210705706.2A CN115102637A (en) 2022-06-21 2022-06-21 Method and device for testing capsule endoscope

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210705706.2A CN115102637A (en) 2022-06-21 2022-06-21 Method and device for testing capsule endoscope

Publications (1)

Publication Number Publication Date
CN115102637A true CN115102637A (en) 2022-09-23

Family

ID=83292457

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210705706.2A Pending CN115102637A (en) 2022-06-21 2022-06-21 Method and device for testing capsule endoscope

Country Status (1)

Country Link
CN (1) CN115102637A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008035760A1 (en) * 2006-09-22 2008-03-27 Olympus Medical Systems Corp. Capsule type endoscope, and gaster observation method
JP2010035746A (en) * 2008-08-04 2010-02-18 Fujifilm Corp Capsule endoscope system, capsule endoscope and operation control method of capsule endoscope
US20140327751A1 (en) * 2012-12-31 2014-11-06 Timothy King High definition (hd) inter-module link interface
CN107374750A (en) * 2017-07-21 2017-11-24 江苏华亘泰来生物科技有限公司 Capsule endoscope tone detection means
CN111478737A (en) * 2020-04-21 2020-07-31 Oppo广东移动通信有限公司 Radio frequency test method, device, electronic device and storage medium
CN111956168A (en) * 2020-07-22 2020-11-20 上海安翰医疗技术有限公司 Capsule endoscope system and distance measuring method for capsule endoscope
CN114098610A (en) * 2021-11-24 2022-03-01 广州思德医疗科技有限公司 Capsule endoscope system recorder testing device and method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008035760A1 (en) * 2006-09-22 2008-03-27 Olympus Medical Systems Corp. Capsule type endoscope, and gaster observation method
JP2010035746A (en) * 2008-08-04 2010-02-18 Fujifilm Corp Capsule endoscope system, capsule endoscope and operation control method of capsule endoscope
US20140327751A1 (en) * 2012-12-31 2014-11-06 Timothy King High definition (hd) inter-module link interface
CN107374750A (en) * 2017-07-21 2017-11-24 江苏华亘泰来生物科技有限公司 Capsule endoscope tone detection means
CN111478737A (en) * 2020-04-21 2020-07-31 Oppo广东移动通信有限公司 Radio frequency test method, device, electronic device and storage medium
CN111956168A (en) * 2020-07-22 2020-11-20 上海安翰医疗技术有限公司 Capsule endoscope system and distance measuring method for capsule endoscope
CN114098610A (en) * 2021-11-24 2022-03-01 广州思德医疗科技有限公司 Capsule endoscope system recorder testing device and method

Similar Documents

Publication Publication Date Title
US11784712B2 (en) Modular cell site installation, testing, measurement, and maintenance tool
US9749064B2 (en) Automated radio frequency testing management system
CN102322946B (en) Calibration method and system for optical sensor of mobile phone
CN106443421B (en) A kind of measurement of automation clock frequency and calibration system and method
CN101951634B (en) Method and system for automatic power control calibration of TD-LTE terminal
US8374815B2 (en) Self-calibrating test system
CN1988418B (en) Method for automatic scaling light module
CN102055539A (en) Automated calibration method and equipment for meter output signal
CN111432425B (en) Test system and test method for network mode optimization of 3G/4G router
CN113395122B (en) Production test circuit board, radio frequency parameter calibration system, method and computer equipment
CN115102637A (en) Method and device for testing capsule endoscope
CN107592165B (en) Method and system for testing transmission power of router
US11150132B2 (en) Grating rotation method and apparatus for improving spectrograph wavelength accuracy
US20080065942A1 (en) Synthetic instrument utilizing peer-to-peer communication for error correction
CN115047257A (en) Automatic antenna measuring system based on spherical surface near field measurement
US20220390322A1 (en) Techniques for providing a swept wavelength (sw) measurement for acquiring polarization dependent loss (pdl) in a single scan
WO2021258670A1 (en) Calibration method, apparatus and device for coherent optical module, and computer readable storage medium
CN116909049B (en) Calibration method and system for TFT-LCD photosensitive array plate
CN108907453B (en) Laser processing analysis device and method with self-learning function
JPH11190684A (en) Measuring device provided with automatic sample changing function
CN111654878A (en) Method, system, electronic device and medium for testing sensitivity of wireless communication module
CN114710205B (en) System and method for evaluating and testing service life of optical transmission assembly
US20240003742A1 (en) Improved instrument monitoring and correction
CN212572573U (en) Debugging and testing system
CN114089246A (en) Method, system, device, processor and storage medium for realizing automatic output power detection for antenna feeder analyzer port

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination