Positive and negative pulse signal generation circuit and positive and negative pulse signal generation method

By designing a positive and negative pulse signal generation circuit including a control module, a first input module and a second input module, the problem that traditional pulse stimulation methods cannot generate complex pulse signals is solved, and the ability to generate multiple target positive and negative pulse signals is realized to meet complex stimulation needs.

CN119727668APending Publication Date: 2025-03-28SHINEYARD MEDICAL DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411828162.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-12
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

Traditional pulse stimulation methods can only generate a single form of positive and negative pulse signals, and cannot meet the complex stimulation needs.

Method used

A positive and negative pulse signal generation circuit is designed, including a control module, a first input module and a second input module. The operating parameters of the target positive and negative pulse signals are determined by the control module, and the working hours of the first input module and the second input module are set according to these parameters, so that they can work interleaved to generate the target positive and negative pulse signals on the load.

Benefits of technology

It realizes the generation of multiple target positive and negative pulse signals through positive and negative pulse signals through positive and negative pulse signal generation circuit, which meets complex stimulation needs and improves the flexibility and adaptability of pulse stimulation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119727668A_ABST
    Figure CN119727668A_ABST
Patent Text Reader

Abstract

The invention discloses a positive and negative pulse signal generation circuit and a positive and negative pulse signal generation method. The processor is used for determining working parameters of target positive and negative pulse signals and determining first working time of the first input module and second working time of the second input module according to the working parameters; the first input module is used for conducting a loop where a power supply, a load and a grounding end are located within first working time; and the second input module is used for conducting a loop where the power supply, the load and the grounding end are located according to the first working time, so that the first input module and the second input module work alternately, and target positive and negative pulse signals are generated at the load. Therefore, the loop where the power supply, the load and the grounding end are located is alternately conducted through the first input module and the second input module, so that the target positive and negative pulse signals are generated at the load, various target positive and negative pulse signals can be generated through the positive and negative pulse signal generation circuit, and complex stimulation requirements are met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of positive and negative pulse signal generation, and more specifically, to a positive and negative pulse signal generation circuit and a positive and negative pulse signal generation method. Background Art

[0002] In the field of medicine and bioengineering, pulse stimulation is widely used in devices such as nerve stimulation, pacemakers and muscle stimulation. Traditional pulse stimulation methods can usually only generate single-form positive and negative pulse signals, which cannot meet complex stimulation requirements. Summary of the invention

[0003] In view of the above problems, the present application proposes a positive and negative pulse signal generating circuit and a positive and negative pulse signal generating method, which can provide a variety of positive and negative pulse signals to meet complex stimulation needs.

[0004] In the first aspect, an embodiment of the present application provides a positive and negative pulse signal generating circuit, which includes: a control module, a first input module and a second input module, the control module is connected to the first input module and the second input module respectively, the first input module and the second input module are also used to connect to the load, wherein: the control module is used to determine the working parameters of the target positive and negative pulse signals; the control module is also used to determine the first working time of the first input module and the second working time of the second input module according to the working parameters, and send the first working time to the first input module and the second working time to the second input module; the first input module is used to turn on the circuit where the power supply, load and ground terminal are located within the first working time; the second input module is used to turn on the circuit where the power supply, load and ground terminal are located according to the first working time, so that the first input module and the second input module work alternately to generate target positive and negative pulse signals on the load.

[0005] In the second aspect, the embodiment of the present application also provides a positive and negative pulse signal generating method, which is applied to the above-mentioned positive and negative pulse signal generating circuit, and the positive and negative pulse signal generating method includes: determining the working parameters of the target positive and negative pulse signals; determining the first working time of the first input module and the second working time of the second input module according to the working parameters; controlling the first input module to turn on the power supply, load and ground loop within the first working time; controlling the second input module to turn on the power supply, load and ground loop within the second working time, so that the first input module and the second input module work alternately to generate target positive and negative pulse signals on the load.

[0006] The technical solution provided by the present application, the positive and negative pulse signal generating circuit includes: a control module, a first input module and a second input module, the control module is connected to the first input module and the second input module respectively, the first input module and the second input module are also used to connect the load, wherein: the control module is used to determine the working parameters of the target positive and negative pulse signals; the control module is also used to determine the first working time of the first input module and the second working time of the second input module according to the working parameters, and send the first working time to the first input module and send the second working time to the second input module; the first input module is used to turn on the power supply, the load and the grounding terminal in the first working time The loop; the second input module is used to turn on the power supply, the load and the grounding terminal in the first working time, so that the first input module and the second input module work alternately to generate the target positive and negative pulse signal in the load. Thus, the first input module and the second input module are alternately turned on the power supply, the load and the grounding terminal The loop is turned on to generate the target positive and negative pulse signal in the load, so as to achieve that a variety of target positive and negative pulse signals can be generated through the positive and negative pulse signal generating circuit to meet complex stimulation needs. BRIEF DESCRIPTION OF THE DRAWINGS

[0007] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application, not all embodiments. Based on the embodiments of the present application, all other embodiments and drawings obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0008] Figure 1 A schematic structural diagram of a positive and negative pulse signal generating circuit provided in an embodiment of the present application is shown.

[0009] Figure 2 A schematic structural diagram of a target positive and negative pulse signal provided in an embodiment of the present application is shown.

[0010] Figure 3 A structural schematic diagram of another positive and negative pulse signal generating circuit provided in an embodiment of the present application is shown.

[0011] Figure 4 A structural schematic diagram of another positive and negative pulse signal generating circuit provided in an embodiment of the present application is shown.

[0012] Figure 5 A method for generating positive and negative pulse signals provided in an embodiment of the present application is shown.

[0013] Figure 6 A schematic structural diagram of a positive and negative pulse signal generating device provided in an embodiment of the present application is shown.

[0014] Figure 7 A schematic diagram of the structure of a terminal device provided in an embodiment of the present application is shown.

[0015] Figure 8 A schematic diagram of the structure of a computer-readable storage medium provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0016] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.

[0017] In the following description, reference is made to "some embodiments", which describes a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict. In the following description, reference is made to the term "multiple" to mean at least two.

[0018] In the following description, the terms "first\second" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.

[0019] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0020] In the field of medicine and bioengineering, pulse stimulation is widely used in devices such as nerve stimulation, pacemakers and muscle stimulation. Traditional pulse stimulation methods can usually only generate single-form positive and negative pulse signals, which cannot meet complex stimulation requirements.

[0021] In order to improve the above problems, the present application provides a positive and negative pulse signal generating circuit and a positive and negative pulse signal generating method, the positive and negative pulse signal generating circuit includes: a control module, a first input module and a second input module, the control module is connected to the first input module and the second input module respectively, the first input module and the second input module are also used to connect the load, wherein: the control module is used to determine the working parameters of the target positive and negative pulse signals; the control module is also used to determine the first working time of the first input module and the second working time of the second input module according to the working parameters, and send the first working time to the first input module and the second working time to the second input module; the first input module is used to turn on the circuit where the power supply, load and ground terminal are located within the first working time; the second input module is used to turn on the circuit where the power supply, load and ground terminal are located according to the first working time, so that the first input module and the second input module work alternately to generate the target positive and negative pulse signals on the load.

[0022] Therefore, the first input module and the second input module are used to alternately conduct the power supply, load and ground circuits to generate target positive and negative pulse signals at the load, so that a variety of target positive and negative pulse signals can be generated through the positive and negative pulse signal generating circuit to meet complex stimulation needs.

[0023] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0024] See also Figure 1 , Figure 1 FIG. 1 is a schematic diagram showing a structure of a positive and negative pulse signal generating circuit provided in an embodiment of the present application. Figure 1 As shown, the positive and negative pulse signal generating circuit 100 includes a control module 110, a first input module 120 and a second input module 130. The control module 110 is connected to the first input module 120 and the second input module 130 respectively. The first input module 120 and the second input module 130 are also used to connect to a load 140.

[0025] The control module 110 is used to determine the working parameters of the target positive and negative pulse signals.

[0026] The control module 110 is further used to determine the first working time of the first input module 120 and the second working time of the second input module 130 according to the working parameters, and send the first working time to the first input module 120 and the second working time to the second input module 130.

[0027] The first input module 120 is used to conduct the loop of the power source VCC, the load 140 and the ground terminal GND within the first working time.

[0028] The second input module 130 is used to turn on the loop of the power supply VCC, the load 140 and the ground terminal GND within the first working time, so that the first input module 120 and the second input module 130 work alternately to generate target positive and negative pulse signals in the load 140.

[0029] The target positive and negative pulse signals are the positive and negative pulse signals that the positive and negative pulse signal generating circuit 100 needs to generate. In the embodiment of the present application, the target positive and negative pulse signals include continuous positive and negative pulse signals, crossed positive and negative pulse signals, burst positive and negative pulse signals, and variable frequency positive and negative pulse signals.

[0030] For example, please refer to Figure 2 , Figure 2 FIG. 1 shows a schematic diagram of a target positive and negative pulse signal provided in an embodiment of the present application. Figure 2 As shown, Figure 2 2a in it is a continuous positive and negative pulse signal; Figure 2 2b in it is a cross positive and negative pulse signal; Figure 2 2c in the figure is a burst of positive and negative pulse signals; Figure 2 The 2d in it is the variable frequency positive and negative pulse signal.

[0031] The operating parameters of the target positive and negative pulse signals may be amplitude parameters, frequency parameters, and pulse width parameters of the target positive and negative pulse signals. In some embodiments, the amplitude parameters of the target positive and negative pulse signals are within the interval [1mA, 8mA]. The frequency parameters of the target positive and negative pulse signals are within the interval [20Hz, 1000Hz]. The frequency parameters of the target positive and negative pulse signals are within the interval [20us, 1000us].

[0032] After the control module 110 determines the working parameters of the target positive and negative pulse signals, it determines the first working time of the first input module 120 and the second working time of the second input module 130. In this way, the first input module 120 turns on the loop where the power supply VCC, the load 140 and the ground terminal GND are located during the first working time to generate a first voltage at the load 140. In the second working time, the second input module 130 turns on the loop where the power supply VCC, the load 140 and the ground terminal GND are located to generate a second voltage opposite to the first voltage at the load 140. The first input module 120 and the second input module 130 work alternately to generate the target positive and negative pulse signals at the load 140.

[0033] The first working time may include a plurality of first sub-working times, and the working time lengths corresponding to the plurality of first sub-working times may be the same or different.

[0034] The second working time may include a plurality of second sub-working times, and the working time lengths corresponding to the plurality of second sub-working times may be the same or different.

[0035] Exemplarily, the first input module 120 includes a first sub-working time t1 (for example, 10 seconds), and the second input module 130 includes a second sub-working time t3 (for example, 10 seconds); after the first input module 120 receives the first working time, the first input module 120 turns on the loop where the power supply VCC, the load 140 and the ground terminal GND are located within the first sub-working time t1, and after the first sub-working time t1, the first input module 120 turns off the loop where the power supply VCC, the load 140 and the ground terminal GND are located, and the second input module 130 turns on the loop where the power supply VCC, the load 140 and the ground terminal GND are located within the second sub-working time t3, and after the second sub-working time t3, the second input module 130 turns off the loop where the power supply VCC, the load 140 and the ground terminal GND are located. In this way, the first input module 120 and the second input module 130 alternately turn on the loop where the power supply VCC, the load 140 and the ground terminal GND are located, thereby generating a target positive and negative pulse signal at the load 140.

[0036] Further, in some embodiments, the control module 110 is specifically configured to determine a preset pulse signal corresponding to the parameter information input by the user as a target positive and negative pulse signal in a preset pulse signal pattern library including a plurality of preset pulse signals.

[0037] The multiple preset pulse signals may be preset continuous positive and negative pulse signals, crossed positive and negative pulse signals, burst positive and negative pulse signals, and variable frequency positive and negative pulse signals.

[0038] The user determines the required positive and negative pulse signals according to actual needs, and the user inputs the amplitude parameters, frequency parameters and pulse width parameters corresponding to the positive and negative pulse signals into the control module 110. The control module 110 determines the preset pulse signal that is identical or corresponding to the positive and negative pulse signal required by the user as the target positive and negative pulse signal in a preset pulse signal pattern library containing multiple preset pulse signals according to the amplitude parameters, frequency parameters and pulse width parameters input by the user, that is, among multiple preset pulse signals, the preset pulse signal whose amplitude parameters, frequency parameters and pulse width parameters corresponding to the preset pulse signal are identical to the amplitude parameters, frequency parameters and pulse width parameters input by the user is determined as the target positive and negative pulse signal.

[0039] Exemplarily, the user determines that the required positive and negative pulse signals are continuous positive and negative pulse signals according to actual needs, and the user inputs the amplitude parameters, frequency parameters and pulse width parameters corresponding to the continuous positive and negative pulse signals into the control module 110. The control module 110 determines the preset pulse signal that is a continuous positive and negative pulse signal among multiple preset pulse signals as the target positive and negative pulse signal in a preset pulse signal pattern library containing multiple preset pulse signals based on the amplitude parameters, frequency parameters and pulse width parameters input by the user.

[0040] Further, in some embodiments, please refer to Figure 3 , Figure 3 FIG. 2 shows a schematic diagram of the structure of another positive and negative pulse signal generating circuit provided in an embodiment of the present application. Figure 3 As shown, the first input module 120 includes a first field effect transistor Q1 and a second field effect transistor Q2, wherein: the first end of the first field effect transistor Q1 is connected to the power supply VCC, the second end of the first field effect transistor Q1 is connected to the control module 110, and the third end of the first field effect transistor Q1 is connected to the first end of the load 140; the first end of the second field effect transistor Q2 is connected to the second end of the load 140, the second end of the second field effect transistor Q2 is connected to the control module 110, and the third end of the second field effect transistor Q2 is connected to the ground terminal GND.

[0041] During the first working time, the first field effect transistor Q1 and the second field effect transistor Q2 are turned on, and the circuit of power supply VCC-first field effect transistor Q1-load-second field effect transistor Q2-ground terminal GND is turned on to generate a voltage in the load that flows from the first end of the load to the second end of the load.

[0042] In some embodiments, the second input module 120 includes a third field effect transistor Q3 and a fourth field effect transistor Q4, wherein: the first end of the third field effect transistor Q3 is respectively connected to the first end of the load 140 and the third end of the first field effect transistor Q1, the second end of the third field effect transistor Q3 is connected to the control module 110, and the third end of the third field effect transistor Q3 is connected to the ground terminal GND; the first end of the fourth field effect transistor Q4 is connected to the power supply, the second end of the fourth field effect transistor Q4 is connected to the control module 110, and the third end of the fourth field effect transistor Q4 is respectively connected to the second end of the load 140 and the first end of the second field effect transistor Q2.

[0043] During the second working time, the third field effect transistor Q3 and the fourth field effect transistor Q4 are turned on, and the circuit including power supply VCC-fourth field effect transistor Q4-load-third field effect transistor Q3-ground terminal GND is turned on to generate a voltage in the load that flows from the second end of the load to the first end of the load.

[0044] Thereby, through the first field effect transistor Q1, the second field effect transistor Q2, the third field effect transistor Q3 and the fourth field effect transistor Q4, a voltage flowing from the first end of the load to the second end of the load and a voltage flowing from the second end of the load to the first end of the load are alternately generated in the load, thereby generating target positive and negative pulse signals on the load.

[0045] It can be understood that by respectively controlling the on or off time of the first field effect transistor Q1 and the second field effect transistor Q2, and controlling the on or off time of the third field effect transistor Q3 and the fourth field effect transistor Q4, the load can generate target positive and negative pulse signals such as continuous positive and negative pulse signals, crossed positive and negative pulse signals, clustered positive and negative pulse signals, and variable frequency positive and negative pulse signals.

[0046] That is to say, after receiving the parameter information input by the user, the control module 110 determines the type of target positive and negative pulse signals that the user needs to generate on the load, that is, whether the target positive and negative pulse signals are continuous positive and negative pulse signals, cross positive and negative pulse signals, clustered positive and negative pulse signals, and variable frequency positive and negative pulse signals, and then determines the first working time of the first field effect transistor Q1 and the second field effect transistor Q2 being turned on or off and the second working time of the third field effect transistor Q3 and the fourth field effect transistor Q4 being turned on or off according to the determined type of the target positive and negative pulse signals.

[0047] Then, under the control module 110 , the first FET Q1 , the second FET Q2 , the third FET Q3 and the fourth FET Q4 are controlled to work alternately according to the first working time and the second working time to generate target positive and negative pulse signals at the load 140 .

[0048] In actual application, interference and other reasons may affect the target positive and negative pulse signals generated by the load 140. For example, the target positive and negative pulse signals may be unstable due to interference. Based on the above situation, in some embodiments, please refer to Figure 4 , Figure 4 FIG. 2 shows a schematic diagram of the structure of another positive and negative pulse signal generating circuit provided in an embodiment of the present application. Figure 4 As shown, the positive and negative pulse signal generating circuit also includes a protection module, which includes a first capacitor C1 and a second capacitor C2, wherein: one end of the first capacitor C1 is respectively connected to the third end of the first field effect transistor Q1 and the first end of the third field effect transistor Q3, and the other end of the first capacitor C1 is used to connect to the first end of the load 140; one end of the second capacitor C2 is used to connect to the load 140, and the other end of the second capacitor C2 is respectively connected to the first end of the second field effect transistor Q2 and the third end of the fourth field effect transistor Q4.

[0049] Among them, the first capacitor C1 and the second capacitor C2 can be DC blocking capacitors. The first capacitor C1 and the second capacitor C2 can effectively prevent the current in the load 140 from being too large. When there is a damaged device in the positive and negative pulse signal generating circuit 100, due to the effects of the first capacitor C1 and the second capacitor C2, the current in the load 140 can be effectively prevented from being too large, so as to avoid the load 140 being damaged due to the excessive current in the positive and negative pulse signal generating circuit 100. In particular, when the load 140 is a sensitive device, the load 140 is prone to irreversible damage due to the excessive current.

[0050] Furthermore, in some embodiments, the protection module also includes a first anti-static protector U1 and a second anti-static protector U2, wherein: one end of the first anti-static protector U1 is respectively connected to the other end of the first capacitor C1 and the first end of the load 140, and the other end of the first anti-static protector U1 is connected to the ground terminal GND; one end of the second anti-static protector U2 is respectively connected to the other end of the second capacitor C2 and the second end of the load 140, and the other end of the second anti-static protector U2 is connected to the ground terminal GND.

[0051] The first anti-static protector U1 and the second anti-static protector U2 may be electrostatic discharge (ESD) devices, which can effectively prevent static electricity from damaging circuit elements in the positive and negative pulse signal generating circuit 100 .

[0052] Further, in some embodiments, the protection module also includes a first current limiting resistor R1, a first filter capacitor C3, a second current limiting resistor R2 and a second filter capacitor C4, wherein: one end of the first current limiting resistor R1 is respectively connected to the other end of the first capacitor C1 and one end of the first filter capacitor C3, the other end of the first current limiting resistor R1 is respectively connected to one end of the first anti-static protector U1 and the first end of the load 140, and the other end of the first filter capacitor C3 is connected to the ground terminal GND; one end of the second current limiting resistor R2 is respectively connected to the other end of the second capacitor C2 and one end of the second filter capacitor C4, the other end of the second current limiting resistor R2 is respectively connected to one end of the second anti-static protector U2 and the second end of the load 140, and the other end of the second filter capacitor C4 is connected to the ground terminal GND.

[0053] The glitches on the target positive and negative pulse signals are filtered out by the first current limiting resistor R1 , the first filter capacitor C3 , the second current limiting resistor R2 and the second filter capacitor C4 , so as to generate target positive and negative pulse signals with clean waveforms at the load 140 .

[0054] As can be seen from the above description, when the load 140 is a sensitive device, the load 140 may generate a large current in the load 140 due to damage inside the positive and negative pulse signal generating circuit 100, causing irreversible damage to the load 140. In particular, when the positive and negative pulse signal generating circuit 100 is applied to the fields of medicine and bioengineering, and the positive and negative pulse signal generating circuit 100 is applied to devices such as nerve stimulation, cardiac pacemakers and muscle stimulation, the load 140 of the positive and negative pulse signal generating circuit 100 may be a user. If the current in the positive and negative pulse signal generating circuit 100 is too large, it may cause irreparable damage to the user.

[0055] Based on the above situation, the positive and negative pulse signal generating circuit 100 in the present application also includes a determination module. The determination module is used to detect the specific value of the working current in the positive and negative pulse signal generating circuit 100. The determination module is also used to disconnect the power supply VCC-first field effect transistor Q1-load-second field effect transistor Q2-ground terminal GND loop when the working current in the positive and negative pulse signal generating circuit 100 is greater than a preset threshold, or disconnect the power supply VCC-fourth field effect transistor Q4-load-third field effect transistor Q3-ground terminal GND loop.

[0056] Specifically, the identification module includes a current sensor, an operational amplifier, a comparator, a relay and a control switch. Among them, the current sensor is connected in series in the positive and negative pulse signal generating circuit 100. For example, the current sensor is connected between the first resistor R1 and the load 140. It can be understood that the present application does not limit the specific position where the current sensor is connected to the positive and negative pulse signal generating circuit 100. The current sensor can detect the current when the loop where the power supply VCC-first field effect transistor Q1-load-second field effect transistor Q2-ground terminal GND is turned on and the current when the loop where the power supply VCC-fourth field effect transistor Q4-load-third field effect transistor Q3-ground terminal GND is turned on.

[0057] The input end of the operational amplifier is connected to the output end of the current sensor, the output end of the operational amplifier is connected to the input end of the comparator, the output end of the comparator is connected to the control end of the relay, the output end of the relay is connected to the control switch, and the control switch is connected in series in the positive and negative pulse signal generating circuit 100.

[0058] The control switch is usually in a closed state, and the control switch is located in the loop of power supply VCC-first field effect transistor Q1-load-second field effect transistor Q2-ground terminal GND and the loop of power supply VCC-fourth field effect transistor Q4-load-third field effect transistor Q3-ground terminal GND.

[0059] In some implementations, the current sensor may be a Hall Effect sensor or a resistive shunt.

[0060] That is to say, the current sensor is used to detect the current value in the loop when the loop including power supply VCC-first field effect transistor Q1-load-second field effect transistor Q2-ground terminal GND is turned on or the loop including power supply VCC-fourth field effect transistor Q4-load-third field effect transistor Q3-ground terminal GND is turned on.

[0061] The operational amplifier amplifies the current value detected by the current sensor to increase the amplitude of the signal. The operational amplifier sends the amplified current value to the comparator, and the comparator compares the amplified current value with the preset threshold value. When the amplified current value is greater than the preset threshold value, the comparator outputs a control signal (e.g., a high voltage) to the relay, and the relay, under the action of the control signal, controls the control switch to open to disconnect the loop of the power supply VCC-the first field effect transistor Q1-the load-the second field effect transistor Q2-the ground terminal GND, or disconnects the loop of the power supply VCC-the fourth field effect transistor Q4-the load-the third field effect transistor Q3-the ground terminal GND, so as to avoid excessive current flowing through the load 140 and causing irreparable damage to the load 140.

[0062] See also Figure 5 , Figure 5 A method for generating positive and negative pulse signals provided by an embodiment of the present application is shown. Figure 5 As shown, the positive and negative pulse signal generating method is applied to the above-mentioned positive and negative pulse signal generating circuit, and the positive and negative pulse signal generating method may include steps 210 to 240.

[0063] In step 210, operating parameters of the target positive and negative pulse signals are determined.

[0064] The target positive and negative pulse signals are the positive and negative pulse signals that the positive and negative pulse signal generating circuit needs to generate. In the embodiment of the present application, the target positive and negative pulse signals include continuous positive and negative pulse signals, crossed positive and negative pulse signals, burst positive and negative pulse signals, and variable frequency positive and negative pulse signals.

[0065] The operating parameters of the target positive and negative pulse signals may be amplitude parameters, frequency parameters, and pulse width parameters of the target positive and negative pulse signals.

[0066] In some embodiments, the positive and negative pulse signal generation method may further include the following steps: (1) Obtain parameter information input by the user; (2) In a preset pulse signal pattern library including a plurality of preset pulse signals, a preset pulse signal corresponding to the parameter information is determined as a target positive and negative pulse signal.

[0067] The parameter information includes an amplitude parameter, a frequency parameter, and a pulse width parameter. The amplitude parameter may be in the range of [1mA, 8mA]. The frequency parameter may be in the range of [20Hz, 1000Hz]. The frequency parameter may be in the range of [20us, 1000us].

[0068] The multiple preset pulse signals may be preset continuous positive and negative pulse signals, crossed positive and negative pulse signals, burst positive and negative pulse signals, and variable frequency positive and negative pulse signals.

[0069] The user determines the required positive and negative pulse signals according to actual needs, and the user inputs the amplitude parameters, frequency parameters and pulse width parameters corresponding to the positive and negative pulse signals into the control module. The control module determines the preset pulse signal that is identical or corresponding to the positive and negative pulse signal required by the user as the target positive and negative pulse signal in a preset pulse signal pattern library containing multiple preset pulse signals according to the amplitude parameters, frequency parameters and pulse width parameters input by the user, that is, among multiple preset pulse signals, the preset pulse signal whose amplitude parameters, frequency parameters and pulse width parameters corresponding to the preset pulse signal are identical to the amplitude parameters, frequency parameters and pulse width parameters input by the user is determined as the target positive and negative pulse signal.

[0070] In step 220, a first working time of the first input module and a second working time of the second input module are determined according to the working parameters.

[0071] In step 230, the first input module is controlled to conduct the loops where the power supply, the load and the ground terminal are located within the first working time.

[0072] The first working time may include a plurality of first sub-working times, and the working time lengths corresponding to the plurality of first sub-working times may be the same or different.

[0073] The control module determines the first working time of the first input module to conduct the loop where the power supply, the load and the ground terminal are located according to the working parameters of the target positive and negative pulse signals.

[0074] In step 240, the second input module is controlled to conduct the loop of the power supply, the load and the ground terminal during the second working time, so that the first input module and the second input module work alternately to generate target positive and negative pulse signals at the load.

[0075] The second working time may include a plurality of second sub-working times, and the working time lengths corresponding to the plurality of second sub-working times may be the same or different.

[0076] The control module determines the second working time of the second input module to turn on the loop where the power supply, the load and the ground terminal are located according to the working parameters of the target positive and negative pulse signals.

[0077] In this way, the first input module 120 and the second input module 130 alternately conduct the loops of the power supply VCC, the load 140 and the ground terminal GND, thereby generating target positive and negative pulse signals at the load 140 .

[0078] As can be seen from the above description, when the load is a sensitive device, the load may generate a large current in the load due to damage in the positive and negative pulse signal generating circuit, causing irreversible damage to the load. In order to further reduce the irreversible damage to the load due to excessive current. In some embodiments, the positive and negative pulse signal generating method may also include the following steps: (1) Determine the type of load.

[0079] (2) When the load type is the target type, a reference target positive and negative pulse signal is generated in advance.

[0080] (3) Determine the working parameters of the positive and negative pulse signals of the reference target.

[0081] (4) Determine whether to send a first working duration to the first input module and a second working duration to the second input module according to working parameters of the reference target positive and negative pulse signals.

[0082] The types of loads may include sensitive device types and common device types. The sensitive device types are prone to irreversible damage under a large operating current, while the common device types are not prone to damage or their damage can be repaired under a large operating current.

[0083] Users can classify loads into sensitive device types or common device types based on the actual conditions of the loads.

[0084] The target type may be a sensitive device type. When the load type is a sensitive device type, the control module predetermines whether the working state of the components in the current positive and negative pulse signal generating circuit is normal. Specifically, the positive and negative pulse signal generating circuit also includes a detection module, which is used to detect whether each component in the positive and negative pulse signal generating circuit can work normally.

[0085] The detection module may include devices such as a digital multimeter, an LCR meter, and an oscilloscope. In other implementations, whether the working status of the components in the positive and negative pulse signal generating circuit is normal may also be manually input.

[0086] When the control module determines that the working state of the components in the current positive and negative pulse signal generating circuit is normal, the control module pre-simulates the target positive and negative pulse signals generated by the positive and negative pulse signal generating circuit on the load according to the working parameters of the target positive and negative pulse signals input by the user, that is, generates a reference target positive and negative pulse signal, and determines whether the working parameters corresponding to the reference target positive and negative pulse signals will cause damage to the load which is currently a sensitive device type.

[0087] When the control module determines, based on the working parameters corresponding to the reference target positive and negative pulse signals, that the reference target positive and negative pulse signals are relatively safe for the load that is currently a sensitive device type, the control module executes step 210 again.

[0088] The first capacitor, the second capacitor and the control module cooperate with each other to achieve double protection, so as to avoid the situation where the load, which is currently a sensitive device type, suffers irreversible damage due to a large operating current.

[0089] That is, the control module first generates a reference target positive and negative pulse signal in advance to determine whether the target positive and negative pulse signal will damage the load of the current sensitive device type. On the premise that it is determined that the target positive and negative pulse signal will not damage the load of the current sensitive device type, step 210 is then performed to generate the required target positive and negative pulse signal on the load.

[0090] In the process of the load generating the required target positive and negative pulse signals, the first capacitor and the second capacitor are used to avoid the situation where a large current is generated in the load due to damage to the components of the positive and negative pulse signal generating circuit during operation, so as to improve the safety of the load.

[0091] See also Figure 6 , Figure 6 The structure diagram of a positive and negative pulse signal generating device provided by an embodiment of the present application is shown, which is applied to the above-mentioned positive and negative pulse signal generating circuit. The positive and negative pulse signal generating device 300 includes: a first determination module 310, a second determination module 320, a first execution module 330 and a second execution module 340. Specifically: The first determination module 310 is used to determine the working parameters of the target positive and negative pulse signals.

[0092] The second determining module 320 is used to determine a first working time of the first input module and a second working time of the second input module according to the working parameters.

[0093] The first execution module 330 is used to control the first input module to conduct the loop where the power supply, the load and the ground terminal are located within the first working time.

[0094] The second execution module 340 is used to control the second input module to turn on the loop where the power supply, load and ground terminal are located within the second working time, so that the first input module and the second input module work alternately to generate target positive and negative pulse signals at the load.

[0095] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.

[0096] In several embodiments provided in the present application, the coupling or direct coupling or communication connection between the modules shown or discussed may be an indirect coupling or communication connection through some interfaces, devices or modules, which may be electrical, mechanical or other forms.

[0097] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.

[0098] See also Figure 7 , Figure 7 A structural schematic diagram of a terminal device provided in an embodiment of the present application is shown. The terminal device 400 in the present application may include one or more of the following components: a processor 410, a memory 420, and one or more applications, wherein the one or more applications may be stored in the memory 420 and configured to be executed by one or more processors 410, and the one or more programs are configured to execute the positive and negative pulse signal generation method described in the aforementioned method embodiment.

[0099] The processor 410 may include one or more processing cores. The processor 410 uses various interfaces and lines to connect various parts of the entire terminal device 400, and executes various functions and processes data of the terminal device 400 by running or executing instructions, programs, code sets or instruction sets stored in the memory 420, and calling data stored in the memory 420. Optionally, the processor 410 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 410 can integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 410, but may be implemented separately through a communication chip.

[0100] The memory 420 may include a random access memory (RAM) or a read-only memory (ROM). The memory 420 may be used to store instructions, programs, codes, code sets, or instruction sets. The memory 420 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function, instructions for implementing the following various method embodiments, etc. The data storage area may also store data created by the terminal device 400 during use.

[0101] See also Figure 8 , Figure 8 A schematic diagram of the structure of a computer-readable storage medium provided in an embodiment of the present application is shown, wherein the computer-readable medium 500 stores program code, and the program code can be called by a processor to execute the cooking control method described in the above method embodiment.

[0102] The computer-readable storage medium 500 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk or a ROM. Optionally, the computer-readable storage medium 400 includes a non-transitory computer-readable storage medium. The computer-readable storage medium 500 has storage space for program code 510 for executing any method steps in the above method. These program codes can be read from or written to one or more computer program devices. The program code 510 can be compressed, for example, in a suitable form.

[0103] The present invention also provides a computer program product, which includes a computer program. When the computer program product is executed by a processor, the steps of the chip self-test method described in any of the above embodiments are implemented.

[0104] The specific embodiments of the computer program product of the present invention are basically the same as the embodiments of the above-mentioned chip self-test method, and will not be described in detail here.

[0105] The present application provides a positive and negative pulse signal generating circuit and a positive and negative pulse signal generating method, the positive and negative pulse signal generating circuit includes: a control module, a first input module and a second input module, the control module is connected to the first input module and the second input module respectively, the first input module and the second input module are also used to connect the load, wherein: the control module is used to determine the working parameters of the target positive and negative pulse signal; the control module is also used to determine the first working time of the first input module and the second working time of the second input module according to the working parameters, and send the first working time to the first input module and send the second working time to the second input module; the first input module is used to conduct the power supply, the load and the grounding terminal in the first working time The loop; the second input module is used to conduct the power supply, the load and the grounding terminal in the first working time, so that the first input module and the second input module work alternately to generate the target positive and negative pulse signal in the load. Thus, the first input module and the second input module alternately conduct the power supply, the load and the grounding terminal loop to generate the target positive and negative pulse signal in the load, so as to achieve that a variety of target positive and negative pulse signals can be generated by the positive and negative pulse signal generating circuit to meet complex stimulation needs.

[0106] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A positive and negative pulse signal generating circuit, characterized in that: It includes a control module, a first input module and a second input module, wherein the control module is connected to the first input module and the second input module respectively, and the first input module and the second input module are also used to connect to a load, wherein: The control module is used to determine the working parameters of the target positive and negative pulse signals; The control module is further used to determine a first working time of the first input module and a second working time of the second input module according to the working parameters, and send the first working time to the first input module and send the second working time to the second input module; The first input module is used to conduct the power supply, the load and the grounding circuit within the first working time; The second input module is used to turn on the circuit where the power supply, the load and the ground terminal are located within the first working time, so that the first input module and the second input module work alternately to generate the target positive and negative pulse signals at the load.

2. The positive and negative pulse signal generating circuit according to claim 1, characterized in that: The control module is specifically used to determine the preset pulse signal corresponding to the parameter information input by the user as the target positive and negative pulse signal in a preset pulse signal pattern library containing multiple preset pulse signals.

3. The positive and negative pulse signal generating circuit according to any one of claims 1-2, characterized in that: The first input module includes a first field effect transistor and a second field effect transistor, wherein: The first end of the first field effect transistor is connected to the power supply, the second end of the first field effect transistor is connected to the control module, and the third end of the first field effect transistor is connected to the first end of the load; The first end of the second field effect tube is connected to the second end of the load, the second end of the second field effect tube is connected to the control module, and the third end of the second field effect tube is connected to the ground end.

4. The positive and negative pulse signal generating circuit according to claim 3, characterized in that: The second input module includes a third field effect transistor and a fourth field effect transistor, wherein: The first end of the third field effect tube is connected to the first end of the load and the third end of the first field effect tube respectively, the second end of the third field effect tube is connected to the control module, and the third end of the third field effect tube is connected to the ground end; The first end of the fourth field effect tube is connected to the power supply, the second end of the fourth field effect tube is connected to the control module, and the third end of the fourth field effect tube is respectively connected to the second end of the load and the first end of the second field effect tube.

5. The positive and negative pulse signal generating circuit according to claim 4, characterized in that: The positive and negative pulse signal generating circuit further includes a protection module, and the protection module includes a first capacitor and a second capacitor, wherein: One end of the first capacitor is connected to the third end of the first field effect transistor and the first end of the third field effect transistor respectively, and the other end of the first capacitor is used to connect to the first end of the load; One end of the second capacitor is used to connect to the load, and the other end of the second capacitor is respectively connected to the first end of the second field effect transistor and the third end of the fourth field effect transistor.

6. The positive and negative pulse signal generating circuit according to claim 5, characterized in that: The protection module further includes a first anti-static protector and a second anti-static protector, wherein: One end of the first anti-static protector is connected to the other end of the first capacitor and the first end of the load respectively, and the other end of the first anti-static protector is connected to the ground end; One end of the second anti-static protector is connected to the other end of the second capacitor and the second end of the load respectively, and the other end of the second anti-static protector is connected to the ground end.

7. The positive and negative pulse signal generating circuit according to claim 6, characterized in that: The protection module further includes a first current limiting resistor, a first filter capacitor, a second current limiting resistor and a second filter capacitor, wherein: One end of the first current limiting resistor is respectively connected to the other end of the first capacitor and one end of the first filter capacitor, the other end of the first current limiting resistor is respectively connected to one end of the first anti-static protector and the first end of the load, and the other end of the first filter capacitor is connected to the ground terminal; One end of the second current limiting resistor is respectively connected to the other end of the second capacitor and one end of the second filter capacitor, the other end of the second current limiting resistor is respectively connected to one end of the second anti-static protector and the second end of the load, and the other end of the second filter capacitor is connected to the ground end.

8. A method for generating positive and negative pulse signals, characterized in that: Applied to the positive and negative pulse signal generating circuit as described in claims 1-7, the method comprises: Determine the working parameters of the target positive and negative pulse signals; Determining a first working time of the first input module and a second working time of the second input module according to the working parameters; Control the first input module to conduct the circuit where the power supply, the load and the ground terminal are located within the first working time; The second input module is controlled to conduct the loop where the power supply, the load and the ground terminal are located within the second working time, so that the first input module and the second input module work alternately to generate the target positive and negative pulse signals in the load.

9. The method for generating positive and negative pulse signals according to claim 8, characterized in that: The method further comprises: Get the parameter information entered by the user; In a preset pulse signal pattern library including a plurality of preset pulse signals, a preset pulse signal corresponding to the parameter information is determined as the target positive and negative pulse signal.

10. The method for generating positive and negative pulse signals according to claim 9, characterized in that: The parameter information includes amplitude parameters, frequency parameters and pulse width parameters.