A handle recognition circuit based on square wave frequency detection, a surgical power system and a recognition method
Patent Information
- Application Number
- CN202610654926.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-05-13
- Publication Date
- 2026-10-09
AI Technical Summary
[0007]为了解决现有手术动力系统在手柄识别过程中存在的识别准确性问题和抗干扰能力差的技术问题,实现识别准确性显著提高、响应速度快、成本低且可靠性高的技术效果,本发明提供一种基于方波频率检测的手柄识别电路、手术动力系统及识别方法
与现有技术相比,采用方波频率作为手柄识别的特征参数,频率信号具有较高的稳定性和抗干扰能力,不易受电阻精度偏差、温漂以及外部电磁干扰的影响,从而显著提高了手柄识别的准确性,有效避免了误识别情况的发生;通过手柄端预设唯一目标频率和主机端精确频率检测与比对的方式,识别逻辑清晰,响应速度快,能够满足手术动力系统对实时性的要求;电路结构设计相对简单,易于实现和集成,可降低生产成本,同时提高了系统的整体可靠性和稳定性,保障了手术的顺利进行。
Smart Images

Figure CN122874152A_ABST
Abstract
Description
Technical Field
[0001] This application relates to a handle recognition circuit, surgical power system and recognition method based on square wave frequency detection, belonging to the field of medical device control circuit technology. Background Technology
[0002] With the continuous development of medical technology, surgical power systems are playing an increasingly important role in modern surgery. Surgical power systems are typically equipped with various types of surgical handpieces to adapt to different surgical needs and operational scenarios. To improve surgical efficiency and safety, modern surgical power systems generally adopt a universal handpiece interface design, allowing different types of handpieces to be used compatiblely with the same host unit. However, this design also presents a technical challenge in handpiece type recognition; the system needs to accurately identify the type of handpiece currently connected in order to invoke the corresponding drive parameters and function configurations.
[0003] Currently, the main method for handpiece recognition technology in surgical power systems is resistive voltage division. For example, Chinese patent CN223501565U discloses a dental surgical machine handpiece recognition device, which connects a first resistor between the contact pins of the handpiece plug and a second resistor between the detection pins of the main unit socket. The main unit processor identifies the handpiece specifications by sampling the voltage signal on the detection pins. Similarly, Chinese patent CN106725834B discloses an automatic identification RF handpiece that identifies the type of RF cutting tool inserted through an automatic identification device located at the connector.
[0004] However, traditional resistance voltage divider identification methods have significant technical drawbacks. First, accuracy is a major issue. Resistance voltage dividers are susceptible to factors such as resistor accuracy deviations and temperature drift, causing variations in the voltage division value and resulting in misidentification of the handle type. Second, they have poor interference resistance. The analog signal generated by the resistance voltage divider is easily affected by electromagnetic interference, especially in complex electromagnetic environments like operating rooms. Electromagnetic interference from various medical devices can distort the identification signal, thus affecting the reliability of the identification.
[0005] In recent years, some technical solutions have begun to explore recognition methods based on square wave signals to improve recognition performance. Chinese patent CN223513659U discloses a handle button recognition circuit for a high-frequency host, which generates a square wave signal through a square wave signal generator and outputs it to the handle button circuit, then uses an on / off recognition circuit to identify different button signals. Chinese patent CN214177293U discloses an electrosurgical handle button recognition system, which converts a voltage signal into a square wave signal through a voltage-to-frequency conversion circuit and sends it to the terminal device for button recognition. Chinese patent CN218181038U discloses an ultrasonic scalpel handle button detection circuit, which generates different signal waveforms based on the button state through a signal generator circuit.
[0006] While the aforementioned solutions improve signal interference immunity to some extent, these technologies primarily target the detection and recognition of the button status on the handpiece, rather than the identification of the handpiece type. For surgical power systems, a technical solution that can accurately and reliably identify different types of surgical power handpieces remains lacking, especially a recognition circuit that provides good interference immunity while ensuring recognition accuracy. Summary of the Invention
[0007] To address the technical problems of poor recognition accuracy and anti-interference capability in existing surgical power systems during handle recognition, and to achieve significantly improved recognition accuracy, fast response speed, low cost, and high reliability, this invention provides a handle recognition circuit, surgical power system, and recognition method based on square wave frequency detection.
[0008] The technical problem this invention aims to solve is that existing surgical power systems, when equipped with various surgical power handpieces and with universal handpiece interfaces, typically identify different types of handpieces by collecting voltage division data from the resistance in the handpiece. This method suffers from problems with identification accuracy and poor anti-interference capabilities. Specifically, the voltage division method may experience decreased identification accuracy due to factors such as resistance precision deviation or temperature drift, leading to misidentification; the voltage division signal is susceptible to electromagnetic interference, which can cause identification errors in environments like surgical power systems where reliability is extremely important, thus affecting the normal progress of the surgery.
[0009] The technical solution adopted by this invention to solve its technical problem is: In a first aspect, this application provides a handle recognition circuit based on square wave frequency detection, comprising: Handle, main control circuit board of the host; The handle plug in the handle is equipped with a matching resistor, which is soldered to the interface terminal of the handle. The host main control circuit board is equipped with a square wave generator circuit and an MCU circuit. During operation, the handle plug is inserted into the handle interface of the host and connected to the square wave generating circuit via a cable. The square wave generating circuit is connected to the MCU circuit and is used by the MCU to detect the signal on the square wave generating circuit. The square wave generating circuit forms an RC oscillation circuit through the matching resistor at the handle end and the preset resistor and capacitor at the host end, so that the square wave generating chip generates a square wave signal of a specific frequency. Different types of handles are equipped with matching resistors of different resistance values. After being inserted into the host, the square wave generating circuit outputs a square wave of the corresponding frequency according to the RC oscillation principle. The square wave signal is sent to the MCU circuit, and the MCU accurately detects its frequency. A unique target frequency value is preset for each specific type of surgical power handpiece and stored in the program memory of the host MCU circuit. The MCU compares the detected actual frequency value with the preset target frequency values of each type of handpiece one by one. When the detected actual frequency value matches a preset target frequency value within the set allowable error range, it determines that the currently connected handpiece is the specific type of handpiece corresponding to this target frequency value, and performs the corresponding subsequent operations accordingly.
[0010] Optionally, the main unit of the square wave generating circuit has a preset resistor R2 and a capacitor C3, and the matching resistor on the handle is R3. When R2 and C3 are not connected to the matching resistor on the handle, the square wave generating circuit will generate a preset frequency f0, which is a fixed value. When resistor R3 is connected to the circuit, R2 and R3 are connected in parallel, and the R value of the RC oscillation circuit in the square wave generating circuit changes, so the frequency will change accordingly.
[0011] Optionally, the MCU circuit samples and counts the input square wave signal through its internally integrated timer / counter module to calculate the actual frequency value of the current square wave; Preferably, the MCU circuit samples and counts the input square wave signal through a dedicated frequency detection interface to calculate the actual frequency value of the current square wave.
[0012] Optionally, the subsequent operations include enabling the corresponding controller's drive parameters and function configuration.
[0013] Optionally, the detection and identification process includes: after the host is powered on, the MCU circuit starts to detect the square wave frequency, and the detection time interval is 100-200ms; Preferably, when the frequency f detected by the MCU is f0, it is determined that the handle is not inserted, the host does not respond, and the MCU continues to perform square wave frequency detection. Preferably, when the MCU detects that frequency f≠f0, it determines that the controller is connected to the host; preferably, the MCU reads the detected frequency value and compares the detected frequency with a preset target frequency library for each controller. If a matching target frequency is found, the recognition is successful and the corresponding controller configuration is invoked; preferably, the MCU reads the detected frequency value and compares the detected frequency with a preset target frequency library for each controller. If no matching frequency is found, the recognition fails and a corresponding prompt is issued; preferably, the MCU reads the detected frequency value and compares the detected frequency with a preset target frequency library for each controller. If no matching frequency is found, the recognition fails and error handling is performed.
[0014] Optionally, the square wave generating chip is a U1 square wave generating chip; Preferably, the allowable error range is set according to the actual application scenario; preferably, the main control circuit board of the host and the handle interface are electrically connected by a cable. Preferably, the matching resistor and the handle interface terminal are soldered together.
[0015] Secondly, this application also provides a surgical power system, including the handle recognition circuit based on square wave frequency detection as described in any one of the first aspects above.
[0016] Thirdly, this application also provides a handle recognition method based on square wave frequency detection, applied to the handle recognition circuit based on square wave frequency detection as described in any one of claims 1-6, comprising the following steps: Connect the handle plug to the handle interface of the host. The matching resistor on the handle end and the preset resistor and capacitor on the host end form an RC oscillation circuit, which causes the square wave generating chip to generate a square wave signal of a specific frequency. Different types of handles are equipped with matching resistors of different resistance values. After being inserted into the main unit, they output square waves of the corresponding frequency based on the RC oscillation principle. The square wave signal is sent to the MCU circuit, where the MCU accurately detects its frequency. The detected actual frequency value is compared with the pre-stored target frequency values of each type of controller. When the detected actual frequency value matches a preset target frequency value within the set allowable error range, the currently connected controller is determined to be the specific type of controller corresponding to this target frequency value, and the corresponding subsequent operation is performed accordingly.
[0017] Optionally, the detection and identification process includes: After the host is powered on, the MCU circuit begins to detect the square wave frequency, with a detection time interval of 100-200ms. When the frequency f = f0 detected by the MCU, it is determined that the handle is not inserted, the host does not respond, and the MCU continues to perform square wave frequency detection. When the MCU detects that the frequency f≠f0, it determines that the controller is connected to the host. The MCU reads the detected frequency value and compares the detected frequency with the preset target frequency library for each controller. If a matching target frequency is found, the recognition is successful and the corresponding controller configuration is called. If no matching frequency is found, the recognition fails and a corresponding prompt or error handling can be issued.
[0018] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the handle recognition method based on square wave frequency detection as described in the third aspect above.
[0019] The beneficial effects that this application can produce include: Compared with existing technologies, using square wave frequency as the characteristic parameter for handle recognition provides higher stability and anti-interference capability. It is less susceptible to resistance accuracy deviations, temperature drift, and external electromagnetic interference, thus significantly improving the accuracy of handle recognition and effectively avoiding misidentification. By presetting a unique target frequency at the handle end and using precise frequency detection and comparison at the host end, the recognition logic is clear and the response speed is fast, meeting the real-time requirements of the surgical power system. The circuit structure design is relatively simple, easy to implement and integrate, reducing production costs while improving the overall reliability and stability of the system, ensuring the smooth progress of the surgery. Attached Figure Description
[0020] Figure 1 A schematic diagram of a handle recognition circuit based on square wave frequency detection provided in one embodiment of this application; Figure 2 A schematic diagram of a square wave frequency detection circuit provided in one embodiment of this application; Figure 3 This is a schematic diagram of a square wave frequency detection process provided in one embodiment of this application; Figure label: 1-Handle; 2-Handle plug; 3-Matching resistor; 4-Interface terminal; 5-Main control circuit board; 6-Handle interface; 7-Square wave generator circuit; 8-MCU circuit. Detailed Implementation
[0021] The present application is described in detail below with reference to the embodiments, but the present application is not limited to these embodiments.
[0022] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this invention.
[0023] Example 1 In this embodiment, please refer to Figure 1-2 As shown, this application provides a handle recognition circuit based on square wave frequency detection, which includes two main parts: handle 1 and main control circuit board 5.
[0024] The handle plug 2 in handle 1 is equipped with a matching resistor 3, which is connected to the interface terminal 4 of handle 1 by soldering to ensure the stability of the resistance value and the reliability of the connection. The main control circuit board 5 of the host has two core circuit modules: a square wave generator circuit 7 and an MCU circuit 8.
[0025] As an example, the square wave generator circuit 7 is the core of the signal generation in the entire recognition system, which includes the U1 square wave generator chip as the signal generating device. This circuit has a pre-set main unit resistor R2 and capacitor C3, which, together with the matching resistor R3 on the handle end, form the basis of the RC oscillation circuit.
[0026] When the controller 1 is not connected, the RC oscillation circuit composed of R2 and C3 causes the square wave generator circuit 7 to generate a preset frequency f0. This f0 value is a fixed value and serves as the system's reference frequency. When the controller plug 2 is plugged into the controller interface 6 of the host, the matching resistor R3 at the controller end establishes an electrical connection with the square wave generator circuit 7 through the cable. At this time, R2 and R3 form a parallel relationship, which changes the total resistance value in the RC oscillation circuit, thereby causing a corresponding change in the oscillation frequency and generating a square wave signal of a specific frequency corresponding to the resistance value of the matching resistor 3.
[0027] Understandably, different types of handpieces 1 are equipped with matching resistors 3 of different resistance values, which is a key technical feature for handpiece type identification. Each specific type of surgical power handpiece has a preset unique target frequency value, which is stored as an identification standard in the program memory of the host MCU circuit 8. When different types of handpieces 1 are inserted into the host, the square wave generating circuit 7 outputs a square wave signal of the corresponding frequency according to the RC oscillation principle. This square wave signal is transmitted to the MCU circuit 8 through circuit connection for frequency detection and identification processing.
[0028] Furthermore, the MCU circuit 8, as the control and processing center of the entire recognition system, is responsible for the accurate frequency detection of the square wave signal. The MCU circuit 8 samples and counts the input square wave signal through its internally integrated timer / counter module, and determines the actual frequency value of the current square wave by calculating the number of pulses within the sampling period.
[0029] In a preferred embodiment, the MCU circuit 8 can also sample and count the input square wave signal through a dedicated frequency detection interface to achieve higher precision frequency measurement.
[0030] The working principle of the entire detection and recognition process in this application is as follows: After the host is powered on, the MCU circuit 8 immediately begins continuous detection of the square wave frequency. The detection time interval is set to 100-200ms to ensure timely response to the insertion and removal of the handle 1. When the frequency f detected by the MCU equals f0, the system determines that the handle 1 is not inserted, the host remains in standby mode and does not respond to any operation, and the MCU continues to perform square wave frequency detection. When the MCU detects that the frequency f is not equal to f0, the system determines that the handle 1 is connected to the host and triggers the identification process.
[0031] Furthermore, after reading the detected actual frequency value, the MCU compares this detected frequency with the target frequency library for each type of controller pre-stored in the program memory. During the comparison process, the system sets an allowable error range based on the actual application scenario. When the detected actual frequency value matches a preset target frequency value within the set allowable error range, the system determines that the currently connected controller 1 is the specific type of controller corresponding to this target frequency value. After successful identification, the MCU calls the configuration parameters of the corresponding controller 1 and executes the corresponding subsequent operations, including enabling the drive parameters and function configuration of the corresponding controller 1, so that the host can correctly drive and control this type of controller.
[0032] Furthermore, if no matching target frequency is found during the frequency comparison process, the system determines that the identification has failed. The MCU will issue a corresponding error message and perform the corresponding error handling procedure, reminding the user to check whether the controller connection or controller type is correct.
[0033] The handle recognition circuit based on square wave frequency detection provided in this application achieves automatic handle type recognition through the RC oscillation principle, avoiding complex communication protocols and improving the reliability and response speed of recognition. Matching resistors 3 with different resistance values, in conjunction with the fixed RC circuit parameters on the host side, can generate stable and highly distinguishable characteristic frequencies, ensuring that all types of handles 1 can be accurately recognized. The high-precision frequency detection capability and flexible error range setting of the MCU give the entire recognition system good anti-interference ability and adaptability.
[0034] Example 2 In this embodiment, please refer to Figure 1-2 As shown, this application also provides a surgical power system, which is a medical device system integrating a handpiece recognition circuit based on square wave frequency detection. This system uses the handpiece recognition circuit based on square wave frequency detection detailed in Embodiment 1 as its core recognition module, through which it achieves automatic recognition and configuration of different types of surgical power handpieces.
[0035] As an example, the main structure of the surgical power system includes a host control unit, a power drive module, a display operation interface, a handpiece interface, and a handpiece recognition circuit based on square wave frequency detection. The handpiece recognition circuit based on square wave frequency detection is configured according to the technical solution in Embodiment 1, including a handpiece plug 2 with a matching resistor 3 installed in the handpiece 1, a square wave generating circuit 7 on the host main control circuit board 5, and an MCU circuit 8, among other core components.
[0036] Furthermore, the working principle of the handpiece recognition circuit in this surgical power system is completely consistent with that of Embodiment 1: different types of surgical power handpieces 1 are equipped with matching resistors 3 of different resistance values. When the handpiece 1 is inserted into the host interface, the matching resistor 3 and the preset resistor and capacitor on the host end form an RC oscillation circuit to generate a square wave signal of a specific frequency. The MCU circuit 8 performs frequency detection on the square wave signal and realizes handpiece type recognition by comparing it with the pre-stored target frequency library.
[0037] Furthermore, the power drive module of the surgical power system automatically calls upon the corresponding drive parameters and function configurations for the appropriate handpiece type based on the recognition results from the handpiece recognition circuit. The system can provide precise speed control, torque output, and power adjustment for different types of surgical instruments, ensuring the safety and effectiveness of the surgical procedure. When the system recognizes a bone drill handpiece, it automatically configures high-torque, low-speed drive parameters; when it recognizes an oscillating saw handpiece, it configures the corresponding oscillation frequency and amplitude parameters.
[0038] Furthermore, the display interface shows the type information, working status, and operating parameters of the currently connected controller 1 in real time. When the controller recognition circuit successfully identifies the controller type, the interface automatically switches to the corresponding operating mode, displaying the dedicated control options and parameter settings for that type of controller 1. If recognition fails, the system issues an error message on the interface, guiding the user to perform corresponding troubleshooting operations.
[0039] Furthermore, the detection and identification process of the surgical power system fully adopts the working method described in Example 1: after the main unit is powered on, it continuously detects the square wave frequency at 100-200ms intervals, determines the insertion / removal status of handle 1 based on frequency changes, and completes the type identification of handle 1 through frequency comparison. The entire identification process is fast and accurate, providing convenient automated configuration functions for surgical operations.
[0040] The surgical power system provided in this application integrates a handle recognition circuit based on square wave frequency detection, which enables intelligent management and automated configuration of surgical instruments, improves surgical efficiency, reduces operational complexity, and provides medical staff with a safer and more reliable surgical power solution.
[0041] Example 3 In this embodiment, please refer to Figure 3 As shown, this application also provides a handle recognition method based on square wave frequency detection, which is applied to the handle recognition circuit based on square wave frequency detection in any of the embodiments. This method realizes automatic recognition of handle type through RC oscillation principle.
[0042] The handle recognition method includes the following steps: Step 1: Connect the handle to the RC oscillation circuit. Specifically, the handle plug 2 is plugged into the handle interface 6 of the host. The matching resistor 3 on the handle end and the preset resistor and capacitor on the host end form an RC oscillation circuit, which causes the square wave generating chip to generate a square wave signal of a specific frequency. As detailed in the circuit structure in Embodiment 1, different types of handles 1 are equipped with matching resistors 3 of different values. After being plugged into the host, they output square waves of the corresponding frequency according to the RC oscillation principle.
[0043] Step 2: Square wave signal transmission and frequency detection Specifically, the square wave signal is sent to the MCU circuit 8, where the MCU accurately detects its frequency. The MCU circuit 8 uses the timer / counter module described in Embodiment 1 or a dedicated frequency detection interface to sample and count the signal, and calculate the actual frequency value of the current square wave.
[0044] Step 3: Frequency Comparison and Handset Recognition Specifically, the detected actual frequency value is compared with the pre-stored target frequency values of each type of handle 1. When the detected actual frequency value matches a certain preset target frequency value within the set allowable error range, the currently connected handle 1 is determined to be a specific type of handle corresponding to this target frequency value, and the corresponding subsequent operations are performed accordingly.
[0045] The detection and identification process of this method specifically includes: After the host is powered on, the MCU circuit 8 begins detecting the square wave frequency at intervals of 100-200ms to ensure timely response to the insertion and removal of the handle 1. When the frequency f detected by the MCU equals f0, as described in Example 1, it is determined that the handle 1 is not inserted, the host does not respond, and the MCU continues to detect the square wave frequency. When the MCU detects that the frequency f is not equal to f0, it determines that the handle 1 is connected to the host and triggers the identification process.
[0046] Furthermore, after reading the detected frequency value, the MCU compares the detected frequency with a preset target frequency library for each gamepad. If a matching target frequency is found, the recognition is successful, and the corresponding gamepad configuration is invoked, enabling the corresponding gamepad's drive parameters and function configurations, allowing the host to correctly control that type of gamepad. If no matching frequency is found, the recognition fails, and corresponding prompts or error handling can be issued, reminding the user to check the gamepad connection status or whether the gamepad type is correct.
[0047] The handle recognition method based on square wave frequency detection provided in this embodiment achieves rapid and accurate identification of handle types through continuous frequency detection and intelligent comparison algorithms. A detection interval of 100-200ms ensures the system's real-time responsiveness, while a preset allowable error range enhances the system's anti-interference capability. The entire recognition process requires no complex communication protocols; handle type determination can be completed solely based on frequency characteristics, improving the reliability of recognition and the stability of the system.
[0048] Example 4 In this embodiment, a computer-readable storage medium is also provided, on which a computer program is stored. When the computer program is executed by a processor, it can realize a handle recognition method based on square wave frequency detection.
[0049] The computer-readable storage medium can be of various types, including but not limited to hard disk drives, solid-state drives, optical disks, magnetic disks, flash memory cards, ROM, EEPROM, or other non-volatile storage media. The storage medium has sufficient storage capacity to hold complete computer program code and associated data files.
[0050] The computer program stored on the computer-readable storage medium contains a complete set of instructions for implementing the handle recognition method. As detailed in Embodiment 3, the program code implements a complete process for automatic handle type recognition based on the RC oscillation principle.
[0051] The core functional modules of the computer program include: an RC oscillation circuit control module, used to control the RC oscillation circuit formed by the controller and the preset resistors and capacitors on the host after the controller is plugged in; a square wave signal detection module, responsible for receiving and processing square wave signals of a specific frequency generated by the square wave generator chip; a frequency analysis module, which accurately detects and calculates the frequency of the square wave signal; a frequency comparison module, which compares and matches the detected actual frequency value with the pre-stored target frequency values of various types of controllers; and a controller identification module, which determines the controller type based on the frequency matching result and performs the corresponding operation.
[0052] The program has a complete set of detection and recognition process control logic: after the host is powered on, the frequency detection program is started and the detection time interval is set to 100-200ms; when the detected frequency f is equal to the reference frequency f0, it is determined that the handle is not inserted; when the detected frequency f is not equal to f0, the handle access recognition process is triggered; the detected frequency value is read and compared with the preset handle target frequency library; when the recognition is successful, the corresponding handle configuration is called; when the recognition fails, the error handling program is executed.
[0053] The computer program also includes a target frequency database for gamepads, storing target frequency values and allowable error range parameters for various gamepad types. The program has a dynamic update function, allowing the addition of new gamepad type frequency data as needed.
[0054] When the processor executes the computer program, it can realize the complete gamepad recognition function as described in Embodiment 3, including real-time frequency monitoring, intelligent type determination, automatic configuration invocation, and other operations. The program consumes few system resources during operation, has a fast response speed, and can meet the plug-and-play usage requirements of the gamepad.
[0055] This computer-readable storage medium provides reliable software support for the handle recognition system. Through a standardized program interface, it can be easily integrated into various host devices to realize the automatic handle recognition function based on square wave frequency detection.
[0056] The above description is merely a few embodiments of this application and is not intended to limit this application in any way. Although this application discloses preferred embodiments as described above, it is not intended to limit this application. Any changes or modifications made by those skilled in the art without departing from the scope of the technical solution of this application using the disclosed technical content are equivalent to equivalent implementation cases and fall within the scope of the technical solution.
Claims
1. A handle recognition circuit based on square wave frequency detection, characterized in that, include: Handle, main control circuit board of the host; The handle plug in the handle is equipped with a matching resistor, which is soldered to the interface terminal of the handle. The host main control circuit board is equipped with a square wave generator circuit and an MCU circuit. During operation, the handle plug is inserted into the handle interface of the host and connected to the square wave generating circuit via a cable. The square wave generating circuit is connected to the MCU circuit and is used by the MCU to detect the signal on the square wave generating circuit. The square wave generating circuit forms an RC oscillation circuit through the matching resistor at the handle end and the preset resistor and capacitor at the host end, so that the square wave generating chip generates a square wave signal of a specific frequency. Different types of handles are equipped with matching resistors of different resistance values. After being inserted into the host, the square wave generating circuit outputs a square wave of the corresponding frequency according to the RC oscillation principle. The square wave signal is sent to the MCU circuit, and the MCU accurately detects its frequency. A unique target frequency value is preset for each specific type of surgical power handpiece and stored in the program memory of the host MCU circuit. The MCU compares the detected actual frequency value with the preset target frequency values of each type of handpiece one by one. When the detected actual frequency value matches a preset target frequency value within the set allowable error range, it determines that the currently connected handpiece is the specific type of handpiece corresponding to this target frequency value, and performs the corresponding subsequent operations accordingly.
2. The handle recognition circuit based on square wave frequency detection according to claim 1, characterized in that, The main unit of the square wave generating circuit has a preset resistor R2 and a capacitor C3, and the matching resistor R3 is located at the handle end. When R2 and C3 are not connected to the matching resistor of the handle, the square wave generating circuit will generate a preset frequency f0, which is a fixed value. When resistor R3 is connected to the circuit, R2 and R3 are connected in parallel, and the R value of the RC oscillation circuit in the square wave generating circuit changes, so the frequency will change accordingly.
3. The handle recognition circuit based on square wave frequency detection according to claim 1, characterized in that, The MCU circuit samples and counts the input square wave signal through its internally integrated timer / counter module to calculate the actual frequency value of the current square wave. Preferably, the MCU circuit samples and counts the input square wave signal through a dedicated frequency detection interface to calculate the actual frequency value of the current square wave.
4. The handle recognition circuit based on square wave frequency detection according to claim 1, characterized in that, The subsequent operations include enabling the corresponding controller's drive parameters and function configuration.
5. The handle recognition circuit based on square wave frequency detection according to claim 1, characterized in that, The detection and identification process includes: after the host is powered on, the MCU circuit starts to detect the square wave frequency, and the detection time interval is 100-200ms; Preferably, when the frequency f detected by the MCU is f0, it is determined that the handle is not inserted, the host does not respond, and the MCU continues to perform square wave frequency detection. Preferably, when the MCU detects that frequency f≠f0, it determines that the controller is connected to the host; preferably, the MCU reads the detected frequency value and compares the detected frequency with a preset target frequency library for each controller. If a matching target frequency is found, the recognition is successful and the corresponding controller configuration is invoked; preferably, the MCU reads the detected frequency value and compares the detected frequency with a preset target frequency library for each controller. If no matching frequency is found, the recognition fails and a corresponding prompt is issued; preferably, the MCU reads the detected frequency value and compares the detected frequency with a preset target frequency library for each controller. If no matching frequency is found, the recognition fails and error handling is performed.
6. The handle recognition circuit based on square wave frequency detection according to claim 1, characterized in that, The square wave generating chip is a U1 square wave generating chip; Preferably, the allowable error range is set according to the actual application scenario; preferably, the main control circuit board of the host and the handle interface are electrically connected by a cable. Preferably, the matching resistor and the handle interface terminal are soldered together.
7. A surgical power system, characterized in that, Includes the handle recognition circuit based on square wave frequency detection as described in any one of claims 1-6.
8. A handle recognition method based on square wave frequency detection, applied to the handle recognition circuit based on square wave frequency detection as described in any one of claims 1-6, characterized in that, Includes the following steps: Connect the handle plug to the handle interface of the host. The matching resistor on the handle end and the preset resistor and capacitor on the host end form an RC oscillation circuit, which causes the square wave generating chip to generate a square wave signal of a specific frequency. Different types of handles are equipped with matching resistors of different resistance values. After being inserted into the main unit, they output square waves of the corresponding frequency based on the RC oscillation principle. The square wave signal is sent to the MCU circuit, where the MCU accurately detects its frequency. The detected actual frequency value is compared with the pre-stored target frequency values of each type of controller. When the detected actual frequency value matches a preset target frequency value within the set allowable error range, the currently connected controller is determined to be the specific type of controller corresponding to this target frequency value, and the corresponding subsequent operation is performed accordingly.
9. The handle recognition method based on square wave frequency detection according to claim 8, characterized in that, The detection and identification process includes: After the host is powered on, the MCU circuit begins to detect the square wave frequency, with a detection time interval of 100-200ms. When the frequency f = f0 detected by the MCU, it is determined that the handle is not inserted, the host does not respond, and the MCU continues to perform square wave frequency detection. When the MCU detects that the frequency f≠f0, it determines that the controller is connected to the host. The MCU reads the detected frequency value and compares the detected frequency with the preset target frequency library for each controller. If a matching target frequency is found, the recognition is successful and the corresponding controller configuration is called. If no matching frequency is found, the recognition fails and a corresponding prompt or error handling can be issued.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the handle recognition method based on square wave frequency detection as described in claim 8 or 9.
Citation Information
Patent Citations
Automatic identification of RF handles and RF operating components
CN106725834B
Electrotome handle, terminal equipment and electrotome handle key recognition system
CN214177293U
Ultrasonic knife handle key detection circuit
CN218181038U
Recognition device for handle of dental operating machine
CN223501565U
Handle key identification circuit of high-frequency host
CN223513659U