Front-end circuit of detection device, detection device and rehabilitation medical equipment
By designing voltage sampling and 485 communication units in rehabilitation medical equipment, compatibility with different voltage levels and communication protocols is achieved, which solves the problem of communication failure caused by misconnection in the existing technology and improves the compatibility of rehabilitation medical equipment.
Patent Information
- Application Number
- CN202420099324.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-15
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2034-01-15
AI Technical Summary
Existing rehabilitation medical equipment requires multiple 485 circuits to communicate with different sensors when designing electronic control boards. However, communication failures are easily caused by misconnections, and they are not compatible with different voltage levels and communication protocols, making them unable to meet actual application needs.
A front-end circuit of a detection device is designed, including a voltage sampling unit, a main control unit, a power management unit and a 485 communication unit. The voltage value signal is generated through multiple self-locking buttons, and the main control unit generates an enable signal and a serial communication signal. , realizes power supply and communication to the detection device, and is compatible with different voltage levels and communication protocols.
Through this pre-circuit, compatibility of different voltage levels and communication protocols is achieved, avoiding communication failures caused by misconnections, enriching the use types of detection devices, and improving the compatibility of rehabilitation medical equipment such as rehabilitation walking assistance robots.
Smart Images

Figure 00000000_0000
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of rehabilitation medicine, in particular to a front circuit of a detection device, a detection device and rehabilitation medicine equipment. Background Art
[0002] At present, rehabilitation medical equipment usually contains a variety of sensors. Different sensors require different voltage levels, different baud rates and different 485 communication protocols. When designing the electronic control board, it is necessary to design multiple 485 circuits to realize specific functions. In actual assembly, it is very likely to cause communication failure due to misconnection. In response to this problem, the existing technical solution mainly uses one 485 circuit to carry different 485 devices. For devices with the same protocol, different baud rates are used to send broadcast commands through software to shake hands with external devices, namely multiple sensors. However, this solution has the disadvantage of not being compatible with external devices with different voltage levels and different communication protocols, and thus cannot meet the actual application needs of rehabilitation medical equipment. Utility Model Content
[0003] In view of this, the purpose of the present invention is to provide a pre-circuit of a detection device, a detection device and rehabilitation medical equipment to alleviate the above-mentioned problems. Through the pre-circuit, detection devices with different voltage levels and different communication protocols can be compatible.
[0004] In a first aspect, an embodiment of the utility model provides a front circuit of a detection device, comprising: a voltage sampling unit, a main control unit, a power management unit and a 485 communication unit; wherein the voltage sampling unit, the power management unit and the 485 communication unit are all connected to the main control unit, and the power management unit and the 485 communication unit are also connected to the detection device; the voltage sampling unit is provided with a plurality of self-locking buttons, and when the self-locking button is manually pressed, a corresponding voltage value signal is generated, and the voltage value signal is sent to the main control unit;
[0005] The main control unit is used to generate a corresponding voltage enable signal according to the voltage value signal and send the voltage enable signal to the power management unit; and generate a serial communication signal and send the serial communication signal to the 485 communication unit; the power management unit is used to obtain the voltage enable signal and output the corresponding voltage to the detection device according to the voltage enable signal to power the detection device; the 485 communication unit is used to obtain the serial communication signal and generate a corresponding 485 communication signal according to the serial communication signal; the 485 communication signal is sent to the detection device, so that the detection device communicates with the main control unit according to the 485 communication signal.
[0006] Preferably, the voltage sampling unit further includes a plurality of voltage-dividing resistors; wherein two ends of each self-locking button are respectively connected to a voltage-dividing resistor.
[0007] Preferably, the self-locking button includes a first self-locking button, a second self-locking button and a third self-locking button, and the voltage-dividing resistors include: a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor and a ninth resistor; wherein, one end of the first self-locking button is connected to one end of the fourth resistor, the other end of the fourth resistor is connected to the working voltage, the other end of the first self-locking button is connected to one end of the seventh resistor, and the other end of the seventh resistor is grounded; one end of the second self-locking button is connected to one end of the fifth resistor, the other end of the fifth resistor is connected to the working voltage, the other end of the second self-locking button is connected to one end of the eighth resistor, and the other end of the eighth resistor is grounded; one end of the third self-locking button is connected to one end of the sixth resistor, the other end of the sixth resistor is connected to the working voltage, the other end of the third self-locking button is connected to one end of the ninth resistor, and the other end of the ninth resistor is grounded.
[0008] Preferably, the voltage sampling unit also includes a first sampling port, a second sampling port and a third sampling port; wherein the first sampling port is arranged between the first self-locking button and the fourth resistor, the second sampling port is arranged between the second self-locking button and the fifth resistor, the third sampling port is arranged between the third self-locking button and the sixth resistor, and the first sampling port, the second sampling port and the third sampling port are all connected to the main control unit.
[0009] Preferably, the 485 communication unit includes: a 485 conversion chip, a protection device and a wiring terminal; wherein the first pin and the fourth pin of the 485 conversion chip are both connected to the main control unit, the second pin, the third pin and the fifth pin of the 485 conversion chip are all grounded, the eighth pin of the 485 conversion chip is connected to the operating voltage, the sixth pin and the seventh pin of the 485 conversion chip are both connected to the protection device, and the wiring terminal is connected to the detection device.
[0010] Preferably, the protection device includes an inductor device and a diode device, and the wiring terminals include a first wiring terminal and a second wiring terminal; wherein, the first pin of the inductor device is connected to the sixth pin of the 485 conversion chip, the second pin of the inductor device is connected to the seventh pin of the 485 conversion chip, the third pin of the inductor device is connected to the first wiring terminal, the fourth pin of the inductor device is connected to the second wiring terminal, the first end of the diode device is connected between the third pin of the inductor device and the first wiring terminal, the second end of the diode device is connected between the fourth pin of the inductor device and the second wiring terminal, and the third end of the diode device is grounded.
[0011] Preferably, the 485 communication unit also includes a second resistor and a third resistor; wherein one end of the second resistor is connected between the seventh pin of the 485 conversion chip and the second pin of the inductor device, and the other end of the second resistor is grounded; one end of the third resistor is connected between the sixth pin of the 485 conversion chip and the first pin of the inductor device, and the other end of the third resistor is connected to the operating voltage.
[0012] Preferably, the 485 communication unit further includes a first resistor; wherein one end of the first resistor is respectively connected to the second pin and the third pin of the 485 conversion chip, and the other end of the first resistor is grounded.
[0013] In a second aspect, an embodiment of the utility model further provides a detection device, which includes a front-end circuit of the detection device of the first aspect mentioned above.
[0014] In a third aspect, an embodiment of the utility model further provides a rehabilitation medical device, which includes the detection device of the second aspect.
[0015] The embodiments of the present invention bring the following beneficial effects:
[0016] The embodiments of the utility model provide a front-end circuit of a detection device, a detection device and rehabilitation medical equipment. In the front-end circuit of the detection device, a voltage sampling unit is provided with a plurality of self-locking buttons. When the self-locking button is manually pressed, a corresponding voltage value signal is generated, and the voltage value signal is sent to the main control unit; the main control unit is used to generate a corresponding voltage enable signal according to the voltage value signal, and send the voltage enable signal to the power management unit, so that the power management unit outputs a corresponding voltage to the detection device to power the detection device; and, generate a serial communication signal, and send the serial communication signal to a 485 communication unit, so that the 485 communication unit generates a corresponding 485 communication signal, and sends the 485 communication signal to the detection device, so that the detection device communicates with the main control unit according to the 485 communication signal, so that through the front-end circuit, it can be compatible with detection devices of different voltage levels and different communication protocols, enrich the use types of the detection device, avoid communication failure of the detection device due to misconnection, and thus enrich the compatibility of rehabilitation medical equipment such as rehabilitation walking robots.
[0017] Other features and advantages of the utility model will be described in the following description, and partly become apparent from the description, or understood by practicing the utility model. The purpose and other advantages of the utility model are realized and obtained by the structures particularly pointed out in the description and the drawings.
[0018] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the specific implementation methods of the utility model or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the utility model. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0020] Figure 1 A structural diagram of a front-end circuit of a detection device provided by an embodiment of the utility model;
[0021] Figure 2 A circuit diagram of a voltage sampling unit provided in an embodiment of the utility model;
[0022] Figure 3 A circuit diagram of a power management unit provided in an embodiment of the utility model;
[0023] Figure 4 A circuit diagram of a detection device provided by an embodiment of the utility model;
[0024] Figure 5 A circuit diagram of a 485 communication unit provided in an embodiment of the utility model;
[0025] Figure 6 A flow chart of handshake communication between a main control unit and a detection device based on a communication protocol provided in an embodiment of the utility model. DETAILED DESCRIPTION
[0026] In order to make the purpose, technical solution and advantages of the embodiments of the utility model clearer, the technical solution of the utility model will be clearly and completely described below in conjunction with the accompanying drawings. 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 ordinary technicians in this field without creative work are within the scope of protection of the utility model.
[0027] To facilitate understanding of this embodiment, the embodiment of the utility model is described in detail below.
[0028] The present utility model provides a pre-circuit of a detection device, such as Figure 1As shown, the front circuit 1 of the detection device includes: a voltage sampling unit 11, a main control unit 12, a power management unit 13 and a 485 communication unit 14; wherein the voltage sampling unit 11, the power management unit 13 and the 485 communication unit 14 are all connected to the main control unit 12, and the power management unit 13 and the 485 communication unit 14 are also connected to the detection device 2. It should be noted that the detection device 2 here can be a variety of types of sensors, or a device for detection such as a radar, and the embodiment of the utility model does not limit the type of the detection device.
[0029] Specifically, the voltage sampling unit 11 is provided with a plurality of self-locking buttons. When the self-locking button is manually pressed, a corresponding voltage value signal is generated and the voltage value signal is sent to the main control unit 12; the main control unit 12 is used to generate a corresponding voltage enable signal according to the voltage value signal, and send the voltage enable signal to the power management unit 13; and, generate a serial communication signal, and send the serial communication signal to the 485 communication unit 14; the power management unit 13 is used to obtain the voltage enable signal, and output the corresponding voltage to the detection device 2 according to the voltage enable signal, so as to power the detection device 2; the 485 communication unit 14 is used to obtain the serial communication signal, and generate a corresponding 485 communication signal according to the serial communication signal; and send the 485 communication signal to the detection device 2, so that the detection device 2 communicates with the main control unit 12 according to the 485 communication signal.
[0030] Therefore, for detection devices 2 of different voltage levels and different communication protocols, different voltage value signals are generated by manually operating different self-locking buttons. At this time, the main control unit 12 controls the power management unit 13 to output the corresponding voltage according to the voltage value signal to power the detection device 2, thereby achieving compatibility with detection devices of different voltage levels; in addition, for the serial port communication signal generated by the main control unit 12, the 485 communication unit 14 also generates a corresponding 485 communication signal according to the serial port communication signal, and sends the 485 communication signal to the detection device 2, so that the detection device 2 communicates with the main control unit 12 according to the 485 communication signal, thereby achieving compatibility with detection devices of different communication protocols. Therefore, through the front-end circuit, compatibility of detection devices of different voltage levels and different communication protocols can be achieved, enriching the usage types of the detection device and avoiding communication failure of the detection device due to misconnection.
[0031] Preferably, the voltage sampling unit 11 also includes multiple voltage-dividing resistors; wherein, each self-locking button is connected to a voltage-dividing resistor at both ends. When a self-locking button is manually pressed, the voltage sampling unit 11 generates a voltage value signal corresponding to the self-locking button through the voltage-dividing resistors at both ends of the self-locking button, and sends the voltage value signal to the main control unit 12, so that the main control unit 12 controls the power management unit 13 to output the corresponding voltage. Therefore, for detection devices with different voltage levels, the detection device can be powered by pressing the self-locking button corresponding to the voltage level in the sampling unit 11, thereby achieving compatibility with detection devices with different voltage levels.
[0032] By way of example, taking three self-locking buttons as an example, the structure and function of each unit in the front circuit of the detection device are described in detail. The details are as follows:
[0033] (1) Voltage sampling unit 11; Figure 2 As shown, the self-locking button includes a first self-locking button S1, a second self-locking button S2 and a third self-locking button S3, and the voltage-dividing resistor includes: a fourth resistor R4, a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, an eighth resistor R8 and a ninth resistor R9;
[0034] Among them, one end of the first self-locking button S1 is connected to one end of the fourth resistor R4, the other end of the fourth resistor R4 is connected to the working voltage (selected as 3.3V here), the other end of the first self-locking button S1 is connected to one end of the seventh resistor R7, and the other end of the seventh resistor R7 is grounded; one end of the second self-locking button S2 is connected to one end of the fifth resistor R5, the other end of the fifth resistor R5 is connected to the working voltage 3.3V, the other end of the second self-locking button S2 is connected to one end of the eighth resistor R8, and the other end of the eighth resistor R8 is grounded; one end of the third self-locking button S3 is connected to one end of the sixth resistor R6, the other end of the sixth resistor R6 is connected to the working voltage 3.3V, the other end of the third self-locking button S3 is connected to one end of the ninth resistor R9, and the other end of the ninth resistor R9 is grounded.
[0035] It should be noted that the number of the above-mentioned self-locking buttons can be adaptively adjusted according to actual conditions, and the number and resistance of the voltage-dividing resistors at both ends of each self-locking button can also be set according to actual conditions, and the embodiment of the utility model does not limit this.
[0036] In addition, the voltage sampling unit 11 also includes a first sampling port, a second sampling port and a third sampling port; wherein the first sampling port is arranged between the first self-locking button S1 and the fourth resistor R4, the second sampling port is arranged between the second self-locking button S2 and the fifth resistor R5, and the third sampling port is arranged between the third self-locking button S3 and the sixth resistor R6, and the first sampling port, the second sampling port and the third sampling port are all connected to the main control unit 12.
[0037] For example, the first sampling port can also be called a 24V_ADC sampling port. When the first self-locking button S1 is pressed, the voltage sampling unit 11 generates a corresponding voltage value signal corresponding to a voltage of 24V, that is, the voltage level corresponding to the detection device is 24V; similarly, the second sampling port can also be called a 12V_ADC sampling port. When the second self-locking button S2 is pressed, the voltage sampling unit 11 generates a corresponding voltage value signal corresponding to a voltage of 12V, that is, the voltage level corresponding to the detection device is 12V; the third sampling port can also be called a 5V_ADC sampling port. When the third self-locking button S3 is pressed, the voltage sampling unit 11 generates a corresponding voltage value signal corresponding to a voltage of 5V, that is, the voltage level corresponding to the detection device is 5V. It should be noted that the voltage values corresponding to each sampling port can be adaptively adjusted according to actual conditions.
[0038] Therefore, according to the voltage level corresponding to the detection device, the corresponding self-locking button is pressed, and the voltage sampling unit 11 generates a corresponding voltage value signal, so that the main control unit 12 controls the power management unit 13 to output the corresponding voltage according to the corresponding voltage value signal, thereby realizing the power supply to the detection device 2; that is, through the same circuit, the voltage requirements of detection devices of different voltage levels are realized, thereby avoiding the problem of communication failure of the detection device caused by misconnection.
[0039] (2) Main control unit 12; Here, the main control unit 12 is preferably a single-chip microcomputer. Its specific chip structure and function can refer to existing single-chip microcomputers, and the embodiment of the utility model will not be described in detail here.
[0040] (3) Power management unit 13; Figure 3 As shown, it mainly includes a power management chip U1 and a voltage output chip P1. When the main control unit 12 detects that a self-locking button in the voltage sampling unit 11 is pressed, it outputs a corresponding voltage enable signal according to the acquired voltage value signal. If the detected voltage value signal is 24V_ADC, the generated voltage enable signal is a 24V EN enable signal. At this time, the 22nd pin of the power management chip U1 acquires the 24V EN enable signal and outputs a 24V voltage through the 24th pin. The 24V voltage is transmitted to the 1st pin of the voltage output chip P1 and output through the VDD_OUT pin of the voltage output chip P1. In addition, Figure 4As shown, the VDD_OUT pin of the voltage output chip P1 is connected to the fifth pin, namely the VDD_OUT pin, of the detection device J1, thereby realizing the 24V power supply of the detection device.
[0041] It should be noted that, in order to avoid power supply conflicts caused by pressing multiple self-locking buttons in the voltage sampling unit 11, in actual functional applications, for the case of three sampling ports, the main control unit 12 will generate a voltage enable signal only when it determines that one of the sampling port pins is high and the other sampling port pins are low, that is, when the voltage sampling unit 11 generates only one voltage value signal, the main control unit 12 will generate the corresponding voltage enable signal. Therefore, for detection devices of different voltage levels, it is only necessary to press the self-locking button corresponding to the voltage level to obtain the voltage power supply corresponding to the voltage level, thereby achieving compatibility with detection devices of different voltage levels.
[0042] (4) 485 communication unit 14; including: 485 conversion chip, protection device and connection terminal, such as Figure 5 As shown, the first pin and the fourth pin of the 485 conversion chip U2 are connected to the main control unit 12, the second pin, the third pin and the fifth pin of the 485 conversion chip U2 are grounded, the eighth pin of the 485 conversion chip U2 is connected to the operating voltage 3.3V, the sixth pin and the seventh pin of the 485 conversion chip U2 are connected to the protection device, and the wiring terminal is connected to the detection device. In addition, the 485 communication unit also includes a first resistor R1; wherein one end of the first resistor R1 is respectively connected to the second pin and the third pin of the 485 conversion chip U2, and the other end of the first resistor R1 is grounded.
[0043] Among them, the protection device includes an inductor device L1 and a diode device D1, and the wiring terminals include a first wiring terminal Sensor_485_OUT_N and a second wiring terminal Sensor_485_OUT_P; wherein, the first pin of the inductor device L1 is connected to the sixth pin of the 485 conversion chip U2, the second pin of the inductor device L1 is connected to the seventh pin of the 485 conversion chip U2, the third pin of the inductor device L1 is connected to the first wiring terminal Sensor_485_OUT_N, the fourth pin of the inductor device L1 is connected to the second wiring terminal Sensor_485_OUT_P, the first end of the diode device D1 is connected between the third pin of the inductor device L1 and the first wiring terminal Sensor_485_OUT_N, the second end of the diode device D1 is connected between the fourth pin of the inductor device L1 and the second wiring terminal Sensor_485_OUT_P, and the third end of the diode device D1 is grounded.
[0044] In addition, if Figure 4As shown, the first wiring terminal Sensor_485_OUT_N is connected to the second pin of the detection device J1, the second wiring terminal Sensor_485_OUT_P is connected to the third pin of the detection device J1, and the first pin and the fourth pin of the detection device J1 are grounded.
[0045] And, if Figure 5 As shown, the 485 communication unit also includes a second resistor R2 and a third resistor R3; wherein, one end of the second resistor R2 is connected between the seventh pin of the 485 conversion chip U2 and the second pin of the inductor device L1, and the other end of the second resistor R2 is grounded; one end of the third resistor R3 is connected between the sixth pin of the 485 conversion chip U2 and the first pin of the inductor device L1, and the other end of the third resistor R3 is connected to the operating voltage 3.3V.
[0046] In practical applications, the 485 conversion chip U2 is used to obtain the serial communication signal sent by the main control unit 12 and convert the serial communication signal into a corresponding 485 communication signal. In addition, the inductor device L1 and the diode device D1 serve as protection devices for the 485 communication signal, so that the 485 communication signal is transmitted to the detection device J1 via the first terminal Sensor_485_OUT_N and the second terminal Sensor_485_OUT_P, so that the detection device J1 communicates with the main control unit 12 according to the 485 communication signal.
[0047] In summary, the front circuit of the detection device provided in the embodiment of the utility model can be compatible with detection devices of different voltage levels and different communication protocols, which enriches the usage types of the detection device, avoids communication failure of the detection device due to misconnection, and further enriches the compatibility of rehabilitation medical equipment such as rehabilitation walking robots.
[0048] In one embodiment, communication between different protocols can also be achieved through the software of the main control unit. Since the communication protocols of different detection devices may be different, the protocols of different detection devices used by rehabilitation medical equipment such as rehabilitation walking robots are added to the main control unit. When any detection device is added, after selecting the required voltage, the main control unit also starts handshake communication with the detection device.
[0049] Specifically, Figure 6As shown, the main control unit first uses a baud rate of 9600 bit / s and broadcasts a handshake message in the message of protocol 1, and determines whether the peripheral device (i.e., the detection device) returns data. If not, a handshake message is broadcast using a different baud rate and message format combination. If the peripheral device does not respond after sending several rounds, a handshake is started at a baud rate of 19200 bit / s until the baud rate increases to the maximum baud rate of the peripheral device used on the rehabilitation walking robot. During this period, if the handshake is successful, that is, the peripheral device returns data, it means that the baud rate and communication protocol of the main control unit and the peripheral device are consistent. Then, the main control unit starts to send the specified command in the message format of the current protocol, and determines whether the data returned by the peripheral device is correct, that is, whether the returned data is the value required by the protocol to be returned, so as to detect the accuracy of the communication. If the returned data is wrong, check whether the hardware connection is loose, whether the waveform is interfered, whether the protocol is correct, etc., until the returned data is correct.
[0050] Therefore, the front circuit of the above-mentioned detection device not only realizes the arbitrary connection of the detection device on the rehabilitation medical equipment, enriching the usage types of the detection device, but also avoids the communication failure problem caused by misconnection, thereby increasing the compatibility of the rehabilitation walking robot.
[0051] Furthermore, the embodiment of the utility model also provides a detection device, which includes the front circuit of the above detection device. The detection device includes but is not limited to devices such as sensors and radars, and the embodiment of the utility model does not limit the type of sensors.
[0052] Furthermore, the embodiment of the utility model also provides a rehabilitation medical device, which includes the above detection device. It should be noted that the rehabilitation medical device here includes not only a rehabilitation walking robot, but also other rehabilitation devices that use the detection device, which can be specifically configured according to actual conditions.
[0053] The device provided in the embodiment of the utility model can be specific hardware on the device or software or firmware installed on the device. The implementation principle and technical effects of the device provided in the embodiment of the utility model are the same as those of the aforementioned method embodiment. For the sake of brief description, the parts not mentioned in the device embodiment can refer to the corresponding contents in the aforementioned embodiment. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above can all refer to the corresponding processes in the aforementioned embodiments, and will not be repeated here.
[0054] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0055] In addition, each functional unit in the embodiment provided by the present utility model may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0056] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that can be executed by a processor. Based on this understanding, the technical solution of the utility model, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the utility model. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program code.
[0057] In the description of the present invention, it should be noted that the terms "center", "up", "down", "left", "right", "vertical", "horizontal", "inside", "outside", etc. indicate directions or positional relationships based on the directions or positional relationships shown in the accompanying drawings. They are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific direction, be constructed and operated in a specific direction. Therefore, they cannot be understood as limitations on the present invention.
[0058] Furthermore, the terms “first”, “second”, and “third” are used for descriptive purposes only and should not be understood as indicating or implying relative importance.
[0059] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the utility model, which are used to illustrate the technical solution of the utility model, rather than to limit it. The protection scope of the utility model is not limited thereto. Although the utility model is described in detail with reference to the above-mentioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solution recorded in the above-mentioned embodiments within the technical scope disclosed by the utility model, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solution deviate from the spirit and scope of the technical solution of the embodiment of the utility model, and should be included in the protection scope of the utility model. Therefore, the protection scope of the utility model should be based on the protection scope of the claims.
Claims
1. A pre-circuit of a detection device, It is characterized in that include: A voltage sampling unit, a main control unit, a power management unit and a 485 communication unit; wherein the voltage sampling unit, the power management unit and the 485 communication unit are all connected to the main control unit, and the power management unit and the 485 communication unit are also connected to a detection device; The voltage sampling unit is provided with a plurality of self-locking buttons. When the self-locking buttons are manually pressed, corresponding voltage value signals are generated and the voltage value signals are sent to the main control unit. The main control unit is used to generate a corresponding voltage enable signal according to the voltage value signal, and send the voltage enable signal to the power management unit; and generate a serial communication signal, and send the serial communication signal to the 485 communication unit; The power management unit is used to obtain the voltage enable signal and output a corresponding voltage to the detection device according to the voltage enable signal to power the detection device; The 485 communication unit is used to obtain the serial communication signal and generate a corresponding 485 communication signal according to the serial communication signal; and send the 485 communication signal to the detection device so that the detection device communicates with the main control unit according to the 485 communication signal.
2. The front circuit of the detection device according to claim 1, It is characterized in that The voltage sampling unit further includes a plurality of voltage-dividing resistors; wherein two ends of each of the self-locking buttons are respectively connected to the voltage-dividing resistors.
3. The front circuit of the detection device according to claim 2, It is characterized in that The self-locking button includes a first self-locking button, a second self-locking button and a third self-locking button, and the voltage-dividing resistor includes: a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor and a ninth resistor; Among them, one end of the first self-locking button is connected to one end of the fourth resistor, the other end of the fourth resistor is connected to the working voltage, the other end of the first self-locking button is connected to one end of the seventh resistor, and the other end of the seventh resistor is grounded; one end of the second self-locking button is connected to one end of the fifth resistor, the other end of the fifth resistor is connected to the working voltage, the other end of the second self-locking button is connected to one end of the eighth resistor, and the other end of the eighth resistor is grounded; one end of the third self-locking button is connected to one end of the sixth resistor, the other end of the sixth resistor is connected to the working voltage, the other end of the third self-locking button is connected to one end of the ninth resistor, and the other end of the ninth resistor is grounded.
4. The front circuit of the detection device according to claim 3, It is characterized in that The voltage sampling unit also includes a first sampling port, a second sampling port and a third sampling port; Among them, the first sampling port is set between the first self-locking button and the fourth resistor, the second sampling port is set between the second self-locking button and the fifth resistor, the third sampling port is set between the third self-locking button and the sixth resistor, and the first sampling port, the second sampling port and the third sampling port are all connected to the main control unit.
5. The front circuit of the detection device according to claim 1, It is characterized in that The 485 communication unit includes: a 485 conversion chip, a protection device and a connection terminal; Among them, the first pin and the fourth pin of the 485 conversion chip are both connected to the main control unit, the second pin, the third pin and the fifth pin of the 485 conversion chip are all grounded, the eighth pin of the 485 conversion chip is connected to the working voltage, the sixth pin and the seventh pin of the 485 conversion chip are both connected to the protection device, and the wiring terminal is connected to the detection device.
6. The front circuit of the detection device according to claim 5, It is characterized in that The protection device includes an inductor device and a diode device, and the wiring terminal includes a first wiring terminal and a second wiring terminal; Among them, the first pin of the inductor device is connected to the sixth pin of the 485 conversion chip, the second pin of the inductor device is connected to the seventh pin of the 485 conversion chip, the third pin of the inductor device is connected to the first terminal, the fourth pin of the inductor device is connected to the second terminal, the first end of the diode device is connected between the third pin of the inductor device and the first terminal, the second end of the diode device is connected between the fourth pin of the inductor device and the second terminal, and the third end of the diode device is grounded.
7. The front circuit of the detection device according to claim 6, It is characterized in that The 485 communication unit also includes a second resistor and a third resistor; Among them, one end of the second resistor is connected between the seventh pin of the 485 conversion chip and the second pin of the inductor device, and the other end of the second resistor is grounded; one end of the third resistor is connected between the sixth pin of the 485 conversion chip and the first pin of the inductor device, and the other end of the third resistor is connected to the operating voltage.
8. The front circuit of the detection device according to claim 5, It is characterized in that The 485 communication unit also includes a first resistor; wherein one end of the first resistor is respectively connected to the second pin and the third pin of the 485 conversion chip, and the other end of the first resistor is grounded.
9. A detection device, It is characterized in that The detection device comprises the front-end circuit of the detection device according to any one of claims 1 to 8.
10. A rehabilitation medical device, It is characterized in that The rehabilitation medical equipment comprises the detection device described in claim 9 above.
