Detection device of alternating current input power supply, control method of detection device and electrical equipment

By designing a detection device including input unit, interval identification unit, logic processing unit, sampling unit and control unit, the problem of poor adaptability of AC input power supply detection in different specifications is solved, and a high adaptability and accuracy power supply is achieved Test.

CN119471035APending Publication Date: 2025-02-18GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411608598.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-12
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

The voltage difference of AC input power supplies of different specifications is large, resulting in poor detection adaptability.

Method used

A detection device is designed, including an input unit, an interval identification unit, a logic processing unit, a sampling unit and a control unit. By identifying the voltage interval of the AC input power supply, the parameters of the voltage sampling signal are adjusted to improve detection adaptability and accuracy.

Benefits of technology

It realizes high adaptability and accuracy detection of AC input power supplies of different specifications, and improves the power adaptability and reliability of electrical equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119471035A_ABST
    Figure CN119471035A_ABST
Patent Text Reader

Abstract

The invention discloses a detection device of an alternating current input power supply, a control method of the detection device and electrical equipment, and the device comprises an input unit which carries out the voltage reduction of the alternating current input power supply inputted from the outside to obtain an alternating current power supply input signal; the interval identification unit carries out signal conditioning and comparison on the AC power supply input signal to obtain an AC power supply interval signal; a control unit generating a control signal according to the AC power supply interval signal; the logic processing unit generates a parameter adjusting signal according to the alternating current power supply interval signal based on the control signal; the sampling unit is used for adjusting sampling parameters of the sampling unit based on the parameter adjusting signal to obtain a voltage sampling signal of the alternating current input power supply; and the control unit also determines a detection signal for detecting the AC input power supply according to the voltage sampling signal of the AC input power supply. According to the scheme, the sampling parameters are adjusted by identifying the voltage interval of the accessed alternating current input power supply, and the accuracy of detecting the alternating current input power supply in different voltage intervals is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of power supply detection technology, and specifically relates to a detection device for an AC input power supply, a control method thereof, and an electrical device, and in particular to a power supply detection device compatible with multiple specifications of AC power supply inputs, a control method thereof, and an electrical device having the power supply detection device (such as a servo drive, an air conditioning inverter, a rectifier feedback unit, and other products). Background Art

[0002] Electrical equipment (such as servo drives, air conditioning inverters, rectifier feedback units, etc.) all use AC input. Due to different application scenarios, different specifications of input power (i.e. AC input power) may be encountered, and the voltage difference of different specifications of AC input power is large, making the adaptability of the detection of different specifications of AC input power poor.

[0003] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention

[0004] The purpose of the present invention is to provide a detection device for an AC input power supply, a control method thereof, and an electrical device, so as to solve the problem that the voltage difference between AC input power supplies of different specifications is large, resulting in poor adaptability of the detection of AC input power supplies of different specifications, so as to achieve the effect of improving the adaptability and accuracy of the detection of AC input power supplies of different specifications by identifying the voltage range of the connected AC input power supply and adjusting the parameters of the voltage sampling signal.

[0005] The present invention provides an AC input power detection device, comprising: an input unit, an interval identification unit, a logic processing unit, a sampling unit, and a control unit; wherein the input unit is used to step down the voltage of an externally input AC input power to obtain an AC power input signal; the interval identification unit is used to perform signal conditioning and comparison on the AC power input signal to obtain an AC power interval signal; the control unit is used to generate a control signal according to the AC power interval signal; the logic processing unit is used to generate a parameter adjustment signal according to the AC power interval signal under the control of the control signal; the parameter adjustment signal is used to adjust the sampling parameters of the sampling unit; the sampling unit is used to adjust the sampling parameters of the sampling unit itself under the action of the parameter adjustment signal, and based on the adjusted sampling parameters of the sampling unit itself, sample the AC power input signal to obtain an AC power sampling signal as a voltage sampling signal of the AC input power; the control unit is also used to determine a detection signal for detecting the AC input power according to the voltage sampling signal of the AC input power, so as to implement protection control of the AC input power supply to a load according to the detection signal of the AC input power.

[0006] In some embodiments, the input unit includes: a first resistor module, a second resistor module, a third resistor module, a fourth resistor module, a fifth resistor module, a sixth resistor module, and a seventh resistor module; wherein the input terminal of the input unit includes: an R terminal, an S terminal, a T terminal, and an N terminal; the R terminal is connected to the N terminal via the first resistor module; the S terminal is connected to the N terminal via the second resistor module; the T terminal is connected to the N terminal via the third resistor module; the output terminals of the input unit include: a VR terminal, a VS terminal, a VT terminal, and a VN terminal; the R terminal is also connected to the VR terminal via the fourth resistor module; the S terminal is also connected to the VS terminal via the fifth resistor module; the T terminal is also connected to the VT terminal via the sixth resistor module; the N terminal is also connected to the VN terminal via the seventh resistor module.

[0007] In some embodiments, the interval identification unit includes: a conditioning unit and a comparison unit; the comparison unit includes: a comparison module, the number of which is more than one; in more than one comparison module, the comparison voltage thresholds of different comparison modules are different; wherein the interval identification unit performs signal conditioning and comparison on the AC power input signal to obtain an AC power interval signal, including: the conditioning unit is used to adjust the negative value part of the AC power input signal to a positive value range to obtain an AC power conditioning signal; each of the more than one comparison modules is used to compare the negative value part of the AC power input signal with the AC power conditioning signal based on the comparison voltage threshold of the comparison module itself. The power conditioning signal is compared to obtain an AC power comparison signal output by the comparison module; thereby, one or more AC power comparison signals output by the comparison module are obtained as the AC power interval signal; wherein the control unit generates a control signal according to the AC power interval signal, including: calculating the maximum value of the AC power interval signal according to the AC power interval signal obtained in the current power cycle; when the maximum value of the AC power interval signal is obtained in the next power cycle, generating the control signal, that is, the level of the control signal is a preset valid level; in other cases, the level of the control signal is a preset invalid level.

[0008] In some embodiments, the conditioning unit includes: a tenth resistor module, an eleventh resistor module, a twelfth resistor module, a thirteenth resistor module, and a first operational amplifier module; wherein the output terminal of the input unit includes: a VR terminal, a VS terminal, a VT terminal, and a VN terminal; the VN terminal is connected to the inverting input terminal of the first operational amplifier module after passing through the tenth resistor module; the inverting input terminal of the first operational amplifier module is connected to the output terminal of the first operational amplifier module after passing through the eleventh resistor module; the output terminal of the first operational amplifier module serves as the output terminal of the conditioning unit; any one of the VR terminal, the VS terminal, and the VT terminal that needs to be connected is connected to the non-inverting input terminal of the first operational amplifier module after passing through the twelfth resistor module; The input end of the reference source is connected to the non-inverting input end of the first operational amplifier module after passing through the thirteenth resistor module; and / or, in the comparison unit, the comparison module includes: a fourteenth resistor module, a fifteenth resistor module, and a second operational amplifier module; wherein the input end of the preset DC power supply is connected to the protective ground after passing through the fourteenth resistor module and the fifteenth resistor module; the common end of the fourteenth resistor module and the fifteenth resistor module is used to output the comparison voltage threshold of the comparison module; the input end of the comparison voltage threshold of the comparison module is connected to the inverting input end of the second operational amplifier module; the AC power conditioning signal output by the conditioning unit is input to the non-inverting input end of the second operational amplifier module; the output end of the second operational amplifier module serves as the output end of the comparison module.

[0009] In some embodiments, the sampling unit includes: a sampling parameter selection module and a voltage sampling module; wherein the sampling unit, under the action of the parameter adjustment signal, adjusts the sampling parameters of the sampling unit itself, and samples the AC power input signal based on the adjusted sampling parameters of the sampling unit itself to obtain an AC power sampling signal as the voltage sampling signal of the AC input power, including: the sampling parameter selection module, which is used to adjust the sampling parameters of the sampling parameter selection module itself under the action of the parameter adjustment signal, and output the AC power input signal based on the adjusted sampling parameters of the sampling parameter selection module itself to obtain an AC power sampling parameter adjustment signal; the voltage sampling module, which is used to adjust the negative value part of the AC power sampling parameter adjustment signal to the positive value range to obtain an AC power sampling signal as the voltage sampling signal of the AC input power.

[0010] In some embodiments, the sampling parameter selection module includes: a gain resistor selection module, the number of which is more than two; the voltage sampling module includes: a voltage sampling signal circuit, the number of which is more than one; two of the two or more gain resistor selection modules are matched with one of the more than one voltage sampling signal circuits; wherein the output terminal of the input unit includes: a VR terminal, a VS terminal, a VT terminal and a VN terminal; among the more than two gain resistor selection modules, one gain resistor selection module is connected between any one of the VR terminal, the VS terminal and the VT terminal that needs to be connected and a first input terminal of one of the more than one voltage sampling signal circuits; another gain resistor selection module is connected between the VN terminal and the second input terminal of one of the voltage sampling signal circuits; the output terminal of one of the voltage sampling signal circuits is connected to the control unit; the output terminal of the logic processing unit is connected to the control terminal of each gain resistor selection module.

[0011] In some embodiments, in the sampling parameter selection module, the gain resistor selection module includes: a first switch module, a second switch module, an eighth resistor module, and a ninth resistor module; wherein any terminal that needs to be connected among the VR terminal, the VS terminal, the VT terminal, and the VN terminal is connected to the output end of the gain resistor selection module after passing through the first switch module and the eighth resistor module; any terminal that needs to be connected among the VR terminal, the VS terminal, the VT terminal, and the VN terminal is also connected to the output end of the gain resistor selection module after passing through the second switch module and the ninth resistor module; wherein the parameter adjustment signal output by the logic processing unit includes: A first regulating signal for controlling the on and off of the first switch module, and a second regulating signal for controlling the on and off of the second switch module; wherein, when the level of the first regulating signal is a preset valid level, the first switch module is turned on; when the level of the first regulating signal is a preset invalid level, the first switch module is turned off; when the level of the second regulating signal is a preset valid level, the second switch module is turned on; when the level of the second regulating signal is a preset invalid level, the second switch module is turned off; the logic processing unit, under the control of the control signal, generates a parameter regulating signal according to the AC power supply interval signal, including: When the level of the control signal is a preset invalid level, the levels of the first adjustment signal and the second adjustment signal in the parameter adjustment signal maintain the current state; when the level of the control signal is a preset valid level, and the range of the AC power supply interval signal includes a first-gear interval signal, a second-gear interval signal and a third-gear interval signal with voltage levels increasing in sequence: if the level of the first-gear interval signal in the AC power supply interval signal output by the interval recognition unit is a preset invalid level, the levels of the first adjustment signal and the second adjustment signal in the generated parameter adjustment signal are both preset invalid levels; if the level of the first-gear interval signal in the AC power supply interval signal output by the interval recognition unit is a preset valid level, If the level of the second-gear interval signal in the AC power interval signal output by the interval recognition unit is a preset invalid level, the levels of the first adjustment signal and the second adjustment signal in the generated parameter adjustment signal are both preset valid levels; if the levels of the first-gear interval signal and the second-gear interval signal in the AC power interval signal output by the interval recognition unit are both preset valid levels, then if the level of the third-gear interval signal in the AC power interval signal output by the interval recognition unit is a preset invalid level, the level of the first adjustment signal in the generated parameter adjustment signal is a preset valid level, and the level of the second adjustment signal is a preset invalid level;

[0012] And / or, in the voltage sampling module, the voltage sampling signal circuit includes: a sixteenth resistor module, a seventeenth resistor module, an eighteenth resistor module, a nineteenth resistor module, and a third operational amplifier module; wherein, for two of the two or more gain resistor selection modules, the output end of one of the gain resistor selection modules connected to the VN terminal is connected to the inverting input end of the third operational amplifier module after passing through the sixteenth resistor module; the inverting input end of the third operational amplifier module is connected to the output end of the third operational amplifier module after passing through the seventeenth resistor module; the output end of the third operational amplifier module is connected to the control unit as the output end of the voltage sampling signal circuit; the output end of one of the gain resistor selection modules connected to any one of the VR terminal, the VS terminal and the VT terminal that needs to be connected is connected to the non-inverting input end of the third operational amplifier module after passing through the eighteenth resistor module; the input end of the preset reference source is connected to the non-inverting input end of the third operational amplifier module after passing through the nineteenth resistor module.

[0013] Matching the above device, the present invention further provides an electrical device, including: the above-mentioned detection device for AC input power supply.

[0014] Matching the above-mentioned electrical equipment, the present invention provides a control method for an AC input power detection device on another aspect, comprising: stepping down the external AC input power through the input unit to obtain an AC power input signal; performing signal conditioning and comparison on the AC power input signal through the interval identification unit to obtain an AC power interval signal; generating a control signal according to the AC power interval signal; generating a parameter adjustment signal according to the AC power interval signal through the logic processing unit under the control of the control signal; the parameter adjustment signal is used to adjust the sampling parameters of the sampling unit; adjusting the sampling parameters of the sampling unit itself under the action of the parameter adjustment signal through the sampling unit, and sampling the AC power input signal based on the adjusted sampling parameters of the sampling unit itself to obtain an AC power sampling signal as a voltage sampling signal of the AC input power; determining a detection signal for detecting the AC input power according to the voltage sampling signal of the AC input power, so as to implement protection control of the AC input power supply to the load according to the detection signal of the AC input power.

[0015] In some embodiments, generating a control signal according to the AC power interval signal includes: calculating a maximum value of the AC power interval signal according to the AC power interval signal obtained in the current power cycle; generating the control signal when the maximum value of the AC power interval signal obtained in the next power cycle is reached, that is, the level of the control signal is a preset valid level; in other cases, the level of the control signal is a preset invalid level;

[0016] And / or, in the case where the sampling unit includes a first switch module and a second switch module, the parameter adjustment signal output by the logic processing unit includes: a first adjustment signal for controlling the on and off of the first switch module, and a second adjustment signal for controlling the on and off of the second switch module; wherein, when the level of the first adjustment signal is a preset valid level, the first switch module is turned on; when the level of the first adjustment signal is a preset invalid level, the first switch module is turned off; when the level of the second adjustment signal is a preset valid level, the second switch module is turned on; when the level of the second adjustment signal is a preset invalid level, the second switch module is turned off; under the control of the control signal, according to the AC power supply interval signal, a parameter adjustment signal is generated, including: when the level of the control signal is a preset invalid level, the levels of the first adjustment signal and the second adjustment signal in the parameter adjustment signal are maintained at the current state; when the level of the control signal is a preset valid level, and the range of the AC power supply interval signal includes a first gear range in which the voltage gears are successively increased In the case of a first-gear interval signal, a second-gear interval signal and a third-gear interval signal: if the level of the first-gear interval signal in the AC power interval signal output by the interval recognition unit is a preset invalid level, the levels of the first adjustment signal and the second adjustment signal in the generated parameter adjustment signal are both preset invalid levels; if the level of the first-gear interval signal in the AC power interval signal output by the interval recognition unit is a preset valid level, then in the case where the level of the second-gear interval signal in the AC power interval signal output by the interval recognition unit is a preset invalid level, the levels of the first adjustment signal and the second adjustment signal in the generated parameter adjustment signal are both preset valid levels; if the levels of the first-gear interval signal and the second-gear interval signal in the AC power interval signal output by the interval recognition unit are both preset valid levels, then in the case where the level of the third-gear interval signal in the AC power interval signal output by the interval recognition unit is a preset invalid level, the level of the first adjustment signal in the generated parameter adjustment signal is a preset valid level, and the level of the second adjustment signal is a preset invalid level.

[0017] Therefore, the scheme of the present invention, through the detection of AC input power of multiple specifications, sets an AC input power detection device composed of an input unit (such as an AC input end resistor network), a conditioning unit (such as a phase voltage signal conditioning circuit), a comparison unit (such as a comparator circuit), and a logic processing unit (i.e., a logic control unit), a gain selection unit (such as a gain resistor selection module), a sampling unit (such as a voltage sampling signal circuit) and a control unit (such as a main control module), wherein the AC input end resistor network is used to step down the input AC power voltage to obtain an AC power input signal, and then output it to the phase voltage signal conditioning circuit and the gain resistor selection module respectively; the phase voltage signal conditioning circuit is used to adjust the negative AC power input signal to a positive range to obtain an AC power conditioning signal, and then output it to the comparator circuit and the main control module respectively; the comparator circuit is used to set different comparison voltage thresholds to determine the voltage interval to which the AC power conditioning signal belongs to identify the voltage interval of the input AC power; the main control module is used to determine the voltage interval of the AC power according to the AC The source conditioning signal identifies the voltage range and maximum value of the input AC power supply and controls the logic control unit; the logic control unit is used to control the gain resistor selection module to select the gain according to the voltage range signal of the AC power supply output by the comparator circuit under the control of the main control module; the voltage sampling signal circuit is used to adjust the negative AC power supply input signal to the positive range according to the gain selected by the gain resistor selection module, and then output it to the main control module, so that the main control module determines the real-time information of the corresponding AC power supply (including the gear and the number of phases, and the voltage value at each moment) to realize the detection of the input AC power supply; thus, by identifying the voltage range of the connected AC input power supply and adjusting the parameters of the voltage sampling signal, the adaptability and accuracy of the detection of AC input power supplies of different specifications can be improved; and by further adjusting the voltage sampling accuracy, the accurate sampling of the voltage information of the input AC power supply can be realized, and the fault detection of the input AC power supply can be performed based on the sampling information, which is beneficial to improve the reliability of the AC power supply to the load.

[0018] Other features and advantages of the present invention will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the present invention.

[0019] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 It is a structural schematic diagram of an embodiment of a detection device for an AC input power supply of the present invention;

[0021] Figure 2Schematic diagram of the structure of the detection device of the AC input power supply, wherein (a) is a schematic diagram of the structure of the detection device of the AC input power supply in the related scheme, and (b) is a schematic diagram of the structure of the detection device of the AC input power supply of the present invention;

[0022] Figure 3 It is a structural diagram of the resistance network at the AC input end;

[0023] Figure 4 It is a structural schematic diagram of a phase voltage signal conditioning circuit;

[0024] Figure 5 is a schematic diagram of the structure of a comparator circuit;

[0025] Figure 6 This is a schematic diagram of the gain resistor selection module;

[0026] Figure 7 It is a schematic diagram of the structure of the voltage sampling signal circuit;

[0027] Figure 8 It is a curve diagram of the output signals of three groups of comparators;

[0028] Fig. 9 It is a schematic diagram of the working process of the logic control unit;

[0029] Fig.10 It is a flow chart of an embodiment of a control method of an AC input power detection device of the present invention. DETAILED DESCRIPTION

[0030] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the specific embodiments of the present invention and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0031] Considering that for the AC input of electrical equipment (such as servo drives, air conditioning inverters, rectifier feedback units and other products), due to different application scenarios, different specifications of input power (i.e. AC input power) may be encountered, such as single-phase 220V, three-phase 380V, etc. If the product is exported to different countries and regions, the local power supply specifications are also different from those in China. For example, Germany has single-phase 230V and three-phase 400V; Japan has single-phase 100V and three-phase 220V; the United States has single-phase 115V and three-phase 480V, etc. Some products need to detect the real-time voltage value and phase information of the AC input power supply for calculation and control. The voltage values ​​of AC input power supplies of different specifications vary greatly. If the same parameters are used to sample the voltage signal, the sampling accuracy of the AC input power supply with smaller power supply specifications will be affected, affecting the control performance.

[0032] For example, if the same parameters are used to sample ±100V and ±400V voltages, the full range of the sampling is 400V, and the sampling AD conversion accuracy is 16bit (0-65535), 0V-400V is converted into a digital value of 0-32767, and -400V-0V is converted into a digital value of 65535-32768, then one bit of the sampling value represents 400V / 32768*1000=12.2mV. The sampling accuracy of 100V can only reach 12.2mV.

[0033] If different parameters are used, and the range of ±100V sampling is adjusted to 100V, then one bit of the sampling value represents 100V / 32768*1000=3.05mV, which is less than 12.2mV and has higher accuracy.

[0034] Therefore, the solution of the present invention proposes a detection device for AC input power supply, specifically a power supply detection device that is compatible with AC power supply inputs of multiple specifications, which can detect AC input power supplies of different specifications, improve the adaptability of detection of AC input power supplies of different specifications, and improve the power supply adaptability of electrical equipment (such as servo drives, air-conditioning inverters, rectifier feedback units and other products).

[0035] According to an embodiment of the present invention, a detection device for an AC input power supply is provided. Figure 1 The structure diagram of an embodiment of the device of the present invention is shown. The detection device of the AC input power supply may include: an input unit (such as an AC input terminal resistor network), an interval identification unit (such as a phase voltage signal conditioning circuit and a comparator circuit), a logic processing unit (i.e., a logic control unit), a sampling unit (such as a gain resistor selection module and a voltage sampling signal circuit), and a control unit (such as a main control module).

[0036] Wherein, the input unit is used to reduce the voltage of the external AC input power to obtain an AC power input signal.

[0037] The interval identification unit is used to perform signal conditioning and comparison on the AC power input signal to obtain an AC power interval signal; the AC power interval signal is a signal used to determine the specification of the AC input power.

[0038] The control unit is used to generate a control signal (such as an AS signal) according to the AC power interval signal.

[0039] The logic processing unit is used to generate a parameter adjustment signal according to the AC power supply interval signal under the control of the control signal; the parameter adjustment signal is used to adjust the sampling parameters of the sampling unit.

[0040] The sampling unit is used to adjust the sampling parameters of the sampling unit itself under the action of the parameter adjustment signal, and sample the AC power input signal based on the adjusted sampling parameters of the sampling unit itself to obtain an AC power sampling signal as the voltage sampling signal of the AC input power.

[0041] The control unit is further used to determine a detection signal for detecting the AC input power supply according to the voltage sampling signal of the AC input power supply, so as to implement protection control of the AC input power supply to the load according to the detection signal of the AC input power supply. The detection signal of the AC input power supply is such as real-time information of the AC power supply (including gear and phase number, and voltage value at each moment).

[0042] The solution of the present invention proposes a power supply detection device that is compatible with multiple specifications of AC power input. According to different specifications of power input, the operational amplifier parameters of the voltage sampling signal circuit are adjusted to improve the voltage sampling accuracy. It can detect AC input power supplies of different specifications, improve the adaptability of detection of AC input power supplies of different specifications, and improve the power supply adaptability of electrical equipment (such as servo drives, air conditioning inverters, rectifier feedback units and other products); solve the problem of multi-specification power input voltage detection and improve product power supply adaptability. In addition, through comprehensive fault anomaly detection of AC input power, such as having a complete AC input power fault anomaly detection function, such as detecting overvoltage, undervoltage, phase loss and other anomalies, more effective protection of power supply products can be performed to improve product reliability.

[0043] In some embodiments, the input unit (such as an AC input resistance network) includes: a first resistance module (such as resistor R1), a second resistance module (such as resistor R2), a third resistance module (such as resistor R3), a fourth resistance module (such as resistor R4), a fifth resistance module (such as resistor R5), a sixth resistance module (such as resistor R6), and a seventh resistance module (such as resistor R7).

[0044] Among them, the input terminal of the input unit, that is, the connection terminal of the external AC input power supply, includes: an R terminal, an S terminal, a T terminal and an N terminal; the R terminal is connected to the N terminal after passing through the first resistor module; the S terminal is connected to the N terminal after passing through the second resistor module; the T terminal is connected to the N terminal after passing through the third resistor module.

[0045] The output terminals of the input unit include: a VR terminal, a VS terminal, a VT terminal and a VN terminal; the R terminal is further connected to the VR terminal via the fourth resistor module; the S terminal is further connected to the VS terminal via the fifth resistor module; the T terminal is further connected to the VT terminal via the sixth resistor module; and the N terminal is further connected to the VN terminal via the seventh resistor module.

[0046] Figure 3 Figure 1 is a schematic diagram of the structure of the resistor network at the AC input end. Figure 3 As shown, the AC input resistor network includes: resistor R1, resistor R2, resistor R3, resistor R4, resistor R5, resistor R6, and resistor R7. Terminal R is connected to terminal N through resistor R1, and terminal R is connected to terminal VR through resistor R4; terminal S is connected to terminal N through resistor R2, and terminal S is connected to terminal VS through resistor R5; terminal T is connected to terminal N through resistor R3, and terminal T is connected to terminal VT through resistor R6; terminal N is connected to terminal VN through resistor R7.

[0047] exist Figure 3 In the example shown, resistors R1, R2 and R3 are all connected to terminal N to serve as a virtual neutral point, compatible with the power connection method without a neutral line. Resistors R1, R2 and R3 are all large-value resistors, and the resistance values ​​of the large resistors are equal.

[0048] If there is a three-phase power input without a neutral line, resistors R1, R2 and R3 are all connected to terminal N, which can be used as a virtual neutral point; if there is a three-phase power input with a neutral line, because the resistance of resistors R1, R2 and R3 is large, it does not affect the voltage sampling. Resistors R4, R5, R6 and R7 are series voltage divider resistors with equal resistance values, which are used to reduce the voltage value of the subsequent modules. Figure 3 In the examples shown, each resistor is just a schematic diagram. In fact, each resistor can be equivalent to multiple resistors connected in series.

[0049] In the scheme of the present invention, the resistor network at the AC input end mainly plays a role in reducing the voltage. The voltage at the AC input end is generally several hundred volts, while the chip power supply voltage of the voltage detection circuit (such as the phase voltage signal conditioning circuit, the voltage sampling signal circuit) at the back end of the resistor network at the AC input end is generally only a few volts or more than ten volts, so resistor voltage division processing is required.

[0050] In some embodiments, the interval identification unit includes: a conditioning unit (such as a phase voltage signal conditioning circuit), and a comparison unit (such as a comparator circuit); the comparison unit includes: a comparison module, and the number of the comparison modules is more than one; in more than one comparison modules, the comparison voltage thresholds of different comparison modules are different.

[0051] The interval identification unit performs signal conditioning and comparison on the AC power input signal to obtain an AC power interval signal, including:

[0052] The conditioning unit is used to adjust the negative value part of the AC power input signal to a positive value range to obtain an AC power conditioning signal.

[0053] Each of the at least one comparison modules is configured to compare the AC power conditioning signal with the comparison voltage threshold of the comparison module itself to obtain an AC power comparison signal output by the comparison module; thereby, obtaining at least one AC power comparison signal output by the at least one comparison module as the AC power interval signal;

[0054] The control unit generates a control signal according to the AC power supply interval signal, including:

[0055] The control unit is further configured to calculate a maximum value of the AC power interval signal based on the AC power interval signal acquired in the current power cycle.

[0056] The control unit is also used to generate the control signal when the maximum value of the AC power interval signal is obtained in the next power cycle, that is, the level of the control signal is a preset valid level; in other cases, the level of the control signal is a preset invalid level. Specifically, the main control module first collects the VSN1 value of a power cycle and calculates the maximum value VSN1(max). When the maximum value of VSN1 is collected in the next cycle, AS outputs a high level; at other times, AS outputs a low level. Therefore, only when VSN1 is at its maximum value, it is effective to judge which gear the phase voltage is in.

[0057] In the scheme of the present invention, a negative AC power input signal is adjusted to a positive range through a phase voltage signal conditioning circuit to obtain an AC power conditioning signal, which is then output to a comparator circuit and a main control module respectively; different comparison voltage thresholds are set through the comparator circuit to determine the voltage interval to which the AC power conditioning signal belongs so as to identify the voltage interval of the input AC power; by identifying the voltage interval of the connected AC input power according to the AC power input signal, the adaptability of the detection of AC input power of different specifications can be improved.

[0058] In some embodiments, the conditioning unit (such as a phase voltage signal conditioning circuit) includes: a tenth resistor module (such as resistor R10), an eleventh resistor module (such as resistor R11), a twelfth resistor module (such as resistor R12), a thirteenth resistor module (such as resistor R13), and a first operational amplifier module (such as operational amplifier chip U1).

[0059] Among them, the output terminals of the input unit include: a VR terminal, a VS terminal, a VT terminal and a VN terminal; the VN terminal is connected to the inverting input terminal of the first operational amplifier module after passing through the tenth resistor module; the inverting input terminal of the first operational amplifier module is connected to the output terminal of the first operational amplifier module after passing through the eleventh resistor module; the output terminal of the first operational amplifier module serves as the output terminal of the conditioning unit.

[0060] Any one of the VR terminal, the VS terminal, and the VT terminal that needs to be connected is connected to the non-inverting input terminal of the first operational amplifier module after passing through the twelfth resistor module; the input terminal of the preset reference source is connected to the non-inverting input terminal of the first operational amplifier module after passing through the thirteenth resistor module.

[0061] Figure 4 Figure 1 is a schematic diagram of the phase voltage signal conditioning circuit. Figure 4 As shown, the phase voltage signal conditioning circuit includes: resistor R10, resistor R11, resistor R12, resistor R13 and operational amplifier chip U1. Among them, terminal VN is connected to the inverting input terminal of operational amplifier chip U1 through resistor R10, terminal VS is connected to the non-inverting input terminal of operational amplifier chip U1 through resistor R12, the connection terminal of reference voltage VREF is connected to the non-inverting input terminal of operational amplifier chip U1 through resistor R13, the reverse input terminal of operational amplifier chip U1 is connected to the output terminal of operational amplifier chip U1 through resistor R11, and the output terminal of operational amplifier chip U1 is connected to terminal VSN1.

[0062] In such Figure 4In the phase voltage signal conditioning circuit shown, since the S terminal is connected when single-phase power and three-phase power are input, the phase voltage signal conditioning circuit is connected to the S phase. The phase voltage signal conditioning circuit is composed of an operational amplifier chip U1 and resistors R10, R11, R12, and R13. The resistance value of resistor R11 is equal to the resistance value of resistor R13, that is, R11=R13, and the resistance value of resistor R10 is equal to the resistance value of resistor R12, that is, R10=R12. By setting the resistance value relationship of the resistors in this way, the input impedance of the two input terminals of the operational amplifier chip can be consistent to achieve better circuit performance.

[0063] The reference voltage VREF is a voltage reference value, and the reference source can be selected according to the needs; for example, when the analog input voltage range of the AD conversion (i.e., the conversion of analog signals to digital signals) of the main control module is 0V to 3V, a 1.5V reference source is selected, i.e., VREF = 1.5V. The output signal VSN1 of the operational amplifier chip U1 is used as an input signal of the comparator (such as comparator 1, comparator 2, and comparator 3), and the connection end of the signal VSN1 is also connected to the first input end of the main control module. The calculation formula of the output signal VSN1 of the operational amplifier chip U1 is as follows:

[0064]

[0065] Among them, VSN1 is the output signal of the operational amplifier chip U1; VREF is the voltage reference value, which is a fixed value; VS is the voltage of the S terminal (i.e., S terminal), VN is the voltage of the N terminal (i.e., N terminal), and VS-VN represents the phase voltage of the S phase of the AC power supply. The resistor R11 / (R10+R5) is the gain of the operational amplifier chip U1.

[0066] exist Figure 4 In the example shown, the output signal VSN1 of the operational amplifier chip U1 is given to the comparator circuit and the main control module at the same time. The output signal VSN1 of the operational amplifier chip U1 is given to the comparator circuit at the same time, and the comparator circuit can identify the voltage level of the AC input power supply according to the output signal VSN1 of the operational amplifier chip U1. The output signal VSN1 of the operational amplifier chip U1 given to the main control module has two functions: (1) identifying the voltage level of the AC input power supply, that is, the comparator circuit identifies the voltage level of the AC input power supply from the hardware, and the main control module identifies the voltage level of the AC input power supply from the software; (2) by detecting the maximum value of the output signal VSN1 of the operational amplifier chip U1, the output level of the AS signal is controlled.

[0067] In the scheme of the present invention, the function of the phase voltage signal conditioning circuit is to adjust the negative AC power input signal to the positive range. For example, the voltage range of the 220V power supply is -220V to +220V, which is -1.5V to +1.5V after resistor voltage division, and becomes 0V to 3V after adding the 1.5V voltage reference.

[0068] In some embodiments, in the comparison unit, the structure of each of the more than one comparison modules is the same; the comparison module (such as any comparator among comparator 1, comparator 2 and comparator 3) includes: a fourteenth resistor module (such as resistor R14), a fifteenth resistor module (such as resistor R15), and a second operational amplifier module (such as operational amplifier chip U2).

[0069] Among them, the input end of the preset DC power supply is connected to the protective ground after passing through the fourteenth resistor module and the fifteenth resistor module; the common end of the fourteenth resistor module and the fifteenth resistor module is used to output the comparison voltage threshold of the comparison module; the input end of the comparison voltage threshold of the comparison module is connected to the inverting input end of the second operational amplifier module. The AC power conditioning signal output by the conditioning unit is input to the non-inverting input end of the second operational amplifier module; the output end of the second operational amplifier module serves as the output end of the comparison module.

[0070] Figure 5 Figure 1 is a schematic diagram of the comparator circuit. Figure 5 As shown, the comparator circuit includes: resistor R14, resistor R15, and operational amplifier chip U2. Among them, the power supply VCC is connected to the protection ground PGND after passing through the resistor R14 and the resistor R15, the common end of the resistor R14 and the resistor R15 can provide a divided voltage VD, the common end of the resistor R14 and the resistor R15 is connected to the inverting input end of the operational amplifier chip U2, the terminal VSN1 is connected to the non-inverting input end of the operational amplifier chip U2, and the output end of the operational amplifier chip U2 can output a signal VB. Among them, the signal VB is, for example, the signal VB1 output from the output end of comparator 1, the signal VB2 output from the output end of comparator 2, and the signal VB3 output from the output end of comparator 3.

[0071] In such Figure 5 In the comparator circuit shown, the input end of the comparator circuit is connected to the output VSN1 of the phase voltage signal conditioning circuit. By adjusting the resistance values ​​of resistors R14 and R15, different comparison voltage thresholds VD can be set. When the voltage VSN1 is greater than the voltage VD, the level of the output voltage VB is a high level; when the voltage VSN1 is less than the voltage VD, the level of the output voltage VB is a low level. Among them, because the voltage VSN1 is a real-time changing value, there is an equal moment, that is, VSN1 = VD, but it does not affect the conversion of the VB level. Figure 2In the example shown, three groups of comparators (such as comparator 1, comparator 2 and comparator 3) are exemplarily connected, and three groups of comparison voltage thresholds are set, such as the comparison voltage threshold of comparator 1 is VD1, the comparison voltage threshold of comparator 2 is VD2, and the comparison voltage threshold of comparator 3 is VD3, and in the three groups of comparison voltage thresholds, voltage VD1 < voltage VD2 < voltage VD3, and three comparator output signals VB1, VB2, and VB3 are generated, namely, the output signal VB1 of comparator 1, the output signal VB2 of comparator 2, and the output signal VB3 of comparator 3. In actual use, the number of connected comparators can be adjusted according to needs.

[0072] exist Figure 5 In the example shown, the comparator circuit used determines which voltage range the AC power conditioning signal falls into by setting different comparison voltage thresholds. The operational amplifier gain can then be adjusted according to the voltage range of the corresponding voltage range to identify the specifications of the input power supply. The operational amplifier parameters of the voltage sampling signal circuit can then be adjusted according to power inputs of different specifications to improve the voltage sampling accuracy.

[0073] In some implementations, the sampling unit includes: a sampling parameter selection module (such as four gain resistor selection modules) and a voltage sampling module (such as three voltage sampling signal circuits).

[0074] Wherein, the sampling unit, under the action of the parameter adjustment signal, adjusts the sampling parameters of the sampling unit itself, and samples the AC power input signal based on the adjusted sampling parameters of the sampling unit itself to obtain an AC power sampling signal as the voltage sampling signal of the AC input power, including:

[0075] The sampling parameter selection module (such as four gain resistor selection modules) is used to adjust the sampling parameters of the sampling parameter selection module itself under the action of the parameter adjustment signal, and output the AC power input signal based on the adjusted sampling parameters of the sampling parameter selection module itself to obtain an AC power sampling parameter adjustment signal.

[0076] The voltage sampling module (such as three voltage sampling signal circuits) is used to adjust the negative part of the AC power sampling parameter adjustment signal to a positive range to obtain an AC power sampling signal as the voltage sampling signal of the AC input power supply.

[0077] AC power supplies have different specifications. Some products connected to AC power supplies need to detect the AC input voltage. The solution of the present invention provides a detection device for AC input power supply. Figure 2Schematic diagram of the structure of the detection device of AC input power supply, wherein (a) is the schematic diagram of the structure of the detection device of AC input power supply in the related scheme, and (b) is the schematic diagram of the structure of the detection device of AC input power supply of the present invention. Figure 2 As shown in (a), in the related scheme, after the resistors are connected in series to divide the voltage, they are directly sent to the voltage sampling signal circuit to collect the three-way voltage signals VRN, VSN, and VTN and transmit them to the main control module. Figure 2 As shown in (b), the solution of the present invention improves the AC input terminal resistor network in the related solution, is compatible with the power supply connection method without a neutral line, adds a phase voltage signal conditioning circuit and a comparator circuit (such as comparator 1, comparator 2 and comparator 3) for identifying the specifications of the input power supply; adds a logic control unit and a gain resistor selection module for adjusting the operational amplifier gain of the voltage sampling signal circuit.

[0078] like Figure 2 As shown in (b), it is an AC input power detection device, which consists of an input voltage detection module and a main control module. The input voltage detection module has four strong power connection terminals (i.e., R terminal, S terminal, T terminal and N terminal) connected to the power input: when single-phase power is input, the live wire of the single-phase power is connected to the S terminal, and the neutral wire of the single-phase power is connected to the N terminal; when three-phase power is input, the three live wires of the three-phase power are connected to the R terminal, S terminal, and T terminal respectively. If the three-phase power has a neutral wire, the neutral wire of the three-phase power is connected to the N terminal. If the three-phase power has no neutral wire, the N terminal is left floating. The signals VSN1, VRN, VSN, and VTN obtained after processing by the voltage detection module are transmitted to the main control module, and the main control module performs AD conversion and calculation processing to obtain real-time input voltage information. AS is the control signal sent by the main control module to the logic control unit.

[0079] In such Figure 2 In the example shown in (b), the input voltage detection module includes: an AC input terminal resistor network, a phase voltage signal conditioning circuit, a comparator 1, a comparator 2, a comparator 3, a logic control unit, a gain resistor selection module and a voltage sampling signal circuit; the number of gain resistor selection modules is four, specifically a first gain resistor selection module, a second gain resistor selection module, a third gain resistor selection module and a fourth gain resistor selection module. The number of voltage sampling signal circuits is three, specifically a first voltage sampling signal circuit, a second voltage sampling signal circuit and a third voltage sampling signal circuit.

[0080] Among them, terminal R is connected to the first connection end of the input side of the AC input resistor network; terminal S is connected to the second connection end of the input side of the AC input resistor network; terminal T is connected to the third connection end of the input side of the AC input resistor network; terminal N is connected to the fourth connection end of the input side of the AC input resistor network. The VR terminal on the output side of the AC input resistor network is connected to the input end of the first gain resistor selection module; the VS terminal on the output side of the AC input resistor network is respectively connected to the second input end of the phase voltage signal conditioning circuit and the input end of the second gain resistor selection module; the VT terminal on the output side of the AC input resistor network is connected to the input end of the third gain resistor selection module; the VN terminal on the output side of the AC input resistor network is respectively connected to the first input end of the phase voltage signal conditioning circuit and the input end of the fourth gain resistor selection module. The output end of the phase voltage signal conditioning circuit outputs a signal VSN1, and the connection terminals of the signal VSN1 are respectively connected to the input end of comparator 1, the input end of comparator 2, the input end of comparator 3, and the first input end of the main control module. The output end of the main control module outputs a signal AS to the control end of the logic control unit, the output end of the comparator 1 outputs a signal VB1 to the first input end of the logic control unit, the output end of the comparator 2 outputs a signal VB2 to the second input end of the logic control unit, and the output end of the comparator 3 outputs a signal VB3 to the third input end of the logic control unit. The output end of the logic control unit outputs signals SK1 and SK2, specifically, the first terminal of the output end of the logic control unit outputs the signal SK1, and the second terminal outputs the signal SK2.

[0081] The connection terminals of signal SK1 are respectively connected to the first connection terminal of the control end of the first gain resistor selection module, the first connection terminal of the control end of the second gain resistor selection module, the first connection terminal of the control end of the third gain resistor selection module, and the first connection terminal of the control end of the fourth gain resistor selection module; the connection terminals of signal SK2 are respectively connected to the second connection terminal of the control end of the first gain resistor selection module, the second connection terminal of the control end of the second gain resistor selection module, the second connection terminal of the control end of the third gain resistor selection module, and the second connection terminal of the control end of the fourth gain resistor selection module.

[0082] The output end of the first gain resistor selection module is connected to the first input end of the first voltage sampling signal circuit, the output end of the second gain resistor selection module is connected to the first input end of the second voltage sampling signal circuit, the output end of the third gain resistor selection module is connected to the first input end of the third voltage sampling signal circuit, and the output end of the fourth gain resistor selection module is respectively connected to the second input end of the first voltage sampling signal circuit, the second input end of the second voltage sampling signal circuit, and the second input end of the third voltage sampling signal circuit. The output end of the first voltage sampling signal circuit outputs a signal VRN to the second input end of the main control module, the output end of the second voltage sampling signal circuit outputs a signal VSN to the third input end of the main control module, and the output end of the third voltage sampling signal circuit outputs a signal VTN to the fourth input end of the main control module.

[0083] In the scheme of the present invention, Figure 2 The detection device for the AC input power supply shown in (b) is compatible with AC power inputs of various specifications, and can identify the specifications of the connected AC power supply through voltage sampling information, and then adjust the parameters of the voltage sampling signal circuit to improve the voltage sampling accuracy. The voltage sampling information is used for product operation control and input power fault detection.

[0084] In the scheme of the present invention, by identifying the specifications of the input power supply and adjusting the parameters of the voltage sampling signal circuit according to the power input of different specifications, the high-precision real-time voltage value and phase information required by the product and comprehensive input power fault detection are obtained, thereby improving the performance and reliability of the product.

[0085] In the scheme of the present invention, the main purpose is power supply detection, and the detection information can be used for fault detection and can also be used for product operation control. In addition, the main control module can perform operations through voltage detection information to achieve comprehensive fault detection. For example: the main control module performs fault detection after identifying the power supply specifications, which may specifically include overvoltage fault, undervoltage fault, phase loss detection, etc. Among them, overvoltage fault: the main control module detects the maximum value of VRN, VSN, and VTN and compares it with the set overvoltage threshold to determine whether it is overvoltage; undervoltage fault: the main control module detects the maximum value of VRN, VSN, and VTN and compares it with the set undervoltage threshold to determine whether it is undervoltage; phase loss detection: the main control module performs operations by detecting the real-time values ​​of VRN, VSN, and VTN, and multiple groups of operations are required to determine whether there is a phase loss.

[0086] In some embodiments, the sampling parameter selection module (such as four gain resistor selection modules) includes: a gain resistor selection module, the number of which is more than two; the voltage sampling module includes: a voltage sampling signal circuit, the number of which is more than one; two of the more than two gain resistor selection modules are matched with one of the more than one voltage sampling signal circuits.

[0087] The output terminal of the input unit includes: a VR terminal, a VS terminal, a VT terminal and a VN terminal; among the two or more gain resistor selection modules, one gain resistor selection module is connected between any terminal that needs to be connected among the VR terminal, the VS terminal and the VT terminal and the first input terminal of one of the more than one voltage sampling signal circuits; another gain resistor selection module is connected between the VN terminal and the second input terminal of one of the voltage sampling signal circuits; the output terminal of one of the voltage sampling signal circuits is connected to the control unit. The output terminal of the logic processing unit is connected to the control terminal of each gain resistor selection module.

[0088] In the scheme of the present invention, the gain is selected by controlling the gain resistor selection module; the voltage sampling signal circuit adjusts the negative AC power input signal to a positive range according to the gain selected by the gain resistor selection module, and then outputs it to the main control module, so that the main control module determines the real-time information of the corresponding AC power supply (including the gear and the number of phases, and the voltage value at each moment), thereby realizing accurate sampling of the voltage information of the input AC power supply.

[0089] In some embodiments, in the sampling parameter selection module, each of the two or more gain resistance selection modules has the same structure; the gain resistance selection module includes: a first switch module (such as switch component K1), a second switch module (such as switch component K2), an eighth resistance module (such as resistor R8), and a ninth resistance module (such as resistor R9).

[0090] Among them, any one terminal that needs to be connected among the VR terminal, the VS terminal, the VT terminal and the VN terminal is connected to the output end of the gain resistor selection module after passing through the first switch module and the eighth resistor module; any one terminal that needs to be connected among the VR terminal, the VS terminal, the VT terminal and the VN terminal is also connected to the output end of the gain resistor selection module after passing through the second switch module and the ninth resistor module.

[0091] Figure 6This is a schematic diagram of the gain resistor selection module. Figure 6 As shown, the gain resistor selection module includes: a switch component K1, a switch component K2, a resistor R8 and a resistor R9. Among them, the terminal VK is connected to the terminal VKIN after passing through the switch component K1 and the resistor R8; the terminal VK is also connected to the terminal VKIN after passing through the switch component K2 and the resistor R9; the signal SK1 is used to control the switch component K1, and the signal SK2 is used to control the switch component K2. Among them, the terminal VK, as shown Figure 2 Terminal VR, terminal VS, terminal VT, terminal VN, etc. shown in (b); terminal VKIN is the output terminal of the gain resistor selection module, which is used to connect to the input end of the corresponding voltage sampling signal circuit.

[0092] like Figure 6 The gain resistor selection module shown is composed of Figure 2 The logic control unit in controls the selection of resistors, SK1 controls the switch component K1, and SK2 controls the switch component K2. It is composed of switch component K1 connected in series with resistor R8, and switch component K2 connected in series with resistor R9, and then connected in parallel, where the resistance value of the resistor R8>R9. Of course, if multiple groups are required, multiple groups can be connected in parallel. Here, two groups are used in parallel as an example. When switch component K1 is closed and switch component K2 is disconnected, only resistor R8 is connected in series in the circuit; when switch component K1 is disconnected and switch component K2 is closed, only resistor R9 is connected in series in the circuit; when switch component K1 is closed and switch component K2 is closed, it is equivalent to resistor R8 and resistor R9 being connected in parallel to the circuit, and the resistance value is the smallest at this time. There are three cases of resistance values ​​connected to the circuit: R8, R9, R8×R9 / (R8+R9), so there are also three groups of op amp gain options. The switch component can be implemented by relays or switch tubes.

[0093] exist Figure 6 In the example shown, the gain resistor selection module is used to adjust Figure 7 The gain of the operational amplifier in the voltage sampling signal circuit shown, specifically adjusting the gain of the operational amplifier chip U3 in the voltage sampling signal circuit, is beneficial to improving the voltage sampling accuracy.

[0094] Wherein, the parameter adjustment signal output by the logic processing unit includes: a first adjustment signal for controlling the on and off of the first switch module, and a second adjustment signal for controlling the on and off of the second switch module; wherein, when the level of the first adjustment signal is a preset valid level, the first switch module is turned on; when the level of the first adjustment signal is a preset invalid level, the first switch module is turned off; when the level of the second adjustment signal is a preset valid level, the second switch module is turned on; when the level of the second adjustment signal is a preset invalid level, the second switch module is turned off; wherein, the preset valid level is such as a high level, and the preset invalid level is such as a low level. The control signal SK1 of the first switch module and the control signal SK2 of the second switch module are high levels, indicating that the switch component is closed, and low levels indicate disconnection. The initial state SK1=0, SK2=0, that is, the switch components K1 and K2 are in the disconnected state.

[0095] The logic processing unit, under the control of the control signal, generates a parameter adjustment signal according to the AC power supply interval signal, including:

[0096] The logic processing unit is further configured to maintain the levels of the first adjustment signal and the second adjustment signal in the parameter adjustment signal at current states when the level of the control signal is a preset invalid level.

[0097] The logic processing unit is further used for: when the level of the control signal is a preset valid level, and when the range of the AC power interval signal includes a first-gear interval signal, a second-gear interval signal and a third-gear interval signal with voltage levels increasing in sequence: if the level of the first-gear interval signal in the AC power interval signal output by the interval identification unit is a preset invalid level, then the levels of the first adjustment signal and the second adjustment signal in the generated parameter adjustment signal are both preset invalid levels; if the level of the first-gear interval signal in the AC power interval signal output by the interval identification unit is a preset valid level, then the level of the first adjustment signal and the second adjustment signal in the generated parameter adjustment signal are both preset invalid levels. When the level of the second-gear interval signal in the AC power interval signal output by the interval identification unit is a preset invalid level, the levels of the first adjustment signal and the second adjustment signal in the generated parameter adjustment signal are both preset valid levels; if the levels of the first-gear interval signal and the second-gear interval signal in the AC power interval signal output by the interval identification unit are both preset valid levels, then when the level of the third-gear interval signal in the AC power interval signal output by the interval identification unit is a preset invalid level, the level of the first adjustment signal in the generated parameter adjustment signal is a preset valid level, and the level of the second adjustment signal is a preset invalid level.

[0098] See also Figures 1 to 9 The example shown takes single-phase 110V, single-phase 220V, three-phase 380V and three-phase 480V AC power as examples, where the phase voltage of single-phase 110V is 110V, the phase voltage of single-phase 220V is 220V, the phase voltage of three-phase 380V is 220V, and the phase voltage of three-phase 480V is 277V. If the phase voltage is collected, the input power range can be divided into three levels: 110V, 220V, and 277V. By adjusting the threshold VD of the comparator, the three voltage ranges can be distinguished, as shown in Figure 8 As shown, there are three situations for the comparator outputs VB1, VB2, and VB3. Figure 8 Schematic diagram of the curves of the output signals of three groups of comparators.

[0099] The first case: VB1 has a high level, while VB2 and VB3 are always low, indicating that the phase voltage is 110V; the second case: VB1 and VB2 have high levels, while VB3 is always low, indicating that the phase voltage is 220V; the third case: VB1, VB2, and VB3 are all high levels, indicating that the phase voltage is 277V. VB1, VB2, and VB3 are periodic waveforms. If the power frequency is 50Hz, the period T is 20ms.

[0100] Fig. 9 Figure 1 is a schematic diagram of the working process of the logic control unit. Fig. 9 As shown, Figure 2 The logic control unit generates control signals SK1 and SK2 of two switch components through the logic operation of the three comparator output signals VB1, VB2, and VB3 and the control signal AS of the main control module, and controls the closing and opening of the switch components K1 and K2 in the gain resistor selection module, thereby selecting different gain resistor values. The main control module first collects the VSN1 value of a power supply cycle and calculates the maximum value VSN1(max). When the maximum value of VSN1 is collected in the next cycle, AS outputs a high level; at other times, AS outputs a low level. After the main control module obtains the maximum value of VSN1, the comparator function can be realized through software calculation to determine the voltage level of the AC input power supply. Therefore, it is only effective to judge which level the phase voltage is in when VSN1 is at its maximum value. If AS is at a low level, no matter what the state of VB1, VB2, and VB3 is, the state of K1 and K2 remains unchanged. The logic control unit can be built with commonly used logic chips and transistors, and the working logic is as follows:

[0101] Serial number AS VB1 VB2 VB3 SK1 SK2 1 1 0 X X 0 0 2 1 1 0 X 1 1 3 1 1 1 0 0 1 4 1 1 1 1 1 0 5 0 X X X Keep Keep

[0102] In the above table, 1 represents a high level, 0 represents a low level, and X represents any level.

[0103] The working principle of the logic control unit is as follows Figure 8 , Fig. 9 As shown in the above table, when AS=1, the level states of SK1 and SK2 are controlled by judging the level states of VB1, VB2, and VB3; when AS=0, the level states of SK1 and SK2 remain unchanged. When AS=1, if VB1=0 is detected, the switch components K1 and K2 are in the disconnected state; if VB1=1 is detected, the level of VB2 is detected. When VB2=0, both switch components K1 and K2 are closed; when VB2=1, the level of VB3 is detected. When VB3=0, switch component K1 is disconnected and switch component K2 is closed; when VB3=1, switch component K1 is closed and switch component K2 is disconnected. Because the real-time voltage value of the alternating current is a sinusoidal waveform, the comparator output has high and low level states. Through Figure 8 and Fig. 9 In the example shown, the voltage range of the power supply is determined, and the resistance value of the gain resistor selection module is adjusted, thereby adjusting the operational amplifier gain of the voltage sampling signal circuit.

[0104] In the scheme of the present invention, the main control module controls the logic control unit according to the AC power conditioning signal; under the control of the main control module, the logic control unit controls the gain resistor selection module to select the gain according to the voltage range signal of the AC power output by the comparator circuit; the voltage sampling signal circuit adjusts the negative AC power input signal to the positive range according to the gain selected by the gain resistor selection module, and then outputs it to the main control module, so that the main control module determines the real-time information of the corresponding AC power (including the gear and the number of phases, and the voltage value at each moment), and realizes the accurate sampling of the voltage information of the input AC power.

[0105] In some embodiments, in the voltage sampling module, the structure of each of the more than one voltage sampling signal circuits is the same; the voltage sampling signal circuit includes: a sixteenth resistor module, a seventeenth resistor module, an eighteenth resistor module, a nineteenth resistor module, and a third operational amplifier module (such as operational amplifier chip U3).

[0106] Among them, for two of the more than two gain resistor selection modules, the output end of one of the gain resistor selection modules connected to the VN terminal is connected to the inverting input end of the third operational amplifier module after passing through the sixteenth resistor module; the inverting input end of the third operational amplifier module is connected to the output end of the third operational amplifier module after passing through the seventeenth resistor module; the output end of the third operational amplifier module, as the output end of the voltage sampling signal circuit, is connected to the control unit.

[0107] An output end of the gain resistance selection module connected to any one of the VR terminal, the VS terminal and the VT terminal that needs to be connected is connected to the non-inverting input end of the third operational amplifier module after passing through the eighteenth resistor module; an input end of a preset reference source is connected to the non-inverting input end of the third operational amplifier module after passing through the nineteenth resistor module.

[0108] Figure 7 Figure 1 is a schematic diagram of the voltage sampling signal circuit. Figure 7 As shown, the voltage sampling signal circuit includes: resistor R16, resistor R17, resistor R18, resistor R19 and op amp chip U3. Among them, terminal VIN- and terminal VIN+ are used as input terminals, terminal VIN- is connected to the inverting input terminal of op amp chip U3 after resistor R16, and the inverting input terminal of op amp chip U3 is connected to the output terminal of op amp chip U3, and the output terminal of op amp chip U3 is used to output signal VOUT to the corresponding input terminal of the main control module (such as terminal VRN, terminal VSN, terminal VTN, etc.). Terminal VIN+ is connected to the in-phase input terminal of op amp chip U3 after resistor R18, and reference voltage VREF is connected to the in-phase input terminal of op amp chip U3 after resistor R19. Among them, the gain of op amp chip U3 in the voltage sampling signal circuit is related to the external resistor of op amp chip U3, and the gain can be changed by the resistance value of the resistor. The gain resistor selection module can change the resistance value of the resistor module by changing the connection mode.

[0109] exist Figure 7 The voltage sampling signal circuit shown is a signal conditioning circuit composed of resistors R16, R17, R18, R19 and an operational amplifier chip U3, wherein the resistance values ​​of the resistors R16 = R18 and R17 = R19. The structure of the voltage sampling signal circuit is similar to Figure 4 The same, but the resistance value is different. Its input terminals VIN- and VIN+ are connected to a gain resistor selection module respectively, and the output signal VOUT is connected to the main control module for AD conversion and calculation processing. VREF is the voltage reference value, and the reference source can be selected according to the needs. Taking the S phase as an example, the calculation formula of the output signal VOUT of the op amp chip U3 is as follows:

[0110]

[0111] Among them, RK is the resistance value of the gain resistor selection module, and R17 / (R16+RK+R5) is the gain of the operational amplifier. The VREF of the voltage sampling signal circuit and the VREF value of the phase voltage signal conditioning circuit can be the same or different, which is mainly determined by the input voltage range of the AD conversion, and generally takes the middle value of the input voltage range. In the scheme of the present invention, the AD conversion input range of the voltage sampling signal circuit and the phase voltage signal conditioning circuit are both 0V~3V, and the VREF values ​​of the voltage sampling signal circuit and the phase voltage signal conditioning circuit can both be 1.5V.

[0112] In the scheme of the present invention, Figure 7 The voltage sampling signal circuit shown in the figure adjusts the negative AC power input signal to the positive range. For example, the voltage range of a 220V power supply is -220V to +220V, which is -1.5V to +1.5V after resistor voltage division, and becomes 0V to 3V after adding a 1.5V voltage reference.

[0113] In the scheme of the present invention, the main control module controls the logic control unit according to the AC power conditioning signal; under the control of the main control module, the logic control unit controls the gain resistor selection module to select the gain according to the voltage range signal of the AC power output by the comparator circuit; the voltage sampling signal circuit adjusts the negative AC power input signal to the positive range according to the gain selected by the gain resistor selection module, and then outputs it to the main control module, so that the main control module determines the real-time information of the corresponding AC power (including the gear and the number of phases, and the voltage value at each moment), and realizes the detection of the input AC power; thus, by further adjusting the voltage sampling accuracy, the accurate sampling of the voltage information of the input AC power is realized, and the fault detection of the input AC power can be performed based on the sampling information, which is beneficial to improve the reliability of the AC power supply to the load.

[0114] According to the technical solution of the present invention, an AC input power detection device consisting of an AC input terminal resistor network, a phase voltage signal conditioning circuit, a comparator circuit, a logic control unit, a gain resistor selection module, a voltage sampling signal circuit and a main control module is set up for detecting AC input power of multiple specifications, wherein the AC input terminal resistor network is used to step down the input AC power voltage to obtain an AC power input signal, and then output it to the phase voltage signal conditioning circuit and the gain resistor selection module respectively; the phase voltage signal conditioning circuit is used to adjust the negative AC power input signal to a positive range to obtain an AC power conditioning signal, and then output it to the comparator circuit and the main control module respectively; the comparator circuit is used to set different comparison voltage thresholds, judge the voltage interval to which the AC power conditioning signal belongs to identify the voltage interval of the input AC power; the main control module is used to identify the voltage interval and the maximum value of the input AC power according to the AC power conditioning signal, and A control logic control unit; the logic control unit is used to control the gain resistor selection module to select the gain according to the voltage range signal of the AC power supply output by the comparator circuit under the control of the main control module; the voltage sampling signal circuit is used to adjust the AC power supply input signal with a negative value to a positive range according to the gain selected by the gain resistor selection module, and then output it to the main control module, so that the main control module can determine the real-time information of the corresponding AC power supply (including the gear and the number of phases, and the voltage value at each moment) to realize the detection of the input AC power supply; thus, by identifying the voltage range of the connected AC input power supply and adjusting the parameters of the voltage sampling signal, the adaptability and accuracy of the detection of AC input power supplies of different specifications can be improved; and by further adjusting the voltage sampling accuracy, accurate sampling of the voltage information of the input AC power supply can be realized, and fault detection of the input AC power supply can be performed based on the sampling information, which is beneficial to improving the reliability of the AC power supply to the load.

[0115] According to an embodiment of the present invention, an electrical device corresponding to the detection device of the AC input power supply is also provided. The electrical device may include: the detection device of the AC input power supply described above.

[0116] Since the processing and functions implemented by the electrical device of this embodiment basically correspond to the embodiments, principles and examples of the device, for the details not fully described in this embodiment, please refer to the relevant descriptions in the aforementioned embodiments, and no further elaboration will be made here.

[0117] According to an embodiment of the present invention, a control method for a detection device of an AC input power supply of an electrical device is also provided. Fig.10 The control method of the detection device of the AC input power supply may include: steps S110 to S160.

[0118] In step S110, the input unit is used to step down the voltage of the external AC input power to obtain an AC power input signal.

[0119] In step S120, the interval identification unit performs signal conditioning and comparison on the AC power input signal to obtain an AC power interval signal; the AC power interval signal is a signal used to determine the specification of the AC input power.

[0120] In step S130, a control signal (such as an AS signal) is generated according to the AC power interval signal.

[0121] In step S140, the logic processing unit generates a parameter adjustment signal according to the AC power supply interval signal under the control of the control signal; the parameter adjustment signal is used to adjust the sampling parameters of the sampling unit.

[0122] At step S150, the sampling unit adjusts the sampling parameters of the sampling unit itself under the action of the parameter adjustment signal, and samples the AC power input signal based on the adjusted sampling parameters of the sampling unit itself to obtain an AC power sampling signal as the voltage sampling signal of the AC input power.

[0123] In step S160, a detection signal for detecting the AC input power is determined according to the voltage sampling signal of the AC input power, so as to implement protection control of the AC input power supply to the load according to the detection signal of the AC input power.

[0124] In the scheme of the present invention, according to the different specifications of power input, the operational amplifier parameters of the voltage sampling signal circuit are adjusted to improve the voltage sampling accuracy, and it is possible to detect AC input power supplies of different specifications, improve the adaptability of the detection of AC input power supplies of different specifications, and improve the power adaptability of electrical equipment (such as servo drives, air conditioning inverters, rectifier feedback units and other products); solve the problem of multi-specification power input voltage detection and improve product power adaptability. In addition, through comprehensive fault anomaly detection of AC input power, such as having a complete AC input power fault anomaly detection function, such as detecting overvoltage, undervoltage, phase loss and other anomalies, more effective protection can be provided for power products, improving product reliability.

[0125] In some embodiments, the specific process of generating a control signal according to the AC power interval signal in step S130 includes: calculating the maximum value of the AC power interval signal according to the AC power interval signal obtained in the current power cycle; then, when the maximum value of the AC power interval signal is obtained in the next power cycle, generating the control signal, that is, the level of the control signal is a preset valid level; in other cases, the level of the control signal is a preset invalid level.

[0126] In the scheme of the present invention, the main control module first collects the VSN1 value of a power supply cycle and calculates the maximum value VSN1(max). When the maximum value of VSN1 is collected in the next cycle, AS outputs a high level; at other times, AS outputs a low level. Therefore, it is only effective to judge which gear the phase voltage is in when VSN1 is at its maximum value. The main control module controls the logic control unit according to the AC power conditioning signal, and then the logic control unit, under the control of the main control module, controls the gain resistor selection module to select the gain according to the voltage range signal of the AC power output by the comparator circuit; the voltage sampling signal circuit adjusts the negative AC power input signal to the positive range according to the gain selected by the gain resistor selection module; by further adjusting the voltage sampling accuracy, accurate sampling of the voltage information of the input AC power is achieved.

[0127] In some embodiments, when the sampling unit includes a first switch module and a second switch module, the parameter adjustment signal output by the logic processing unit includes: a first adjustment signal for controlling the on and off of the first switch module, and a second adjustment signal for controlling the on and off of the second switch module; wherein, when the level of the first adjustment signal is a preset valid level, the first switch module is turned on; when the level of the first adjustment signal is a preset invalid level, the first switch module is turned off; when the level of the second adjustment signal is a preset valid level, the second switch module is turned on; when the level of the second adjustment signal is a preset invalid level, the second switch module is turned off; wherein the preset valid level is such as a high level, and the preset invalid level is such as a low level.

[0128] In step S140, under the control of the control signal, a parameter adjustment signal is generated according to the AC power supply interval signal, including any of the following generation situations:

[0129] The first generation situation: when the level of the control signal is a preset invalid level, the levels of the first adjustment signal and the second adjustment signal in the parameter adjustment signal both maintain the current state.

[0130] The second generation situation: when the level of the control signal is a preset valid level, and when the range of the AC power interval signal includes a first-level interval signal, a second-level interval signal and a third-level interval signal with successively increasing voltage levels: if the level of the first-level interval signal in the AC power interval signal output by the interval identification unit is a preset invalid level, then the levels of the first adjustment signal and the second adjustment signal in the generated parameter adjustment signal are both preset invalid levels.

[0131] The third generation situation: when the level of the control signal is a preset valid level, and when the range of the AC power interval signal includes a first-level interval signal, a second-level interval signal and a third-level interval signal with successively increasing voltage levels: if the level of the first-level interval signal in the AC power interval signal output by the interval identification unit is a preset valid level, then when the level of the second-level interval signal in the AC power interval signal output by the interval identification unit is a preset invalid level, the levels of the first adjustment signal and the second adjustment signal in the generated parameter adjustment signal are both preset valid levels.

[0132] The fourth generation situation: when the level of the control signal is a preset valid level, and when the range of the AC power supply interval signal includes a first-level interval signal, a second-level interval signal and a third-level interval signal with voltage levels increasing successively: if the levels of the first-level interval signal and the second-level interval signal in the AC power supply interval signal output by the interval identification unit are both preset valid levels, then when the level of the third-level interval signal in the AC power supply interval signal output by the interval identification unit is a preset invalid level, the level of the first adjustment signal in the generated parameter adjustment signal is a preset valid level, and the level of the second adjustment signal is a preset invalid level.

[0133] In the scheme of the present invention, see Figures 1 to 10 The example shown takes single-phase 110V, single-phase 220V, three-phase 380V and three-phase 480V AC power as examples, where the phase voltage of single-phase 110V is 110V, the phase voltage of single-phase 220V is 220V, the phase voltage of three-phase 380V is 220V, and the phase voltage of three-phase 480V is 277V. If the phase voltage is collected, the input power range can be divided into three levels: 110V, 220V, and 277V. By adjusting the threshold VD of the comparator, the three voltage ranges can be distinguished, as shown in Figure 8 As shown, there are three situations for the comparator outputs VB1, VB2, and VB3. Figure 8 Schematic diagram of the curves of the output signals of three groups of comparators.

[0134] The first case: VB1 has a high level, while VB2 and VB3 are always low, indicating that the phase voltage is 110V; the second case: VB1 and VB2 have high levels, while VB3 is always low, indicating that the phase voltage is 220V; the third case: VB1, VB2, and VB3 are all high levels, indicating that the phase voltage is 277V. VB1, VB2, and VB3 are periodic waveforms. If the power frequency is 50Hz, the period T is 20ms.

[0135] Fig. 9 Figure 1 is a schematic diagram of the working process of the logic control unit. Fig. 9 As shown, Figure 2 The logic control unit generates control signals SK1 and SK2 of two switch components through the logic operation of the three comparator output signals VB1, VB2, and VB3 and the control signal AS of the main control module, and controls the closing and opening of the switch components K1 and K2 in the gain resistance selection module, thereby selecting different gain resistance values. The main control module first collects the VSN1 value of a power supply cycle and calculates the maximum value VSN1(max). When the maximum value of VSN1 is collected in the next cycle, AS outputs a high level; at other times, AS outputs a low level. Therefore, it is only effective to judge which gear the phase voltage is in when VSN1 is at its maximum value. If AS is at a low level, no matter what the state of VB1, VB2, and VB3 is, the state of K1 and K2 remains unchanged. The logic control unit can be built with commonly used logic chips and transistors, and the working logic is as shown in the following table:

[0136] Serial number AS VB1 VB2 VB3 SK1 SK2 1 1 0 X X 0 0 2 1 1 0 X 1 1 3 1 1 1 0 0 1 4 1 1 1 1 1 0 5 0 X X X Keep Keep

[0137] In the above table, 1 is a high level, 0 is a low level, and X represents any level. When SK1 and SK2 are at a high level, it means that the switch component is closed, and when they are at a low level, they are disconnected. The initial state SK1 = 0, SK2 = 0, that is, the switch components K1 and K2 are in the disconnected state.

[0138] The working principle of the logic control unit is as follows Figure 8 , Fig. 9As shown in the above table, when AS=1, the level states of SK1 and SK2 are controlled by judging the level states of VB1, VB2, and VB3; when AS=0, the level states of SK1 and SK2 remain unchanged. When AS=1, if VB1=0 is detected, the switch components K1 and K2 are in the disconnected state; if VB1=1 is detected, the level of VB2 is detected. When VB2=0, both switch components K1 and K2 are closed; when VB2=1, the level of VB3 is detected. When VB3=0, switch component K1 is disconnected and switch component K2 is closed; when VB3=1, switch component K1 is closed and switch component K2 is disconnected. Because the real-time voltage value of the alternating current is a sinusoidal waveform, the comparator output has high and low level states. Through Figure 8 and Fig. 9 In the example shown, the voltage range of the power supply is determined, and the resistance value of the gain resistor selection module is adjusted, thereby adjusting the operational amplifier gain of the voltage sampling signal circuit.

[0139] Figure 2 (b) shows the connection method for collecting the phase voltage of the input power supply. VN is connected to the VIN- terminal of the three voltage sampling signal circuits after passing through the gain resistor selection module. VR, VS, and VT are connected to the VIN+ terminal of the voltage sampling signal circuit after passing through the gain resistor selection module, thereby obtaining three AC power conditioning signals VRN, VSN, and VTN. Among them, the phase voltage refers to the voltage between the live wire and the neutral wire of the power supply, such as VSN. The line voltage refers to the voltage between the live wire and the live wire of the power supply, such as VRS.

[0140] If you want to collect the line voltage of the power supply, connect VR, VS, and VT to the VIN+ and VIN- terminals of the voltage sampling signal circuit respectively after passing through the gain resistor selection module. If VR is connected to the VIN+ terminal after passing through the gain resistor selection module, and VS is connected to the VIN- terminal after passing through the gain resistor selection module, the line voltage VRS can be obtained. This means that if you want to collect the power line voltage, you can change the connection method to achieve it. The line voltage can also be calculated from the phase voltage collected by the main control module, VRS = VRN-VSN. Similarly, the line voltages VST and VTR can be obtained. The line voltage of the power supply may be calculated from the sampled value of the phase voltage.

[0141] The specifications of the AC input power supply include two aspects of information: one is the voltage level, such as 110V or 220V, and the other is the number of phases, such as single-phase or three-phase. The main control module determines the voltage level of the AC input power supply through the maximum value VSN1(max), and then determines whether it is single-phase or three-phase through the voltage sampling signal. Because the voltage value of AC power is a sinusoidal value, if the main control module collects VSN as a sinusoidal quantity, and VRN and VTN are fixed values, it means that single-phase power is connected. If the main control module collects VRN, VSN, and VTN as sinusoidal quantities, it means that three-phase power is connected. After determining whether the input power supply is single-phase or three-phase, during the working process, the real-time values ​​of VRN, VSN, and VTN can be monitored in real time. The main control module can determine whether the input power supply has overvoltage, undervoltage, or phase loss faults through calculation. The input power supply is monitored in real time. If overvoltage, undervoltage, or phase loss faults occur, the product can make corresponding protection processing to improve the reliability of the product.

[0142] In single-phase PWM rectification, three-phase PWM rectification control products or some products with high requirements for input voltage sampling accuracy, it is necessary to sample the input power supply in real time to obtain accurate real-time voltage value and phase information. By identifying power supply specifications of different grades and adjusting the gain resistance value of the voltage sampling op amp circuit, the voltage sampling accuracy can be improved. The voltage sampling op amp gain is equal to R17 / (R16+RK+R5) in formula (2), where RK is a variable adjusted according to the input power supply specifications. The higher the power input voltage, the larger RK and the smaller the gain. The AD conversion input range of the main control module can be fully utilized to improve the sampling accuracy. The solution of the present invention is compatible with the input of AC power supplies of different specifications, provides a clear hardware voltage detection circuit, can perform voltage detection through the op amp circuit, and can perform comprehensive detection of the AC power supply. The solution of the present invention can be applied to products such as servo drives, air conditioning inverters and rectifier feedback units.

[0143] In the solution of the present invention, by identifying the specifications of the input power supply, adjusting the parameters of the voltage sampling signal circuit, and collecting accurate voltage information for product operation control and input power supply fault detection. In this way, by detecting AC input power supplies of different specifications, the adaptability of the detection of AC input power supplies of different specifications is improved, and the power adaptability of electrical equipment (such as servo drives, air conditioner inverters, rectifier feedback units and other products) is improved; by comprehensively detecting the fault anomalies of the AC input power supply, more effective protection can be provided for power supply products, and product reliability can be improved.

[0144] Since the processing and functions implemented by the method of this embodiment basically correspond to the embodiments, principles and examples of the aforementioned electrical equipment, for the details not fully described in this embodiment, please refer to the relevant descriptions in the aforementioned embodiments, and no further elaboration will be made here.

[0145] In summary, it is easy for those skilled in the art to understand that, under the premise of no conflict, the above-mentioned advantageous methods can be freely combined and superimposed.

[0146] The above description is only an embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention shall be included in the scope of the claims of the present invention.

Claims

1. A detection device for AC input power, characterized in that: include: An input unit, an interval identification unit, a logic processing unit, a sampling unit, and a control unit; wherein, The input unit is used to reduce the voltage of the external AC input power to obtain an AC power input signal; The interval identification unit is used to perform signal conditioning and comparison on the AC power input signal to obtain an AC power interval signal; The control unit is used to generate a control signal according to the AC power supply interval signal; The logic processing unit is used to generate a parameter adjustment signal according to the AC power supply interval signal under the control of the control signal; the parameter adjustment signal is used to adjust the sampling parameters of the sampling unit; The sampling unit is used to adjust the sampling parameters of the sampling unit itself under the action of the parameter adjustment signal, and sample the AC power input signal based on the adjusted sampling parameters of the sampling unit itself to obtain an AC power sampling signal as the voltage sampling signal of the AC input power; The control unit is further used to determine a detection signal for detecting the AC input power supply according to a voltage sampling signal of the AC input power supply, so as to implement protection control of the AC input power supply to the load according to the detection signal of the AC input power supply.

2. The detection device for AC input power according to claim 1, characterized in that: The input unit includes: a first resistance module, a second resistance module, a third resistance module, a fourth resistance module, a fifth resistance module, a sixth resistance module, and a seventh resistance module; wherein, The input terminal of the input unit includes: an R terminal, an S terminal, a T terminal and an N terminal; the R terminal is connected to the N terminal through the first resistor module; the S terminal is connected to the N terminal through the second resistor module; the T terminal is connected to the N terminal through the third resistor module; The output terminals of the input unit include: a VR terminal, a VS terminal, a VT terminal and a VN terminal; the R terminal is further connected to the VR terminal via the fourth resistor module; the S terminal is further connected to the VS terminal via the fifth resistor module; the T terminal is further connected to the VT terminal via the sixth resistor module; and the N terminal is further connected to the VN terminal via the seventh resistor module.

3. The detection device for AC input power according to claim 1 or 2, characterized in that: The interval identification unit includes: a conditioning unit and a comparison unit; the comparison unit includes: a comparison module, the number of which is more than one; in more than one comparison module, the comparison voltage thresholds of different comparison modules are different; wherein, The interval identification unit performs signal conditioning and comparison on the AC power input signal to obtain an AC power interval signal, including: The conditioning unit is used to adjust the negative value part of the AC power input signal to a positive value range to obtain an AC power conditioning signal; Each of the at least one comparison modules is configured to compare the AC power conditioning signal with the comparison voltage threshold of the comparison module itself to obtain an AC power comparison signal output by the comparison module; thereby, obtaining at least one AC power comparison signal output by the at least one comparison module as the AC power interval signal; The control unit generates a control signal according to the AC power interval signal, including: Calculate the maximum value of the AC power interval signal according to the AC power interval signal obtained in the current power cycle; When the maximum value of the AC power interval signal is obtained in the next power cycle, the control signal is generated, that is, the level of the control signal is a preset valid level; in other cases, the level of the control signal is a preset invalid level.

4. The detection device for AC input power according to claim 3, characterized in that: in, The conditioning unit includes: a tenth resistor module, an eleventh resistor module, a twelfth resistor module, a thirteenth resistor module, and a first operational amplifier module; wherein, The output terminals of the input unit include: a VR terminal, a VS terminal, a VT terminal and a VN terminal; the VN terminal is connected to the inverting input terminal of the first operational amplifier module after passing through the tenth resistor module; the inverting input terminal of the first operational amplifier module is connected to the output terminal of the first operational amplifier module after passing through the eleventh resistor module; the output terminal of the first operational amplifier module serves as the output terminal of the conditioning unit; Any terminal that needs to be connected among the VR terminal, the VS terminal, and the VT terminal is connected to the non-inverting input terminal of the first operational amplifier module after passing through the twelfth resistor module; the input terminal of the preset reference source is connected to the non-inverting input terminal of the first operational amplifier module after passing through the thirteenth resistor module; and / or, In the comparison unit, the comparison module includes: a fourteenth resistor module, a fifteenth resistor module, and a second operational amplifier module; wherein, The input end of the preset DC power supply is connected to the protection ground after passing through the fourteenth resistor module and the fifteenth resistor module; the common end of the fourteenth resistor module and the fifteenth resistor module is used to output the comparison voltage threshold of the comparison module; the input end of the comparison voltage threshold of the comparison module is connected to the inverting input end of the second operational amplifier module; The AC power conditioning signal output by the conditioning unit is input to the non-inverting input terminal of the second operational amplifier module; the output terminal of the second operational amplifier module serves as the output terminal of the comparison module.

5. The detection device for AC input power according to any one of claims 1 to 4, characterized in that: The sampling unit includes: a sampling parameter selection module and a voltage sampling module; wherein, The sampling unit, under the action of the parameter adjustment signal, adjusts the sampling parameters of the sampling unit itself, and samples the AC power input signal based on the adjusted sampling parameters of the sampling unit itself to obtain an AC power sampling signal as the voltage sampling signal of the AC input power, including: The sampling parameter selection module is used to adjust the sampling parameters of the sampling parameter selection module itself under the action of the parameter adjustment signal, and output the AC power input signal based on the adjusted sampling parameters of the sampling parameter selection module itself to obtain the AC power sampling parameter adjustment signal; The voltage sampling module is used to adjust the negative value part of the AC power sampling parameter adjustment signal to a positive value range to obtain an AC power sampling signal as the voltage sampling signal of the AC input power supply.

6. The detection device for AC input power according to claim 5, characterized in that: The sampling parameter selection module includes: a gain resistor selection module, the number of which is more than two; the voltage sampling module includes: a voltage sampling signal circuit, the number of which is more than one; two of the two or more gain resistor selection modules are matched with one of the more than one voltage sampling signal circuits; wherein, The output terminal of the input unit includes: a VR terminal, a VS terminal, a VT terminal and a VN terminal; among the two or more gain resistor selection modules, one gain resistor selection module is connected between any terminal that needs to be connected among the VR terminal, the VS terminal and the VT terminal, and a first input terminal of one of the more than one voltage sampling signal circuits; another gain resistor selection module is connected between the VN terminal and a second input terminal of one of the voltage sampling signal circuits; an output terminal of one of the voltage sampling signal circuits is connected to the control unit; The output end of the logic processing unit is connected to the control end of each gain resistance selection module.

7. The detection device for AC input power according to claim 6, characterized in that: in, In the sampling parameter selection module, the gain resistance selection module includes: a first switch module, a second switch module, an eighth resistance module, and a ninth resistance module; wherein, Any terminal that needs to be connected among the VR terminal, the VS terminal, the VT terminal, and the VN terminal is connected to the output end of the gain resistor selection module after passing through the first switch module and the eighth resistor module; any terminal that needs to be connected among the VR terminal, the VS terminal, the VT terminal, and the VN terminal is also connected to the output end of the gain resistor selection module after passing through the second switch module and the ninth resistor module; Wherein, the parameter adjustment signal output by the logic processing unit includes: a first adjustment signal for controlling the on and off of the first switch module, and a second adjustment signal for controlling the on and off of the second switch module; wherein, when the level of the first adjustment signal is a preset valid level, the first switch module is turned on; when the level of the first adjustment signal is a preset invalid level, the first switch module is turned off; when the level of the second adjustment signal is a preset valid level, the second switch module is turned on; when the level of the second adjustment signal is a preset invalid level, the second switch module is turned off; The logic processing unit, under the control of the control signal, generates a parameter adjustment signal according to the AC power supply interval signal, including: When the level of the control signal is a preset invalid level, the levels of the first adjustment signal and the second adjustment signal in the parameter adjustment signal are maintained at the current state; When the level of the control signal is a preset effective level, and the range of the AC power supply interval signal includes a first-gear interval signal, a second-gear interval signal, and a third-gear interval signal in which the voltage levels increase sequentially: If the level of the first interval signal in the AC power interval signal output by the interval identification unit is a preset invalid level, the levels of the first adjustment signal and the second adjustment signal in the generated parameter adjustment signal are both preset invalid levels; If the level of the first-gear interval signal in the AC power interval signal output by the interval identification unit is a preset valid level, then when the level of the second-gear interval signal in the AC power interval signal output by the interval identification unit is a preset invalid level, the levels of the first adjustment signal and the second adjustment signal in the generated parameter adjustment signal are both preset valid levels; If the levels of the first-gear interval signal and the second-gear interval signal in the AC power interval signal output by the interval identification unit are both preset valid levels, then when the level of the third-gear interval signal in the AC power interval signal output by the interval identification unit is a preset invalid level, the level of the first adjustment signal in the generated parameter adjustment signal is a preset valid level, and the level of the second adjustment signal is a preset invalid level; and / or, In the voltage sampling module, the voltage sampling signal circuit includes: a sixteenth resistor module, a seventeenth resistor module, an eighteenth resistor module, a nineteenth resistor module, and a third operational amplifier module; wherein, For two of the two or more gain resistor selection modules, An output end of the gain resistor selection module connected to the VN terminal is connected to the inverting input end of the third operational amplifier module after passing through the sixteenth resistor module; the inverting input end of the third operational amplifier module is connected to the output end of the third operational amplifier module after passing through the seventeenth resistor module; the output end of the third operational amplifier module, as the output end of the voltage sampling signal circuit, is connected to the control unit; An output end of the gain resistance selection module connected to any one of the VR terminal, the VS terminal and the VT terminal that needs to be connected is connected to the non-inverting input end of the third operational amplifier module after passing through the eighteenth resistor module; an input end of a preset reference source is connected to the non-inverting input end of the third operational amplifier module after passing through the nineteenth resistor module.

8. An electrical device, characterized in that: include: A detection device for an AC input power supply according to any one of claims 1 to 7.

9. A control method for an AC input power detection device according to any one of claims 1 to 7, characterized in that: include: Through the input unit, the AC input power input from the outside is stepped down to obtain an AC power input signal; By means of the interval identification unit, signal conditioning and comparison are performed on the AC power input signal to obtain an AC power interval signal; generating a control signal according to the AC power supply interval signal; By means of the logic processing unit, under the control of the control signal, a parameter adjustment signal is generated according to the AC power supply interval signal; the parameter adjustment signal is used to adjust the sampling parameters of the sampling unit; By means of the sampling unit, under the action of the parameter adjustment signal, the sampling parameter of the sampling unit itself is adjusted, and based on the adjusted sampling parameter of the sampling unit itself, the AC power input signal is sampled to obtain an AC power sampling signal as the voltage sampling signal of the AC input power; A detection signal for detecting the AC input power is determined according to the voltage sampling signal of the AC input power supply, so as to implement protection control of the AC input power supply to the load according to the detection signal of the AC input power supply.

10. The control method of the AC input power detection device according to claim 9, characterized in that: in, Generating a control signal according to the AC power supply interval signal includes: Calculate the maximum value of the AC power interval signal according to the AC power interval signal obtained in the current power cycle; When the maximum value of the AC power interval signal is obtained in the next power cycle, the control signal is generated, that is, the level of the control signal is a preset valid level; in other cases, the level of the control signal is a preset invalid level; and / or, In the case where the sampling unit includes a first switch module and a second switch module, the parameter adjustment signal output by the logic processing unit includes: a first adjustment signal for controlling the on and off of the first switch module, and a second adjustment signal for controlling the on and off of the second switch module; wherein, when the level of the first adjustment signal is a preset valid level, the first switch module is turned on; when the level of the first adjustment signal is a preset invalid level, the first switch module is turned off; when the level of the second adjustment signal is a preset valid level, the second switch module is turned on; when the level of the second adjustment signal is a preset invalid level, the second switch module is turned off; Under the control of the control signal, generating a parameter adjustment signal according to the AC power supply interval signal includes: When the level of the control signal is a preset invalid level, the levels of the first adjustment signal and the second adjustment signal in the parameter adjustment signal are maintained at the current state; When the level of the control signal is a preset effective level, and the range of the AC power supply interval signal includes a first-gear interval signal, a second-gear interval signal, and a third-gear interval signal in which the voltage levels increase sequentially: If the level of the first interval signal in the AC power interval signal output by the interval identification unit is a preset invalid level, the levels of the first adjustment signal and the second adjustment signal in the generated parameter adjustment signal are both preset invalid levels; If the level of the first-gear interval signal in the AC power interval signal output by the interval identification unit is a preset valid level, then when the level of the second-gear interval signal in the AC power interval signal output by the interval identification unit is a preset invalid level, the levels of the first adjustment signal and the second adjustment signal in the generated parameter adjustment signal are both preset valid levels; If the levels of the first-gear interval signal and the second-gear interval signal in the AC power interval signal output by the interval identification unit are both preset valid levels, then when the level of the third-gear interval signal in the AC power interval signal output by the interval identification unit is a preset invalid level, the level of the first adjustment signal in the generated parameter adjustment signal is a preset valid level, and the level of the second adjustment signal is a preset invalid level.

Citation Information

Cited By

  • Performance evaluation method and system for direct-current power supply

    CN121899694A