CN113109617A - Circuit and method for adjusting effective value of electric signal and ventilation treatment equipment - Google Patents

Circuit and method for adjusting effective value of electric signal and ventilation treatment equipment Download PDF

Info

Publication number
CN113109617A
CN113109617A CN202110264761.8A CN202110264761A CN113109617A CN 113109617 A CN113109617 A CN 113109617A CN 202110264761 A CN202110264761 A CN 202110264761A CN 113109617 A CN113109617 A CN 113109617A
Authority
CN
China
Prior art keywords
resistor
effective value
value
reference voltage
electric signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110264761.8A
Other languages
Chinese (zh)
Other versions
CN113109617B (en
Inventor
易萍虎
任尧
庄志
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dongguan Yihe Jiaye Medical Technology Co ltd
Original Assignee
BMC Medical Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BMC Medical Co Ltd filed Critical BMC Medical Co Ltd
Priority to CN202110264761.8A priority Critical patent/CN113109617B/en
Publication of CN113109617A publication Critical patent/CN113109617A/en
Application granted granted Critical
Publication of CN113109617B publication Critical patent/CN113109617B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/02Measuring effective values, i.e. root-mean-square values
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
    • A61M16/00Devices for influencing the respiratory system of patients by gas treatment, e.g. mouth-to-mouth respiration; Tracheal tubes
    • A61M16/0003Accessories therefor, e.g. sensors, vibrators, negative pressure
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
    • A61M16/00Devices for influencing the respiratory system of patients by gas treatment, e.g. mouth-to-mouth respiration; Tracheal tubes
    • A61M16/021Devices for influencing the respiratory system of patients by gas treatment, e.g. mouth-to-mouth respiration; Tracheal tubes operated by electrical means
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
    • A61M16/00Devices for influencing the respiratory system of patients by gas treatment, e.g. mouth-to-mouth respiration; Tracheal tubes
    • A61M16/10Preparation of respiratory gases or vapours
    • A61M16/1075Preparation of respiratory gases or vapours by influencing the temperature
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B11/00Automatic controllers
    • G05B11/01Automatic controllers electric
    • G05B11/36Automatic controllers electric with provision for obtaining particular characteristics, e.g. proportional, integral, differential
    • G05B11/42Automatic controllers electric with provision for obtaining particular characteristics, e.g. proportional, integral, differential for obtaining a characteristic which is both proportional and time-dependent, e.g. P.I., P.I.D.
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03HIMPEDANCE NETWORKS, e.g. RESONANT CIRCUITS; RESONATORS
    • H03H11/00Networks using active elements
    • H03H11/02Multiple-port networks
    • H03H11/16Networks for phase shifting

Abstract

The invention provides a circuit and a method for adjusting an effective value of an electric signal and ventilation treatment equipment, and relates to the field of medical instruments. The circuit comprises: the effective value operation unit operates the electric signal and outputs a square wave signal to the second-order filtering unit, and the second-order filtering unit converts the square wave signal and outputs an analog quantity voltage value corresponding to the square wave signal; the effective value adjusting unit receives the analog quantity voltage value and the reference voltage generated by the reference value unit and outputs the adjusted analog quantity voltage value. The circuit of the invention can not generate the condition that the effective value lags the actual requirement after adjustment, and can be quickly adjusted as long as the effective value of the electric signal changes, thereby well ensuring the constancy of the effective value of the electric signal, naturally greatly improving the stability of a heating system and greatly improving the treatment effect of the ventilation treatment equipment. The cost of the ventilation treatment equipment is indirectly reduced while the dependence on the calculation force of software and a single chip microcomputer is reduced.

Description

Circuit and method for adjusting effective value of electric signal and ventilation treatment equipment
Technical Field
The invention relates to the field of medical instruments, in particular to a circuit and a method for adjusting an effective value of an electric signal and ventilation treatment equipment.
Background
Ventilation therapy devices include a heating system that is currently controlled in a variety of ways. One of the preferable modes is controlled by silicon controlled rectifier phase shift, the control fluctuation of the control mode is small, the output current and voltage of the system are relatively smooth, and the heating system is small in integral volume and relatively simple in structure.
The controllable silicon phase shift control needs to be realized based on the effective value of the electric signal, and the constancy of the effective value plays a crucial role in the stability of the heating system. At present, the control for realizing the constant effective value in the silicon controlled phase shift control is completed by a single chip microcomputer, and the current mode can only be suitable for standard sine wave alternating current signals, the single chip microcomputer needs to accurately measure the period of alternating current in actual control, and the adjustment of the effective value also needs to be realized by a software algorithm.
Because the control of the constant effective value is finished by the single chip microcomputer at present, the single chip microcomputer needs to carry out a large amount of data operation and processing. Therefore, the heating system has higher calculation capability requirement on the single chip microcomputer, the cost of the heating system is invisibly increased, more importantly, the effective value adjustment of the single chip microcomputer is realized by a software algorithm, and the calculation and data processing of the single chip microcomputer require time, so that the adjusted effective value obtained by calculation is undoubtedly lagged behind the actual requirement, the calculation and processing load of the single chip microcomputer is increased, the working efficiency of the single chip microcomputer is reduced, the control of the constant effective value of the alternating current cannot be well met, the stability of the heating system is poor, and the treatment effect of the ventilation treatment equipment is finally influenced.
Disclosure of Invention
The invention provides a circuit and a method for adjusting an effective value of an electric signal and ventilation treatment equipment, and provides a technical scheme for adjusting the effective value of the electric signal without a software algorithm.
In a first aspect, a circuit for effective value adjustment of an electrical signal is provided, the circuit comprising: the device comprises an effective value operation unit, a second-order filtering unit, a reference value unit and an effective value adjusting unit;
the effective value operation unit operates an electric signal and outputs a square wave signal to the second-order filtering unit, and the square wave signal represents an effective value of the electric signal;
the second-order filtering unit converts the square wave signal and outputs an analog quantity voltage value corresponding to the square wave signal;
the effective value adjusting unit receives the analog quantity voltage value and the reference voltage generated by the reference value unit and outputs the adjusted analog quantity voltage value;
wherein the adjusted analog voltage value represents a voltage value obtained by adjusting the effective value based on the reference voltage.
Optionally, the effective value adjusting unit includes: the circuit comprises a first resistor, a second resistor, a third resistor, a first capacitor and an operational amplifier;
the first end of the first resistor is connected with the second-order filtering unit;
the second end of the first resistor is connected with the non-inverting end of the operational amplifier;
the inverting end of the operational amplifier is respectively connected with the second end of the second resistor and the first end of the first capacitor;
the first end of the second resistor is connected with the reference value unit;
the second end of the first capacitor is connected with the first end of the third resistor;
and the second end of the third resistor is connected with the output end of the operational amplifier.
Optionally, the reference value unit includes: a fourth resistor, a fifth resistor, a first reference voltage terminal;
a first end of the fourth resistor is connected with the first reference voltage end, and the first reference voltage end provides reference voltage;
the second end of the fourth resistor is connected with the first end of the fifth resistor and the first end of the second resistor respectively;
and the second end of the fifth resistor is grounded.
Optionally, the second-order filtering unit includes: a sixth resistor, a seventh resistor, a second capacitor and a third capacitor;
a first end of the sixth resistor is connected with the effective value measuring unit;
a second end of the sixth resistor is connected with a first end of the seventh resistor and a first end of the second capacitor respectively;
a second end of the seventh resistor is connected with a first end of the third capacitor and a first end of the first resistor respectively;
and the second end of the second capacitor and the second end of the third capacitor are both grounded.
Optionally, the valid value operation unit includes: a single chip microcomputer;
the first end of the single chip microcomputer is connected with a second reference voltage end, and the second reference voltage end provides the reference voltage;
the fourth end of the singlechip is connected with the first end of the sixth resistor;
the third end of the singlechip is grounded;
and the second end of the singlechip receives the electric signal, calculates the electric signal to obtain an effective value of the electric signal, and outputs the effective value to the second-order filtering unit from the fourth end of the singlechip in the form of the square wave signal.
Optionally, the circuit further comprises: an effective value amplitude limiting unit;
the effective value clipping unit includes: an eighth resistor, a ninth resistor, a tenth resistor and a fourth capacitor;
a first end of the eighth resistor is connected with an output end of the operational amplifier and a second end of the third resistor respectively;
a second end of the eighth resistor is connected to a second end of the ninth resistor, a first end of the tenth resistor, and a first end of the fourth capacitor, respectively;
a first end of the ninth resistor is connected with the third reference voltage end, and the third reference voltage end provides the reference voltage;
a second end of the tenth resistor and a second end of the fourth capacitor are both grounded;
and the regulated analog quantity voltage value is output from the second end of the eighth resistor.
In a second aspect, a method for effective value adjustment of an electrical signal is provided, the method comprising:
acquiring a square wave signal representing an effective value of the electric signal;
converting the square wave signal to obtain an analog quantity voltage value corresponding to the square wave signal;
acquiring a reference voltage;
regulating the analog quantity voltage value according to the analog quantity voltage value and the reference voltage, and outputting the regulated analog quantity voltage value;
wherein the adjusted analog voltage value represents a voltage value obtained by adjusting the effective value based on the reference voltage.
Optionally, the step of obtaining a square wave signal representing an effective value of the electrical signal specifically includes:
and calculating the electric signal by using an effective value measurement algorithm of a single chip microcomputer to obtain an effective value of the electric signal, and converting the effective value into the square wave signal.
Optionally, converting the square wave signal to obtain an analog quantity voltage value corresponding to the square wave signal, includes:
and converting the received square wave signal by using a second-order filtering unit to obtain an analog quantity voltage value corresponding to the square wave signal.
Optionally, adjusting the analog voltage value according to the analog voltage value and the reference voltage, and outputting the adjusted analog voltage value, including:
and performing PI regulation on the analog quantity voltage value by using an effective value regulating unit based on the reference voltage, and outputting the analog quantity voltage value after the PI regulation.
Optionally, the calculating the electric signal by using an effective value measurement algorithm of a single chip to obtain the effective value of the electric signal includes:
performing a squaring operation on the electric signal to obtain a squaring result of the electric signal;
performing low-pass filtering on the squaring result to obtain a low-pass filtered squaring result;
and performing square operation on the low-pass filtered square product to obtain an effective value of the electric signal.
Optionally, the effective value adjusting unit includes an operational amplifier, a plurality of resistors, and a capacitor, and the operational amplifier, the plurality of resistors, and the capacitor form a PI adjusting circuit; performing PI regulation on the analog quantity voltage value based on the reference voltage by using an effective value regulation unit, wherein the PI regulation comprises the following steps:
receiving the analog voltage value and the reference voltage by the operational amplifier;
and carrying out PI regulation on the analog quantity voltage value based on the reference voltage and the PI regulation circuit by utilizing the virtual short virtual break of the operational amplifier.
In a third aspect, there is provided a ventilation therapy device comprising: a heating system;
the heating system includes: a circuit for effective value adjustment of an electrical signal as claimed in any one of the first to third aspects.
According to the circuit for adjusting the effective value of the electric signal, provided by the invention, the effective value operation unit operates the electric signal and outputs a square wave signal representing the effective value of the electric signal to the second-order filtering unit, the second-order filtering unit converts the square wave signal and outputs an analog quantity voltage value corresponding to the square wave signal, the effective value adjusting unit receives the analog quantity voltage value and a reference voltage generated by the reference value unit, the reference voltage is used for adjusting, and the voltage value obtained by adjusting the representative effective value based on the reference voltage, namely the adjusted analog quantity voltage value, is output.
The circuit for adjusting the effective value of the electric signal creatively adopts a pure hardware mode to realize the adjustment of the effective value of the electric signal, and a singlechip is not required to adopt a software algorithm to realize the adjustment of the effective value. Because the pure hardware circuit does not need to operate, the condition that the effective value lags behind the actual requirement after adjustment can not occur, and the effective value can be rapidly adjusted as long as the effective value of the electric signal changes, thereby well ensuring the constancy of the effective value of the electric signal, naturally greatly improving the stability of a heating system, and greatly improving the treatment effect of the ventilation treatment equipment. In addition, the single chip microcomputer does not need to adopt a software algorithm to realize effective value adjustment, so that the cost of the ventilation treatment equipment is indirectly reduced while the dependence on the calculation force of the software and the single chip microcomputer is reduced, and the ventilation treatment equipment has higher practical value.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
FIG. 1 is a block diagram of an electrical signal effective value conditioning circuit according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a preferred electrical signal effective value adjustment circuit according to an embodiment of the present invention;
FIG. 3 is a flow chart of a method for adjusting the effective value of an electrical signal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a modular schematic diagram of an electrical signal effective value conditioning circuit according to an embodiment of the present invention is shown, the circuit including: the device comprises an effective value operation unit, a second-order filtering unit, a reference value unit and an effective value adjusting unit; the effective value operation unit receives the electrical signal and operates the electrical signal to obtain an effective value of the electrical signal, and the unit outputs a square wave signal representing the effective value of the electrical signal to the second-order filtering unit.
In the embodiment of the invention, after the second-order filtering unit receives the square wave signal, the square wave signal is converted to obtain the analog quantity voltage value corresponding to the square wave signal, and the analog quantity voltage value is output to the effective value adjusting unit. The reason why the conversion into the analog voltage value is required is that the adjustment of the effective value of the electrical signal is realized based on pure hardware, and a pure hardware circuit cannot process the digital signal, so that the conversion is required to convert the digital signal into the analog signal, that is, the analog voltage value.
In the embodiment of the invention, the effective value adjusting unit receives the analog quantity voltage value, simultaneously needs to receive the reference voltage generated by the reference value unit, adjusts the analog quantity voltage value based on the reference voltage, and finally outputs the adjusted analog quantity voltage value; the regulated analog quantity voltage value is used for representing a voltage value obtained by regulating the effective value of the electric signal based on the reference voltage. The follow-up silicon controlled rectifier phase shift control can realize the on-off control of the silicon controlled rectifier based on the regulated analog quantity voltage value, so that the stability of the silicon controlled rectifier is greatly improved. Because the pure hardware circuit does not need to operate, the condition that the effective value lags behind the actual requirement after adjustment can not occur, and the effective value can be rapidly adjusted as long as the effective value of the electric signal changes, thereby well ensuring the constancy of the effective value of the electric signal, naturally greatly improving the stability of a heating system, and greatly improving the treatment effect of the ventilation treatment equipment. In addition, the singlechip does not need to adopt a software algorithm to realize effective value adjustment, so that the cost of the ventilation treatment equipment is indirectly reduced while the dependence on the calculation force of the software and the singlechip is reduced. In addition, in the operation process of obtaining the effective value of the electrical signal by the effective value operation unit in the embodiment of the present invention, it is not necessary to accurately measure the period of the alternating current, and specific reasons are described below and will not be described in detail first.
Specifically, a schematic circuit structure diagram of a preferred electrical signal effective value adjustment according to an embodiment of the present invention is shown in fig. 2, where fig. 2 includes: the circuit comprises a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, an eighth electronic resistor R8, a ninth resistor R9, a tenth resistor R10, a first capacitor C1, a second capacitor C2, a third capacitor C3, a fourth capacitor C4, a singlechip U1 and an operational amplifier U2.
In an embodiment of the present invention, a preferred effective value adjusting unit may include: the circuit comprises a first resistor R1, a second resistor R2, a third resistor R3, a first capacitor C1 and an operational amplifier U2. A first end of the first resistor R1 is connected with a second end of a seventh resistor R7 in the second-order filtering unit; the second terminal of the first resistor R1 and the non-inverting terminal V of the operational amplifier U2+V-Connecting; the analog voltage value output by the second-order filtering unit is reduced by the first resistor R1 and then input to the non-inverting terminal of the operational amplifier U2. This is because the voltage value that can be handled by the inverting terminal and the non-inverting terminal of the operational amplifier has an upper limit, and if the magnitude of the analog voltage value exceeds the upper limit, the operational amplifier U2 cannot operate normally, so the first resistor R1 is provided to reduce the magnitude of the analog voltage value.
The inverting end of the operational amplifier U2 is connected with the second end of the second resistor R2 and the first end of the first capacitor C1 respectively; a first terminal of the second resistor R1 is connected to a second terminal of the fourth resistor R4 in the reference cell. The reference voltage generated by the reference value unit is dropped by the second resistor R2 and then input to the inverting terminal of the operational amplifier U1, for the same reason as the analog voltage is dropped by the first resistor R1.
The second end of the first capacitor C1 is connected with the first end of the third resistor R3; the second terminal of the third resistor R3 is connected to the output terminal of the operational amplifier U2. The operational amplifier U2, the second resistor R3, the third resistor R3 and the first capacitor C1 jointly form a PI adjusting circuit, so that the analog quantity voltage value can be subjected to PI adjustment based on reference voltage, the PI adjustment is realized by a pure hardware circuit, the current situation that the singlechip realizes the adjustment of the effective value of alternating current by adopting a software algorithm is eliminated, and the problems are solved.
In an embodiment of the present invention, a preferred reference value unit may include: a fourth resistor R4, a fifth resistor R5, a first reference voltage terminal; a first terminal of the fourth resistor R4 is connected to a first reference voltage terminal, which provides a reference voltage, e.g., 3.3V in fig. 2. In the embodiment of the present invention, the first reference voltage terminal, the second reference voltage terminal, and the third reference voltage terminal all provide the reference voltage 3.3, and of course, each reference voltage terminal may provide different reference voltages according to actual requirements.
A second end of the fourth resistor R4 is connected with a first end of the fifth resistor R5 and a first end of the second resistor R2 respectively; the second terminal of the fifth resistor R5 is connected to ground GND. In practical application, the resistance values of the fourth resistor R4 and the fifth resistor R5 can be selected according to the required reference voltage to obtain the required reference voltage, and the reference voltage is reduced by the second resistor R2 and then input to the inverting terminal of the operational amplifier U2.
In an embodiment of the present invention, a preferred second-order filtering unit may include: a sixth resistor R6, a seventh resistor R7, a second capacitor C2 and a third capacitor C3; a first end of the sixth resistor R6 is connected with a fourth end (OUT of U1 in FIG. 2) of the singlechip U1 in the effective value measuring unit; a second end of the sixth resistor R6 is connected to a first end of the seventh resistor R7 and a first end of the second capacitor C2, respectively; a second end of the seventh resistor R7 is connected to a first end of the third capacitor C3 and a first end of the first resistor R1, respectively; the second terminal of the second capacitor C2 and the second terminal of the third capacitor C3 are both connected to GND. The square wave signal output from the second end of the singlechip U1 is converted into an analog quantity voltage value after passing through a second-order filtering unit, and then is input to the in-phase end of the operational amplifier U2 after being subjected to voltage reduction through a first resistor R1.
In an embodiment of the present invention, a preferred effective value operation unit may include: a singlechip U1; the first end (VDD of U1 in FIG. 1) of the singlechip U1 is connected with a second reference voltage end, and the second reference voltage end provides a reference voltage of 3.3V; the fourth end (OUT of U1 in FIG. 1) of the singlechip U1 is connected with the first end of a sixth resistor R6; the third end (GND of U1 in FIG. 2) of the singlechip U1 is grounded GND; the second end of the single chip microcomputer U1 (VP of U1 in fig. 2) receives the electrical signal VIN, and after the single chip microcomputer U1 receives the electrical signal VIN, the electrical signal VIN is calculated to obtain an effective value of the electrical signal, and how to calculate the effective value is specifically described, which is not repeated herein. And then the single chip microcomputer U1 outputs the effective value to a second-order filtering unit from the fourth end of the single chip microcomputer U1 in the form of a square wave signal.
In the embodiment of the invention, due to the characteristic of the PI regulation, the PI regulation result (i.e. the regulated analog quantity voltage value) output by the operational amplifier U2 may exceed a reasonable range value, so that the regulated analog quantity voltage value needs to be limited, and the analog quantity voltage value after limitation regulation is the final effective value of the electric signal for silicon controlled phase shift control. Therefore, the circuit for adjusting the effective value of the electric signal according to the embodiment of the present invention further includes: an effective value amplitude limiting unit; the effective value clipping unit may include: an eighth resistor R8, a ninth resistor R9, a tenth resistor R10 and a fourth capacitor C4; a first end of the eighth resistor R8 is connected to the output end of the operational amplifier U2 and a second end of the third resistor R3, respectively; a second end of the eighth resistor R8 is connected to a second end of the ninth resistor R9, a first end of the tenth resistor R10, and a first end of the fourth capacitor C4, respectively; a first end of the ninth resistor R9 is connected with a third reference voltage end, and the third reference voltage end provides a reference voltage of 3.3V; a second end of the tenth resistor R10 and a second end of the fourth capacitor C4 are both connected to GND; the analog quantity voltage value regulated by the operational amplifier U2PI is output from the second end of the eighth resistor R8, and the output is the analog quantity voltage value after amplitude limiting regulation, namely the electric signal effective value V-CTRL used for silicon controlled rectifier phase shift control.
The operating principle of the circuit shown in fig. 2 is: after the single chip microcomputer U1 obtains the electrical signal VIN, the electrical signal VIN is operated to obtain an effective value of the electrical signal VIN, the effective value is output to the second-order filtering unit in the form of a square wave signal, and the square wave signal is converted into an analog quantity voltage value corresponding to the square wave signal through the second-order filtering unit formed by the sixth resistor R6, the seventh resistor R7, the second capacitor C2 and the third capacitor C3.
The analog voltage value is input to the non-inverting terminal of the operational amplifier U2 after being reduced by the first resistor R1, meanwhile, the reference value unit generates a reference voltage based on the voltage division of the fourth resistor R4 and the fifth resistor R5, and the reference voltage is input to the inverting terminal of the operational amplifier U2 after being reduced by the second resistor R2.
The operational amplifier U2, the second resistor R2, the third resistor R3 and the first capacitor C3 form a PI adjusting circuit, so that PI adjustment can be achieved on the analog quantity voltage value based on the reference voltage, and after the analog quantity voltage value after PI adjustment is subjected to amplitude limiting through an effective value amplitude limiting unit formed by the eighth resistor R8, the ninth resistor R9, the tenth resistor R10 and the fourth capacitor C4, the result of PI adjustment is within a reasonable range value, and the obtained analog quantity voltage value after the amplitude limiting adjustment is the final effective value of the electric signal for silicon controlled phase shift control.
The follow-up silicon controlled rectifier phase shift control can realize the on-off control of the silicon controlled rectifier based on the analog quantity voltage value after the amplitude limiting adjustment, so that the stability of the silicon controlled rectifier is greatly improved. Because the pure hardware circuit does not need to operate, the condition that the effective value lags behind the actual requirement after adjustment can not occur, and the effective value can be rapidly adjusted as long as the effective value of the electric signal changes, thereby well ensuring the constancy of the effective value of the electric signal, naturally greatly improving the stability of a heating system, and greatly improving the treatment effect of the ventilation treatment equipment. In addition, the singlechip does not need to adopt a software algorithm to realize effective value adjustment, so that the cost of the ventilation treatment equipment is indirectly reduced while the dependence on the calculation force of the software and the singlechip is reduced.
In the embodiment of the present invention, as long as the single chip microcomputer U1 can perform operation on the effective value of an electrical signal with any waveform, and the subsequent pure hardware adjusting circuit can perform PI adjustment on the electrical signal with any waveform, in order to implement that the single chip microcomputer U1 can perform operation not only on the effective value of a sine wave alternating current signal but also on the effective value of an electrical signal with any waveform, the inventor creatively provides another different operation method for operating the effective value of an electrical signal on the basis of the currently known electrical signal effective value operation method, and the operation method can perform effective value operation on the electrical signal with any waveform, and the operation method can be obtained on the basis of the following theoretical bases:
after the single chip microcomputer U1 receives the electric signal x (t) with an arbitrary waveform, it first performs a squaring operation on the electric signal x (t), and performs fourier decomposition on the electric signal after the squaring operation on the basis of the mathematical theory, so as to obtain an expression of a squaring result P of the electric signal, which is shown in the following formula (1):
Figure BDA0002971910800000101
wherein a iskFor Fourier series, let ak=anThen, the following formula (2):
Figure BDA0002971910800000102
intermediate transformation of formula (2) gives the following formula (3):
Figure BDA0002971910800000103
after the single chip microcomputer U1 performs the squaring operation on the electrical signal x (t), the squaring result P needs to be subjected to low-pass filtering to obtain a low-pass filtered squaring result; the design cut-off frequency of the low-pass filtering can be set to be much lower than the universal power frequency 50hZ or 60hZ, so any item containing each harmonic is filtered by the low-pass filtering, and the low-pass filtered self-multiplication result P is obtained on the basis of mathematical theory1As shown in the following formula (4):
Figure BDA0002971910800000104
the singlechip U1 finally carries out low-pass filtering on the squaring result P1The effective value A of the electrical signal x (t) is obtained by performing an evolution operation, and the effective value A is shown as the following formula (5) based on the mathematical theory:
Figure BDA0002971910800000105
as can be known from equation (5), equation (5) is the same as the equation of the currently known arbitrary waveform effective value algorithm, and therefore, the electric signal effective value algorithm provided by the embodiment of the present invention can obtain the true effective value of the arbitrary waveform. Moreover, as can be known from the five expressions, the period parameter of the electrical signal is not used in the operation process of the electrical signal effective value algorithm provided by the invention, so that the single chip microcomputer U1 of the invention only needs to perform on the electrical signal with any waveform without accurately measuring the period of the electrical signal (i.e. without accurately measuring the period of the alternating current): the effective value of the electric signal with any waveform can be calculated by squaring, filtering and squaring. Because the single chip microcomputer U1 can carry out operation aiming at the effective value of the electric signal with any waveform, the subsequent pure hardware adjusting circuit can carry out PI adjustment aiming at the electric signal with any waveform.
In the specific PI regulation process, a fourth resistor R4, a fifth resistor R5 and a reference voltage V in a reference value unitref(in FIG. 2, V is indicated by 3.3Vref) According to the circuit structure, the equivalent resistor RA can be equivalently connected in series with the reference voltage of 3.3V, and the equivalent resistor RA is equivalently connected in parallel with the fourth resistor R4 and the fifth resistor R5. The equivalent resistor RA is connected with the second resistor R2 in series and then connected to the inverting terminal of the operational amplifier U2, and based on the virtual short virtual break theory of the operational amplifier U2, the output V of the operational amplifier U2 can be obtained0The expression (c) is shown in the following formula (6):
Figure BDA0002971910800000111
the two sides of the formula (6) are laplace transformed to obtain the PI regulation items:
KI is C1 (R2+ RA); KP is R3/(R2+ RA); vref-V-Is an error term in which V-Representing the inverting input voltage of the operational amplifier U2. Can know through each item of PI regulation, through the different changes to second resistance R2, third resistance R3, fourth resistance R4, fifth resistance R5 and first electric capacity C1, can realize PI regulation, namely, realized the pure hardware PI regulation to analog quantity voltage value (promptly electric signal effective value), the singlechip no longer need adopt the software algorithm to realize the regulation of electric signal effective value, when reducing the dependence to software and singlechip calculation power, still indirectly reduced the cost of treatment equipment of ventilating.
In the embodiment of the present invention, based on the above technical solution concept, a method for adjusting an effective value of an electrical signal is further provided, and fig. 3 shows a flowchart of the method for adjusting an effective value of an electrical signal in the embodiment of the present invention. The method comprises the following steps:
step 301: acquiring a square wave signal representing an effective value of the electric signal;
step 302: converting the square wave signal to obtain an analog quantity voltage value corresponding to the square wave signal;
step 303: a reference voltage is obtained.
In the embodiment of the invention, the reference voltage, the square wave signal representing the effective value of the electric signal and the conversion of the square wave signal can be obtained by the method, so that the analog quantity voltage value corresponding to the square wave signal is obtained. Of course, it is understood that the signal may be obtained and converted by other means, and only the magnitude of the square wave signal may accurately reflect the magnitude of the effective value of the electrical signal with any waveform.
Step 304: and adjusting the analog quantity voltage value according to the analog quantity voltage value and the reference voltage, and outputting the adjusted analog quantity voltage value, wherein the adjusted analog quantity voltage value represents the voltage value obtained by adjusting the effective value based on the reference voltage.
In the embodiment of the invention, after the analog quantity voltage value and the reference voltage corresponding to the square wave signal are obtained, PI regulation is carried out on the analog quantity voltage value according to the analog quantity voltage value and the reference voltage, and the analog quantity voltage value after PI regulation is output, and the analog quantity voltage value after PI regulation is subjected to amplitude limiting of the effective value amplitude limiting unit to be the final electric signal effective value for silicon controlled phase shift control.
Optionally, the step of obtaining a square wave signal representing an effective value of the electrical signal specifically includes:
and calculating the electric signal by using an effective value measurement algorithm of a single chip microcomputer to obtain an effective value of the electric signal, and converting the effective value into the square wave signal.
Optionally, converting the square wave signal to obtain an analog quantity voltage value corresponding to the square wave signal, includes:
and converting the received square wave signal by using a second-order filtering unit to obtain an analog quantity voltage value corresponding to the square wave signal.
Optionally, adjusting the analog voltage value according to the analog voltage value and the reference voltage, and outputting the adjusted analog voltage value, including:
and performing PI regulation on the analog quantity voltage value by using an effective value regulating unit based on the reference voltage, and outputting the analog quantity voltage value after the PI regulation.
Optionally, the calculating the electric signal by using an effective value measurement algorithm of a single chip to obtain the effective value of the electric signal includes:
performing a squaring operation on the electric signal to obtain a squaring result of the electric signal;
performing low-pass filtering on the squaring result to obtain a low-pass filtered squaring result;
and performing square operation on the low-pass filtered square product to obtain an effective value of the electric signal.
Optionally, the effective value adjusting unit includes an operational amplifier, a plurality of resistors, and a capacitor, and the operational amplifier, the plurality of resistors, and the capacitor form a PI adjusting circuit; performing PI regulation on the analog quantity voltage value based on the reference voltage by using an effective value regulation unit, wherein the PI regulation comprises the following steps:
receiving the analog voltage value and the reference voltage by the operational amplifier;
and carrying out PI regulation on the analog quantity voltage value based on the reference voltage and the PI regulation circuit by utilizing the virtual short virtual break of the operational amplifier. As described above, the PI adjustment can be realized by differently changing the second resistor R2, the third resistor R3, the fourth resistor R4, the fifth resistor R5, and the first capacitor C1, that is, the pure hardware PI adjustment of the analog voltage value (i.e., the effective value of the electrical signal) is realized.
By the method, the circuit for adjusting the effective value of the electric signal can calculate the effective value of the electric signal with any waveform, the subsequent pure hardware adjusting circuit can perform PI adjustment on the electric signal with any waveform and output the electric signal after amplitude limiting of the effective value amplitude limiting unit, and subsequent silicon controlled rectifier phase shift control can realize on-off control of the silicon controlled rectifier based on the analog quantity voltage value adjusted by the amplitude limiting, so that the stability of the silicon controlled rectifier is greatly improved. Because the pure hardware circuit does not need to operate, the condition that the effective value lags behind the actual requirement after adjustment can not occur, and the effective value can be rapidly adjusted as long as the effective value of the electric signal changes, thereby well ensuring the constancy of the effective value of the electric signal, naturally greatly improving the stability of a heating system, and greatly improving the treatment effect of the ventilation treatment equipment. In addition, the singlechip does not need to adopt a software algorithm to realize effective value adjustment, and in the operation process of obtaining the effective value of the electric signal by operating the electric signal by the effective value operation unit, the period of the alternating current does not need to be accurately measured, so that the operation and processing capacity requirements of the singlechip are further reduced, the dependence on the calculation capacity of the software and the singlechip is further reduced, and the cost of the ventilation treatment equipment is indirectly reduced.
Based on the above circuit and method for adjusting the effective value of the electrical signal, an embodiment of the present invention further provides a heating system, where the heating system includes: a thyristor and a circuit for regulating the effective value of the electric signal.
Based on the circuit and the method for adjusting the effective value of the electric signal, the embodiment of the invention also provides a ventilation treatment device, which comprises: a heating system; the heating system includes: an electrical signal effective value conditioning circuit as claimed in any one of the preceding claims.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (13)

1. A circuit for effective value adjustment of an electrical signal, the circuit comprising: the device comprises an effective value operation unit, a second-order filtering unit, a reference value unit and an effective value adjusting unit;
the effective value operation unit operates an electric signal and outputs a square wave signal to the second-order filtering unit, and the square wave signal represents an effective value of the electric signal;
the second-order filtering unit converts the square wave signal and outputs an analog quantity voltage value corresponding to the square wave signal;
the effective value adjusting unit receives the analog quantity voltage value and the reference voltage generated by the reference value unit and outputs the adjusted analog quantity voltage value;
wherein the adjusted analog voltage value represents a voltage value obtained by adjusting the effective value based on the reference voltage.
2. The circuit according to claim 1, wherein the effective value adjusting unit comprises: the circuit comprises a first resistor, a second resistor, a third resistor, a first capacitor and an operational amplifier;
the first end of the first resistor is connected with the second-order filtering unit;
the second end of the first resistor is connected with the non-inverting end of the operational amplifier;
the inverting end of the operational amplifier is respectively connected with the second end of the second resistor and the first end of the first capacitor;
the first end of the second resistor is connected with the reference value unit;
the second end of the first capacitor is connected with the first end of the third resistor;
and the second end of the third resistor is connected with the output end of the operational amplifier.
3. The circuit of claim 2, wherein the reference value unit comprises: a fourth resistor, a fifth resistor, a first reference voltage terminal;
a first end of the fourth resistor is connected with the first reference voltage end, and the first reference voltage end provides reference voltage;
the second end of the fourth resistor is connected with the first end of the fifth resistor and the first end of the second resistor respectively;
and the second end of the fifth resistor is grounded.
4. The circuit of claim 2, wherein the second order filtering unit comprises: a sixth resistor, a seventh resistor, a second capacitor and a third capacitor;
a first end of the sixth resistor is connected with the effective value measuring unit;
a second end of the sixth resistor is connected with a first end of the seventh resistor and a first end of the second capacitor respectively;
a second end of the seventh resistor is connected with a first end of the third capacitor and a first end of the first resistor respectively;
and the second end of the second capacitor and the second end of the third capacitor are both grounded.
5. The circuit according to claim 4, wherein the effective value operation unit includes: a single chip microcomputer;
the first end of the single chip microcomputer is connected with a second reference voltage end, and the second reference voltage end provides the reference voltage;
the fourth end of the singlechip is connected with the first end of the sixth resistor;
the third end of the singlechip is grounded;
and the second end of the singlechip receives the electric signal, calculates the electric signal to obtain an effective value of the electric signal, and outputs the effective value to the second-order filtering unit from the fourth end of the singlechip in the form of the square wave signal.
6. The circuit of claim 3, further comprising: an effective value amplitude limiting unit;
the effective value clipping unit includes: an eighth resistor, a ninth resistor, a tenth resistor and a fourth capacitor;
a first end of the eighth resistor is connected with an output end of the operational amplifier and a second end of the third resistor respectively;
a second end of the eighth resistor is connected to a second end of the ninth resistor, a first end of the tenth resistor, and a first end of the fourth capacitor, respectively;
a first end of the ninth resistor is connected with the third reference voltage end, and the third reference voltage end provides the reference voltage;
a second end of the tenth resistor and a second end of the fourth capacitor are both grounded;
and the regulated analog quantity voltage value is output from the second end of the eighth resistor.
7. A method of effective value adjustment of an electrical signal, the method comprising:
acquiring a square wave signal representing an effective value of the electric signal;
converting the square wave signal to obtain an analog quantity voltage value corresponding to the square wave signal;
acquiring a reference voltage;
regulating the analog quantity voltage value according to the analog quantity voltage value and the reference voltage, and outputting the regulated analog quantity voltage value;
wherein the adjusted analog voltage value represents a voltage value obtained by adjusting the effective value based on the reference voltage.
8. The method according to claim 7, characterized in that the step of obtaining a square-wave signal representative of the effective value of the electric signal comprises in particular:
and calculating the electric signal by using an effective value measurement algorithm of a single chip microcomputer to obtain an effective value of the electric signal, and converting the effective value into the square wave signal.
9. The method of claim 7, wherein converting the square wave signal to obtain an analog voltage value corresponding to the square wave signal comprises:
and converting the received square wave signal by using a second-order filtering unit to obtain an analog quantity voltage value corresponding to the square wave signal.
10. The method of claim 7, wherein adjusting the analog voltage value according to the analog voltage value and the reference voltage and outputting the adjusted analog voltage value comprises:
and performing PI regulation on the analog quantity voltage value by using an effective value regulating unit based on the reference voltage, and outputting the analog quantity voltage value after the PI regulation.
11. The method of claim 8, wherein the calculating the effective value of the electrical signal by using an effective value measurement algorithm of a single chip microcomputer comprises:
performing a squaring operation on the electric signal to obtain a squaring result of the electric signal;
performing low-pass filtering on the squaring result to obtain a low-pass filtered squaring result;
and performing square operation on the low-pass filtered square product to obtain an effective value of the electric signal.
12. The method according to claim 9, wherein the effective value adjusting unit includes an operational amplifier, a plurality of resistors, and a capacitor, the operational amplifier, the plurality of resistors, and the capacitor constituting a PI adjusting circuit; performing PI regulation on the analog quantity voltage value based on the reference voltage by using an effective value regulation unit, wherein the PI regulation comprises the following steps:
receiving the analog voltage value and the reference voltage by the operational amplifier;
and carrying out PI regulation on the analog quantity voltage value based on the reference voltage and the PI regulation circuit by utilizing the virtual short virtual break of the operational amplifier.
13. A ventilation therapy device, characterized in that it comprises: a heating system;
the heating system includes: electrical signal effective value conditioning circuit according to any one of claims 1-6.
CN202110264761.8A 2021-03-11 2021-03-11 Circuit and method for adjusting effective value of electric signal and ventilation treatment equipment Active CN113109617B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110264761.8A CN113109617B (en) 2021-03-11 2021-03-11 Circuit and method for adjusting effective value of electric signal and ventilation treatment equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110264761.8A CN113109617B (en) 2021-03-11 2021-03-11 Circuit and method for adjusting effective value of electric signal and ventilation treatment equipment

Publications (2)

Publication Number Publication Date
CN113109617A true CN113109617A (en) 2021-07-13
CN113109617B CN113109617B (en) 2023-06-20

Family

ID=76711060

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110264761.8A Active CN113109617B (en) 2021-03-11 2021-03-11 Circuit and method for adjusting effective value of electric signal and ventilation treatment equipment

Country Status (1)

Country Link
CN (1) CN113109617B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017050664A (en) * 2015-09-01 2017-03-09 セイコーエプソン株式会社 Analog reference voltage generating circuit, circuit device, physical quantity sensor, electronic device and moving object
CN206557556U (en) * 2017-03-15 2017-10-13 北京经纬恒润科技有限公司 A kind of closed-loop feedback control system
CN207601158U (en) * 2017-12-08 2018-07-10 深圳市英威腾电气股份有限公司 A kind of detection circuit and its microprocessor of voltage and current analog signals
CN207650672U (en) * 2017-12-26 2018-07-24 合肥金星机电科技发展有限公司 Distributed Feedback Laser temperature control circuit

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017050664A (en) * 2015-09-01 2017-03-09 セイコーエプソン株式会社 Analog reference voltage generating circuit, circuit device, physical quantity sensor, electronic device and moving object
CN206557556U (en) * 2017-03-15 2017-10-13 北京经纬恒润科技有限公司 A kind of closed-loop feedback control system
CN207601158U (en) * 2017-12-08 2018-07-10 深圳市英威腾电气股份有限公司 A kind of detection circuit and its microprocessor of voltage and current analog signals
CN207650672U (en) * 2017-12-26 2018-07-24 合肥金星机电科技发展有限公司 Distributed Feedback Laser temperature control circuit

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
徐爱钧: "智能化真有效值数字仪表设计", 《江汉石油学院学报》 *

Also Published As

Publication number Publication date
CN113109617B (en) 2023-06-20

Similar Documents

Publication Publication Date Title
US5298885A (en) Harmonic measuring instrument for AC power systems with poly-phase threshold means
US20090244937A1 (en) Dc bus voltage harmonics reduction
CN106655865B (en) Fractional order capacitor with adjustable order and capacitance value
CN109802442B (en) Method and control system for controlling a voltage source converter using power synchronous control
CN108111011B (en) The dynamic self-adapting number method of adjustment of wide operating frequency range interleaving PFC
CN110198130A (en) More vector optimization control systems and method under the conditions of a kind of unbalanced power grid
Gupta et al. Neural network based shunt active filter for harmonic and reactive power compensation under non-ideal mains voltage
Arya et al. Control of DSTATCOM using adjustable step least mean square control algorithm
Mukherjee et al. Control of a single-phase standalone inverter without an output voltage sensor
CN106357107B (en) Voltage-regulating circuit and programmable power supply
CN113109617A (en) Circuit and method for adjusting effective value of electric signal and ventilation treatment equipment
CN105911318B (en) A kind of method of electric energy meter calibrating apparatus output harmonic wave, subharmonic and m-Acetyl chlorophosphonazo
Pokharel et al. Stability study of power hardware in the loop (PHIL) simulations with a real solar inverter
Devi et al. Solar PV array integrated UPQC for power quality improvement based on modified GI
Gali et al. Improved dynamic performance of shunt active power filter using particle swarm optimization
Singh et al. Software PLL based control algorithm for power quality improvement in distribution system
de Carvalho et al. A DSP based torque meter for induction motors
CN109861523B (en) Voltage-sharing control method and device for series output of constant current modules and chip
Radionova et al. Mathematical description of AFE rectifier closed loop system
RU2512886C1 (en) Device to compensate high harmonics and correct grid power ratio
CN216956799U (en) Radio frequency ablation equipment and constant power control circuit thereof
Mehta et al. Design, analysis and implementation of DSP based single-phase shunt active filter controller
Vanjani et al. Performance analysis of three-phase four-wire shunt active power filter
Sezi Fast and accurate measurement of power system frequency
CN112152225B (en) Generator excitation difference adjustment coefficient optimization setting method considering small interference stability constraint

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230906

Address after: Room 301, Building 3, No. 770, Xiecao Road, Xiegang, Dongguan, Guangdong 523000

Patentee after: Dongguan Yihe Jiaye Medical Technology Co.,Ltd.

Address before: 100043 No. 110, Block A, Fengyu Office Building, 115 Fucheng Road, Haidian District, Beijing

Patentee before: BMC MEDICAL Co.,Ltd.