Waveform output circuit and medical equipment
By designing a waveform output circuit, using an amplification unit and a waveform control unit, a waveform of a specific shape is achieved according to actual conditions, and the problem that existing medical equipment hardware circuits can only output one fixed waveform is solved, which improves the convenience of use and reduces costs.
Patent Information
- Application Number
- CN202311260682.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-26
- Publication Date
- 2025-03-25
- Estimated Expiration
- 2043-09-26
AI Technical Summary
Existing medical equipment hardware circuits can only output one fixed waveform, and cannot provide appropriate voltage waveforms based on different patients and symptoms, which is inconvenient and costly.
A waveform output circuit is designed, including an amplification unit and a waveform control unit. The initial waveform is amplified by the amplification unit, and the waveform shape is changed according to the PWM control signal through the waveform control unit to achieve the output of the target shape waveform.
It realizes the output of waveforms of specific shapes according to actual conditions, expands the use scenario, improves the convenience of use, and reduces the cost of use, and solves the problem that existing hardware circuits can only output one fixed waveform.
Smart Images

Figure CN117200769B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electronic technology, and in particular to a waveform output circuit and medical equipment. Background Art
[0002] The voltage generated by medical equipment can be used to stimulate the human body and help with diagnosis and treatment. Different voltage waveforms can produce electrical stimulation that has different therapeutic effects on different symptoms and parts of the human body. Experienced physicians can select voltage waveforms of corresponding shapes to provide targeted physical therapy for patients based on different patients and symptoms. However, existing medical equipment is usually equipped with only one hardware circuit, which generates one voltage waveform. This means that existing medical equipment cannot provide appropriate voltage waveforms for different patients and symptoms. If other waveforms need to be replaced, additional medical equipment that can generate other waveforms is required, which is very inconvenient to use and has limited application scenarios. In addition, the additional medical equipment will also increase the cost of use.
[0003] Therefore, in order to solve the above problems, the present invention provides a waveform output circuit and a medical device that can output corresponding waveforms according to actual needs. Summary of the invention
[0004] The invention provides a waveform output circuit and medical equipment, aiming to solve the problem that the existing hardware circuit can only output one fixed waveform.
[0005] In order to solve the above technical problems, the present invention provides a waveform output circuit on the one hand, which includes: an amplifying unit, which is used to receive an initial waveform and a control signal output by a single-chip microcomputer, and output an initial amplified waveform after amplifying the amplitude and current of the initial waveform according to the control signal; a waveform control unit, one end of which is used to receive a PWM control signal output by the single-chip microcomputer, and the other end is connected to the amplifying unit, and the waveform control unit is used to change the shape of the initial amplified waveform according to the PWM control signal to obtain a target shape waveform.
[0006] Furthermore, the waveform control unit includes a waveform control module and an output module, one end of the waveform control module is used to receive the PWM control signal, and the other end is connected to one end of the output module; one end of the output module is connected to the amplification unit and the waveform control module, and the other end outputs the target shape waveform.
[0007] Furthermore, the waveform control module includes two groups of waveform gating modules, each group of waveform gating modules includes an AND gate, a first transistor and a diode, the two input ends of the AND gate are used to receive the PWM control signal, the output end of the AND gate is connected to the base of the first transistor, the emitter of the first transistor is grounded, the collector of the first transistor is connected to the cathode of the diode, and the anode of the diode is connected to the output module.
[0008] Furthermore, the amplification unit includes an amplitude amplification module and a current amplification module, one end of the amplitude amplification module is used to receive the initial waveform and the control signal, and the other end is connected to one end of the current amplification module, and the other end of the current amplification module is connected to the output module.
[0009] Furthermore, the amplitude amplification module includes an adjustable resistance module and an amplification module, one end of the adjustable resistance module is used to connect to the single-chip microcomputer, and the other end is connected to the input end of the amplification module, and the output end of the amplification module is connected to the current amplification module.
[0010] Furthermore, the adjustable resistance module includes a digital potentiometer, and the CS pin, SCLK pin and DIN pin of the digital potentiometer are used to connect to the single-chip microcomputer; the H pin of the digital potentiometer is used to receive the initial waveform, and the W pin of the digital potentiometer is connected to the amplification module.
[0011] Furthermore, the amplification module includes an operational amplifier, a first resistor and a second resistor, the non-inverting input terminal of the operational amplifier is connected to the adjustable resistance module, the inverting input terminal of the operational amplifier is grounded via the second resistor, the output terminal of the operational amplifier is connected to the inverting input terminal via the first resistor, and is connected to the current amplification module.
[0012] Further, the current amplification module includes a second transistor, a third resistor and a first capacitor, the base of the second transistor is connected to the output end of the operational amplifier, the collector of the second transistor is used to receive the input voltage, and the emitter of the second transistor is connected to the output module; one end of the third resistor is connected between the second transistor and the output module, and the other end is grounded; one end of the first capacitor is connected between the second transistor and the output module, and the other end is grounded.
[0013] Furthermore, the output module includes a transformer, a resettable fuse, a fourth resistor, a second capacitor, a fifth resistor and a TSV diode, the primary coil of the transformer is connected to the waveform control module and the amplification unit, one end of the secondary coil of the transformer is connected to one end of the resettable fuse, and the other end of the resettable fuse outputs the target shape waveform; one end of the fourth resistor is connected to the resettable fuse, and the other end is connected to one end of the second capacitor, the other end of the second capacitor is connected to one end of the fifth resistor, and the other end of the fifth resistor is connected to the secondary coil; the TSV diode is connected between the two output ends of the secondary coil.
[0014] On the other hand, the present invention also provides a medical device, which includes a single-chip microcomputer and a waveform output circuit as described above, wherein the single-chip microcomputer is connected to the waveform output circuit and is used to provide an initial waveform, a control signal and a PWM control signal to the waveform output circuit.
[0015] The waveform output circuit and medical device disclosed in the present invention include an amplifying unit and a waveform output unit. The amplifying unit amplifies the amplitude and current of the initial waveform and then outputs the initial amplified waveform. The waveform control unit changes the shape of the initial amplified waveform according to the PWM control signal to obtain a waveform of a target shape, so that the waveform of a specific shape can be controlled to be output according to actual conditions. The waveform output circuit disclosed in the present invention solves the problem that the existing hardware circuit can only output a fixed waveform. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.
[0017] Figure 1 is a schematic structural diagram of a waveform output circuit provided by an embodiment of the present invention;
[0018] Figure 2 yes Figure 1 The circuit schematic diagram of the amplification unit in FIG.
[0019] Figure 3 yes Figure 1 The circuit schematic diagram of the waveform control unit in FIG.
[0020] Figure 4 is a schematic diagram of initial waveform transformation provided by an embodiment of the present invention;
[0021] Figure 5 A schematic diagram of initial waveform transformation provided by another embodiment of the present invention;
[0022] Figure 6 is a schematic diagram of a medical device provided by an embodiment of the present invention;
[0023] Reference numerals:
[0024] 10. waveform output circuit; 11. amplification unit; 111. amplitude amplification module; 112. current amplification module; 12. waveform control unit; 121. waveform control module; 122. output module; 100. medical equipment; 20. single chip microcomputer. DETAILED DESCRIPTION
[0025] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0026] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0027] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0028] It should be further understood that the term "and / or" used in the present description and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0029] Figures 1 to 6An embodiment of the waveform output circuit provided by the present invention is shown. The waveform output circuit 10 of this embodiment is used in an electronic device that needs to output a specific voltage waveform, such as a medical device 100, and includes an amplifying unit 11 and a waveform control unit 12, wherein the amplifying unit 11 is used to receive the initial waveform and control signal output by the single-chip microcomputer 20, and output the initial amplified waveform after amplifying the amplitude and current of the initial waveform according to the control signal; one end of the waveform control unit 12 is used to receive the PWM control signal output by the single-chip microcomputer 20, and the other end is connected to the amplifying unit 11, and the waveform control unit 12 changes the shape of the initial amplified waveform according to the PWM control signal to obtain a target shape waveform. In this embodiment, the waveform control unit 12 changes the shape of the initial amplified waveform according to the PWM control signal to obtain a waveform of a target shape, so that the waveform of a specific shape can be controlled to be output according to actual conditions, which is more widely used in application scenarios, not only convenient to use, but also reduces the cost of use. It should be noted that, in this embodiment, the initial waveform is generated by the DAC of the single-chip microcomputer 20 or an external DAC, and the initial waveform can be a square wave, a sine wave, a triangle wave or any other waveform; the waveform obtained after the initial waveform is amplified by the amplification unit 11 for amplitude and current is the initial amplified waveform. Figure 2 , Figure 2 The signal labeled PA4-Wave1 is the waveform generated by DAC1 of the microcontroller 20.
[0030] In one embodiment, such as this embodiment, Figure 2As shown, the amplification unit 11 includes an amplitude amplification module 111 and a current amplification module 112. One end of the amplitude amplification module 111 is used to receive the initial waveform and the control signal, and the other end is connected to one end of the current amplification module 112. The other end of the current amplification module 112 is connected to the output module 122. Specifically, the amplitude amplification module 111 includes an adjustable resistance module and an amplification module. One end of the adjustable resistance module is used to connect to the single-chip computer 20, and the other end is connected to the input end of the amplification module. The output end of the amplification module is connected to the current amplification module 112. The adjustable resistance module includes a digital potentiometer U8, and the CS pin, SCLK pin and DIN pin of the digital potentiometer U8 are used to connect to the single-chip computer 20; the H pin of the digital potentiometer U8 is used to receive the waveform to be initialized, and the W pin of the digital potentiometer U8 is connected to the amplification module. In this embodiment, the digital potentiometer U8 is used to set the amplitude of the initial waveform. The principle is as follows: the total resistance between the H pin (PIN12) and the L pin (PIN10) of the digital potentiometer U8 is 10KΩ, the W pin (PIN11) is the middle tap of the H pin and the L pin and is connected to the input end of the subsequent amplifier module. The single-chip microcomputer 20 controls the resistance ratio between HW and WL through the SPI interface, and uses the resistor voltage divider to adjust the input signal amplitude of the subsequent amplifier module between 0 and 3.3V. It can be understood that the control signal is a signal output by the single-chip microcomputer 20 for adjusting the resistance value of the digital potentiometer U8.
[0031] Further, the amplification module includes an operational amplifier LM358, a first resistor R90 and a second resistor R94, the in-phase input terminal of the operational amplifier LM358 is connected to the adjustable resistance module, the inverting input terminal of the operational amplifier LM358 is grounded via the second resistor R94, and the output terminal of the operational amplifier LM358 is connected to the inverting input terminal via the first resistor R90, and is connected to the current amplification module 112. It can be understood that when the adjustable resistance module is a digital potentiometer U8, the in-phase input terminal of the operational amplifier LM358 is connected to the W pin of the digital potentiometer U8. In this embodiment, the amplification factor of the operational amplifier LM358 is: (R90+R94) / R94=6.9 times, then the amplitude of the input initial waveform signal PA4-Wave1 (0~3.3V) after amplification by the operational amplifier U8 is 0~22.77V.
[0032] In one embodiment, such as this embodiment, Figure 2As shown, the current amplification module 112 includes a second transistor Q1, a third resistor R89 and a first capacitor C67, the base of the second transistor Q1 is connected to the output end of the operational amplifier LM358, the collector of the second transistor Q1 is used to receive the input voltage, and the emitter of the second transistor Q1 is connected to the output module 122; one end of the third resistor R89 is connected between the second transistor Q1 and the output module 122, and the other end is grounded; one end of the first capacitor C67 is connected between the second transistor Q1 and the output module 122, and the other end is grounded. Among them, the second transistor Q1 is a Darlington transistor, which is used as a voltage follower in this embodiment, and can amplify the current of the waveform signal PA4-Wave1 output by the operational amplifier LM358 of the previous stage, and then input it to the output module 122. It should be noted that, in this embodiment, the input voltage is 24V. In other embodiments, the input voltage may also be other voltages, such as 12V or 48V, which can be selected according to actual applications, and this application does not make any specific limitations here.
[0033] In one embodiment, such as this embodiment, Figure 3 As shown, the waveform control unit 12 includes a waveform control module 121 and an output module 122. One end of the waveform control module 121 is used to receive the PWM control signal, and the other end is connected to one end of the output module 122; one end of the output module 122 is connected to the amplification unit 11 and the waveform control module 121, and the other end outputs the target shape waveform. Specifically, the waveform control module 121 includes two groups of waveform gating modules, each group of waveform gating modules includes an AND gate (U9A or U9B), a first transistor (Q3 or Q4) and a diode (D16 or D17), the two input ends of the AND gate are used to receive the PWM control signal, the output end of the AND gate is connected to the base of the first transistor, the emitter of the first transistor is grounded, the collector of the first transistor is connected to the cathode of the diode, and the anode of the diode is connected to the output module 122. Among them, the two input ends of the AND gate are used to connect to the IO port of the single-chip computer 20, receive the PWM control signal output by the IO port (for example Figure 2 The AND gate is 74HC08D, which is used to protect the IO port of the single-chip microcomputer 20 and improve the load capacity.
[0034] Furthermore, the two groups of waveform gating modules include a first waveform gating module and a second waveform gating module, wherein the first waveform gating module includes an AND gate U9A, a resistor R95, a resistor R96, a capacitor C71, a transistor Q4 and a diode D16, the two input ends of the AND gate U9A are used to receive the PA0-HV1N_PWM signal output by the single-chip computer 20, the output end of the AND gate U9A is connected to one end of the resistor R95, and the other end of the resistor R95 is connected to the base of the transistor Q4; one end of the capacitor C71 is connected between the base of the transistor Q4 and the resistor R95, and the other end is connected to one end of the resistor R96, and the other end of the resistor R96 is grounded; the emitter of the transistor Q4 is grounded, the collector of the transistor Q4 is connected to the cathode of the diode D16, and the anode of the diode D16 is connected to the output module 122. The second waveform selection module includes an AND gate U9B, a resistor R97, a resistor R98, a capacitor C72, a transistor Q3 and a diode D17. It can be understood that the connection method between the AND gate U9B, the resistor R97, the resistor R98, the capacitor C72, the transistor Q3 and the diode D17 is the same as that of the first waveform selection module, and the present application will not go into details here.
[0035] In one embodiment, such as this embodiment, Figure 3 As shown, the output module 122 includes a transformer T1, a resettable fuse F1, a fourth resistor R88, a second capacitor C68, a fifth resistor R93 and a TSV diode D15, the primary coil of the transformer T1 is connected to the waveform control module 121 and the amplification unit 11, one end of the secondary coil of the transformer T1 is connected to one end of the resettable fuse F1, and the other end of the resettable fuse F1 outputs the target shape waveform; one end of the fourth resistor R88 is connected to the resettable fuse F1, and the other end is connected to one end of the second capacitor C68, the other end of the second capacitor C68 is connected to one end of the fifth resistor R93, and the other end of the fifth resistor R93 is connected to the secondary coil; the TSV diode is connected between the two output ends of the secondary coil. Specifically, the primary coil of the transformer T1 includes three input terminals, namely, input terminal 1 pin, second input terminal 2 pin and third input terminal 4 pin, wherein input terminal 1 pin is connected to the anode of diode D16, input terminal 4 pin is connected to the anode of diode D17, and input terminal 2 pin is connected to the emitter of the second transistor Q1. The secondary coil of the transformer T1 includes two output terminals, namely, output terminal 8 pin and output terminal 5 pin, wherein output terminal 8 pin serves as the waveform output terminal Wave1A, and output terminal 5 pin serves as the waveform output terminal Wave1B. It should be noted that, in this embodiment, the turns ratio of the primary coil N1 and the secondary coil N2 of the first transformer is 1:10 (i.e., N1:N2=1:10). It can be understood that, Figure 2 Point A1 and Figure 3 Point A1 in is connected.
[0036] In this embodiment, transformer T1 amplifies the voltage of the input initial waveform by 10 times, and the direction of the output signal (i.e., the target shape waveform) can be selected by transistors Q3 and Q4. For example, when transistor Q4 is turned on and transistor Q3 is turned off, the output signal is 5 positive and 8 negative (i.e., the output terminal 5 pin of the secondary coil of transformer T1 outputs a positive signal, and the output terminal 8 pin of the secondary coil of transformer T1 outputs a negative signal); when transistor Q3 is turned on and transistor Q4 is turned off, the output signal is 8 positive and 5 negative. Figure 4 As shown, taking the input initial waveform as a unidirectional square wave as an example, after the transistors Q3 and Q4 are selected, the transformer T1 outputs a bidirectional double-peak square wave. It should be noted that Figure 4 It demonstrates the combination of the initial waveform input through PA4-Wave1 and the conduction mode of transistors Q3 and Q4, and uses the selection time of transistors Q3 and Q4 to change the polarity, shape, and style of the input initial waveform, so that the transformer T1 can be flexibly controlled to output various styles of waveforms. Here, a transformer with a 10-fold magnification is used as an example, but in fact, amplifiers with any parameters can be applied according to the actual scene needs. Other components, including digital potentiometers, operational amplifiers, transistors, etc. are not limited to models and values. The input voltage of 24V is also not a limited voltage. It can be selected according to the actual situation. This application is only used for demonstration examples, not for specific limitations.
[0037] See also Figure 5 , Figure 5 When the input initial waveform is other waveforms, the waveform output circuit 10 of the present invention outputs a waveform of a specific shape. Understandably, the initial waveform can be designed according to the required output waveform to be input into the waveform output circuit 10 of the present invention for transformation, thereby obtaining the required target waveform of a specific shape. Therefore, the waveform output circuit 10 of the present invention only needs one hardware circuit to transform and output a waveform of any shape, and can output any waveform according to actual conditions. Compared with the existing waveform generating circuit, it has a wider range of applications, and only needs to configure one hardware circuit in terms of use cost, thus saving costs.
[0038] In an embodiment, such as this embodiment, a medical device 100 is also provided. Figure 5The medical device 100 includes a single-chip microcomputer 20 and the waveform output circuit 10, wherein the single-chip microcomputer 20 is connected to the waveform output circuit 10 and is used to provide the waveform output circuit 10 with an initial waveform, a control signal and a PWM control signal. The control signal is a signal output by the single-chip microcomputer 20 for adjusting the resistance value of the digital potentiometer U8; the PWM control signal is a signal for controlling the conduction time of the transistors Q3 and Q4, so as to control the shape of the output waveform by controlling the conduction time of the transistors Q3 and Q4.
[0039] The waveform output circuit and medical device disclosed in the present invention include an amplifying unit and a waveform output unit. The amplifying unit amplifies the amplitude and current of the initial waveform and then outputs the initial amplified waveform. The waveform control unit changes the shape of the initial amplified waveform according to the PWM control signal to obtain a waveform of a target shape, so that the waveform of a specific shape can be controlled to be output according to actual conditions. The waveform output circuit disclosed in the present invention solves the problem that the existing hardware circuit can only output a fixed waveform.
[0040] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or substitutions within the technical scope disclosed by the present invention, and these modifications or substitutions should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A waveform output circuit, characterized in that: include: an amplifying unit, the amplifying unit being used to receive the initial waveform and the control signal output by the single chip microcomputer, and to amplify the amplitude and current of the initial waveform according to the control signal and then output the initial amplified waveform; A waveform control unit, one end of which is used to receive the PWM control signal output by the single-chip microcomputer, and the other end of which is connected to the amplification unit, and the waveform control unit is used to change the shape of the initial amplified waveform according to the PWM control signal to obtain a target shape waveform; Wherein, the waveform control unit includes a waveform control module and an output module, one end of the waveform control module is used to receive the PWM control signal, and the other end is connected to one end of the output module; one end of the output module is connected to the amplification unit and the waveform control module, and the other end outputs the target shape waveform; The waveform control module includes two groups of waveform gating modules, each group of waveform gating modules includes an AND gate, a first transistor and a diode, the two input ends of the AND gate are used to receive the PWM control signal, the output end of the AND gate is connected to the base of the first transistor, the emitter of the first transistor is grounded, the collector of the first transistor is connected to the cathode of the diode, and the anode of the diode is connected to the output module; The output module includes a transformer, a resettable fuse, a fourth resistor, a second capacitor, a fifth resistor and a TSV diode. The primary coil of the transformer is connected to the waveform control module and the amplification unit, one end of the secondary coil of the transformer is connected to one end of the resettable fuse, and the other end of the resettable fuse outputs the target shape waveform; one end of the fourth resistor is connected to the resettable fuse, and the other end is connected to one end of the second capacitor, the other end of the second capacitor is connected to one end of the fifth resistor, and the other end of the fifth resistor is connected to the secondary coil; the TSV diode is connected between the two output ends of the secondary coil.
2. The waveform output circuit according to claim 1, characterized in that: The amplification unit includes an amplitude amplification module and a current amplification module. One end of the amplitude amplification module is used to receive the initial waveform and the control signal, and the other end is connected to one end of the current amplification module. The other end of the current amplification module is connected to the output module.
3. The waveform output circuit according to claim 2, characterized in that: The amplitude amplification module includes an adjustable resistance module and an amplification module. One end of the adjustable resistance module is used to connect to the single-chip microcomputer, and the other end is connected to the input end of the amplification module. The output end of the amplification module is connected to the current amplification module.
4. The waveform output circuit according to claim 3, characterized in that: The adjustable resistance module includes a digital potentiometer, and the CS pin, SCLK pin and DIN pin of the digital potentiometer are used to connect to the single-chip microcomputer; the H pin of the digital potentiometer is used to receive the initial waveform, and the W pin of the digital potentiometer is connected to the amplification module.
5. The waveform output circuit according to claim 3, characterized in that: The amplification module includes an operational amplifier, a first resistor and a second resistor. The non-inverting input terminal of the operational amplifier is connected to the adjustable resistance module, the inverting input terminal of the operational amplifier is grounded via the second resistor, and the output terminal of the operational amplifier is connected to the inverting input terminal via the first resistor and is connected to the current amplification module.
6. The waveform output circuit according to claim 5, characterized in that: The current amplification module includes a second transistor, a third resistor and a first capacitor, the base of the second transistor is connected to the output end of the operational amplifier, the collector of the second transistor is used to receive an input voltage, and the emitter of the second transistor is connected to the output module; one end of the third resistor is connected between the second transistor and the output module, and the other end is grounded; one end of the first capacitor is connected between the second transistor and the output module, and the other end is grounded.
7. A medical device, characterized in that: It comprises a single chip microcomputer and a waveform output circuit as described in any one of claims 1 to 6, wherein the single chip microcomputer is connected to the waveform output circuit and is used to provide an initial waveform, a control signal and a PWM control signal to the waveform output circuit.
Citation Information
Patent Citations
Therapeutic waveform outline generation method and circuit of low and medium frequency therapeutic device
CN105680836A
Cosmetic instrument current control system and cosmetic instrument
CN112169169A