High-frequency rectification type electrical stimulation circuit based on integrated comparator and stimulator

By using integrated comparators and high-frequency square wave excitation in the neuromuscular electrical stimulation system, combined with rectification filtering and constant current control, the problems of complex electrical stimulation signal control and large isolation transformers are solved, achieving precise control and cost reduction. Effect.

CN118750765APending Publication Date: 2024-10-11ANYANG XIANGYU MEDICAL EQUIP
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202410764677.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-14
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

In existing neuromuscular electrical stimulation systems, the electrical stimulation signal control is complex and requires a large isolation transformer, which results in a large circuit board footprint, high cost, and low response speed.

Method used

Design a high-frequency rectifier electrical stimulation circuit based on integrated comparators, using four-way comparators and high-frequency square waves to excite the primary side of the isolation transformer, combined with rectification filtering and constant current control circuits, to achieve constant current bidirectional square wave output, reducing Operational amplifier usage and isolation transformer size.

Benefits of technology

It achieves precise control of electrical stimulation intensity, reduces production costs and circuit board space occupation, improves response speed, and reduces the size of the isolation transformer through high-frequency excitation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118750765A_ABST
    Figure CN118750765A_ABST
Patent Text Reader

Abstract

The invention discloses a high-frequency rectification type electrical stimulation circuit based on an integrated comparator and a stimulator, the stimulation circuit adopts a four-way integrated comparator as an operational amplifier, and the four-way integrated comparator is matched with a peripheral compensation capacitor and a pull-up resistor to realize constant current control and pulse control and output constant current bidirectional square waves, so that the use of an additional operational amplifier is avoided; the performance requirement is met, meanwhile, the production cost and the circuit board layout space are reduced, the mode of exciting the primary side of the isolation transformer through high-frequency square waves is utilized, the excitation inductance of the primary side of the isolation transformer is reduced, and the size of the isolation transformer is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of integrated circuits, and relates to a neuromuscular electrical stimulation circuit, and in particular to a high-frequency rectification type electrical stimulation circuit and a stimulator based on an integrated comparator. Background Art

[0002] In the neuromuscular electrical stimulation system, the electrical stimulation of human muscles requires precise control of the output stimulation current level. In the mainstream solutions on the market, a multi-way switch (MOSFET or BJT) is used to control the timing, which requires the introduction of more MOS drive circuits. In addition, the muscle electrical stimulation circuit requires a constant current circuit to accurately control the intensity of electrical stimulation, which requires the introduction of a separate operational amplifier. The operational amplifier includes a phase compensation circuit, which increases the cost and space of the circuit board. In addition, the typical operational amplifier also includes an output emitter follower circuit, which has a low response speed.

[0003] In addition, most electrical stimulation signals require low-frequency (as low as 100 Hz) stimulation signals, which often require a relatively large isolation transformer (higher primary excitation inductance) to implement. The transformer is bulky and is not conducive to the promotion and application of handheld or household devices. Summary of the invention

[0004] In view of the above problems, the main purpose of the present invention is to design a high-frequency rectification type electrical stimulation circuit and stimulator based on an integrated comparator. By integrating the setting of four-way comparators and combining the method of high-frequency square wave excitation of the primary side of the isolation transformer, the technical problems of large space occupied by circuit board layout and large size of the isolation transformer are solved.

[0005] In order to achieve the above purpose, the present invention adopts the following technical solutions: A high-frequency rectifier-type electrical stimulation circuit based on an integrated comparator, the electrical stimulation circuit comprising an isolation transformer, a rectifier filter circuit connected to the secondary side of the isolation transformer for outputting a DC signal, and a constant current pulse control circuit connected to the primary side of the isolation transformer for generating a high-frequency pulse; Wherein, the constant current pulse control circuit includes a power enable circuit, a high-frequency push-pull circuit, and a constant current control circuit formed by an integrated four-way comparator; the high-frequency push-pull circuit is respectively connected to the constant current control circuit and the primary side of the isolation transformer, and the primary side tap of the isolation transformer is connected to the power enable circuit; The integrated four-way comparators respectively include a U3A comparator arranged in a power enabling circuit, a U3B comparator and a U3C comparator arranged in a high-frequency push-pull circuit, and a U3D comparator arranged in a constant current control circuit.

[0006] As a further description of the present invention, the power enabling circuit includes a fourth resistor, a fifth resistor, an eighth resistor, a tenth resistor, a twelfth resistor, a thirteenth resistor, a U2B field effect transistor and a U3A comparator; Among them, the non-inverting input terminal of the U3A comparator receives the chopping signals +W and -W output by the MCU through the tenth resistor and the twelfth resistor; the power pin of the U3A comparator is connected to a 12V voltage source, and the positive electrode of the 12V voltage source connected to the power pin of the U3A comparator is connected in series with the fifth resistor and the fourth resistor to the ground respectively; the inverting input terminal of the U3A comparator is connected between the fourth resistor and the fifth resistor; The output end of the U3A comparator is connected to the positive electrode of the 12V voltage source of the U3A comparator power pin through the eighth resistor; the output end of the U3A comparator also includes a gate electrode connected to the U2B field effect tube through the thirteenth resistor, and the eighth resistor is located in front of the thirteenth resistor; the source electrode of the U2B field effect tube is connected to the middle tap of the primary main winding of the isolation transformer, and the drain electrode of the U2B field effect tube is connected to the 12V voltage source; The power supply pin of the U3A comparator is also connected to a negative voltage and is grounded through a twelfth capacitor.

[0007] As a further description of the present invention, the high-frequency push-pull circuit includes a sixteenth resistor, a seventeenth resistor, an eighteenth resistor, a twenty-fourth resistor, a twenty-sixth resistor, a twenty-ninth resistor, a U2A field effect transistor, a U7B field effect transistor, and a U3B comparator and a U3C comparator; The in-phase input terminal of the U3B comparator receives the PWM_P chopping signal of the MCU through the seventeenth resistor, and the in-phase input terminal of the U3C comparator receives the PWM_N chopping signal of the MCU through the twenty-sixth resistor; the inverting input terminal of the U3B comparator and the inverting input terminal of the U3C comparator are connected between the fourth resistor and the fifth resistor; The output end of the U3B comparator is connected to the 12V voltage source through a sixteenth resistor, and is also connected to the gate of the U2A field effect tube through an eighteenth resistor, and the sixteenth resistor is located in front of the eighteenth resistor; the output end of the U3C comparator is connected to the 12V voltage source through a twenty-fourth resistor, and the output end of the U3C comparator is also connected to the gate of the U7B field effect tube through a twenty-ninth resistor, and the twenty-fourth resistor is located in front of the twenty-ninth resistor; The drain of the U2A field effect tube and the drain of the U7B field effect tube are respectively connected to the two ends of the primary main winding of the isolation transformer, and the source of the U2A field effect tube and the source of the U7B field effect tube are connected to the constant current control circuit.

[0008] As a further description of the present invention, the constant current control circuit includes a thirty-first resistor, a thirty-fourth resistor, a thirty-sixth resistor, a thirty-eighth resistor, a twenty-third capacitor, a twenty-fifth capacitor, a U7A field effect transistor and a U3D comparator; The output end of the U3D comparator is connected to a 12V voltage source through a thirty-first resistor, the output end of the U3D comparator is also connected to an inverting input end of the U3D comparator through a twenty-third capacitor, and the output end of the U3D comparator is also connected to the gate of the U7A field effect tube through a thirty-fourth resistor; The drain of the U7A field effect tube is connected to the source of the U2A field effect tube and the source of the U7B field effect tube respectively; the source of the U7A field effect tube is connected to the inverting input terminal of the U3D comparator through a thirty-sixth resistor; the source of the U7A field effect tube is also connected to ground through a thirty-eighth resistor; The twenty-fifth capacitor is respectively connected to the inverting input terminal of the U3D comparator, and between the thirty-eighth resistor and the ground.

[0009] As a further description of the present invention, the electrical stimulation circuit also includes a stimulation intensity control terminal connected to the non-inverting input terminal of the U3D comparator; The stimulation intensity control terminal includes an analog switch, a thirty-second resistor, a forty-first resistor, a forty-second resistor, a first potentiometer, and a twenty-eighth capacitor; Wherein, the analog switch includes six pins, the digital control pin of pin 1 is connected to the power enable circuit for switching the normally open and normally closed contacts of the analog switch, the power pin of pin 2 is connected to the 12V voltage source and grounded through the 28th capacitor, the ground pin of pin 3 is connected between the 28th capacitor and the ground, the normally closed pin of pin 4 is grounded through the 41st resistor, the common pin of pin 5 is connected to the non-inverting input terminal of the U3D comparator through the 32nd resistor, and the normally open pin of pin 6 receives the DAC1 signal output by the MCU; One end of the first potentiometer is grounded, and the other end is connected between the thirty-second resistor and the non-inverting input terminal of the U3D comparator.

[0010] As a further description of the present invention, pin 1 of the analog switch is connected between the eighth resistor and the thirteenth resistor of the power enabling circuit.

[0011] As a further description of the present invention, the rectifier and filter circuit includes a second rectifier diode, a third rectifier diode, a fourth rectifier diode, a fifth rectifier diode, a twenty-fifth resistor, a thirty-third resistor, a sixteenth capacitor, a seventeenth capacitor, and an eighteenth capacitor; Among them, the middle tap of the secondary side of the isolation transformer is connected to the reference ground FC1; the second rectifier diode, the third rectifier diode and the fourth rectifier diode and the fifth rectifier diode are connected in parallel; the two ends of the secondary winding of the isolation transformer are respectively connected between the second rectifier diode and the third rectifier diode and between the fourth rectifier diode and the fifth rectifier diode; The cathodes of the third rectifier diode and the fourth rectifier diode are connected to the sixteenth capacitor through the twenty-fifth resistor; the sixteenth capacitor receives the reference ground FC1 of the secondary side of the isolation transformer through the seventeenth capacitor, and is connected to the thirty-third resistor through the eighteenth capacitor; The thirty-third resistor is connected to the anodes of the second rectifier diode and the fifth rectifier diode.

[0012] As a further description of the present invention, the electrical stimulation circuit also includes a pulse width control circuit connected to the rectifier and filter circuit, and positive and negative stimulation pulse output terminals connected to the pulse width control circuit; The pulse width control circuit includes a first transistor, a fourth transistor, a fourteenth resistor, a fifteenth resistor, a thirty-ninth resistor, a fortieth resistor, a fifth optocoupler thyristor, and a ninth optocoupler thyristor; The base of the first transistor receives the chopping signal +W output by the MCU through the fourteenth resistor, and the emitter of the first transistor is grounded; the base of the fourth transistor receives the chopping signal -W output by the MCU through the fortieth resistor, and the emitter of the fourth transistor is grounded; The anode of the fifth optical coupler thyristor is connected to a 12V voltage source through a fifteenth resistor, the cathode of the third pin is connected to the collector of the first transistor, the B end of the thyristor is connected to the cathode of the third rectifier diode and the fourth rectifier diode, and the A end of the thyristor is connected to the positive and negative stimulation pulse output end. The anode of pin 1 of the ninth optocoupler thyristor is connected to a 12V voltage source through the thirty-ninth resistor, the cathode of pin 3 is connected to the collector of the fourth transistor, the B end of pin 6 of the thyristor is connected to the positive poles of the second rectifier diode and the fifth rectifier diode, and the A end of pin 4 of the thyristor is connected to the positive and negative stimulation pulse output ends.

[0013] As a further description of the present invention, the positive and negative stimulation pulse output ends include an output RF1_A signal arranged in parallel with a reference ground FC1 of the secondary side of the isolation transformer, and the FC1 is connected to the RF1_A signal through the twenty-first capacitor and is connected to the 4-pin thyristor A terminal of the fifth optocoupler thyristor and the 4-pin thyristor A terminal of the ninth optocoupler thyristor.

[0014] A stimulator comprises the above-mentioned electrical stimulation circuit and outputs positive and negative stimulation pulses relative to the FC1 signal.

[0015] Compared with the prior art, the technical effects of the present invention are: The present invention provides a high-frequency rectification type electrical stimulation circuit and a stimulator based on an integrated comparator. The stimulation circuit adopts a four-way integrated comparator as an operational amplifier, cooperates with peripheral compensation capacitors and pull-up resistors to realize constant current control and pulse control, and outputs constant current bidirectional square waves, avoiding the use of additional operational amplifiers. While meeting performance requirements, it reduces production costs and circuit board layout space, and utilizes high-frequency square waves to excite the primary side of the isolation transformer, thereby reducing the excitation inductance of the primary side of the isolation transformer and reducing the volume of the isolation transformer. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 It is a schematic diagram of the circuit principle of the present invention; Figure 2 is an internal circuit diagram of a comparator of the present invention; Figure 3 It is the internal circuit diagram of the operational amplifier in the prior art; Figure 4 Schematic diagram comparing the response time of comparator and operational amplifier. DETAILED DESCRIPTION

[0017] The present invention is described in detail below in conjunction with the accompanying drawings: In one embodiment of the present invention, a high-frequency rectifier type electrical stimulation circuit based on an integrated comparator is disclosed, referring to Figure 1-4 As shown, the electrical stimulation circuit includes: a stimulation intensity control terminal, an isolation transformer T1, a constant current pulse control circuit connected to the primary side of the isolation transformer T1 for generating high-frequency pulses, a rectifier filter circuit connected to the secondary side of the isolation transformer T1 for outputting a DC signal, a pulse control circuit connected to the rectifier filter circuit, and a positive and negative stimulation pulse output terminal. Among them, the above-mentioned constant current pulse control circuit includes a power enable circuit, a high-frequency push-pull circuit, and a constant current control circuit formed by an integrated four-way comparator; the high-frequency push-pull circuit is respectively connected to the constant current control circuit and the primary side of the isolation transformer T1, and the primary side tap of the isolation transformer T1 is connected to the power enable circuit. The integrated four-way comparator includes: U3A comparator, U3B comparator, U3C comparator, and U3D comparator; the U3A comparator is arranged in the power enable circuit, the U3B comparator and U3C comparator are arranged in the high-frequency push-pull circuit, and the U3D comparator is arranged in the constant current control circuit.

[0018] Usually, in the process of product design, in order to realize power supply control and pulse control, each constant current circuit requires 3 voltage comparators to realize pulse control, and 1 operational amplifier to realize constant current control. After many considerations, if constant current control can be realized with one comparator, then a 4-way integrated comparator chip can be used to complete this part of the circuit, which can not only meet the performance requirements, but also reduce production costs and PCB space; in addition, when designing the circuit, the high-frequency square wave is used to excite the primary side of the isolation transformer, which can reduce the excitation inductance of the primary side of the isolation transformer, thereby reducing the effective cross-sectional area of ​​the magnetic core, thereby reducing the volume of the transformer. Based on the above two considerations, the above-mentioned electrical stimulation circuit of this embodiment is proposed.

[0019] The electrical stimulation circuit of this embodiment realizes a high-frequency rectifier constant current electrical stimulation circuit with precisely controlled pulse width, frequency and amplitude through U3, which is an integrated four-way comparator (LM339DR2G). On the one hand, the electrical stimulation circuit uses one comparator in LM339DR2G to realize the function of constant current electrical stimulation (closed-loop negative feedback control circuit), and on the other hand, the remaining three comparators can cooperate with the PWM of the single-chip microcomputer to precisely control the output stimulation current to the microampere level. It saves PCB space (integrated four-way comparator) and reduces costs (no additional dedicated operational amplifier is required).

[0020] More specifically, in this embodiment, a specific analysis is conducted on the above-mentioned electrical stimulation circuit, and the content is as follows: 1. Power enable circuit The power enabling circuit includes: a fourth resistor R4, a fifth resistor R5, an eighth resistor R8, a tenth resistor R10, a twelfth resistor R12, a thirteenth resistor R13, a U2B field effect transistor and a U3A comparator.

[0021] Among them, the in-phase input terminal of the U3A comparator receives the chopping signals +W, -W output by the MCU through the tenth resistor R10 and the twelfth resistor R12; the power pin of the U3A comparator is connected to a 12V voltage source, and the positive electrode of the 12V voltage source connected to the power pin of the U3A comparator is connected in series with the fifth resistor R5 and the fourth resistor R4 to the ground; the inverting input terminal of the U3A comparator is connected between the fourth resistor R4 and the fifth resistor R5; The output end of the U3A comparator is connected to the positive electrode of the 12V voltage source of the U3A comparator power pin through the eighth resistor R8; the output end of the U3A comparator also includes a gate electrode of the U2B field effect tube connected through the thirteenth resistor R13, and the eighth resistor R8 is located in front of the thirteenth resistor R13; the source electrode of the U2B field effect tube is connected to the middle tap of the primary main winding of the isolation transformer T1, and the drain electrode of the U2B field effect tube is connected to the 12V voltage source; the power pin of the U3A comparator is also connected to a negative voltage (-5V voltage source) and is grounded through the twelfth capacitor C12.

[0022] In the present embodiment, in the above-mentioned power enabling circuit, the +W, -W chopping signals output by the MCU are connected to the in-phase input terminal of the U3A comparator through the tenth resistor R10 and the twelfth resistor R12, and the 12V voltage source obtains the comparison signal through the voltage division of the fourth resistor R4 and the fifth resistor R5, and is connected to the inverting input terminal of the U3A comparator, the U3B comparator, and the U3C comparator. The eighth resistor R8 is a pull-up resistor, which provides a high level for the output of the U3A comparator. The output of the U3A comparator is connected to the gate of the U2B field effect tube through the thirteenth resistor R13 to control its switch, and the source of the U2B field effect tube is connected to the middle tap of the isolation transformer T1 to control the excitation power supply of the main winding of the isolation transformer T1.

[0023] 2. High frequency push-pull circuit The high frequency push-pull circuit includes: a sixteenth resistor R16, a seventeenth resistor R17, an eighteenth resistor R18, a twenty-fourth resistor R24, a twenty-sixth resistor R26, a twenty-ninth resistor R29, a U2A field effect transistor, a U7B field effect transistor and a U3B comparator and a U3C comparator.

[0024] Among them, the in-phase input end of the U3B comparator receives the PWM_P chopping signal of the MCU through the seventeenth resistor R17, and the in-phase input end of the U3C comparator receives the PWM_N chopping signal of the MCU through the twenty-sixth resistor R26; the inverting input end of the U3B comparator and the inverting input end of the U3C comparator are connected between the fourth resistor R4 and the fifth resistor R5; the output end of the U3B comparator is connected to the 12V voltage source through the sixteenth resistor R16, and is also connected to the gate of the U2A field effect tube through the eighteenth resistor R18, and the sixteenth resistor R16 is connected to the gate of the U2A field effect tube. In front of the eighteenth resistor R18; the output end of the U3C comparator is connected to the 12V voltage source through the twenty-fourth resistor R24, and the output end of the U3C comparator also includes connecting the gate of the U7B field effect tube through the twenty-ninth resistor R29, and the twenty-fourth resistor R24 ​​is located in front of the twenty-ninth resistor R29; the drain of the U2A field effect tube and the drain of the U7B field effect tube are respectively connected to the two ends of the primary main winding of the isolation transformer T1, and the source of the U2A field effect tube and the source of the U7B field effect tube are connected to the constant current control circuit.

[0025] In this embodiment, in the above-mentioned high-frequency push-pull circuit, the MCU controls the U3B comparator and the U3C comparator through the PWM_P and PWM_N chopping signals to generate a 35kHz push-pull drive signal to drive the U2A field effect transistor and the U7B field effect transistor.

[0026] Specifically, the output of the above-mentioned 35kHz push-pull driving signal requires the MCU to output 35kHz reference signals PWM_P and PWM_N. These signals are respectively input to the non-inverting input terminals of the U3B comparator and the U3C comparator, compared with the reference voltage at the inverting input terminal, and then a 35kHz (same frequency as the input) driving signal is generated at the output terminal.

[0027] 3. Constant current control circuit The constant current control circuit includes: a thirty-first resistor R31, a thirty-fourth resistor R34, a thirty-sixth resistor R36, a thirty-eighth resistor R38, a twenty-third capacitor C23, a twenty-fifth capacitor C25, a U7A field effect transistor and a U3D comparator.

[0028] Among them, the output end of the U3D comparator is connected to a 12V voltage source through a thirty-first resistor R31, the output end of the U3D comparator also includes being connected to the inverting input end of the U3D comparator through a twenty-third capacitor C23, and the output end of the U3D comparator also includes being connected to the gate of the U7A field effect tube through a thirty-fourth resistor R34; the drain of the U7A field effect tube is respectively connected to the source of the U2A field effect tube and the source of the U7B field effect tube; the source of the U7A field effect tube is connected to the inverting input end of the U3D comparator through a thirty-sixth resistor R36; the source of the U7A field effect tube also includes being grounded through a thirty-eighth resistor R38; the twenty-fifth capacitor C25 is respectively connected to the inverting input end of the U3D comparator, and between the thirty-eighth resistor R38 and the ground.

[0029] In this embodiment, in the above-mentioned constant current control circuit, the twenty-third capacitor C23 is a compensation capacitor, which cooperates with the internal phase compensation of the U3D comparator, and forms a closed-loop constant current circuit through the U7A field effect tube and the thirty-eighth resistor R38, thereby accurately controlling the pulse amplitude (intensity) of the primary side of the isolation transformer T1. The thirty-eighth resistor R38 is a current sampling resistor, and the voltage generated by the current is connected to the inverting input end of the U3D comparator through a low-pass filter composed of the thirty-sixth resistor R36 and the twenty-fifth capacitor C25. Through this feedback network, a control signal is generated at the output end 13 of the U3D comparator, so that the U7A field effect tube works in the variable resistance area. The drain of the U7A field effect tube is connected to the source of the push-pull circuit U2A field effect tube and the U7B field effect tube. By controlling the drain-source impedance of the U7A field effect tube, the peak value of the pulse voltage obtained on the primary side of the isolation transformer T1 is controlled to achieve a high-frequency constant current pulse.

[0030] 4. Stimulation intensity control terminal In this embodiment, the electrical stimulation circuit also includes a stimulation intensity control terminal connected to the non-inverting input terminal of the U3D comparator; the stimulation intensity control terminal includes an analog switch U10, a thirty-second resistor R32, a forty-first resistor R41, a forty-second resistor R42, a first potentiometer W1, and a twenty-eighth capacitor C28.

[0031] Among them, the analog switch U10 includes six pins, and the digital control pin of pin 1 (in) is connected to the power enable circuit for switching the normally open and normally closed contacts of the analog switch U10. Specifically, the digital control pin of pin 1 is connected between the eighth resistor R8 and the thirteenth resistor R13 of the power enable circuit, the power pin of pin 2 is connected to the 12V voltage source and grounded through the twenty-eighth capacitor C28, the ground pin of pin 3 is connected between the twenty-eighth capacitor C28 and the ground, the normally closed pin of pin 4 is grounded through the forty-first resistor R41, the common pin of pin 5 is connected to the in-phase input terminal of the U3D comparator through the thirty-second resistor R32, and the normally open pin of pin 6 receives the DAC1 signal output by the MCU; one end of the first potentiometer W1 is grounded, and the other end is connected between the thirty-second resistor R32 and the in-phase input terminal of the U3D comparator.

[0032] In this embodiment, the above-mentioned stimulation intensity control end, pin 1 of the analog switch U10 is connected to the power enable circuit to control the switching of the normally open and normally closed contacts of the module switch U10. When pin 1 is at a high level, the DAC1 signal output by the MCU is connected to the thirty-second resistor R32. The thirty-second resistor R32 and the first potentiometer W1 form a signal attenuation circuit, and the generated signal is connected to the non-inverting input terminal of the U3D comparator of the constant current control circuit to provide a reference for the constant current circuit. The twenty-eighth capacitor C28 is a decoupling capacitor. The forty-first resistor R41 is a pull-down resistor of the normally closed contact to prevent saturation caused by the non-inverting input terminal of the U3D comparator being suspended.

[0033] 5. Rectification and filtering circuit The rectification and filtering circuit includes: a second rectification diode D2, a third rectification diode D3, a fourth rectification diode D4, a fifth rectification diode D5, a twenty-fifth resistor R25, a thirty-third resistor R33, a sixteenth capacitor C16, a seventeenth capacitor C17, and an eighteenth capacitor C18.

[0034] Among them, the middle of the secondary side of the isolation transformer is connected to the reference ground FC1; the second rectifier diode D2, the third rectifier diode D3 and the fourth rectifier diode D4, the fifth rectifier diode D5 are connected in parallel; the two ends of the secondary winding of the isolation transformer T1 are respectively connected to the second rectifier diode D2, the third rectifier diode D3 and the fourth rectifier diode D4, the fifth rectifier diode D5; the cathode of the third rectifier diode D3 and the fourth rectifier diode D4 is connected to the sixteenth capacitor C16 through the twenty-fifth resistor R25; the sixteenth capacitor C16 receives the reference ground FC1 of the secondary side of the isolation transformer through the seventeenth capacitor C17, and is connected to the thirty-third resistor R33 through the eighteenth capacitor C18; the thirty-third resistor R33 is connected to the positive electrode of the second rectifier diode D2 and the fifth rectifier diode D5.

[0035] In this embodiment, in the above-mentioned rectification and filtering circuit, the rectifier diode rectifies the AC voltage signal output by the isolation transformer T1 into a square wave signal with a DC bias as a positive signal (relative to the secondary side center tap FC1), and the twenty-fifth resistor R25, the thirty-third resistor R33, the sixteenth capacitor C16, the seventeenth capacitor C17, and the eighteenth capacitor C18 form a filtering circuit to filter the square wave signal and output a DC signal.

[0036] 6. Pulse width control circuit In this embodiment, the electrical stimulation circuit also includes a pulse width control circuit connected to the rectifier and filter circuit, and positive and negative stimulation pulse output terminals connected to the pulse width control circuit.

[0037] The pulse width control circuit includes: a first transistor Q1, a fourth transistor Q4, a fourteenth resistor R14, a fifteenth resistor R15, a thirty-ninth resistor R39, a fortieth resistor R40, a fifth optocoupler thyristor U5, and a ninth optocoupler thyristor U9.

[0038] Among them, the base of the first transistor Q1 receives the chopping signal +W output by the MCU through the fourteenth resistor R14, and the emitter of the first transistor Q1 is grounded; the base of the fourth transistor Q4 receives the chopping signal -W output by the MCU through the fortieth resistor R40, and the emitter of the fourth transistor Q4 is grounded; the anode of pin 1 of the fifth optocoupler thyristor U5 is connected to the 12V voltage source through the fifteenth resistor R15, the cathode of pin 3 is connected to the collector of the first transistor Q1, the B end of pin 6 is connected to the negative electrode of the third rectifier diode D3 and the fourth rectifier diode D4, and the A end of pin 4 is connected to the positive and negative stimulation pulse output end; the anode of pin 1 of the ninth optocoupler thyristor U9 is connected to the 12V voltage source through the thirty-ninth resistor R39, the cathode of pin 3 is connected to the collector of the fourth transistor Q4, the B end of pin 6 is connected to the positive electrode of the second rectifier diode D2 and the fifth rectifier diode D5, and the A end of pin 4 is connected to the positive and negative stimulation pulse output end.

[0039] In the pulse width control circuit of this embodiment, the chopping signals +W and -W output by the MCU control the on and off of the first transistor Q1 and the fourth transistor Q4 through the fourteenth resistor R14 and the fortieth resistor R40, thereby driving the opening and closing of the optocoupler thyristor, so that the output end forms a pulse with positive and negative stimulation relative to FC1.

[0040] 7. Positive and negative stimulation pulse output terminal The positive and negative stimulation pulse output ends include: an output RF1_A signal arranged in parallel and a reference ground FC1 of the secondary side of the isolation transformer, the FC1 signal is connected to the RF1_A signal through the twenty-first capacitor, and is connected to the 4-pin thyristor A terminal of the fifth optocoupler thyristor and the 4-pin thyristor A terminal of the ninth optocoupler thyristor.

[0041] In this embodiment, since the primary side of the isolation transformer T1 does not have sufficient inductance to support the small frequency and large pulse width stimulation waveform for muscle therapy (the magnetic flux density △B can easily lead to magnetic saturation of the transformer), in this embodiment, a fixed 35kHz signal excitation is used, and the MCU accurately controls the timing signals PWM_P and PWM_N to generate high-frequency pulses on the primary side of the isolation transformer T1. The high-frequency pulse signal is rectified into a DC square wave signal through the full-bridge rectification and filtering circuit on the secondary side of the isolation transformer T1, and various waveforms required for human muscle therapy are output through two thyristors (the fifth optocoupler thyristor U5 and the ninth optocoupler thyristor U9) through the MCU (signals +W and -W).

[0042] like Figure 2 The integrated quad comparator (LM339DR2G) shown in Figure 3 Compared with the internal circuit diagram of the operational amplifier (TL062) shown in FIG. 1 , it can be seen from the figure that the comparator lacks a phase compensation capacitor inside the integrated circuit compared to the operational amplifier. Since there is no phase compensation, the comparator IC will easily oscillate when negative feedback is added. Therefore, in this embodiment, a compensation capacitor C23 (300 pF) is added to the circuit to increase the phase margin of the closed-loop circuit and prevent high-frequency oscillation.

[0043] In addition, the open drain (source) output of the comparator cannot output a high level voltage. In this embodiment, a pull-up resistor of the thirty-first resistor R31 (2KΩ) is added to the circuit to introduce a +12V voltage source.

[0044] like Figure 4 As shown in the figure, the response speed of a typical operational amplifier and a comparator is compared. Due to the lack of an output emitter follower device, the response speed of the comparator is much faster than that of the operational amplifier.

[0045] In another embodiment of the present invention, a stimulator is disclosed, which includes the above-mentioned electrical stimulation circuit and outputs positive and negative stimulation pulses relative to the FC1 signal.

[0046] Through the above content, the technical solution of the present invention is disclosed. Compared with the prior art, the present invention has the following advantages: 1. The present invention replaces the operational amplifier with a comparator, cooperates with the peripheral compensation capacitor and pull-up resistor, successfully outputs a constant current bidirectional square wave, avoids the use of an additional operational amplifier, saves PCB space, reduces device cost, and improves the output response speed of the square wave; 2. The present invention integrates four comparators to form a constant current square wave pulse generating circuit of the primary side of the isolation transformer; the primary side of the transformer is excited by a high frequency with a fixed frequency, rather than directly exciting the low frequency and large pulse width signal required for muscle electrical stimulation, so as to achieve the purpose of reducing the size of the transformer; 3. The present invention drives the isolation transformer and the constant current circuit through a high-frequency push-pull circuit to generate a constant current pulse group, and can generate an electrical stimulation square wave exceeding 10ms using a transformer with a smaller core cross-sectional area (high-frequency excitation); 4. The present invention reduces the size and cost of the circuit board and realizes a precisely controlled electrical stimulation circuit by using fewer devices and a smaller isolation transformer and precise timing control by MCU.

[0047] The above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Other modifications or equivalent substitutions made to the technical solution of the present invention by ordinary technicians in this field should be included in the scope of the claims of the present invention as long as they do not depart from the spirit and scope of the technical solution of the present invention.

Claims

1. A high-frequency rectification type electrical stimulation circuit based on an integrated comparator, characterized in that: The electrical stimulation circuit includes an isolation transformer, a rectifier filter circuit connected to the secondary side of the isolation transformer for outputting a DC signal, and a constant current pulse control circuit connected to the primary side of the isolation transformer for generating high-frequency pulses; Wherein, the constant current pulse control circuit includes a power enable circuit, a high-frequency push-pull circuit, and a constant current control circuit formed by an integrated four-way comparator; the high-frequency push-pull circuit is respectively connected to the constant current control circuit and the primary side of the isolation transformer, and the primary side tap of the isolation transformer is connected to the power enable circuit; The integrated four-way comparators respectively include a U3A comparator arranged in a power enabling circuit, a U3B comparator and a U3C comparator arranged in a high-frequency push-pull circuit, and a U3D comparator arranged in a constant current control circuit.

2. A high-frequency rectification type electrical stimulation circuit based on an integrated comparator according to claim 1, characterized in that: The power enabling circuit includes a fourth resistor, a fifth resistor, an eighth resistor, a tenth resistor, a twelfth resistor, a thirteenth resistor, a U2B field effect transistor and a U3A comparator; Among them, the non-inverting input terminal of the U3A comparator receives the chopping signals +W and -W output by the MCU through the tenth resistor and the twelfth resistor; the power pin of the U3A comparator is connected to a 12V voltage source, and the positive electrode of the 12V voltage source connected to the power pin of the U3A comparator is connected in series with the fifth resistor and the fourth resistor to the ground respectively; the inverting input terminal of the U3A comparator is connected between the fourth resistor and the fifth resistor; The output end of the U3A comparator is connected to the positive electrode of the 12V voltage source of the U3A comparator power pin through the eighth resistor; the output end of the U3A comparator also includes a gate electrode connected to the U2B field effect tube through the thirteenth resistor, and the eighth resistor is located in front of the thirteenth resistor; the source electrode of the U2B field effect tube is connected to the middle tap of the primary main winding of the isolation transformer, and the drain electrode of the U2B field effect tube is connected to the 12V voltage source; The power supply pin of the U3A comparator is also connected to a negative voltage and grounded through a twelfth capacitor.

3. A high-frequency rectification type electrical stimulation circuit based on an integrated comparator according to claim 2, characterized in that: The high-frequency push-pull circuit includes a sixteenth resistor, a seventeenth resistor, an eighteenth resistor, a twenty-fourth resistor, a twenty-sixth resistor, a twenty-ninth resistor, a U2A field effect transistor, a U7B field effect transistor, a U3B comparator, and a U3C comparator; The in-phase input terminal of the U3B comparator receives the PWM_P chopping signal of the MCU through the seventeenth resistor, and the in-phase input terminal of the U3C comparator receives the PWM_N chopping signal of the MCU through the twenty-sixth resistor; the inverting input terminal of the U3B comparator and the inverting input terminal of the U3C comparator are connected between the fourth resistor and the fifth resistor; The output end of the U3B comparator is connected to the 12V voltage source through a sixteenth resistor, and is also connected to the gate of the U2A field effect tube through an eighteenth resistor, and the sixteenth resistor is located in front of the eighteenth resistor; the output end of the U3C comparator is connected to the 12V voltage source through a twenty-fourth resistor, and the output end of the U3C comparator is also connected to the gate of the U7B field effect tube through a twenty-ninth resistor, and the twenty-fourth resistor is located in front of the twenty-ninth resistor; The drain of the U2A field effect tube and the drain of the U7B field effect tube are respectively connected to the two ends of the primary main winding of the isolation transformer, and the source of the U2A field effect tube and the source of the U7B field effect tube are connected to the constant current control circuit.

4. A high-frequency rectification type electrical stimulation circuit based on an integrated comparator according to claim 3, characterized in that: The constant current control circuit includes a thirty-first resistor, a thirty-fourth resistor, a thirty-sixth resistor, a thirty-eighth resistor, a twenty-third capacitor, a twenty-fifth capacitor, a U7A field effect transistor and a U3D comparator; The output end of the U3D comparator is connected to a 12V voltage source through a thirty-first resistor, the output end of the U3D comparator is also connected to an inverting input end of the U3D comparator through a twenty-third capacitor, and the output end of the U3D comparator is also connected to the gate of the U7A field effect tube through a thirty-fourth resistor; The drain of the U7A field effect tube is connected to the source of the U2A field effect tube and the source of the U7B field effect tube respectively; the source of the U7A field effect tube is connected to the inverting input terminal of the U3D comparator through a thirty-sixth resistor; the source of the U7A field effect tube is also connected to ground through a thirty-eighth resistor; The twenty-fifth capacitor is respectively connected to the inverting input terminal of the U3D comparator, and between the thirty-eighth resistor and the ground.

5. A high-frequency rectification type electrical stimulation circuit based on an integrated comparator according to claim 4, characterized in that: The electrical stimulation circuit also includes a stimulation intensity control terminal connected to the non-inverting input terminal of the U3D comparator; The stimulation intensity control terminal includes an analog switch, a thirty-second resistor, a forty-first resistor, a forty-second resistor, a first potentiometer, and a twenty-eighth capacitor; Wherein, the analog switch includes six pins, the digital control pin of pin 1 is connected to the power enable circuit for switching the normally open and normally closed contacts of the analog switch, the power pin of pin 2 is connected to the 12V voltage source and grounded through the 28th capacitor, the ground pin of pin 3 is connected between the 28th capacitor and the ground, the normally closed pin of pin 4 is grounded through the 41st resistor, the common pin of pin 5 is connected to the non-inverting input terminal of the U3D comparator through the 32nd resistor, and the normally open pin of pin 6 receives the DAC1 signal output by the MCU; One end of the first potentiometer is grounded, and the other end is connected between the thirty-second resistor and the non-inverting input terminal of the U3D comparator.

6. A high-frequency rectification type electrical stimulation circuit based on an integrated comparator according to claim 5, characterized in that: Pin 1 of the analog switch is connected between the eighth resistor and the thirteenth resistor of the power enabling circuit.

7. The high-frequency rectification type electrical stimulation circuit based on an integrated comparator according to claim 1, characterized in that: The rectification and filtering circuit comprises a second rectification diode, a third rectification diode, a fourth rectification diode, a fifth rectification diode, a twenty-fifth resistor, a thirty-third resistor, a sixteenth capacitor, a seventeenth capacitor, and an eighteenth capacitor; Among them, the middle tap of the secondary side of the isolation transformer is connected to the reference ground FC1; the second rectifier diode, the third rectifier diode and the fourth rectifier diode and the fifth rectifier diode are connected in parallel; the two ends of the secondary winding of the isolation transformer are respectively connected between the second rectifier diode and the third rectifier diode and between the fourth rectifier diode and the fifth rectifier diode; The cathodes of the third rectifier diode and the fourth rectifier diode are connected to the sixteenth capacitor through the twenty-fifth resistor; the sixteenth capacitor receives the reference ground FC1 of the secondary side of the isolation transformer through the seventeenth capacitor, and is connected to the thirty-third resistor through the eighteenth capacitor; The thirty-third resistor is connected to the anodes of the second rectifier diode and the fifth rectifier diode.

8. The high-frequency rectification type electrical stimulation circuit based on an integrated comparator according to claim 7, characterized in that: The electrical stimulation circuit also includes a pulse width control circuit connected to the rectifier and filter circuit, and positive and negative stimulation pulse output terminals connected to the pulse width control circuit; The pulse width control circuit includes a first transistor, a fourth transistor, a fourteenth resistor, a fifteenth resistor, a thirty-ninth resistor, a fortieth resistor, a fifth optocoupler thyristor, and a ninth optocoupler thyristor; The base of the first transistor receives the chopping signal +W output by the MCU through the fourteenth resistor, and the emitter of the first transistor is grounded; the base of the fourth transistor receives the chopping signal -W output by the MCU through the fortieth resistor, and the emitter of the fourth transistor is grounded; The anode of the fifth optical coupler thyristor is connected to a 12V voltage source through a fifteenth resistor, the cathode of the third pin is connected to the collector of the first transistor, the B end of the thyristor is connected to the cathode of the third rectifier diode and the fourth rectifier diode, and the A end of the thyristor is connected to the positive and negative stimulation pulse output end. The anode of pin 1 of the ninth optocoupler thyristor is connected to a 12V voltage source through the thirty-ninth resistor, the cathode of pin 3 is connected to the collector of the fourth transistor, the B end of pin 6 of the thyristor is connected to the positive poles of the second rectifier diode and the fifth rectifier diode, and the A end of pin 4 of the thyristor is connected to the positive and negative stimulation pulse output ends.

9. A high-frequency rectification type electrical stimulation circuit based on an integrated comparator according to claim 8, characterized in that: The positive and negative stimulation pulse output ends include an output RF1_A signal arranged in parallel with a reference ground FC1 of the secondary side of the isolation transformer. The FC1 is connected to the RF1_A signal through the twenty-first capacitor and is connected to the 4-pin thyristor A terminal of the fifth optocoupler thyristor and the 4-pin thyristor A terminal of the ninth optocoupler thyristor.

10. A stimulator, characterized in that: The electrical stimulation circuit comprises the electrical stimulation circuit as described in any one of claims 1 to 9, and outputs positive and negative stimulation pulses relative to the FC1 signal.

Citation Information

Patent Citations

  • Frequency-variable power source for driving small or medium-sized magnetostrictive transducer

    CN103825471A

  • DC constant-voltage output converter

    CN108365761A

  • Two-stage input boost type DC constant-voltage output converter

    CN108377099A

  • Movable electromagnetic traditional Chinese medicine hot compress device facilitating postoperative rehabilitation

    CN108904967A

  • PWM signal produces circuit

    CN207968445U