A lower control controller of a rehabilitation machine
By sampling the motor voltage and current in the down-control controller of the rehabilitation machine and constructing a drive feedback circuit, the problems of insufficient current sampling and low anti-interference ability in the existing technology are solved, cost savings and control methods are simplified, and it is applicable Available in a variety of motor types to meet different customer needs.
Patent Information
- Application Number
- CN201911190113.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-11-28
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2039-11-28
AI Technical Summary
The existing rehabilitation machine control board technology is too simple, lacks a current sampling part, has insufficient anti-interference capabilities, and has complicated control methods, resulting in high costs and making it difficult to reduce production costs without reducing product reliability.
Design a down-control controller for the rehabilitation machine. By sampling and processing the motor voltage and current, a drive feedback circuit is constructed and compared with the output signal from the MCU speed control port on the upper control display panel. The output signal is fed back to the drive circuit to adjust the output pulse. The duty cycle is adjusted to achieve precise speed adjustment, and the current sampling signal is added to the feedback signal to adjust the output pulse duty cycle to resist interference.
It has achieved cost savings, simplified control methods, and improved the anti-interference ability of the motor drive circuit. It is suitable for low-speed rehabilitation machines and small and medium-power DC motor control. It has strong compatibility and can adapt to different customer needs without software development.
Smart Images

Figure CN110780632B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of motor control, and in particular to a lower control controller of a rehabilitation machine. Background Art
[0002] At present, the rehabilitation machine industry has broad prospects, leading to more and more companies starting to get involved in this field. How to gain an advantage over competitors and excellent quality are necessary conditions for seizing the market. How to improve product reliability and how to reduce product production costs without reducing product reliability have become the primary conditions for seizing the market. The existing rehabilitation machine control board technology is too single. The current existing technology lacks a current sampling part for the feedback signal of the drive circuit, and the anti-interference ability is insufficient. In addition, the control board mostly uses a microprocessor to process the sampling signal, the drive signal, and communicate with the upper control display board to achieve the purpose of speed control. The program processing and control are too cumbersome. Not only the material cost is high, but the labor cost and production cost are also high. Therefore, it is very necessary to design a lower control controller for a rehabilitation machine. Summary of the invention
[0003] In order to overcome the above-mentioned shortcomings, the present invention aims to provide a lower control controller for a rehabilitation machine. The present invention samples and processes the motor voltage and current, and constructs a drive feedback circuit, compares the output signal with the MCU speed control port output signal of the upper control display board, and feeds the output signal back to the drive circuit to control the output pulse duty cycle, thereby achieving precise speed regulation. At the same time, a current sampling signal is added to the feedback signal. When external interference causes the motor working current to change, the drive circuit input feedback signal will also change, and the output pulse duty cycle can be adjusted. The present invention saves costs and simplifies the control method.
[0004] The present invention achieves the above-mentioned purpose through the following technical solutions: a lower control controller of a rehabilitation machine, including a power supply circuit and a motor control circuit; the power supply circuit is used to provide power; the motor control circuit includes a rectifier circuit I, a switch circuit, a dual-channel voltage sampling circuit, a dual-channel current sampling circuit, a drive circuit, a drive feedback circuit, and an overcurrent protection circuit; the positive pole of the output of the rectifier circuit I is connected to the switch circuit, and the switch circuit is respectively connected to the positive pole of the motor of the rehabilitation machine and the upper control display board MCU; the upper control display board MCU controls the motor power on and off, and effective braking of the motor can be achieved in the event of a fault; both ends of the motor are connected to the dual-channel voltage sampling circuit, and the negative pole of the motor is connected to the drive circuit; the drive circuit is connected to the current sampling circuit and then grounded; the dual-channel voltage sampling circuit and the dual-channel current sampling circuit are respectively connected to the drive feedback circuit, and after being processed by the drive feedback circuit, compared with the PWM pulse signal output by the upper control display board MCU, the input drive circuit realizes speed regulation of the motor; the dual-channel current sampling circuit is connected to the overcurrent protection circuit; compared with the threshold set by the drive feedback circuit, the output signal is fed back to the upper control display board MCU.
[0005] Preferably, the power supply circuit includes a rectifier circuit II, a switching power supply circuit, a voltage stabilizing circuit I, and a voltage stabilizing circuit II; the rectifier circuit II is connected to the switching circuit; the output of the switching power supply circuit is connected to two voltage stabilizing circuits, namely, the voltage stabilizing circuit I and the voltage stabilizing circuit II; the voltage stabilizing circuit I outputs a 15V power supply for powering the motor control circuit, and the voltage stabilizing circuit II outputs a 5V power supply for powering the upper control display panel.
[0006] Preferably, the rectifier circuit I includes a fuse F1, a varistor TZR1, a bridge rectifier circuit, and a filter capacitor C1; wherein the bridge rectifier circuit is composed of a diode D1, a diode D2, a diode D3, and a diode D4, and the diodes D1, D2, D3, and D4 are connected end to end to form a rectifier bridge; one side N1 of the alternating current is connected to the varistor TZR1 through the fuse F1, and is connected to the anode of the diode D2, and the other side L1 of the alternating current is connected to the other side of the varistor TZR1, and is connected to the cathode of the diode D3; the positive electrode of the filter capacitor C1 is connected to the cathode of the diode D2, which is the output positive electrode of the rectifier circuit I; the negative electrode of the filter capacitor C1 is connected to the anode of the diode D3, which is the output negative electrode of the rectifier circuit I.
[0007] Preferably, the switching circuit includes a current limiting resistor R43, an optocoupler U11, a diode D19, a relay K1, a resistor R41, and a CBB capacitor CB1; R43 is respectively connected to the upper control display board MCU and the internal light-emitting diode cathode of the input end of the optocoupler U11, the internal light-emitting diode anode is connected to a 5V power supply, one end of the output end of the optocoupler U11 is grounded, and the other end is connected to the control input end of the relay K1; the other end of the input end of the relay K1 is connected to 15V, and the freewheeling diode D19 is connected at both ends of the relay K1; the resistor R41 and the CBB capacitor CB1 are connected in series at both ends of the relay; one end of the output end of the relay K1 is connected to the output positive pole of the rectifier circuit I, and the other end of the output end of the relay K1 is connected to the positive pole of the motor.
[0008] Preferably, the dual-channel voltage sampling circuit is composed of two potential sampling circuits of the same structure and a freewheeling diode D9, the potential sampling circuit includes a motor positive pole potential sampling circuit and a motor negative pole potential sampling circuit, which respectively collect the potentials at both ends of the motor; wherein the freewheeling diode D9 is connected to the positive and negative ends of the motor; the motor positive pole potential sampling circuit includes a voltage dividing resistor R6, a voltage dividing resistor R10 and a filter capacitor C11; the voltage dividing resistor R6 is connected between the sampling output and the positive pole of the motor, and the voltage dividing resistor R10 and the filter capacitor C11 are connected between the sampling output and the ground; the motor negative pole potential sampling circuit includes a voltage dividing resistor R7, a voltage dividing resistor R11 and a filter capacitor C5; the voltage dividing resistor R7 is connected between the sampling output and the positive pole of the motor, and the voltage dividing resistor R11 and the filter capacitor C5 are connected between the sampling output and the ground.
[0009] Preferably, the dual current sampling circuit includes two current sampling circuits and a sampling resistor R4, wherein one current sampling circuit includes a current limiting resistor R8 and a filter capacitor C4, and the other current sampling circuit includes a current limiting resistor R33 and a filter capacitor C14; the sampling resistor R4 is connected between the output cathode of the rectifier circuit I and the ground, the current limiting resistor R8 is connected between the sampling output and the output cathode of the rectifier circuit I, and the filter capacitor C4 is connected between the sampling output and the ground; the current limiting resistor R33 is connected between the sampling output and the output cathode of the rectifier circuit I, and the filter capacitor C14 is connected between the sampling output and the ground.
[0010] Preferably, the drive feedback circuit includes a proportional amplifier circuit, a differential proportional amplifier circuit I, a differential proportional amplifier circuit II, and a comparator; the proportional amplifier circuit includes an operational amplifier U6B, a feedback resistor R22, voltage-dividing resistors R35 and R34, and a filter capacitor C16, which are used to amplify the sampling current; the differential proportional amplifier circuit I includes an operational amplifier U5B, voltage-dividing resistors R23 and R19, a resistor R18, and a feedback resistor R24; the differential proportional amplifier circuit II includes voltage-dividing resistors R31 and R36, a resistor R20, and a feedback resistor R32; the sampling signal is processed by the proportional amplifier circuit, the differential proportional amplifier circuit I, and the differential proportional amplifier circuit II, and then input to the positive input end of the comparator U5A, and the upper control display board MCU interface I / O1 outputs a PWM pulse, which is isolated by an optical coupler and filtered by the filter capacitor C13 and then input to the inverting input end of the comparator U5A; when adjusting the speed, the upper control display board MCU adjusts the duty cycle of the PWM pulse output by I / O1 to adjust the comparator output feedback signal.
[0011] Preferably, the driving circuit includes a current limiting resistor R27, a filter capacitor C23, a diode D18, a filter capacitor C24, a pull-down resistor R30, a resistor R26, a current limiting resistor R25, a unidirectional diode D17, a PWM controller chip U7, a capacitor C22, a resistor R29, a filter capacitor C20, a filter capacitor C18, a current limiting resistor R9, a voltage regulator diode D10, a pull-down resistor R5 and a switch tube Q1; the resistor R29 and the capacitor C22 are the timing resistor and capacitor of the RT / CT wave oscillator; the PWM controller chip U7 adjusts the output PWM pulse duty cycle according to the input feedback signal, controls the on and off frequencies of the switch tube Q1, thereby achieving the purpose of controlling the motor speed.
[0012] Preferably, the overcurrent protection circuit includes a voltage-dividing resistor R40, a voltage-dividing resistor R42, a filter capacitor C21, a pull-up resistor R39, a current-limiting resistor R37, an optocoupler U9, a pull-down resistor R38, a filter capacitor C27, and a comparator U10; the voltage-dividing resistor R40 and the voltage-dividing resistor R42 are used to set the overcurrent threshold, and the overcurrent protection threshold can be changed by changing the resistance values of the resistors R40 and R42 according to different customer needs; when the motor works normally, the comparator U10B outputs a high level, the pull-up resistor R39 stabilizes the output potential of the comparator U10 at 15V, the optocoupler U9 is turned on, and I / O2 is at a high level; when the motor working current exceeds the set threshold, the comparator U10 outputs a low level, the optocoupler U9 is turned off, and I / O2 remains at a low level under the action of the pull-down resistor R38.
[0013] Preferably, the rectifier circuit II comprises a diode D5, a diode D6, a diode D7, a diode D8, and a filter capacitor C2; the alternating current is output as a DC power supply after passing through a bridge rectifier circuit composed of diodes D5, D6, D7, and D8, and is filtered by the filter capacitor C2 to output a constant DC power supply;
[0014] The switching power supply circuit includes a high-frequency transformer T1, an anti-surge circuit, a power chip, a diode D11, a filter capacitor C6, a current-limiting resistor R13, and a power feedback circuit; wherein the anti-surge circuit is composed of a diode D12, a capacitor C7, and a resistor R14; the output voltage of the high-frequency transformer T1 is input into the power chip through the diode D11, the filter capacitor C6, and the current-limiting resistor R13 to supply power to the power chip; the power feedback circuit includes a resistor R12, a filter capacitor C3, an optical coupler U3, voltage-dividing resistors R15 and R16, and a voltage-stabilizing diode D15;
[0015] The voltage stabilizing circuit I includes a diode D13, a filter capacitor C8, a filter capacitor C10, a voltage stabilizing chip U4, a filter capacitor C15, and a filter capacitor C17; the voltage stabilizing circuit I outputs a 15V DC power supply to power the motor control circuit; the voltage stabilizing circuit II includes a diode D14, a filter capacitor C9, a filter capacitor C26, a voltage stabilizing chip U8, and a filter capacitor C25; the voltage stabilizing circuit II outputs a 5V DC power supply to power the upper control display board MCU.
[0016] The beneficial effects of the present invention are as follows: (1) the present invention saves costs and simplifies the control method; (2) the present invention adds a motor current signal to the feedback of the motor drive circuit. When the motor speed is not smooth and the working current is unstable due to external interference, the drive circuit can adjust the output PWM pulse duty cycle according to the feedback signal, regulate the motor running speed, and increase the normal working anti-interference ability of the motor; (3) the present invention has strong compatibility and is not only suitable for the control board of the low-speed rehabilitation machine, but also suitable for various small and medium power DC motor control, and is easy to use and can meet the needs of different customers; (4) the present invention is conducive to mass production. Since the control board does not have a single-chip microcomputer, there is no need to develop software for different customers. It can be used directly. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 It is a schematic diagram of the structure of the present invention;
[0018] Figure 2 It is a schematic diagram of a rectifier circuit I of the present invention;
[0019] Figure 3 is a schematic diagram of a switch circuit of the present invention;
[0020] Figure 4It is a schematic diagram of a dual-channel voltage sampling circuit of the present invention;
[0021] Figure 5 It is a schematic diagram of a dual-channel current sampling circuit of the present invention;
[0022] Figure 6 is a schematic diagram of a driving feedback circuit of the present invention;
[0023] Figure 7 is a schematic diagram of a driving circuit of the present invention;
[0024] Figure 8 is a schematic diagram of an overcurrent protection circuit of the present invention;
[0025] Fig. 9 It is a schematic diagram of a power supply circuit of the present invention. DETAILED DESCRIPTION
[0026] The present invention is further described below in conjunction with specific embodiments, but the protection scope of the present invention is not limited thereto:
[0027] Embodiment: A lower control controller of a rehabilitation machine is composed of a power supply circuit and a motor control circuit, and the power supply circuit is used to provide power. Figure 1 As shown, the motor control circuit includes a rectifier circuit I, a switch circuit, a dual-channel voltage sampling circuit, a dual-channel current sampling circuit, a drive circuit, a drive feedback circuit, and an overcurrent protection circuit; the positive pole of the rectifier circuit I output is connected to the switch circuit, and the switch circuit is respectively connected to the positive pole of the motor of the rehabilitation machine and the upper control display board MCU; the upper control display board MCU controls the motor power on and off, which can achieve effective braking of the motor in the event of a fault; both ends of the motor are connected to the dual-channel voltage sampling circuit, and the negative pole of the motor is connected to the drive circuit; the drive circuit is connected to the current sampling circuit and then grounded; the dual-channel voltage sampling circuit and the dual-channel current sampling circuit are respectively connected to the drive feedback circuit, and after being processed by the drive feedback circuit, they are compared with the PWM speed regulation signal output by the upper control display board MCU, and the input drive circuit realizes speed regulation of the motor; the dual-channel current sampling circuit is connected to the overcurrent protection circuit; after the drive feedback circuit sets a threshold for comparison, the output signal is fed back to the upper control display board MCU. The power supply circuit includes a rectifier circuit II, a switching power supply circuit, a voltage stabilizing circuit I, and a voltage stabilizing circuit II; the rectifier circuit II is connected to the switching circuit; the output of the switching power supply circuit is connected to two voltage stabilizing circuits, namely, the voltage stabilizing circuit I and the voltage stabilizing circuit II; the voltage stabilizing circuit I outputs a 15V power supply, which is used to power the motor control circuit, specifically the switching circuit, the drive feedback circuit, the drive circuit, and the overcurrent protection circuit in the motor control circuit; the voltage stabilizing circuit II outputs a 5V power supply, which is used to power the upper control display panel.
[0028] like Figure 2As shown, the rectifier circuit I includes a fuse F1, a varistor TZR1, a bridge rectifier circuit, and a filter capacitor C1; wherein the bridge rectifier circuit is composed of a diode D1, a diode D2, a diode D3, and a diode D4, and the diode D1, the diode D2, the diode D3, and the diode D4 are connected end to end to form a rectifier bridge; one side N1 of the alternating current is connected to the varistor TZR1 through the fuse F1, and is connected to the anode of the diode D2, and the other side L1 of the alternating current is connected to the other side of the varistor TZR1, and is connected to the cathode of the diode D3; the positive electrode of the filter capacitor C1 is connected to the cathode of the diode D2, which is the output positive electrode of the rectifier circuit I; the negative electrode of the filter capacitor C1 is connected to the anode of the diode D3, which is the output negative electrode of the rectifier circuit I.
[0029] like Figure 3 As shown, the switch circuit includes a current limiting resistor R43, an optocoupler U11, a diode D19, a relay K1, a resistor R41, and a CBB capacitor CB1. R43 is connected to the cathode of the internal light-emitting diode of the upper control display board MCU and the input end of the optocoupler U11, the anode of the internal light-emitting diode is connected to a 5V power supply, the output end of the optocoupler U11 (internal triode or thyristor emitter) is grounded, the other end of the output end of the optocoupler U11 is connected to the control input end of the relay K1, the other end of the input end of the relay K1 is connected to 15V, and the freewheeling diode D19 is connected to both ends of the relay K1. The resistor R41 and the CBB capacitor CB1 are connected in series to both ends of the relay. One end of the output end of the relay K1 is connected to the positive pole of the power supply at the output end of the rectifier circuit, and the other end is connected to the positive pole of the motor.
[0030] like Figure 4 As shown, the dual-channel voltage sampling circuit is composed of two potential sampling circuits with the same structure and a freewheeling diode D9. The potential sampling circuit includes a motor positive pole potential sampling circuit and a motor negative pole potential sampling circuit, which respectively collect the potentials at both ends of the motor; wherein the freewheeling diode D9 is connected to the positive and negative ends of the motor; the motor positive pole potential sampling circuit includes a voltage dividing resistor R6, a voltage dividing resistor R10 and a filter capacitor C11; the voltage dividing resistor R6 is connected between the sampling output and the positive pole of the motor, and the voltage dividing resistor R10 and the filter capacitor C11 are connected between the sampling output and the ground; the motor negative pole potential sampling circuit includes a voltage dividing resistor R7, a voltage dividing resistor R11 and a filter capacitor C5; the voltage dividing resistor R7 is connected between the sampling output and the positive pole of the motor, and the voltage dividing resistor R11 and the filter capacitor C5 are connected between the sampling output and the ground.
[0031] like Figure 5As shown, the dual current sampling circuit includes two current sampling circuits and a sampling resistor R4, wherein one current sampling circuit includes a current limiting resistor R8 and a filter capacitor C4, and the other current sampling circuit includes a current limiting resistor R33 and a filter capacitor C14; the sampling resistor R4 is connected between the output cathode of the rectifier circuit I and the ground, the current limiting resistor R8 is connected between the sampling output and the output cathode of the rectifier circuit I, and the filter capacitor C4 is connected between the sampling output and the ground; the current limiting resistor R33 is connected between the sampling output and the output cathode of the rectifier circuit I, and the filter capacitor C14 is connected between the sampling output and the ground.
[0032] like Figure 6 As shown, the driving feedback circuit includes a proportional amplifier circuit, a differential proportional operational amplifier circuit I, a differential proportional operational amplifier circuit II, and a comparator; the proportional amplifier circuit includes an operational amplifier U6B, a feedback resistor R22, voltage-dividing resistors R35 and R34, and a filter capacitor C16, which are used to amplify the sampling current; the differential proportional operational amplifier circuit I includes an operational amplifier U5B, voltage-dividing resistors R23 and R19, a resistor R18, and a feedback resistor R24; the differential proportional operational amplifier circuit II includes voltage-dividing resistors R31 and R36, a resistor R20, and a feedback resistor R32; the sampling signal is processed by the proportional amplifier circuit, the differential proportional operational amplifier circuit I, and the differential proportional operational amplifier circuit II, and then input to the positive input end of the comparator U5A, and the upper control display board MCU interface I / O1 outputs a PWM pulse, which is isolated by an optical coupler and filtered by the filter capacitor C13 and then input to the inverting input end of the comparator U5A; when adjusting the speed, the upper control display board MCU adjusts the duty cycle of the PWM pulse output by I / O1 to adjust the comparator output feedback signal.
[0033] like Figure 7 As shown, the driving circuit includes a current limiting resistor R27, a filter capacitor C23, a diode D18, a filter capacitor C24, a pull-down resistor R30, a resistor R26, a current limiting resistor R25, a unidirectional diode D17, a PWM controller chip U7, a capacitor C22, a resistor R29, a filter capacitor C20, a filter capacitor C18, a current limiting resistor R9, a voltage stabilizing diode D10, a pull-down resistor R5 and a switch tube Q1; the resistor R29 and the capacitor C22 are the timing resistor and capacitor of the RT / CT wave oscillator; according to the formula RT>5KΩ, the switching frequency f≈1.8 / (RT*CT)=18KHZ. The PWM controller chip U7 adjusts the PWM pulse duty cycle outputted from the 6th pin according to the input feedback signal. The conduction and cut-off frequencies of the switch tube Q1 are controlled to achieve the purpose of controlling the motor speed.
[0034] like Figure 8As shown, the overcurrent protection circuit includes voltage-dividing resistors R40 and R42, filter capacitor C21, pull-up resistor R39, current-limiting resistor R37, optocoupler U9, pull-down resistor R38, filter capacitor C27, and comparator U10; the voltage-dividing resistors R40 and R42 are used to set the overcurrent threshold, and the overcurrent protection threshold can be changed by changing the resistance values of resistors R40 and R42 according to different customer needs. When the motor is working normally, the comparator U10 outputs a high level, the pull-up resistor R39 stabilizes the output potential of the comparator U10 at 15V, the optocoupler U9 is turned on, and I / O2 is a high level. When the working current of the motor exceeds the set threshold, the comparator U10 outputs a low level, the optocoupler U9 is turned off, and I / O2 remains at a low level under the action of the pull-down resistor R38. Therefore, the upper control display board MCU can judge whether the motor is working normally according to the level at the I / O port, and cut off the motor power supply in time in the event of a fault.
[0035] like Fig. 9As shown, the power supply circuit is composed of a rectifier circuit II, a switching power supply circuit, a voltage stabilizing circuit I, and a voltage stabilizing circuit II. Among them, the rectifier circuit II includes a diode D5, a diode D6, a diode D7, a diode D8, and a filter capacitor C2; the AC power outputs a DC power supply after passing through a bridge rectifier circuit composed of diodes D5, D6, D7, and D8, and outputs a constant DC power supply after filtering by the filter capacitor C2. The switching power supply circuit includes a high-frequency transformer T1, an anti-surge circuit, a power chip, a diode D11, a filter capacitor C6, a current limiting resistor R13, and a power supply feedback circuit; among them, the anti-surge circuit is composed of a diode D12, a capacitor C7, and a resistor R14; When the switching power supply chip is in working state and its internal field effect tube is cut off, a voltage greater than 300V will be generated in the primary NP coil of the high-frequency transformer T1. The anti-surge circuit can make the voltage of the primary NP coil of the high-frequency transformer T1 have a release loop to avoid breaking down the field effect tube inside the chip. The primary NF coil of the high-frequency transformer T1 generates a 12V voltage, which is connected to the power chip after passing through the diode D11, the filter capacitor C6, and the current-limiting resistor R13 to supply power to the power chip. The power feedback circuit includes a resistor R12, a filter capacitor C3, an optical coupler U3, voltage-dividing resistors R15 and R16, and a voltage-stabilizing diode D15. When the secondary output voltage of the high-frequency transformer T1 increases or decreases, the voltage drop across the voltage-dividing resistor R15 changes, and is fed back to the power chip by the optical coupler. The power chip adjusts the switching frequency through the feedback signal to adjust the primary NP coil voltage; since the primary and secondary voltages of the voltage regulator are proportional, the purpose of stabilizing the power output is achieved. The voltage-stabilizing circuit I includes a diode D13, a filter capacitor C8, a filter capacitor C10, a voltage-stabilizing chip U4, a filter capacitor C15, and a filter capacitor C17. The voltage-stabilizing circuit I outputs a 15V DC power supply to supply power to the motor control circuit. The voltage-stabilizing circuit II includes a diode D14, a filter capacitor C9, a filter capacitor C26, a voltage-stabilizing chip U8, and a filter capacitor C25. The voltage regulator circuit II outputs a 5V DC power supply to power the upper control display panel.
[0036] When the present invention is used, the alternating current passes through the bridge rectifier circuit II and is filtered by the filter capacitor C2 before outputting direct current. The output of the rectifier circuit II passes through the switch power supply circuit and then through two voltage stabilizing circuits to output direct current power supplies of 15V and 5V. 15V is used to power the control board, and 5V is used to power the upper control display board MCU. The two power supplies are separated to avoid mutual interference.
[0037] After the AC passes through the bridge rectifier circuit I, it is filtered by the filter capacitor C1 and then outputs DC. The positive pole of the output power supply is connected to the switch circuit, and the switch circuit is connected to the upper control display board MCU. When the circuit power supply is normal, the upper control display board MCU pulls down the level of I / O port I / O3. The switch circuit optocoupler U11 is turned on, the primary side of relay K1 forms a loop, relay K1 is energized, and the positive pole of the output end of the rectifier circuit I is connected to the motor.
[0038] When the upper control display board issues a start-up command, the duty cycle of the output pulse of I / O port I / O1 changes, and after optical coupling isolation, the PWM pulse is output, and then filtered into DC by filter capacitor C13, and input into the inverting input end of comparator U5A. After being compared with the processed sampling signal, the output level of the output end enters the feedback pin of the driver chip. The driver chip adjusts the output pulse duty cycle according to the feedback pin signal, and controls the motor to run the motor by controlling the switch tube.
[0039] After the motor is running, one current sampling signal is processed and amplified by the proportional amplifier circuit composed of the operational amplifier chip U6B and its peripheral circuits. It enters the inverting input end of the differential proportional operational amplifier circuit composed of the operational amplifier chip U6A and its peripheral circuits. The two voltage sampling signals are processed by the differential proportional operational amplifier circuit composed of the operational amplifier chip U5B and its peripheral circuits, and the electromotive force sampling values at both ends of the motor are output, and then input into the positive input end of the differential proportional operational amplifier circuit composed of the operational amplifier chip U6A and its peripheral circuits. The output signal of the operational amplifier chip U6A is input into the positive input end of the comparator U5A. When the upper control performs speed adjustment, the upper control display board I / O port I / O1 changes the output pulse duty cycle according to the setting, and the driver chip adjusts the switching frequency of the switch tube by adjusting the output pulse duty cycle according to the feedback pin signal, and the motor speed changes. At the same time, the sampling signal changes, which causes the feedback pin input signal of the driver chip to change. In the gradual feedback process, the motor speed tends to be stable and the speed regulation is completed.
[0040] When the motor is working normally, the overcurrent protection circuit inputs a high level to the I / O port I / O2. When the motor current exceeds the set threshold due to overload or short circuit of the rehabilitation machine, the overcurrent protection circuit comparator chip U10 outputs a low level. The upper control display board MCU sets the switch circuit I / O3 level high, the optocoupler U11 is turned off, the relay K1 is disconnected, and the motor is powered off and shut down.
[0041] The above description is a specific embodiment of the present invention and the technical principles used. If the changes made according to the concept of the present invention do not exceed the spirit covered by the description and drawings, they should still fall within the scope of protection of the present invention.
Claims
1. A lower control controller of a rehabilitation machine, characterized in that: It includes a power supply circuit and a motor control circuit; the power supply circuit is used to provide power; the motor control circuit includes a rectifier circuit I, a switch circuit, a dual-channel voltage sampling circuit, a dual-channel current sampling circuit, a drive circuit, a drive feedback circuit, and an overcurrent protection circuit; the positive pole of the rectifier circuit I output is connected to the switch circuit, and the switch circuit is respectively connected to the positive pole of the motor of the rehabilitation machine and the upper control display board MCU; the upper control display board MCU controls the motor power on and off, and effective braking of the motor can be achieved in the event of a fault; both ends of the motor are connected to the dual-channel voltage sampling circuit, and the negative pole of the motor is connected to the drive circuit; the drive circuit is connected to the current sampling circuit and then grounded; the dual-channel voltage sampling circuit and the dual-channel current sampling circuit are respectively connected to the drive feedback circuit, and after being processed by the drive feedback circuit, they are compared with the PWM speed regulation signal output by the upper control display board MCU, and the input drive circuit realizes speed regulation of the motor; the dual-channel current sampling circuit is connected to the overcurrent protection circuit; after the drive feedback circuit sets a threshold for comparison, the output signal is fed back to the upper control display board MCU; The power supply circuit includes a rectifier circuit II, a switching power supply circuit, a voltage stabilizing circuit I, and a voltage stabilizing circuit II; the rectifier circuit II is connected to the switching circuit; the output of the switching power supply circuit is connected to two voltage stabilizing circuits, namely, the voltage stabilizing circuit I and the voltage stabilizing circuit II; the voltage stabilizing circuit I outputs a 15V power supply for powering the motor control circuit, and the voltage stabilizing circuit II outputs a 5V power supply for powering the upper control display panel; The driving feedback circuit includes a proportional amplifier circuit, a differential proportional amplifier circuit I, a differential proportional amplifier circuit II, and a comparator; the proportional amplifier circuit includes an operational amplifier U6B, a feedback resistor R22, voltage-dividing resistors R35 and R34, and a filter capacitor C16, which are used to amplify the sampling current; the differential proportional amplifier circuit I includes an operational amplifier U5B, voltage-dividing resistors R23 and R19, a resistor R18, and a feedback resistor R24; the differential proportional amplifier circuit II includes voltage-dividing resistors R31 and R36, a resistor R20, and a feedback resistor R32; the sampling signal is processed by the proportional amplifier circuit, the differential proportional amplifier circuit I, and the differential proportional amplifier circuit II, and then input into the positive input end of the comparator U5A, and the upper control display board MCU interface I / O1 outputs a PWM pulse, which is isolated by an optical coupler and filtered by the filter capacitor C13 and then input into the inverting input end of the comparator U5A; when adjusting the speed, the upper control display board MCU adjusts the duty cycle of the PWM pulse output by I / O1 to adjust the comparator output feedback signal; The driving circuit includes a current limiting resistor R27, a filter capacitor C23, a diode D18, a filter capacitor C24, a pull-down resistor R30, a resistor R26, a current limiting resistor R25, a unidirectional diode D17, a PWM controller chip U7, a capacitor C22, a resistor R29, a filter capacitor C20, a filter capacitor C18, a current limiting resistor R9, a voltage regulator diode D10, a pull-down resistor R5 and a switch tube Q1; the resistor R29 and the capacitor C22 are the timing resistor and capacitor of the RT / CT wave oscillator; the PWM controller chip U7 adjusts the output PWM pulse duty cycle according to the input feedback signal, controls the on and off frequencies of the switch tube Q1, thereby achieving the purpose of controlling the motor speed; The rectifier circuit II includes a diode D5, a diode D6, a diode D7, a diode D8, and a filter capacitor C2; the alternating current outputs a direct current power supply after passing through a bridge rectifier circuit composed of diodes D5, D6, D7, and D8, and outputs a constant direct current power supply after being filtered by the filter capacitor C2; The switching power supply circuit includes a high-frequency transformer T1, an anti-surge circuit, a power chip, a diode D11, a filter capacitor C6, a current-limiting resistor R13, and a power feedback circuit; wherein the anti-surge circuit is composed of a diode D12, a capacitor C7, and a resistor R14; the output voltage of the high-frequency transformer T1 is input into the power chip through the diode D11, the filter capacitor C6, and the current-limiting resistor R13 to supply power to the power chip; the power feedback circuit includes a resistor R12, a filter capacitor C3, an optical coupler U3, voltage-dividing resistors R15 and R16, and a voltage-stabilizing diode D15; The voltage stabilizing circuit I includes a diode D13, a filter capacitor C8, a filter capacitor C10, a voltage stabilizing chip U4, a filter capacitor C15, and a filter capacitor C17; the voltage stabilizing circuit I outputs a 15V DC power supply to power the motor control circuit; the voltage stabilizing circuit II includes a diode D14, a filter capacitor C9, a filter capacitor C26, a voltage stabilizing chip U8, and a filter capacitor C25; the voltage stabilizing circuit II outputs a 5V DC power supply to power the upper control display panel.
2. The lower control device of a rehabilitation machine according to claim 1, characterized in that: The rectifier circuit I includes a fuse F1, a varistor TZR1, a bridge rectifier circuit, and a filter capacitor C1; wherein the bridge rectifier circuit is composed of a diode D1, a diode D2, a diode D3, and a diode D4, and the diode D1, the diode D2, the diode D3, and the diode D4 are connected end to end to form a rectifier bridge; one side N1 of the alternating current is connected to the varistor TZR1 through the fuse F1, and is connected to the anode of the diode D2, and the other side L1 of the alternating current is connected to the other side of the varistor TZR1, and is connected to the cathode of the diode D3; the positive electrode of the filter capacitor C1 is connected to the cathode of the diode D2, which is the output positive electrode of the rectifier circuit I; the negative electrode of the filter capacitor C1 is connected to the anode of the diode D3, which is the output negative electrode of the rectifier circuit I.
3. The lower control device of a rehabilitation machine according to claim 1, characterized in that: The switching circuit includes a current limiting resistor R43, an optocoupler U11, a diode D19, a relay K1, a resistor R41, and a CBB capacitor CB1; R43 is respectively connected to the upper control display board MCU and the internal light-emitting diode cathode of the input end of the optocoupler U11, the internal light-emitting diode anode is connected to a 5V power supply, one end of the output end of the optocoupler U11 is grounded, and the other end is connected to the control input end of the relay K1; the other end of the input end of the relay K1 is connected to 15V, and the freewheeling diode D19 is connected to both ends of the relay K1; the resistor R41 and the CBB capacitor CB1 are connected in series to both ends of the relay; one end of the output end of the relay K1 is connected to the output positive pole of the rectifier circuit I, and the other end of the output end of the relay K1 is connected to the positive pole of the motor.
4. The lower control device of a rehabilitation machine according to claim 1, characterized in that: The dual-channel voltage sampling circuit is composed of two potential sampling circuits of the same structure and a freewheeling diode D9. The potential sampling circuit includes a motor positive pole potential sampling circuit and a motor negative pole potential sampling circuit, which respectively collect the potentials at both ends of the motor; wherein the freewheeling diode D9 is connected to the positive and negative ends of the motor; the motor positive pole potential sampling circuit includes a voltage dividing resistor R6, a voltage dividing resistor R10 and a filter capacitor C11; the voltage dividing resistor R6 is connected between the sampling output and the positive pole of the motor, and the voltage dividing resistor R10 and the filter capacitor C11 are connected between the sampling output and the ground; the motor negative pole potential sampling circuit includes a voltage dividing resistor R7, a voltage dividing resistor R11 and a filter capacitor C5; the voltage dividing resistor R7 is connected between the sampling output and the positive pole of the motor, and the voltage dividing resistor R11 and the filter capacitor C5 are connected between the sampling output and the ground.
5. The lower control device of a rehabilitation machine according to claim 1, characterized in that: The dual-channel current sampling circuit includes two current sampling circuits and a sampling resistor R4, wherein one current sampling circuit includes a current limiting resistor R8 and a filter capacitor C4, and the other current sampling circuit includes a current limiting resistor R33 and a filter capacitor C14; the sampling resistor R4 is connected between the output cathode of the rectifier circuit I and the ground, the current limiting resistor R8 is connected between the sampling output and the output cathode of the rectifier circuit I, and the filter capacitor C4 is connected between the sampling output and the ground; the current limiting resistor R33 is connected between the sampling output and the output cathode of the rectifier circuit I, and the filter capacitor C14 is connected between the sampling output and the ground.
6. The lower control device of a rehabilitation machine according to claim 1, characterized in that: The overcurrent protection circuit includes a voltage-dividing resistor R40, a voltage-dividing resistor R42, a filter capacitor C21, a pull-up resistor R39, a current-limiting resistor R37, an optocoupler U9, a pull-down resistor R38, a filter capacitor C27, and a comparator U10; the voltage-dividing resistor R40 and the voltage-dividing resistor R42 are used to set the overcurrent threshold, and the overcurrent protection threshold can be changed by changing the resistance values of the resistor R40 and the resistor R42 according to different customer needs; when the motor is working normally, the comparator U10 outputs a high level, the pull-up resistor R39 stabilizes the output potential of the comparator U10 at 15V, the optocoupler U9 is turned on, and I / O2 is at a high level; when the motor working current exceeds the set threshold, the comparator U10 outputs a low level, the optocoupler U9 is turned off, and I / O2 remains at a low level under the action of the pull-down resistor R38.
