Serial port communication circuit for finger joint training equipment
By using the RS232 communication circuit and SWD debugging interface circuit in the knuckle trainer, the problems of easy damage to the communication interface, low data transmission rate and weak noise interference in the prior art are solved, and higher data transmission rate, longer transmission distance and stronger anti-interference performance are achieved, and the reliability of the equipment is improved.
Patent Information
- Application Number
- CN202421715892.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-18
- Publication Date
- 2025-05-02
- Estimated Expiration
- 2034-07-18
AI Technical Summary
The communication interface of existing knuckle trainers has problems such as high signal level values, low data transmission rate, weak noise interference resistance and limited transmission distance.
The RS232 communication circuit is used to replace the TTL serial port, and the microcontroller and serial port screen of the knuckle training equipment are connected through the RS232 communication circuit, and the microcontroller, serial port screen and RS232 communication circuit are powered through the SWD debugging interface circuit and power supply circuit.
It improves the data transmission rate, transmission distance and anti-interference performance between the knuckle training equipment and the upper computer, reduces the risk of damage to the interface circuit chip, extends the life of the equipment, and improves working reliability.
Smart Images

Figure CN222825897U_ABST
Abstract
Description
Technical Field
[0001] The utility model generally relates to the technical field of serial communication, and more specifically, relates to a serial communication circuit for finger joint training equipment. Background Art
[0002] As an important part of the human body, fingers play an important role in daily life. For example, when grasping, pushing and pulling, etc., the movement of fingers is required, and the movement of fingers depends on the movement of hand joints. Therefore, when the hand joints are injured, it will seriously affect the movement of fingers and affect people's daily life. When the finger joints are injured, rehabilitation training for the finger joints can gradually restore the finger joints to normal.
[0003] Knuckle training device in the prior art is as Figure 1 and Figure 2 As shown, it includes a support part 1 for supporting and fixing the arm, a finger joint training component 2 for fixing the finger, and a rotating shaft 3, whose axial direction is parallel to the horizontal plane and is fixedly connected to the finger joint training component, and is used to drive the finger joint training component to move around the rotating shaft 3 under the drive of the motor, and the signal output end of the motor drive circuit is connected to the motor, and the controlled end of the motor drive circuit is connected to the control circuit, which is used to control the action of the motor according to the control instruction issued by the control circuit; the speed detection circuit is used to detect the rotation speed of the electrode shaft, and its signal output end is connected to the control circuit. The control circuit, the speed detection circuit, the motor drive circuit and the motor body are all placed inside the housing 4. During the operation of the finger joint trainer, the single-chip microcomputer of the control circuit transmits data to the host computer through the TTL serial port. Since the communication interface used is the TTL serial port, the following technical problems will occur in the finger joint trainer: 1. Since the signal level value of the communication interface is high, the chip of the interface circuit is easily damaged; 2. In asynchronous transmission, the baud rate is only 20Kbps, and the data transmission rate is low; 3. The interface uses a signal line and a signal return line to form a common ground transmission form. This common ground transmission is prone to common mode interference, so the anti-noise interference ability is weak; 4. The maximum transmission distance standard value is only 50 feet, and the transmission distance is limited. Utility Model Content
[0004] In order to solve the problems of the existing finger joint trainer in that the chip of the communication interface circuit is easily damaged, the data transmission rate is low, the anti-noise interference ability is weak during data transmission, and the transmission distance is limited, the utility model provides solutions in the following aspects.
[0005] In the first aspect, the present invention provides a serial communication circuit for a finger joint training device, including: an RS232 communication circuit, which is communicatively connected to a single-chip microcomputer of the finger joint training device so as to receive data sent by the single-chip microcomputer, and is communicatively connected to a serial port screen so as to send data sent by the single-chip microcomputer to the serial port screen; a serial port screen, which is used to be connected to a host computer to send data sent by the single-chip microcomputer to the host computer; an SWD debugging interface circuit, which is connected to the single-chip microcomputer and is used to debug the software installed on the single-chip microcomputer; and a power supply circuit, which is used to power the single-chip microcomputer, the serial port screen and the RS232 communication circuit.
[0006] The beneficial effects are as follows: the serial communication circuit for the finger joint training device of the utility model adopts the RS232 communication circuit, thereby greatly improving the data transmission rate, data transmission distance and anti-interference performance when the finger joint training device communicates with the host computer, and since the signal level value of the RS232 communication interface is low, the interface circuit chip is not easy to be damaged and has a long service life, thereby improving the reliability of the finger joint training device.
[0007] In one embodiment, the serial port screen adopts a Diwin screen, and the USB interface of the serial port screen is connected to the host computer through a USB cable.
[0008] In one embodiment, the power supply circuit includes a first voltage conversion circuit, a second voltage conversion circuit and a third voltage conversion circuit, the input end of the first voltage conversion circuit is connected to an AC power supply, and is used to convert the AC voltage into a first DC voltage, the input end of the second voltage conversion circuit is connected to the output end of the first voltage conversion circuit, and is used to convert the first DC voltage into a second DC voltage, the input end of the third voltage conversion circuit is connected to the output end of the second voltage conversion circuit, and is used to convert the second DC voltage into a third DC voltage, wherein the first DC voltage is used to power the serial port screen, the second DC voltage is used to power the transceiver chip, and the third DC voltage is used to power the single-chip microcomputer of the finger joint training device.
[0009] In one embodiment, the first voltage conversion circuit includes a first buck regulator, whose input pin is connected to an AC power supply, whose output pin and its feedback pin are connected to a first DC voltage supply terminal, whose ground pin and switch pin are both grounded, and a first voltage regulator diode is connected in series between its output pin and the ground.
[0010] The beneficial effect is that by connecting the first voltage stabilizing diode in series between the output end of the first buck regulator and the ground, the voltage at the output end of the first buck regulator can be clamped to prevent excessive voltage from burning the subsequent load.
[0011] In one embodiment, a first inductor is connected in series between the output end of the first buck regulator and the first DC voltage supply terminal, and a first filter capacitor is connected in series between the first DC voltage supply terminal and ground.
[0012] The beneficial effect is that the first inductor and the first filter capacitor form an LC filter circuit, thereby filtering the voltage output by the first buck regulator, thereby providing reliable power supply for the subsequent load.
[0013] In one embodiment, the second voltage conversion circuit includes a second buck regulator, whose input pin is connected to the first DC voltage supply terminal, whose output pin is connected to the second DC voltage supply terminal through a second inductor, whose feedback pin is connected to the second DC voltage supply terminal, a second filter capacitor is connected in series between the second DC voltage supply terminal and the ground, and whose ground pin and switch pin are both grounded.
[0014] The beneficial effect is that the second filter capacitor and the second inductor form an LC filter circuit, thereby filtering the voltage output by the second step-down regulator and improving the quality of the output voltage.
[0015] In one embodiment, a third filter capacitor and a second capacitor are respectively connected in series between the input pin of the second buck regulator and the ground.
[0016] The beneficial effect is that the third filter capacitor and the second capacitor are connected in series between the input pin of the second buck regulator and the ground respectively, so that the input voltage of the second buck regulator is filtered, so that the operation of the second buck regulator is more stable and reliable.
[0017] In one embodiment, a Schottky diode is connected in series between the output pin of the second buck regulator and the ground, the anode of the Schottky diode is grounded, and the cathode is connected to the output pin of the second buck regulator.
[0018] The beneficial effects are: by connecting a Schottky diode in series between the output pin of the second buck regulator and the ground, overvoltage protection of the LC filter circuit can be achieved, the surge response of the subsequent load can be improved, and the output impedance of the second buck regulator can be reduced, thereby improving the efficiency of the circuit.
[0019] In one embodiment, a second voltage stabilizing diode is connected in parallel at both ends of the second filter capacitor, an anode of the second voltage stabilizing diode is connected to the negative electrode of the second filter capacitor, and a cathode of the second voltage stabilizing diode is connected to the positive electrode of the second filter capacitor.
[0020] The beneficial effect is that by connecting the second voltage stabilizing diode in parallel at both ends of the second filter capacitor, overvoltage protection can be implemented for the subsequent load of the second voltage stabilizing diode.
[0021] In one embodiment, the third voltage conversion circuit includes a low voltage dropout voltage regulator, whose input pin is connected to the second DC voltage supply terminal, whose output pin is connected to the third DC voltage supply terminal, whose ground pin is grounded, and a third filter capacitor is connected in series between its output pin and the ground.
[0022] The beneficial effect is that a filter capacitor is connected in series between the output pin of the low-voltage difference voltage regulator and the ground, thereby filtering the voltage output by the low-voltage difference voltage regulator, making the operation of the subsequent load more stable and reliable. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] By reading the detailed description below with reference to the accompanying drawings, the above and other purposes, features and advantages of the exemplary embodiments of the present invention will become easy to understand. In the accompanying drawings, several embodiments of the present invention are shown in an exemplary and non-limiting manner, and the same or corresponding reference numerals represent the same or corresponding parts, wherein:
[0024] Figure 1 It is a stereoscopic diagram of a finger joint trainer in the prior art;
[0025] Figure 2 It is a circuit schematic diagram of a finger joint trainer in the prior art;
[0026] Figure 3 It is a schematic diagram of the serial communication circuit structure of an embodiment of the utility model;
[0027] Figure 4 It is a schematic diagram of a SWD debugging interface circuit of an embodiment of the utility model;
[0028] Figure 5 It is a schematic diagram of the power supply circuit structure of an embodiment of the utility model;
[0029] Figure 6 is a circuit schematic diagram of a first voltage conversion circuit of an embodiment of the utility model;
[0030] Figure 7 is a circuit schematic diagram of a second voltage conversion circuit of an embodiment of the utility model;
[0031] Figure 8 It is a circuit principle diagram of the third voltage conversion circuit of the embodiment of the utility model. DETAILED DESCRIPTION
[0032] The following will be combined with the drawings in the embodiments of the utility model to clearly and completely describe the technical solutions in the embodiments of the utility model. Obviously, the described embodiments are part of the embodiments of the utility model, not all of the embodiments. Based on the embodiments of the utility model, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the utility model.
[0033] The specific implementation of the utility model is described in detail below with reference to the accompanying drawings.
[0034] Serial communication circuit embodiment for finger joint training equipment:
[0035] like Figure 3 As shown, the serial communication circuit for the finger joint training device of the utility model includes an RS232 communication circuit, which is communicatively connected to the single-chip microcomputer of the finger joint training device so as to receive data sent by the single-chip microcomputer, and is communicatively connected to the serial port screen so as to send the data sent by the single-chip microcomputer to the serial port screen; the serial port screen is used to be connected to the host computer to send the data sent by the single-chip microcomputer to the host computer; the SWD debugging interface circuit is connected to the single-chip microcomputer and is used to debug the software installed on the single-chip microcomputer; the power supply circuit is used to supply power to the single-chip microcomputer, the serial port screen and the RS232 communication circuit.
[0036] In this embodiment, the RS232 communication circuit uses a transceiver chip of model SP3232.
[0037] In this embodiment, the serial port screen adopts a DWIN screen, and the USB interface of the serial port screen is connected to the host computer through a USB cable.
[0038] The serial communication circuit for the finger joint training device of the utility model adopts the RS232 communication circuit instead of the TTL serial port, thereby greatly improving the data transmission rate, data transmission distance and anti-interference performance of the finger joint training device when communicating with the host computer; and because the signal level value of the RS232 communication interface is low, the interface circuit chip is not easy to be damaged and has a long service life, thereby improving the reliability of the finger joint training device.
[0039] like Figure 4As shown, the SWD debugging interface circuit includes a first capacitor C15, a first resistor R3, a second resistor R4 and a third resistor R6, wherein the first end of the first resistor R3, the first end of the second resistor R4 and the first end of the first capacitor C15 are all connected to a 3.3V voltage, the second end of the first resistor R3 is connected to a first pin of a programming interface PRG1, the second end of the second resistor R4 is connected to a second pin of the programming interface PRG1, the second end of the third resistor R6 is connected to a third pin of the programming interface PRG1, and the fourth pin of the programming interface PRG1, the first end of the third resistor R6 and the second end of the first capacitor C5 are all grounded GND.
[0040] like Figure 5 As shown, in one embodiment, the power supply circuit includes a first voltage conversion circuit, a second voltage conversion circuit and a third voltage conversion circuit, the input end of the first voltage conversion circuit is connected to an AC power supply, and is used to convert the AC voltage into a first DC voltage, the input end of the second voltage conversion circuit is connected to the output end of the first voltage conversion circuit, and is used to convert the first DC voltage into a second DC voltage, the input end of the third voltage conversion circuit is connected to the output end of the second voltage conversion circuit, and is used to convert the second DC voltage into a third DC voltage, wherein the first DC voltage is used to power the serial port screen, the second DC voltage is used to power the transceiver chip, and the third DC voltage is used to power the single-chip microcomputer of the finger joint training device.
[0041] In this embodiment, the first DC voltage is 12V, the second DC voltage is 5V, and the third DC voltage is 3.3V.
[0042] like Figure 6 As shown, the first voltage conversion circuit includes a first buck regulator U1, whose input pin Vin is connected to an AC power supply, whose output pin Vout and its feedback pin FEEDBACK are connected to a 12V voltage supply terminal, whose ground pin GND and switch pin / ON / OFF are both grounded, and a first voltage regulator diode D3 is connected in series between its output pin Vout and ground.
[0043] In this embodiment, the model of the first buck regulator is LM2596S, and other models may also be used in other embodiments.
[0044] By connecting the first voltage stabilizing diode in series between the output terminal of the first buck regulator and the ground GND, the voltage at the output terminal of the first buck regulator can be clamped to prevent excessive voltage from burning subsequent loads.
[0045] In order to filter the voltage output by the first buck regulator, in one embodiment, a first inductor L1 is connected in series between the output end of the first buck regulator and the 12V voltage supply terminal, and a first filter capacitor C4 is connected in series between the 12V voltage supply terminal and the ground.
[0046] The first inductor L1 and the first filter capacitor C4 form an LC filter circuit, so as to filter the voltage output by the first buck regulator.
[0047] like Figure 7 As shown, the second voltage conversion circuit includes a second buck regulator U2, whose input pin Vin is connected to the 12V voltage supply terminal, whose output pin Vout is connected to the 5V voltage supply terminal through the second inductor L2, whose feedback pin FEEDBACK is connected to the 5V voltage supply terminal, and a second filter capacitor C5 is connected in series between the 5V voltage supply terminal and the ground, and whose ground pin GND and switch pin / ON / OFF are both grounded.
[0048] The second filter capacitor C5 and the second inductor L2 form an LC filter circuit, thereby filtering the voltage output by the second buck regulator and improving the quality of the output voltage.
[0049] In this embodiment, the model of the second buck regulator is LM2596S, and other models may also be used in other embodiments.
[0050] In order to filter the input voltage of the second buck regulator so as to make the operation of the second buck regulator more stable and reliable, in one embodiment, a third filter capacitor C6 and a second capacitor C8 are connected in series between the input pin Vin of the second buck regulator and the ground respectively.
[0051] In order to perform overvoltage protection on the LC filter circuit, improve the surge response of the subsequent load, and reduce the output impedance of the second buck regulator, thereby improving the efficiency of the circuit, in one embodiment, a Schottky diode D5 is connected in series between the output pin of the second buck regulator and the ground GND, the anode of the Schottky diode D5 is grounded, and the cathode is connected to the output pin Vout of the second buck regulator.
[0052] In order to protect the subsequent load from overvoltage, a second voltage stabilizing diode D4 is connected in parallel across the second filter capacitor C5. The anode of the second voltage stabilizing diode D4 is connected to the negative electrode of the second filter capacitor C5, and the cathode of the second voltage stabilizing diode D4 is connected to the positive electrode of the second filter capacitor C5.
[0053] like Figure 8As shown, the third voltage conversion circuit includes a low voltage dropout voltage regulator U3, whose input pin is connected to a 5V voltage supply terminal, whose output pin is connected to a 3.3V voltage supply terminal, whose ground pin is grounded, and a third filter capacitor C9 is connected in series between its output pin and the ground.
[0054] By connecting a filter capacitor in series between the output pin of the low-dropout voltage regulator and the ground, the voltage output by the low-dropout voltage regulator is filtered, making the operation of the subsequent load more stable and reliable.
[0055] In the above description of this specification, unless otherwise clearly specified and limited, the terms "fixed", "connected" or "connected" and the like should be understood in a broad sense. For example, with regard to the term "connected", it can be a fixed connection, a detachable connection, or an integral one; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, or it can be the internal connection of two elements or the interaction relationship between two elements. Therefore, unless otherwise clearly defined in this specification, those skilled in the art can understand the specific meanings of the above terms in this utility model according to the specific circumstances.
[0056] In addition, the terms "first" or "second" used in this specification to refer to numbers or ordinals are only used for descriptive purposes and cannot be understood as explicitly or implicitly indicating relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of this specification, the meaning of "plurality" is at least two, such as two, three or more, etc., unless otherwise clearly and specifically defined.
[0057] Although this specification has shown and described a plurality of embodiments of the utility model, it is obvious to those skilled in the art that such embodiments are provided by way of example only. Those skilled in the art will think of many changes, modifications and alternatives without departing from the idea and spirit of the utility model. It should be understood that in the process of practicing the utility model, various alternatives to the embodiments of the utility model described herein may be adopted.
Claims
1. A serial communication circuit for a finger joint training device, characterized in that: include: RS232 communication circuit, connected to the single-chip microcomputer of the finger joint training device for receiving data sent by the single-chip microcomputer, and connected to the serial port screen for sending data sent by the single-chip microcomputer to the serial port screen; The serial port screen is used to connect to the host computer to send the data sent by the microcontroller to the host computer; An SWD debugging interface circuit, connected to the single-chip microcomputer, for debugging the software installed on the single-chip microcomputer; A power supply circuit is used to supply power to the single chip microcomputer, the serial port screen and the RS232 communication circuit.
2. The serial communication circuit for finger joint training equipment according to claim 1, characterized in that: The serial port screen adopts a Diwin screen, and the USB interface of the serial port screen is connected to the host computer through a USB cable.
3. The serial communication circuit for finger joint training equipment according to claim 1, characterized in that: The power supply circuit includes a first voltage conversion circuit, a second voltage conversion circuit and a third voltage conversion circuit. The input end of the first voltage conversion circuit is connected to an AC power supply, and is used to convert the AC voltage into a first DC voltage. The input end of the second voltage conversion circuit is connected to the output end of the first voltage conversion circuit, and is used to convert the first DC voltage into a second DC voltage. The input end of the third voltage conversion circuit is connected to the output end of the second voltage conversion circuit, and is used to convert the second DC voltage into a third DC voltage. The first DC voltage is used to power the serial port screen, the second DC voltage is used to power the transceiver chip, and the third DC voltage is used to power the single-chip microcomputer of the finger joint training device.
4. The serial communication circuit for finger joint training equipment according to claim 3, characterized in that: The first voltage conversion circuit includes a first buck regulator, whose input pin is connected to an AC power supply, whose output pin and its feedback pin are connected to a first DC voltage supply terminal, whose ground pin and switch pin are both grounded, and a first voltage regulator diode is connected in series between its output pin and the ground.
5. The serial communication circuit for finger joint training equipment according to claim 4, characterized in that: A first inductor is connected in series between the output end of the first buck regulator and the first DC voltage supply terminal, and a first filter capacitor is connected in series between the first DC voltage supply terminal and the ground.
6. The serial communication circuit for finger joint training equipment according to claim 3, characterized in that: The second voltage conversion circuit includes a second buck regulator, whose input pin is connected to the first DC voltage power supply terminal, whose output pin is connected to the second DC voltage power supply terminal through a second inductor, whose feedback pin is connected to the second DC voltage power supply terminal, a second filter capacitor is connected in series between the second DC voltage power supply terminal and the ground, and whose ground pin and switch pin are both grounded.
7. The serial communication circuit for finger joint training equipment according to claim 6, characterized in that: A third filter capacitor and a second capacitor are respectively connected in series between the input pin of the second buck regulator and the ground.
8. The serial communication circuit for finger joint training equipment according to claim 6, characterized in that: A Schottky diode is connected in series between the output pin of the second buck regulator and the ground, wherein the anode of the Schottky diode is grounded, and the cathode is connected to the output pin of the second buck regulator.
9. The serial communication circuit for finger joint training equipment according to claim 6, characterized in that: A second voltage stabilizing diode is connected in parallel at both ends of the second filter capacitor, an anode of the second voltage stabilizing diode is connected to the negative electrode of the second filter capacitor, and a cathode of the second voltage stabilizing diode is connected to the positive electrode of the second filter capacitor.
10. The serial communication circuit for finger joint training equipment according to claim 3, characterized in that: The third voltage conversion circuit includes a low voltage dropout voltage regulator, whose input pin is connected to the second DC voltage supply terminal, whose output pin is connected to the third DC voltage supply terminal, whose ground pin is grounded, and a third filter capacitor is connected in series between its output pin and the ground.