An electric stimulation instrument sub-machine identification system

By setting up a charging hatch for serial and IO port communication in the electrical stimulation device, combined with interrupt triggering and 2.4G communication, the problem of the electrical stimulation therapy device being unable to accurately identify the sub-machine number is solved, and fast and accurate sub-machine identification and status display are achieved, improving the user experience.

CN119541817BActive Publication Date: 2025-10-17GUANGZHOU YUNSHAN HEALTH IND CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411583809.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-07
Publication Date
2025-10-17
Estimated Expiration
2044-11-07

AI Technical Summary

Technical Problem

Existing electrical stimulation therapeutic devices cannot accurately identify the number of each sub-unit, resulting in inconvenience in the treatment process.

Method used

At least one charging port in the charging compartment is connected to the sub-machine via serial communication, and the other charging ports are connected to the sub-machine via IO port communication. By detecting whether a sub-machine is inserted into the charging port and using serial communication data and IO interrupt triggering times to identify the sub-machine number, two-way information transmission is achieved in combination with 2.4G communication.

Benefits of technology

It realizes the rapid and accurate identification of any slave number, so users can understand the status of specific slaves and improve the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119541817B_ABST
    Figure CN119541817B_ABST
Patent Text Reader

Abstract

The application discloses an electric stimulation instrument sub-machine identification system, which comprises a host computer, a charging cabin and a plurality of sub-machines. A plurality of charging cabin openings are arranged in the charging cabin. At least one charging cabin opening is configured to be connected with the sub-machines in a serial port communication mode, and the remaining charging cabin openings are configured to be connected with the sub-machines in an IO port communication mode. The sub-machine identification is carried out by the following steps: the charging cabin detects whether the sub-machines are inserted into any charging cabin opening; if yes, the charging cabin opening acquires the number information of the sub-machines, which comprises serial port communication data and interrupt trigger information; if the charging cabin opening is the charging cabin opening configured to be connected with the sub-machines in the serial port communication mode, the number of the sub-machines is directly obtained according to the serial port communication data; if the charging cabin opening is the charging cabin opening configured to be connected with the sub-machines in the IO port communication mode, the number k of the sub-machines is obtained according to a formula, and the number k of the sub-machines can be sent to the host computer for display.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of medical equipment, more particularly to an electrostimulation instrument submachine identification system. BACKGROUND

[0002] At present, there are various types of electrostimulation therapy instruments on the market, which are usually composed of a host and multiple chargeable submachines. In the use process, in order to facilitate use and check the machine state, it is usually necessary to display the number, charging state, existing power and treatment information of the submachine on the host. However, the existing electrostimulation therapy instrument can only display the treatment information, and the host cannot accurately identify the specific number of each submachine, which brings inconvenience to the treatment process. SUMMARY

[0003] The technical problem to be solved by the present application is to provide an electrostimulation instrument submachine identification system which can quickly and accurately identify the number of any submachine.

[0004] To solve the above technical problem, the present application provides an electrostimulation instrument submachine identification system, which comprises a host, a charging cabin connected with the host, and multiple submachines. The charging cabin is provided with multiple charging cabin ports, at least one of which is configured to be connected with the submachine in a serial port communication mode, and the remaining charging cabin ports are configured to be connected with the submachine in an IO port communication mode. The electrostimulation instrument submachine identification system adopts the following steps for submachine identification:

[0005] The charging cabin detects whether a submachine is inserted into any charging cabin port;

[0006] If yes, the charging cabin port obtains the number information from the submachine, which includes serial port communication data and interrupt trigger information. The serial port communication data includes the submachine number, and the interrupt trigger information includes N interrupt trigger bits, N = number of submachines - 1;

[0007] If the charging cabin port is configured to be connected with the submachine in a serial port communication mode, the submachine number is directly obtained according to the serial port communication data in the number information;

[0008] If the charging cabin port is configured to be connected with the submachine in an IO port communication mode, the submachine number k is calculated according to the formula , and the submachine number k can be sent to the host for display; wherein fall_num is the actual interrupt trigger times.

[0009] A further technical solution is that after the submachine number k is sent to the host for display, the charging cabin further obtains the battery power and treatment information of the submachine and sends them to the host for display.

[0010] Further technical solutions are that the host sends the treatment information to the charging cabin, and the charging cabin transmits the treatment information to the corresponding sub-machine.

[0011] Further technical solutions are that the host and the charging cabin are connected through a serial port, and the charging cabin and the sub-machine are connected through a 2.4G communication mode.

[0012] Further technical solutions are that the charging cabin includes a charging cabin main control unit, a plurality of charging cabin port charging units, and a plurality of charging cabin port processing units connected to the charging cabin main control unit, wherein the charging cabin port charging unit charges the charging cabin port processing unit and the sub-machine, the charging cabin main control unit is connected to the host and the sub-machine through a serial communication mode and a 2.4G communication mode respectively, and the charging cabin port processing unit is configured to be connected to the sub-machine through a serial communication mode / IO port communication mode.

[0013] Further technical solutions are that the trigger mode of the interrupt trigger bit is configured as a falling edge trigger.

[0014] Further technical solutions are that the charging cabin is provided with a plurality of large sub-machine charging cabin ports and a plurality of small sub-machine charging cabin ports, one large sub-machine charging cabin port and one small sub-machine charging cabin port are connected to the sub-machine through a serial communication mode, and the remaining charging cabin ports are connected to the sub-machine through an IO port communication mode.

[0015] Further technical solutions are that if the charging cabin port is configured to be connected to the sub-machine through an IO port communication mode, then further comprising: detecting whether an interrupt is triggered within a preset time, if not, determining that the sub-machine has been pulled out of the charging cabin port at this time.

[0016] Further technical solutions are that the preset time is 1S.

[0017] Compared with the prior art, at least one charging cabin opening in the charging cabin of the electric stimulation instrument submachine recognition system is configured to be connected with the submachine in a serial port communication mode, the remaining charging cabin openings are configured to be connected with the submachine in an IO port communication mode, whether the submachine is inserted into the charging cabin opening is detected, the number information of the submachine is acquired when the main machine is inserted, if the charging cabin opening in which the submachine is inserted is the charging cabin opening configured to be connected with the submachine in the serial port communication mode, the number of the submachine is directly obtained according to the serial port communication data in the number information, and if the charging cabin opening in which the submachine is inserted is the charging cabin opening configured to be connected with the submachine in the IO port communication mode, the number of the submachine is recognized according to the IO interruption trigger times and the set interruption trigger bit, and the number of the submachine is sent to the main machine for display, so it can be known that the electric stimulation instrument submachine recognition system not only realizes the communication between the multiple submachines and the charging cabin, but also realizes the quick and accurate recognition of the number of any submachine by the charging cabin opening, so that the state of the specific submachine is easy to understand, and the user experience is improved. BRIEF DESCRIPTION OF DRAWINGS

[0018] Figure 1 It is a structural block diagram schematic view of a specific embodiment of the electric stimulation instrument submachine recognition system.

[0019] Figure 2 It is a submachine recognition flowchart of the electric stimulation instrument submachine recognition system.

[0020] Figure 3 It is a number information waveform graph of the No.4 submachine reported to the charging cabin opening when the electric stimulation instrument submachine recognition system works. DETAILED DESCRIPTION

[0021] In order for those skilled in the art to more clearly understand the purpose, technical scheme and advantages of the present application, the present application is further described below in combination with the drawings and embodiments.

[0022] REFERENCE Figure 1 , Figure 1 It is a structural schematic view of a specific embodiment of the electric stimulation instrument submachine recognition system. In the embodiment shown in the drawing, the electric stimulation instrument submachine recognition system comprises a main machine 200, a charging cabin 100 connected with the main machine 200 and multiple submachines, multiple charging cabin openings are arranged in the charging cabin 100, at least one charging cabin opening is configured to be connected with the submachine in a serial port communication mode, the remaining charging cabin openings are configured to be connected with the submachine in an IO port communication mode, the charging cabin opening is used for charging the submachine and recognizing the number of the submachine, the charging cabin 100 is used for realizing the bidirectional communication connection between the submachine and the main machine 200, and transmitting the treatment information, battery capacity and other information.

[0023] In some embodiments, the sub-machine includes a sub-machine control unit, the charging cabin 100 includes a charging cabin main control unit 101, a plurality of charging cabin port charging units and a plurality of charging cabin port processing units connected to the charging cabin main control unit 101, that is, each charging cabin port is provided with a charging cabin port charging unit and a charging cabin port processing unit, wherein the charging cabin port charging unit charges the charging cabin port processing unit and the sub-machine, the charging cabin main control unit 101 is connected to the main machine 200 and the sub-machine control unit through serial communication mode and 2.4G communication mode respectively, and the charging cabin port processing unit is configured to be connected to the sub-machine through serial communication mode / IO port communication mode.

[0024] Specifically, in the embodiment, the charging cabin 100 is provided with eight large sub-machine charging cabin ports (R1, R2, R3, R4, R5, R6, R7, R8) and eight small sub-machine charging cabin ports (L1, L2, L3, L4, L5, L6, L7, L8), a total of 16 charging cabin ports. Understandably, the accommodation spaces of the large sub-machine charging cabin ports (R1, R2,..., R7, R8) and the small sub-machine charging cabin ports (L1, L2,..., L7, L8) are different in size, and accordingly, eight large sub-machines and eight small sub-machines can be inserted into the charging cabin 100 at the same time. The charging cabin port processing unit of the large sub-machine charging cabin port R1 and the small sub-machine charging cabin port L1 is connected to the sub-machine control unit of the sub-machine in serial communication mode, and the charging cabin port processing units of the remaining charging cabin ports (R2,..., R7, R8 and L2,..., L7, L8) are connected to the sub-machines in IO port communication mode.

[0025] As shown in Figure 2 The sub-machine identification process of the sub-machine identification system of the electric stimulator includes the following steps:

[0026] S10, the charging cabin detects whether a sub-machine is inserted into any charging cabin port.

[0027] In this step, the charging cabin main control unit detects whether a sub-machine is inserted into any large sub-machine charging cabin port (R1, R2,..., R7, R8) and any small sub-machine charging cabin port (L1, L2,..., L7, L8), and needs to identify the sub-machine number when a sub-machine is inserted.

[0028] In the embodiment, there are eight small sub-machines (sub-machine numbers 1-8) and eight large sub-machines (sub-machine numbers 9-16). Understandably, the actual transmitted sub-machine number can be represented by binary or hexadecimal, etc. In the embodiment, hexadecimal is used, so the sub-machine number range can be 0x01-0x10, that is, the sub-machine number corresponding to the No. 1 sub-machine is 0x01, and the sub-machine number corresponding to the No. 16 sub-machine is 0x10.

[0029] S20, if yes, the charging hatch obtains the number information from the sub-machine, the number information includes serial port communication data and interrupt trigger information.

[0030] In the application, the serial port communication data includes the sub-machine number, and the interrupt trigger information includes N interrupt trigger bits, N = the number of sub-machines - 1. In the embodiment, the number of sub-machines is 1, 2,..., 16, for example, the number information sent by the fourth sub-machine specifically includes three (3 = 4-1) interrupt trigger bits and the corresponding sub-machine number (as shown in the figure). Figure 3

[0031] In this step, the trigger mode of the interrupt can be preferably configured as falling edge trigger.

[0032] S30, if the charging hatch is configured to be connected with the sub-machine in the serial port communication mode, the sub-machine number is directly obtained according to the serial port communication data in the number information.

[0033] In the application, if it is detected that the charging hatch in which the sub-machine is inserted is the large sub-machine charging hatch R1 or the small sub-machine charging hatch L1, that is, the charging hatch configured to be connected with the sub-machine in the serial port communication mode, the serial port communication data can be received through the serial port, and the sub-machine number is directly recognized and obtained, and the large sub-machine charging hatch R1 and the small sub-machine charging hatch L1 can be used for software upgrading of the sub-machine in addition to recognizing the sub-machine number.

[0034] S40, if the charging hatch is configured to be connected with the sub-machine in the IO port communication mode, the sub-machine number k is calculated according to the formula and the sub-machine number k can be sent to the host computer for display.

[0035] In this step, fall_num is the actual interrupt trigger times, that is, the actual total interrupt trigger times in this communication process, and " / " is the integer part, and the decimal part is discarded.

[0036] In the application, if it is detected that the charging hatch in which the sub-machine is inserted is the large sub-machine charging hatch (R2,..., R7) or the small sub-machine charging hatch (L2,..., L7, L8), that is, the charging hatch configured to be connected with the sub-machine in the IO port communication mode, the sub-machine number is recognized through the interrupt (falling edge trigger) by the ordinary IO.

[0037] ​In this step, the interrupt trigger bit can be 0xAA (with 4 falling edges, including a start bit and a stop bit), or 0x55 (with 5 falling edges, including a start bit and a stop bit), so as to effectively avoid the influence of the sub-machine number on the falling edge identification. Each sub-machine reports the number information of the interrupt trigger bit + sub-machine number to the corresponding charging hatch at a period of 0.5 s. The number of interrupt trigger bits sent by each sub-machine is the number of sub-machines minus 1.

[0038] For example, when 0xAA is used as the interrupt trigger bit of the fourth sub-machine, the actual interrupt trigger times of each interrupt trigger bit are 4 (as shown in Figure 3 It can be understood that, in the whole communication process, i.e. the data reporting process, the fall_num includes not only the actual interrupt trigger times of the N interrupt trigger bits, but also the interrupt trigger times triggered by the transmission of the sub-machine number in the number information. Since the sub-machine number ranges from 0x01 to 0x10, the interrupt trigger times triggered by the sub-machine number are less than 4 (i.e. the number of falling edges is less than 4).

[0039] In some other embodiments, if the charging hatch is configured to be connected to the sub-machine in the IO port communication mode, the method further comprises: detecting whether an interrupt is triggered within a preset time, and if not, determining that the sub-machine has been pulled out of the charging hatch. Preferably, the preset time is 1 s. Since the period of reporting data by each sub-machine is 0.5 s, if no interrupt is triggered within 1 s, it is considered that the sub-machine is pulled out of the charging hatch.

[0040] It can be understood that, if the baud rate of the sub-machine for reporting data is 9600, the time of one bit of data is 1000000 / 9600 = 104 us, and the minimum interval of two frames of data is 10 bits (0x00 or 0xFF), i.e. 1040 us. Preferably, 3 ms is selected, i.e. if no interrupt is triggered within 3 ms, it is considered that one frame of data is completed.

[0041] S50, the host sends treatment information to the charging hatch, and the charging hatch transmits the treatment information to the corresponding sub-machine.

[0042] In this step, the host sends treatment information to the main control unit of the charging hatch through a serial port, and the main control unit of the charging hatch forwards the treatment information to the corresponding sub-machine control unit through a 2.4G communication mode. The treatment information includes treatment mode and treatment parameters, etc.

[0043] S60, the charging hatch obtains the battery capacity and treatment information of the sub-machine, and sends them to the host for display.

[0044] In this step, the sub-machine control unit reports the battery capacity and treatment information to the main control unit of the charging hatch through a 2.4G wireless communication mode, and the main control unit of the charging hatch forwards them to the host through a serial port.

[0045] In summary, at least one charging cabin opening in the charging cabin of the electric stimulation instrument sub-machine identification system is configured to be connected with the sub-machine in a serial port communication mode, the remaining charging cabin openings are configured to be connected with the sub-machine in an IO port communication mode, whether the sub-machine is inserted in the charging cabin opening is detected, the number information of the sub-machine is acquired when the main machine is inserted, if the charging cabin opening in which the sub-machine is inserted is the charging cabin opening configured to be connected with the sub-machine in the serial port communication mode, the number of the sub-machine is directly obtained according to the serial port communication data in the number information, if the charging cabin opening in which the sub-machine is inserted is the charging cabin opening configured to be connected with the sub-machine in the IO port communication mode, the number of the sub-machine is identified according to the IO interruption trigger times and the set interruption trigger bits, and the number of the sub-machine is sent to the main machine for display, meanwhile, the main machine can also send the treatment information to the sub-machine through the charging cabin, and the sub-machine can also send the battery capacity and the actual treatment information at this time to the main machine through the charging cabin, it can be known that the electric stimulation instrument sub-machine identification system not only realizes the bidirectional communication between the multiple sub-machines and the charging cabin, but also realizes the quick and accurate identification of the number of any sub-machine by the charging cabin opening, the state of the specific sub-machine is convenient to understand, and the user experience is improved.

[0046] The above merely describes the preferred embodiments of the present application, but does not limit the present application in any form. The skilled in the art can make various equivalent changes and improvements on the basis of the above-described embodiments, and any equivalent changes or modifications made within the scope of the claims should fall within the protection scope of the present application.

Claims

1. An electric stimulation device identification system, comprising a main unit, a charging compartment connected to the main unit, and a plurality of sub-units, wherein the charging compartment is provided with a plurality of charging hatches, characterized in that: At least one charging hatch is configured to connect to the slave via serial communication, and the remaining charging hatches are configured to connect to the slave via IO communication, and the electrostimulator slave identification system uses the following steps to identify the slave: The charging bay detects whether a handset is inserted into any of the charging bays; If so, the charging port obtains the number information from the slave, the number information including serial communication data and interrupt trigger information; wherein the serial communication data includes the slave number, and the interrupt trigger information includes N interrupt trigger bits, where N = the number of slaves - 1; If the charging hatch is a charging hatch configured to be connected to the slave via serial communication, the slave number is directly obtained according to the serial communication data in the numbering information; If the charging hatch is configured to be connected to the slave via IO port communication, then according to the formula Calculate and obtain the slave number k, and send the slave number k to the host for display; The actual number of interrupt triggers.

2. The electrical stimulation device identification system according to claim 1, wherein: After the slave unit number k is sent to the host for display, the method further includes: the charging compartment obtains the battery power and treatment information of the slave unit, and sends the information to the host for display.

3. The electrical stimulation device identification system according to claim 2, wherein: The battery power and treatment information of the sub-machine are obtained in the charging compartment, and the method also includes: the host sends the treatment information to the charging compartment, and the charging compartment transmits the treatment information to the corresponding sub-machine.

4. The electrical stimulation device identification system according to claim 2, wherein: The host is connected to the charging compartment via a serial port, and the charging compartment is connected to the slave via a 2.4G communication method.

5. The electrical stimulation device identification system according to claim 4, wherein: The charging bay includes a charging bay main control unit, multiple charging bay charging units and multiple charging bay processing units connected to the charging bay main control unit, wherein the charging bay charging unit charges the charging bay processing unit and the sub-machine, the charging bay main control unit is connected to the host and the sub-machine through serial communication and 2.4G communication respectively, and the charging bay processing unit is configured to be connected to the sub-machine through serial communication / IO port communication.

6. The electrical stimulation device identification system according to claim 1, wherein: The trigger mode of the interrupt trigger bit is configured as falling edge trigger.

7. The electrical stimulation device identification system according to claim 1, wherein: The charging compartment is provided with a plurality of large sub-machine charging hatches and a plurality of small sub-machine charging hatches, wherein one large sub-machine charging hatch and one small sub-machine charging hatch are connected to the sub-machine via serial port communication, and the remaining charging hatches are connected to the sub-machine via IO port communication.

8. The electrical stimulation device identification system according to claim 1, wherein: If the charging hatch is configured to be connected to the sub-machine in an IO port communication manner, the method further includes: detecting whether an interruption is triggered within a preset time, and if not, determining that the sub-machine has been unplugged from the charging hatch.

9. The electrical stimulation device identification system according to claim 8, wherein: The preset time is 1S.

Citation Information

Patent Citations

  • Systems and methods for use in communicating with charging station

    CN103093551A

  • Rapid judging method for port numbers of serial ports

    CN104915276A