A filter identification system and method
Through the signal encoding module and decoding module combined with dual-tone multi-frequency signal technology, the problem of inaccurate filter recognition in strong pulsed light therapy instruments is solved, efficient and accurate filter recognition is achieved, and the safety of clinical treatment is ensured. .
Patent Information
- Application Number
- CN202210091385.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-26
- Publication Date
- 2024-12-24
- Estimated Expiration
- 2042-01-26
AI Technical Summary
The existing strong pulse light therapy instruments are inaccurate when replacing the filter, which can easily lead to misidentification due to contact failure or photoelectric sensor interference, affecting the safety of clinical treatment.
The signal encoding module, signal decoding module and information acquisition module are adopted to achieve efficient and accurate identification of filter information through dual tone multi-frequency signal encoding and decoding, combined with the replacement of the judgment signal.
It improves the accuracy and anti-interference ability of filter recognition, ensures the safety of clinical treatment, and avoids equipment error recognition and fault recognition.
Smart Images

Figure CN114553998B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of optical filter identification, and in particular to an optical filter identification method and system. Background Art
[0002] Intense pulsed light therapy devices are widely used in clinical dermatology for the treatment of various pigmented skin diseases, various vascular skin diseases, and various skin inflammatory diseases. The wavelength range of intense pulsed light is mostly 420-1200nm. Usually one wavelength represents a related band. In clinical treatment, light therapy for different diseases requires the use of intense pulsed light of the corresponding band. Currently, the more commonly used bands in clinical treatment are 420nm, 460nm, 515nm, 560nm, 590nm, 640nm, 695nm, 800nm, and 980nm. Therefore, a replaceable filter interface is designed on the treatment head of the intense pulsed light therapy device to meet clinical needs.
[0003] Existing technical solutions for identifying the replacement of filters in the treatment head of an intense pulsed light therapy device mainly adopt the following two methods: (1) a resistor voltage division method, in which a DC voltage signal corresponding to the band is fed back to the host after the filter is inserted into the treatment head, and the DC voltage signal is detected in the main control unit, and the filter is identified based on the voltage-band correspondence; (2) a photoelectric sensor coding method, in which at least three groups of photoelectric sensors are used in the filter to encode the filter band, and a group of binary codes are fed back to the main control unit, and the filter is identified based on the band-code correspondence.
[0004] In actual use, the above two methods are prone to poor contact and failure of the contacts between the filter and the treatment head due to frequent replacement of the filter, resulting in deviation of the voltage signal fed back to the host, or errors in the binary code fed back to the host. In addition, when the photoelectric sensor encoding method is adopted, the photoelectric sensor is easily interfered by strong pulsed light, resulting in errors or damage. The equipment incorrectly identifies the current filter band parameters, resulting in the main control unit in the equipment being unable to correctly call the corresponding working parameters, making the safety of clinical treatment not guaranteed. Summary of the invention
[0005] In view of this, it is necessary to provide a filter identification system and method to solve the problem in the prior art that it is impossible to perform efficient and accurate identification when replacing the filter in the treatment head of an intense pulsed light therapy device.
[0006] In order to solve the above problems, the present invention provides a filter identification system, including a signal encoding module, a signal decoding module and an information acquisition module;
[0007] The signal encoding module is used to read the filter signal to be identified, encode the filter signal to be identified, and obtain an encoded signal;
[0008] The signal decoding module is used to read the encoded signal and decode the encoded signal to obtain a decoded signal;
[0009] The information acquisition module is used to read the decoded signal and obtain the filter information according to the decoded signal.
[0010] Furthermore, the signal encoding module comprises a code conversion unit, and the code conversion unit is used for encoding and converting the filter signal to be identified into a corresponding dual-tone multi-frequency signal according to a first preset corresponding relationship.
[0011] Furthermore, the signal decoding module includes a decoding conversion unit, and the decoding conversion unit is used to decode and convert the encoded signal according to a second preset corresponding relationship.
[0012] Furthermore, the filter identification system further comprises a replacement judgment module, wherein the replacement judgment module is used to read a replacement judgment signal and judge whether to read the decoded signal according to the replacement judgment signal;
[0013] When the replacement judgment signal is at a high level, the decoded signal is read;
[0014] When the replacement determination signal is at a low level, the decoded signal is not read.
[0015] Furthermore, the information acquisition module includes a signal conversion unit, and the signal conversion unit is used to obtain the filter information by using the third preset corresponding relationship and the decoded signal.
[0016] The present invention also provides a method for identifying a filter, comprising:
[0017] Acquiring serial number information of a filter to be identified, encoding the serial number information of the filter to be identified, and obtaining an encoded signal;
[0018] Decoding the encoded signal to obtain a decoded signal;
[0019] The filter information is obtained according to the decoded signal.
[0020] Furthermore, encoding the serial number information of the filter to be identified includes:
[0021] The serial number information of the filter to be identified is encoded and converted into a corresponding dual-tone multi-frequency signal according to a first preset corresponding relationship.
[0022] Furthermore, decoding the encoded signal comprises:
[0023] The encoded signal is converted according to a second preset corresponding relationship.
[0024] Furthermore, before obtaining the filter information according to the decoded signal, the method includes:
[0025] Acquire a replacement judgment signal, and determine whether to read the decoded signal according to the replacement judgment signal;
[0026] When the replacement judgment signal is at a high level, the decoded signal is read;
[0027] When the replacement determination signal is at a low level, the decoded signal is not read.
[0028] Further, obtaining filter information according to the decoded signal includes:
[0029] The filter information is obtained by using the third preset corresponding relationship and the decoded signal.
[0030] The beneficial effect of adopting the above-mentioned embodiment is: the filter identification system provided by the present invention obtains the filter signal to be identified, encodes and decodes the filter signal to be identified, obtains the decoded signal, obtains the filter information according to the decoded signal, and transmits information through encoding and decoding, so that the filter information can be efficiently and accurately identified when the filter of the treatment head of the intense pulsed light therapy device is replaced. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 A structural block diagram of an embodiment of a filter identification system provided by the present invention;
[0032] Figure 2 A schematic diagram of a flow chart of an embodiment of a method for identifying an optical filter provided by the present invention;
[0033] Figure 3 Schematic diagram of a filter identification circuit provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0034] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of this application and are used together with the embodiments of the present invention to illustrate the principles of the present invention, but are not used to limit the scope of the present invention.
[0035] The present invention provides a filter identification system and method, which are described in detail below.
[0036] The embodiment of the present invention provides a filter identification system, the structure block diagram of the system is as follows: Figure 1 As shown, the filter recognition system includes a signal encoding module 101, a signal decoding module 102 and an information acquisition module 103;
[0037] The signal encoding module 101 is used to read the filter signal to be identified, encode the filter signal to be identified, and obtain an encoded signal;
[0038] The signal decoding module 102 is used to read the encoded signal and decode the encoded signal to obtain a decoded signal;
[0039] The information acquisition module 103 is used to read the decoded signal and obtain filter information according to the decoded signal.
[0040] In some embodiments of the present invention, in the signal encoding module 101, the filter signal is a signal contained in the internal circuit of the filter, and is designed in the process of producing filters in order to distinguish filters of different bands and thus to contain filters with different internal circuits.
[0041] In a specific embodiment, the filter recognition system is a software system, and the filter recognition system is combined with a filter recognition circuit hardware system to realize the recognition of the filter. The schematic diagram of the filter recognition circuit is as follows: Figure 2 As shown, Figure 2 The filter identification circuit includes a filter dual-tone multi-frequency encoding circuit, an internal interface and transmission circuit of a treatment head, and a dual-tone multi-frequency decoding circuit of a main control unit, wherein the internal interface and transmission circuit of the treatment head are used to connect the filter dual-tone multi-frequency encoding circuit and the main control unit dual-tone multi-frequency decoding circuit;
[0042] The filter dual-tone multi-frequency encoding circuit and the signal encoding module 101 are combined to realize reading the filter signal to be identified, and the filter signal to be identified is encoded to obtain the encoded signal. Specifically, the filter signal to be identified is read by using four row input interfaces R4, R3, R2, R1 and four column input interfaces C4, C3, C2, C1 in the filter dual-tone multi-frequency encoding circuit, and the filter signal to be identified is encoded by using MT5087 to obtain the encoded signal;
[0043] The main control unit dual tone multi-frequency decoding circuit and the signal decoding module 102 are combined to realize reading the encoded signal, and the encoded signal is decoded to obtain a decoded signal. Specifically, the encoded signal is read by MT8870 in the dual tone multi-frequency decoding circuit of the main control unit, and the encoded signal is decoded in MT8870 to obtain a decoded signal;
[0044] The main control unit dual-tone multi-frequency decoding circuit and the information acquisition module 103 are combined to realize reading the decoded signal, and filter information is obtained according to the decoded signal. Specifically, interfaces PA3, PA2, PA1, and PA0 of the main controller STM32F103RCT6 in the main control unit dual-tone multi-frequency decoding circuit are utilized to read the decoded signal, and filter information is obtained according to the decoded signal.
[0045] As a specific embodiment of the present invention, in the information acquisition module 103, the filter information refers to the band information of the filter.
[0046] As a preferred embodiment, the signal encoding module comprises a code conversion unit, and the code conversion unit is used for encoding and converting the filter signal to be identified into a corresponding dual-tone multi-frequency signal according to a first preset corresponding relationship.
[0047] In a specific embodiment, the filter signal to be identified is read through four row input interfaces R4, R3, R2, R1 and four column input interfaces C4, C3, C2, C1, wherein the number 0 indicates that the interface is short-circuited to the ground, and the number 1 indicates that the interface is suspended;
[0048] The filter signal to be identified is encoded in MT5087, and a corresponding relationship conversion table is shown in Table 1 below. The filter signal to be identified is converted into a dual-tone multi-frequency signal according to the corresponding relationship in Table 1. The dual-tone multi-frequency signal is an encoded signal, and the dual-tone multi-frequency signal includes a low frequency and a high frequency.
[0049] Table 1 Correspondence conversion table
[0050]
[0051] As a preferred embodiment, the signal decoding module includes a decoding conversion unit, and the decoding conversion unit is used to decode and convert the encoded signal according to a second preset corresponding relationship.
[0052] In a specific embodiment, the encoded signal is decoded by using MT8870, and the encoded signal is converted into a decoded signal according to the corresponding relationship in Table 1, and the decoded signal is a four-bit binary number, and interfaces Q4, Q3, Q2, and Q1 are used to output the decoded signal;
[0053] The interface EST is used to output a replacement judgment signal.
[0054] In another specific embodiment, interfaces PA3, PA2, PA1, and PA0 in the main controller STM32F103RCT6 are used to read data from interfaces Q4, Q3, Q2, and Q1, and interface PA4 is used to read data from interface EST.
[0055] As a preferred embodiment, the filter identification system further includes a replacement judgment module, wherein the replacement judgment module is used to obtain a replacement judgment signal, and judge whether to read the decoded signal according to the replacement judgment signal;
[0056] When the replacement judgment signal is at a high level, the decoded signal is read;
[0057] When the replacement determination signal is at a low level, the decoded signal is not read.
[0058] In a specific embodiment, due to the open circuit or short circuit of any line or contact in the filter dual-tone multi-frequency encoding circuit and / or the internal interface and transmission circuit of the treatment head, or the damage of the device, no DTMF signal will be transmitted to the input end of the dual-tone multi-frequency decoding circuit of the main control unit, resulting in the EST signal being a low level, the low level value is 0, and the high level value is 1.
[0059] As a preferred embodiment, the information acquisition module includes a signal conversion unit, and the signal conversion unit is used to obtain the filter information by using the third preset corresponding relationship and the decoded signal.
[0060] In a specific embodiment, the filter information is obtained according to the decoded signal and the corresponding relationship in Table 1.
[0061] The embodiment of the present invention provides a method for identifying a filter, and a flow chart thereof is shown as follows: Figure 3 As shown, the filter identification method includes:
[0062] Step S301, obtaining the serial number information of the filter to be identified, encoding the serial number information of the filter to be identified, and obtaining an encoded signal;
[0063] Step S302: Decode the encoded signal to obtain a decoded signal;
[0064] Step S303: Obtain filter information according to the decoded signal.
[0065] In a specific embodiment, the filter signal includes filter number information, and the difference in the filter number information is used to distinguish the difference in filter bands. The filter number information includes row input and column input, and the row input and column input are shown in Table 1.
[0066] As a preferred embodiment, encoding the serial number information of the filter to be identified includes:
[0067] The serial number information of the filter to be identified is encoded and converted into a corresponding dual-tone multi-frequency signal according to a first preset corresponding relationship.
[0068] In a specific embodiment, the serial number information of the filter to be identified is converted into a dual-tone multi-frequency signal according to the corresponding relationship in Table 1, and the dual-tone multi-frequency signal is an encoded signal, and the dual-tone multi-frequency signal includes a low frequency and a high frequency.
[0069] As a preferred embodiment, decoding the encoded signal includes:
[0070] The encoded signal is converted according to a second preset corresponding relationship.
[0071] In a specific embodiment, the encoded signal is converted into a decoded signal according to the corresponding relationship in Table 1, and the decoded signal is a four-bit binary number.
[0072] As a preferred embodiment, before obtaining the filter information according to the decoded signal, the method includes:
[0073] Acquire a replacement judgment signal, and determine whether to read the decoded signal according to the replacement judgment signal;
[0074] When the replacement judgment signal is at a high level, the decoded signal is read;
[0075] When the replacement determination signal is at a low level, the decoded signal is not read.
[0076] As a preferred embodiment, obtaining filter information according to the decoded signal includes:
[0077] The filter information is obtained by using the third preset corresponding relationship and the decoded signal.
[0078] In a specific embodiment, the filter information is obtained according to the decoded signal and the corresponding relationship in Table 1.
[0079] In summary, the present invention discloses a filter identification system and method, which obtains a filter signal to be identified, encodes and decodes the filter signal to be identified to obtain a decoded signal, and obtains filter information based on the decoded signal. The information is transmitted by encoding and decoding, which enables the filter information to be efficiently and accurately identified when the filter of the treatment head of an intense pulsed light therapy device is replaced.
[0080] This technical solution adopts a dual-tone multi-frequency signal (DTMF signal) and an intense pulsed light therapy device treatment head filter replacement identification circuit to transmit filter band information. It has the advantages of strong anti-interference ability, accurate data, high sensitivity of signal reception, and simple wiring. It uses one line for transmission and is not easily affected by changes in line impedance and interference from ambient light and electromagnetics. It overcomes the disadvantage of misidentification in other ways of transmitting filter information. The decoding circuit also outputs a replacement judgment signal. The main controller determines whether the intense pulsed light therapy device treatment head filter replacement identification circuit is faulty based on the replacement judgment signal. If it is faulty, the whole machine is controlled to suspend operation and display fault information, thereby eliminating incorrect identification of filter bands and ensuring the safety of clinical treatment.
[0081] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by any technician familiar with the technical field within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention.
Claims
1. A filter identification system, characterized in that: It includes a signal encoding module, a signal decoding module and an information acquisition module; The signal encoding module is used to read the filter signal to be identified, encode the filter signal to be identified, and obtain an encoded signal; The signal decoding module is used to read the encoded signal and decode the encoded signal to obtain a decoded signal; The information acquisition module is used to read the decoded signal and obtain the filter information according to the decoded signal; The signal encoding module includes a code conversion unit, which is used to encode the filter signal to be identified into a corresponding dual-tone multi-frequency signal according to a first preset corresponding relationship, and the dual-tone multi-frequency signal includes a low frequency and a high frequency; The filter signal to be identified includes filter number information, and the difference in filter number information is used to distinguish the difference in filter bands. The filter number information includes row input and column input.
2. The optical filter recognition system according to claim 1, characterized in that: The signal decoding module includes a decoding conversion unit, and the decoding conversion unit is used to decode and convert the encoded signal according to a second preset corresponding relationship.
3. The optical filter recognition system according to claim 1, characterized in that: It also includes a replacement judgment module, the replacement judgment module is used to read the replacement judgment signal, and judge whether to read the decoded signal according to the replacement judgment signal; When the replacement judgment signal is at a high level, the decoded signal is read; When the replacement determination signal is at a low level, the decoded signal is not read.
4. The optical filter recognition system according to claim 1, characterized in that: The information acquisition module includes a signal conversion unit, and the signal conversion unit is used to obtain filter information by using a third preset corresponding relationship and the decoded signal.
5. A method for identifying a filter, characterized in that: include: Acquiring serial number information of a filter to be identified, encoding the serial number information of the filter to be identified, and obtaining an encoded signal; Decoding the encoded signal to obtain a decoded signal; Obtaining filter information according to the decoded signal; Encoding the serial number information of the filter to be identified includes: Convert the coding information of the filter to be identified into a corresponding dual-tone multi-frequency signal according to a first preset corresponding relationship, wherein the dual-tone multi-frequency signal includes a low frequency and a high frequency; The difference in the numbering information of the optical filters is used to distinguish the difference in the wavebands of the optical filters, and the numbering information of the optical filters includes row input and column input.
6. The method for identifying an optical filter according to claim 5, characterized in that: Decoding the encoded signal comprises: The encoded signal is converted according to a second preset corresponding relationship.
7. The method for identifying an optical filter according to claim 5, characterized in that: Before obtaining the filter information according to the decoded signal, the method includes: Acquire a replacement judgment signal, and determine whether to read the decoded signal according to the replacement judgment signal; When the replacement judgment signal is at a high level, the decoded signal is read; When the replacement determination signal is at a low level, the decoded signal is not read.
8. The method for identifying an optical filter according to claim 5, characterized in that: Obtaining filter information according to the decoded signal includes: The filter information is obtained using the third preset corresponding relationship and the decoded signal.
Citation Information
Patent Citations
Type detection device for optical filter of photon therapeutic instrument and identification method thereof
CN105944237A
Medical surgery electrode recognizing and information recording system
CN109363785A
Component identification method, system and equipment and storage medium
CN113791825A
Method and apparatus for communicating with an implantable medical device
US20010012955A1
System and method for real-time remote monitoring of implantable medical devices
US20050070968A1
