CN117233647B - AC/DC signal self-adaptive detection circuit and electrical equipment - Google Patents

AC/DC signal self-adaptive detection circuit and electrical equipment Download PDF

Info

Publication number
CN117233647B
CN117233647B CN202311498225.XA CN202311498225A CN117233647B CN 117233647 B CN117233647 B CN 117233647B CN 202311498225 A CN202311498225 A CN 202311498225A CN 117233647 B CN117233647 B CN 117233647B
Authority
CN
China
Prior art keywords
signal
circuit
alternating current
direct current
input
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.)
Active
Application number
CN202311498225.XA
Other languages
Chinese (zh)
Other versions
CN117233647A (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.)
Zhongguancun Xinhai Preferred Technology Co ltd
Original Assignee
Zhongguancun Xinhai Preferred Technology 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 Zhongguancun Xinhai Preferred Technology Co ltd filed Critical Zhongguancun Xinhai Preferred Technology Co ltd
Priority to CN202311498225.XA priority Critical patent/CN117233647B/en
Publication of CN117233647A publication Critical patent/CN117233647A/en
Application granted granted Critical
Publication of CN117233647B publication Critical patent/CN117233647B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Measurement Of Current Or Voltage (AREA)

Abstract

The invention relates to the field of signal detection, and particularly discloses an alternating current-direct current signal self-adaptive detection circuit and electrical equipment, wherein the detection circuit comprises: the alternating current/direct current signal identification circuit is configured to perform alternating current/direct current identification on an input signal of a signal input end and output a corresponding identification signal; the alternating-current/direct-current signal switching circuit is configured to select the signal input end to be communicated with the direct-current signal processing circuit or the alternating-current signal processing circuit based on the identification signal; the direct current signal processing circuit is configured to process the direct current input signal to obtain a direct current detection signal; the alternating current signal processing circuit is configured to process an alternating current input signal to obtain an alternating current detection signal; the controller is configured to determine a direct current parameter or an alternating current parameter of the input signal based on the respective detection signal. The detection circuit can realize the self-adaptive identification of the input signal through hardware, and has lower detection cost.

Description

AC/DC signal self-adaptive detection circuit and electrical equipment
Technical Field
The invention relates to the field of signal detection, in particular to an adaptive detection circuit for alternating current and direct current signals and electrical equipment.
Background
In electronic circuits, detection of ac signals and dc signals has been an important issue. For example, in an electric device that is powered by a mixture of an ac power source and a dc power source, it is necessary to detect an ac/dc signal to determine the current power source. In this regard, the ac/dc detection circuit in the related art generally performs type identification and parameter detection on an input signal by sampling the input signal with an operational amplifier chip or a dedicated single-phase electrical measurement chip, and then performing software calculation. However, the circuit structure and software calculation of such related art are complex, so that the detection cost of the circuit is high.
Disclosure of Invention
The present invention aims to solve at least one of the technical problems in the related art to some extent. Therefore, a first object of the present invention is to provide an ac/dc adaptive detection circuit, in which an ac/dc signal recognition circuit is provided to perform ac/dc recognition on an input signal and output a corresponding recognition signal, then a corresponding processing circuit is selected by an ac/dc switching circuit according to the recognition signal to obtain an ac detection signal or a dc detection signal, and then a controller determines parameters of the input signal according to the corresponding detection signal, so as to implement adaptive recognition and parameter detection on the input signal, and recognition of the input signal is implemented only by hardware, thereby effectively reducing complexity of circuit structure and software calculation, and further reducing detection cost of the detection circuit.
A second object of the present invention is to propose an electrical device.
In order to achieve the above object, an embodiment of a first aspect of the present invention provides an adaptive detection circuit for an ac/dc signal, the detection circuit comprising: the alternating current/direct current signal identification circuit is connected with the signal input end and is configured to perform alternating current/direct current identification on an input signal of the signal input end and output a corresponding identification signal; the alternating current-direct current signal switching circuit is respectively connected with the alternating current-direct current signal identification circuit, the signal input end, the direct current signal processing circuit and the alternating current signal processing circuit and is configured to select the signal input end to be communicated with the direct current signal processing circuit or to be communicated with the alternating current signal processing circuit based on the identification signal; the direct current signal processing circuit is configured to process a direct current input signal of the signal input end to obtain a direct current detection signal; the alternating current signal processing circuit is configured to process an alternating current input signal of the signal input end to obtain an alternating current detection signal; the controller is respectively connected with the direct current signal processing circuit and the alternating current signal processing circuit and is configured to determine the direct current parameter of the direct current input signal according to the direct current detection signal and determine the alternating current parameter of the alternating current input signal according to the alternating current detection signal.
According to the AC/DC signal self-adaptive detection circuit provided by the embodiment of the invention, the AC/DC signal identification circuit is arranged in the circuit to carry out AC/DC identification on the input signal and output the corresponding identification signal, then the AC/DC switching circuit is used for selecting the corresponding processing circuit according to the identification signal to obtain the AC detection signal or the DC detection signal, and the controller is used for determining the parameters of the input signal according to the corresponding detection signal, so that the self-adaptive identification and the parameter detection of the input signal are realized, the identification of the input signal is realized only in a hardware mode, the complexity of circuit structure and software calculation is effectively reduced, and the detection cost of the detection circuit is further reduced.
According to one embodiment of the present invention, an ac/dc signal recognition circuit includes: the input end of the phase shifter is connected with the signal input end and is configured to perform 180-degree phase shifting treatment on the input signal of the signal input end to obtain a phase-shifted signal; the first input end of the adder is connected with the output end of the phase shifter, the second input end of the adder is connected with the signal input end and is configured to sum the phase-shifted signal and the input signal to obtain a corresponding level signal; and the first input end of the logic gate is connected with the output end of the adder, the second input end of the logic gate is connected with the reference signal supply end, and the output end of the logic gate is connected with the alternating current-direct current signal switching circuit and is configured to output an identification signal based on the level signal and the reference signal.
According to one embodiment of the invention, the logic gate is an or gate or an and gate, and the reference signal is a low level signal or a high level signal.
According to one embodiment of the present invention, an ac/dc signal switching circuit includes: the fixed end of the selection switch is connected with the signal input end, the first selection end of the selection switch is connected with the direct current signal processing circuit, the second selection end of the selection switch is connected with the alternating current signal processing circuit, the control end of the selection switch is connected with the alternating current/direct current signal identification circuit, and the selection switch is configured to select the signal input end to be communicated with the direct current signal processing circuit or the alternating current signal processing circuit based on the identification signal.
According to one embodiment of the present invention, a direct current signal processing circuit includes: the first end of the voltage dividing circuit is connected with the alternating current-direct current signal switching circuit, and the second end of the voltage dividing circuit is connected with the controller and is configured to divide the direct current input signal to obtain a direct current detection signal.
According to one embodiment of the present invention, a voltage dividing circuit includes: one end of the first resistor is connected with the alternating current-direct current signal switching circuit; and one end of the second resistor is connected with the other end of the first resistor and the controller respectively, and the other end of the second resistor is connected with the first grounding end.
According to one embodiment of the present invention, an alternating current signal processing circuit includes: the optical coupling isolation circuit is connected with the alternating current-direct current signal switching circuit and is configured to convert an alternating current input signal into a first square wave signal; and the buffer is connected with the optical coupling isolation circuit and is configured to convert the first square wave signal into a second square wave signal to obtain an alternating current detection signal.
According to one embodiment of the present invention, an optocoupler isolation circuit includes: one end of the third resistor is connected with the alternating current-direct current signal switching circuit; the first end of the optical coupler is connected with the other end of the third resistor, the second end of the optical coupler is connected with the second grounding end, the third end of the optical coupler is connected with the first grounding end, and the fourth end of the optical coupler is connected with the buffer; and the fourth resistor is connected between the fourth end of the optocoupler and the direct-current power supply.
According to one embodiment of the invention, the detection circuit further comprises: the protection circuit is arranged between the alternating current/direct current signal identification circuit and the signal input end and is configured to perform overvoltage and overcurrent protection on the alternating current/direct current signal identification circuit, the alternating current/direct current signal switching circuit, the direct current signal processing circuit, the alternating current signal processing circuit and the controller.
According to one embodiment of the present invention, a protection circuit includes: one end of the fuse is connected with the signal input end, and the other end of the fuse is connected with the alternating current/direct current signal identification circuit; and one end of the voltage stabilizing tube is connected with the other end of the fuse, and the other end of the voltage stabilizing tube is connected with the second grounding end.
In order to achieve the above objective, a second embodiment of the present invention provides an electrical device, which includes the aforementioned ac/dc signal adaptive detection circuit.
According to the electrical equipment provided by the embodiment of the invention, through the AC/DC signal self-adaptive detection circuit, the self-adaptive identification and parameter detection of the input AC/DC signal can be realized at lower cost, so that the cost of the electrical equipment can be reduced.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
Fig. 1 is a schematic diagram of a structure of an ac/dc signal adaptive detection circuit according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an ac/dc signal identifying circuit according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an ac/dc signal switching circuit according to an embodiment of the invention;
FIG. 4 is a circuit diagram of an AC/DC signal processing circuit according to one embodiment of the present invention;
FIG. 5 is a circuit diagram of an AC/DC signal processing circuit according to one embodiment of the present invention;
FIG. 6 is a schematic diagram of waveforms of an input signal and a square wave signal according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an ac/dc signal adaptive detection circuit according to another embodiment of the present invention;
fig. 8 is a circuit diagram of a protection circuit according to one embodiment of the present invention;
fig. 9 is a schematic structural view of an electrical device according to an embodiment of the present invention.
Detailed Description
Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative and intended to explain the present invention and should not be construed as limiting the invention.
The following describes an ac/dc signal adaptive detection circuit and an electrical apparatus according to an embodiment of the present invention with reference to the accompanying drawings.
Fig. 1 is a schematic structural diagram of an ac/dc signal adaptive detection circuit according to an embodiment of the present invention, and referring to fig. 1, the detection circuit 100 includes: an ac/dc signal identification circuit 110, an ac/dc signal switching circuit 120, a dc signal processing circuit 130, an ac signal processing circuit 140, and a controller 150.
The ac/dc signal identifying circuit 110 is connected to the signal input terminal VIN, and is configured to perform ac/dc identification on an input signal of the signal input terminal VIN and output a corresponding identification signal; the ac/dc signal switching circuit 120 is respectively connected to the ac/dc signal identifying circuit 110, the signal input terminal VIN, the dc signal processing circuit 130 and the ac signal processing circuit 140, and is configured to select the signal input terminal VIN to be in communication with the dc signal processing circuit 130 or in communication with the ac signal processing circuit 140 based on the identifying signal; the dc signal processing circuit 130 is configured to process a dc input signal of the signal input terminal VIN to obtain a dc detection signal; the ac signal processing circuit 140 is configured to process an ac input signal of the signal input terminal VIN to obtain an ac detection signal; the controller 150 is connected to the dc signal processing circuit 130 and the ac signal processing circuit 140, respectively, and is configured to determine a dc parameter of the dc input signal according to the dc detection signal, and determine an ac parameter of the ac input signal according to the ac detection signal.
Specifically, referring to fig. 1, when the detection circuit 100 receives an ac input signal from the signal input terminal VIN, the ac/dc signal identifying circuit 110 can perform ac/dc identification on the input signal to output an ac identification signal to the ac/dc signal switching circuit 120. Subsequently, the ac/dc signal switching circuit 120 communicates the signal input terminal VIN with the ac signal processing circuit 140 based on the ac identification signal; the ac signal processing circuit 140 processes the input ac input signal to obtain an ac detection signal, and outputs the ac detection signal to the controller 150, and finally, the controller 150 determines ac parameters of the ac input signal according to the ac detection signal. Thus, automatic identification of the alternating current input signal and alternating current parameter detection are realized.
When the detection circuit 100 receives a dc input signal from the signal input terminal VIN, the ac/dc signal identifying circuit 110 can perform ac/dc identification on the input signal to output a dc identification signal to the ac/dc signal switching circuit 120. Subsequently, the ac/dc signal switching circuit 120 communicates the signal input terminal VIN with the dc signal processing circuit 130 based on the dc identification signal; the dc signal processing circuit 130 processes the input dc input signal to obtain a dc detection signal, and outputs the dc detection signal to the controller 150; finally, the controller 150 determines the dc parameter of the dc input signal according to the dc detection signal. Thereby, the automatic identification of the direct current input signal and the direct current parameter detection are realized.
In the related art, the detection method of the ac/dc signal generally adopts a special sampling chip combined with software for processing, so that the hardware circuit and the parameter calculation process of the ac/dc signal are relatively complex, resulting in higher detection cost. The detection circuit 100 in the embodiment of the invention can realize the self-adaptive identification of the alternating current and direct current signals through a hardware circuit, and does not need to be provided with a complex sampling circuit and software calculation assistance, thereby simplifying the circuit structure and the software calculation, and further reducing the detection cost of the detection circuit 100.
In the above embodiment, the ac/dc signal identification circuit is arranged in the circuit to perform ac/dc identification on the input signal and output the corresponding identification signal, then the ac/dc switching circuit selects the corresponding processing circuit according to the identification signal to obtain the ac detection signal or the dc detection signal, and the controller determines the parameters of the input signal according to the corresponding detection signal, so that the adaptive identification and parameter detection of the input signal are realized, and the identification of the input signal is realized only by hardware, thereby effectively reducing the complexity of circuit structure and software calculation, and further reducing the detection cost of the detection circuit.
In some embodiments, the ac/dc signal identification circuit 110 includes: a phase shifter 111, an adder 112, and a logic gate 113. The input end of the phase shifter 111 is connected to the signal input end VIN, and is configured to perform 180 ° phase shift processing on the input signal of the signal input end VIN to obtain a phase-shifted signal; a first input of the adder 112 is connected to the output of the phase shifter 111, and a second input of the adder 112 is connected to the signal input VIN, and is configured to sum the phase-shifted signal and the input signal to obtain a corresponding level signal; a first input terminal of the logic gate 113 is connected to an output terminal of the adder 112, a second input terminal of the logic gate 113 is connected to the reference signal supply terminal VCX, and an output terminal of the logic gate 113 is connected to the ac/dc signal switching circuit 120 and configured to output an identification signal based on the level signal and the reference signal.
Further, the logic gate 113 is an or gate or an and gate, and the reference signal is a low level signal or a high level signal.
Specifically, referring to fig. 2, the phase shifter 111 may perform 180 ° phase shift processing on an input signal to obtain a phase-shifted signal corresponding to the input signal, where the phase-shifted signal is identical to the input signal if the input signal is a dc signal, and the phase-shifted signal is an ac signal having the same waveform and 180 ° phase difference as the input signal if the input signal is an ac signal. Therefore, when the adder 112 sums the phase-shifted signals, if the input signal is a dc signal, the level signal voltage output from the adder 112 is twice the input signal, and if the input signal is an ac signal, the level signal output from the adder 112 becomes a zero voltage level signal due to cancellation.
The logic gate 113 is mainly used for converting level signals of different voltage values output by the adder 112 into corresponding identification signals, wherein the logic gate 113 can be logic circuits such as an and gate, an or gate, a nand gate, and the like. Taking the logic gate 113 as an and gate for example, the reference signal may be a high level signal, and when the adder 112 outputs a level signal twice as high as the input signal, the logic gate 113 will output a high level as the identification signal to indicate that the input signal is a dc signal; when the adder 112 outputs a zero voltage level signal, the logic gate 113 outputs a low level as an identification signal to indicate that the input signal is an ac signal.
Thus, by arranging the phase shifter, the adder and the logic gate in the alternating current signal identification circuit, the identification circuit completes the self-adaptive identification function of the alternating current signal and the direct current signal through a hardware circuit.
In some embodiments, referring to fig. 3, the ac/dc signal switching circuit 120 includes: the fixed end of the selection switch S is connected to the signal input end VIN, the first selection end of the selection switch S is connected to the dc signal processing circuit 130, the second selection end of the selection switch S is connected to the ac signal processing circuit 140, and the control end of the selection switch S is connected to the ac/dc signal identification circuit 110 and configured to select the signal input end VIN to be connected to the dc signal processing circuit 130 or to be connected to the ac signal processing circuit 140 based on the identification signal.
Specifically, taking the ac/dc signal identifying circuit 110 shown in fig. 2 as an example, referring to fig. 2 and 3, when the input signal is a dc input signal, the ac/dc signal identifying circuit 110 may output a high level as an identifying signal to be sent to the control terminal of the control switch S, so that the fixed end of the selection switch S is connected to the first selection terminal, and at this time, the signal input terminal VIN may be connected to the dc signal processing circuit 130 through the fixed end and the first selection terminal of the selection switch S, so that the detection circuit 100 may perform subsequent processing on the dc input signal. When the input signal is an ac input signal, the ac/dc signal identifying circuit 110 may output a low level as an identifying signal to be sent to the control terminal of the control switch S, so that the fixed end of the selection switch S is connected to the second selection terminal, and at this time, the signal input terminal VIN may be connected to the ac signal processing circuit 140 through the fixed end and the second selection terminal of the selection switch S, so that the detection circuit 100 may perform subsequent processing on the ac input signal. Thus, the function of the alternating current signal switching circuit that the signal input end is selected to be communicated with the direct current signal processing circuit or communicated with the alternating current signal processing circuit based on the identification signal is realized.
In some embodiments, referring to fig. 4, the direct current signal processing circuit 130 includes: the voltage dividing circuit 131, a first end of the voltage dividing circuit 131 is connected to the ac/dc signal switching circuit 120, and a second end of the voltage dividing circuit 131 is connected to the controller 150 and configured to divide the dc input signal to obtain a dc detection signal.
Further, the voltage dividing circuit 131 includes: a first resistor R1 and a second resistor R2. One end of the first resistor R1 is connected to the ac/dc signal switching circuit 120; and one end of the second resistor R2 is respectively connected with the other end of the first resistor R1 and the controller 150, and the other end of the second resistor R2 is connected with the first grounding end GND 1.
Specifically, referring to fig. 4, the first resistor R1 and the second resistor R2 form a typical voltage dividing circuit, and the voltage value of the dc input signal can be determined by the following formula (1):
(1)
wherein VIN is the voltage value of the dc input signal, VOUT is the voltage value of the dc detection signal, R1 is the resistance of the first resistor R1, and R2 is the resistance of the first resistor R2. As can be seen from the above, the controller 150 can determine the voltage value of the dc input signal according to the obtained voltage value of the dc detection signal, so as to realize the parameter detection function of the dc input signal. In addition, the controller 150 may obtain the voltage value of the dc detection signal through the ADC port, and may correspondingly adjust the resistance value of the first resistor R1 and the resistance value of the second resistor R2 according to the voltage range of the dc input signal, so that the voltage of the dc detection signal is within the detection range of the ADC port, so as to ensure that the detection circuit can work normally, thereby improving the reliability of the detection circuit.
In some embodiments, referring to fig. 5, the ac signal processing circuit 140 includes: an optocoupler isolation circuit 141, the optocoupler isolation circuit 141 being connected to the ac-dc signal switching circuit 120 and configured to convert an ac input signal into a first square wave signal; the buffer 142 is connected to the optocoupler isolation circuit 141, and is configured to convert the first square wave signal into a second square wave signal to obtain an ac detection signal.
Specifically, the optocoupler isolation circuit 141 may convert the ac input signal into the first square wave signal with nonstandard waveform by using the conductive characteristic of the internal optocoupler element. For example, when the ac input signal is a standard sine wave, the waveform of the converted first square wave signal may be as shown in fig. 6. Referring to fig. 6, the first square wave signal has the same frequency as the ac input signal, and the peak duration of the first square wave signal is related to the amplitude of the ac input signal. Accordingly, the first square wave signal may be input into the buffer 142, and the buffer 142 may be capable of waveform shaping the nonstandard first square wave signal to generate a standard square wave signal, i.e., a second square wave signal, as shown in fig. 6. The second square wave signal is an ac detection signal, and the controller 150 can obtain parameters such as frequency, effective voltage value, amplitude and the like of the ac input signal according to the ac detection signal, so as to realize a parameter detection function of the ac input signal, and due to the waveform shaping effect of the buffer 142, the second square wave signal can reflect various parameters of the ac input signal more accurately, so that the accuracy of detecting the parameters of the ac input signal by the detection circuit 100 is effectively improved. In addition, due to the isolation characteristic of the optocoupler, the ac signal processing circuit 140 does not affect the normal operation of the ac input signal source, so as to improve the convenience of the detection circuit.
Further, the optocoupler isolation circuit 141 includes: the third resistor R3, one end of the third resistor R3 is connected with the AC/DC signal switching circuit 120; the first end of the optical coupler OC is connected with the other end of the third resistor R3, the second end of the optical coupler OC is connected with the second grounding end GND2, the third end of the optical coupler OC is connected with the first grounding end GND1, and the fourth end of the optical coupler OC is connected with the buffer 142; the fourth resistor R4, the fourth resistor R4 is connected between the fourth terminal of the optocoupler OC and the dc power supply VDD.
Specifically, with continued reference to fig. 5, the optocoupler isolation circuit 141 includes an optocoupler OC to which an ac input signal is input through the ac-dc signal switching circuit 120. Because the first end and the second end of the optical coupler are provided with the light emitting diode, the optical coupler can determine the conduction degree of the optical coupler according to the voltage value of the alternating current input signal. Therefore, when the voltage value of the ac input signal is smaller than the on voltage of the optocoupler OC, the optocoupler OC is not turned on, and at this time, the output voltage of the fourth terminal of the optocoupler OC is the voltage of the dc power supply VDD; when the alternating current input signal is larger than the starting voltage of the optocoupler OC but does not saturate the optocoupler OC, the optocoupler OC is conducted and works in the amplifying region, and at the moment, the output voltage of the fourth end of the optocoupler OC fluctuates between 0V and the voltage of the direct current power supply VDD and gradually decreases along with the increase of the voltage of the alternating current input signal; when the voltage value of the alternating current input signal is larger than the saturation voltage of the optocoupler OC, the optocoupler OC works in a saturation region, and the output voltage of the fourth end of the optocoupler OC is stabilized at 0V. From the above, the optocoupler OC can convert the ac signal into a non-standard square wave signal with a large slope, as shown in fig. 6, so as to realize the function of converting the ac input signal into the first square wave signal by the optocoupler isolation circuit. In addition, the third resistor R3 and the fourth resistor R3 mainly play a role in current limiting, so as to avoid excessive current of the optocoupler isolation circuit 141 when the optocoupler is saturated.
Referring to fig. 6, the first square wave signal is shaped by the waveform of the buffer 142 and then becomes a standard second square wave signal, i.e., an ac detection signal. As can be seen from the above-mentioned generating process of the first square wave signal and the second square wave signal, the second square wave signal has the same frequency as the ac input signal, and as the voltage value of the ac input signal increases, the time for the optocoupler OC to operate in the saturation region and the amplification region increases, and the duration of the high level in the second square wave signal decreases, so that the duty ratio of the second square wave signal decreases. Accordingly, the frequency and period of the ac input signal may be determined according to the period of the ac detection signal, and the amplitude and effective value of the ac input signal may be determined according to the duty cycle of the ac detection signal. For example, a timer may be set in the controller 150 to collect durations of high level and low level in the ac detection signal, where two durations of adjacent high level and low level are periods of the ac input signal, and meanwhile, a duty cycle of the ac detection signal may be determined according to the durations of the high level and the periods of the ac input signal, and an amplitude and an effective value of the ac input signal may be combined with an operating parameter of the duty cycle signal and the optocoupler, so that the controller implements a parameter detection function for the ac input signal.
In some embodiments, referring to fig. 7, the detection circuit 100 further includes: the protection circuit 160 is disposed between the ac/dc signal identification circuit 110 and the signal input terminal VIN, and is configured to perform overvoltage and overcurrent protection on the ac/dc signal identification circuit 110, the ac/dc signal switching circuit 120, the dc signal processing circuit 130, the ac signal processing circuit 140, and the controller 150.
Further, referring to fig. 8, the protection circuit 160 includes: a fuse FS, one end of which is connected to the signal input terminal VIN, and the other end of which is connected to the ac/dc signal recognition circuit 110; and one end of the voltage stabilizing tube Z is connected with the other end of the fuse FS, and the other end of the voltage stabilizing tube Z is connected with the second grounding end GND 2.
Specifically, referring to fig. 8, when an overcurrent condition exists in each of the detection circuits 100, the fuse FS is blown to stop the operation of the detection circuit 100, thereby protecting the safety of the detection circuit 100; when the detecting circuit 100 has an overvoltage condition, the voltage at the signal input end VIN increases, which leads to reverse breakdown of the voltage regulator tube Z, and at this time, the signal input end VIN can be grounded through the fuse FS and the voltage regulator tube Z, so that the current of the circuit where the fuse FS is located increases, and the fuse FS fuses, so that the detecting circuit 100 stops working, and the safety of the detecting circuit 100 is protected.
Therefore, through the protection circuit formed by the fuse and the voltage stabilizing tube arranged in the detection circuit, overvoltage and overcurrent protection of the detection circuit is realized, and the safety of the detection circuit is improved.
Alternatively, the voltage stabilizing tube Z may be a TVS (Transient Voltage Suppressor, transient voltage suppressing diode) having a bidirectional voltage stabilizing characteristic and a bidirectional negative resistance characteristic, and thus also can effectively suppress the surge voltage occurring in the detection circuit 100, so that the safety of the detection circuit can be further improved.
In summary, according to the ac/dc signal adaptive detection circuit of the embodiment of the present invention, by setting the ac/dc signal identification circuit formed by the phase shifter, the adder and the logic gate in the circuit, the adaptive identification of the input signal by the hardware circuit is realized, and the complexity of the hardware circuit and the software calculation is reduced; then, a corresponding processing circuit is selected through an alternating current-direct current switching circuit according to the identification signal, an alternating current input signal is processed through an optocoupler isolation circuit and a buffer to obtain an alternating current detection signal, and a direct current input signal is processed through a voltage division voltage to obtain a direct current detection signal, so that the accuracy of detecting parameters of the detection circuit is effectively improved; finally, the controller determines the parameters of the input signals according to the corresponding detection signals, so that the parameter detection of different input signals is realized, the detection cost of the detection circuit is reduced, and the accuracy of the detection circuit is improved.
Corresponding to the above embodiment, the embodiment of the present invention further provides an electrical apparatus 1000, and referring to fig. 9, the electrical apparatus 1000 includes the foregoing ac/dc signal adaptive detection circuit 100.
According to the electrical equipment 1000 of the embodiment of the present invention, through the foregoing ac/dc signal adaptive detection circuit 100, adaptive identification and parameter detection of an input ac/dc signal can be accurately implemented at a low cost, so that the detection performance of the electrical equipment 1000 on the input signal is optimized.
It should be noted that the logic and/or steps represented in the flowcharts or otherwise described herein, for example, may be considered as a ordered listing of executable instructions for implementing logical functions, and may be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). In addition, the computer readable medium may even be paper or other suitable medium on which the program is printed, as the program may be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
It is to be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present invention, the meaning of "plurality" means at least two, for example, two, three, etc., unless specifically defined otherwise.
In the present invention, unless explicitly specified and limited otherwise, the terms "mounted," "connected," "secured," and the like are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; either directly or indirectly, through intermediaries, or both, may be in communication with each other or in interaction with each other, unless expressly defined otherwise. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art according to the specific circumstances.
While embodiments of the present invention have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the invention, and that variations, modifications, alternatives and variations may be made to the above embodiments by one of ordinary skill in the art within the scope of the invention.

Claims (9)

1. An ac/dc signal adaptive detection circuit, the detection circuit comprising: an alternating current/direct current signal identification circuit, an alternating current/direct current signal switching circuit, a direct current signal processing circuit, an alternating current signal processing circuit and a controller,
the alternating current/direct current signal identification circuit is connected with the signal input end and is configured to perform alternating current/direct current identification on the input signal of the signal input end and output a corresponding identification signal, and specifically comprises: the input end of the phase shifter is connected with the signal input end and is configured to perform 180-degree phase shifting processing on the input signal of the signal input end to obtain a phase-shifted signal; the first input end of the adder is connected with the output end of the phase shifter, the second input end of the adder is connected with the signal input end and is configured to sum the phase-shifted signal and the input signal to obtain a corresponding level signal; the first input end of the logic gate is connected with the output end of the adder, the second input end of the logic gate is connected with the reference signal supply end, and the output end of the logic gate is connected with the alternating current-direct current signal switching circuit and is configured to output the identification signal based on the level signal and the reference signal;
the alternating current-direct current signal switching circuit is respectively connected with the alternating current-direct current signal identification circuit, the signal input end, the direct current signal processing circuit and the alternating current signal processing circuit and is configured to select the signal input end to be communicated with the direct current signal processing circuit or the alternating current signal processing circuit based on the identification signal;
the direct current signal processing circuit is configured to process a direct current input signal of the signal input end to obtain a direct current detection signal;
the alternating current signal processing circuit is configured to process an alternating current input signal of the signal input end to obtain an alternating current detection signal, and specifically comprises the following steps: the optical coupling isolation circuit is connected with the alternating current-direct current signal switching circuit and is configured to convert the alternating current input signal into a first square wave signal; the buffer is connected with the optical coupling isolation circuit and is configured to convert the first square wave signal into a second square wave signal to obtain the alternating current detection signal;
the controller is respectively connected with the direct current signal processing circuit and the alternating current signal processing circuit and is configured to determine the direct current parameter of the direct current input signal according to the direct current detection signal and determine the alternating current parameter of the alternating current input signal according to the alternating current detection signal.
2. The circuit of claim 1, wherein the logic gate is an or gate or an and gate and the reference signal is a low level signal or a high level signal.
3. The circuit of claim 1, wherein the ac-dc signal switching circuit comprises: the fixed end of the selection switch is connected with the signal input end, the first selection end of the selection switch is connected with the direct current signal processing circuit, the second selection end of the selection switch is connected with the alternating current signal processing circuit, the control end of the selection switch is connected with the alternating current/direct current signal identification circuit and is configured to select the signal input end to be communicated with the direct current signal processing circuit or the alternating current signal processing circuit based on the identification signal.
4. The circuit of claim 1, wherein the dc signal processing circuit comprises: and the first end of the voltage dividing circuit is connected with the alternating current-direct current signal switching circuit, and the second end of the voltage dividing circuit is connected with the controller and is configured to divide the direct current input signal to obtain a direct current detection signal.
5. The circuit of claim 4, wherein the voltage divider circuit comprises:
one end of the first resistor is connected with the alternating current-direct current signal switching circuit;
and one end of the second resistor is connected with the other end of the first resistor and the controller respectively, and the other end of the second resistor is connected with the first grounding end.
6. The circuit of claim 1, wherein the optocoupler isolation circuit comprises:
one end of the third resistor is connected with the alternating current-direct current signal switching circuit;
the first end of the optical coupler is connected with the other end of the third resistor, the second end of the optical coupler is connected with the second grounding end, the third end of the optical coupler is connected with the first grounding end, and the fourth end of the optical coupler is connected with the buffer;
and the fourth resistor is connected between the fourth end of the optocoupler and the direct-current power supply.
7. The circuit of any one of claims 1-6, wherein the detection circuit further comprises: the protection circuit is arranged between the alternating current/direct current signal identification circuit and the signal input end and is configured to perform overvoltage and overcurrent protection on the alternating current/direct current signal identification circuit, the alternating current/direct current signal switching circuit, the direct current signal processing circuit, the alternating current signal processing circuit and the controller.
8. The circuit of claim 7, wherein the protection circuit comprises:
one end of the fuse is connected with the signal input end, and the other end of the fuse is connected with the alternating current-direct current signal identification circuit;
and one end of the voltage stabilizing tube is connected with the other end of the fuse, and the other end of the voltage stabilizing tube is connected with the second grounding end.
9. An electrical device comprising an ac/dc signal adaptive detection circuit according to any one of claims 1-8.
CN202311498225.XA 2023-11-10 2023-11-10 AC/DC signal self-adaptive detection circuit and electrical equipment Active CN117233647B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311498225.XA CN117233647B (en) 2023-11-10 2023-11-10 AC/DC signal self-adaptive detection circuit and electrical equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311498225.XA CN117233647B (en) 2023-11-10 2023-11-10 AC/DC signal self-adaptive detection circuit and electrical equipment

Publications (2)

Publication Number Publication Date
CN117233647A CN117233647A (en) 2023-12-15
CN117233647B true CN117233647B (en) 2024-02-20

Family

ID=89089710

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311498225.XA Active CN117233647B (en) 2023-11-10 2023-11-10 AC/DC signal self-adaptive detection circuit and electrical equipment

Country Status (1)

Country Link
CN (1) CN117233647B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011239497A (en) * 2010-05-06 2011-11-24 Kiyotaka Ueda Alternating and direct current distribution system and controlling method thereof
CN103743944A (en) * 2014-01-16 2014-04-23 贵州省计量测试院 Alternating current and direct current voltage true virtual value measurement method capable of automatically identifying type of signal
CN108321923A (en) * 2018-02-05 2018-07-24 上海发电设备成套设计研究院有限责任公司 A kind of UPS chargers output loading alternating current-direct current hybrid detection circuit
CN207868990U (en) * 2018-01-10 2018-09-14 浙江大华技术股份有限公司 It is a kind of for electric installation
CN109738695A (en) * 2019-02-19 2019-05-10 扬州市职业大学(扬州市广播电视大学) Based on data acquisition can automatic identification alternating current-direct current signal electric power measurement device
CN116400254A (en) * 2023-01-05 2023-07-07 北京大华无线电仪器有限责任公司 AC/DC input detection device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011239497A (en) * 2010-05-06 2011-11-24 Kiyotaka Ueda Alternating and direct current distribution system and controlling method thereof
CN103743944A (en) * 2014-01-16 2014-04-23 贵州省计量测试院 Alternating current and direct current voltage true virtual value measurement method capable of automatically identifying type of signal
CN207868990U (en) * 2018-01-10 2018-09-14 浙江大华技术股份有限公司 It is a kind of for electric installation
CN108321923A (en) * 2018-02-05 2018-07-24 上海发电设备成套设计研究院有限责任公司 A kind of UPS chargers output loading alternating current-direct current hybrid detection circuit
CN109738695A (en) * 2019-02-19 2019-05-10 扬州市职业大学(扬州市广播电视大学) Based on data acquisition can automatic identification alternating current-direct current signal electric power measurement device
CN116400254A (en) * 2023-01-05 2023-07-07 北京大华无线电仪器有限责任公司 AC/DC input detection device

Also Published As

Publication number Publication date
CN117233647A (en) 2023-12-15

Similar Documents

Publication Publication Date Title
WO2018101053A1 (en) Electricity leakage detection device
US7598680B2 (en) Electronic power protection circuit and applications thereof
CN109525206B (en) Real-time monitoring protection circuit of radio frequency power amplifier
US8493073B2 (en) Insulation resistance detecting apparatus
CN102820764A (en) control circuit, switching converter and control method thereof
CN202856607U (en) Control circuit and switching converter
JP2005114496A (en) State detection method and insulation resistance deterioration detector
JP4198019B2 (en) State detection method and insulation resistance drop detector
EP3484035A1 (en) Hysteresis power supply circuit
CN117233647B (en) AC/DC signal self-adaptive detection circuit and electrical equipment
CN103364627B (en) Autoreclose breaker leakage current detection circuit
JP2008017650A (en) Power converter
WO2019208027A1 (en) Arc detecting circuit, breaker, power conditioner, solar panel, module with solar panel, and connection box
CN101425754B (en) Method and controller for controlling output current of switch electric power
JP6448077B2 (en) Voltage detector
CN107819398B (en) Overvoltage protection circuit
CN110676815A (en) Vehicle, motor controller and overcurrent protection circuit
CN219833758U (en) Power protection circuit and switching power supply
CN205583660U (en) Output current foldback circuit of converter
CN114498548B (en) Overcurrent protection method and device
WO2018079299A1 (en) Power conversion device
CN111371306B (en) Surge suppression module and power factor correction circuit with surge suppression function
CN210245416U (en) Power relay
TWI698732B (en) Surge protection module and power factor correction circuit with surge protection
CN110504899B (en) Motor control circuit and air conditioner

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