Ac-dc input detection circuit, ac-dc circuit and electric appliance

By using half-wave rectification and hysteresis comparison technology, the problem of misjudgment in traditional AC/DC input detection is solved, thereby improving reliability and avoiding misjudgment. It is applicable to power electronic equipment such as power adapters, inverters, and chargers.

CN225032189UActive Publication Date: 2026-11-27SHENZHEN VAPEL POWER SUPPLY TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202522704726.X
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-12-19
Publication Date
2026-11-27
Estimated Expiration
2035-12-19

AI Technical Summary

Technical Problem

In traditional AC/DC input detection technology, the frequency of the pulsating DC signal doubles after full-wave rectification of the AC input signal, resulting in an extremely short duration of low-level output from the comparator. The capacitor charging and discharging characteristics smooth out the signal, leading to misjudgment as DC input and affecting the normal operation and reliability of the equipment.

Method used

A half-wave rectifier module is used to convert the sampled signal into a unidirectional pulsating DC signal. Combined with a voltage divider module and a hysteresis comparator module, a level signal is generated by hysteresis comparison. The detection module is used to determine the AC/DC type to avoid misjudgment.

Benefits of technology

It significantly improves the reliability of AC/DC detection, ensures sufficient low-level time, avoids false judgments, has a simple structure, low cost, and is suitable for a variety of power electronic equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN225032189U_ABST
    Figure CN225032189U_ABST
Patent Text Reader

Abstract

This application discloses an AC / DC input detection circuit, an AC-DC circuit, and an electrical device. The AC / DC input detection circuit includes a half-wave rectifier module, a voltage divider module, a hysteresis comparator module, and a detection module. The half-wave rectifier module receives the sampled signal and converts it into a unidirectional pulsating DC signal. The voltage divider module, connected to the half-wave rectifier module, divides the pulsating DC signal to generate a divided voltage signal. The hysteresis comparator module, connected to the voltage divider module, compares the level of the divided voltage signal with a reference level and generates a level signal based on the comparison result. The detection module, connected to the hysteresis comparator module, detects the level signal to determine the AC / DC type of the sampled signal. This application solves the problems of misjudgment caused by excessively short low-level time and capacitance effects in AC input detection in conventional technologies, significantly improving the reliability of AC / DC detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of signal detection technology, and more specifically, to an AC / DC input detection circuit, an AC-DC circuit, and an electrical device. Background Technology

[0002] In power electronic devices (such as power adapters, inverters, chargers, etc.), AC / DC input detection is a key function used to determine the type of input power (AC or DC) and thus trigger the corresponding operating mode or protection mechanism of the device.

[0003] Traditional AC / DC input detection technology typically employs a "full-wave rectification + resistor voltage divider + comparator" scheme: the input voltage is converted into a bidirectional pulsating DC signal after full-wave rectification, then processed by resistor voltage divider before being sent to the input of the comparator, where it is compared with the reference level at the other input of the comparator; the microcontroller acts as the detection module, determining the AC / DC type of the input signal by detecting the number of rising and falling edges of the comparator output signal within a specified time—if the specified number of edge changes is detected, it is determined to be an AC input; otherwise, it is determined to be a DC input.

[0004] However, the aforementioned traditional technology has significant drawbacks: for AC input signals, the frequency of the pulsating DC signal after full-wave rectification doubles (e.g., 50Hz AC power frequency becomes 100Hz after full-wave rectification), resulting in an extremely short duration of the low-level output of the comparator. Simultaneously, the charging and discharging characteristics of capacitors in the circuit (such as reference level filter capacitors and voltage divider signal filter capacitors) further "smooth out" the brief low-level signal, occasionally leading to no low-level output from the comparator. In this case, the detection module may mistakenly identify the AC input as a DC input due to insufficient edge changes, severely impacting the normal operation and reliability of the equipment.

[0005] Therefore, existing technologies need to be improved. Utility Model Content

[0006] The purpose of this application is to provide an AC / DC input detection circuit, an AC-DC circuit, and an electrical device, which aims to optimize the rectification method, solve the problem of AC detection misjudgment in traditional full-wave rectification schemes, and improve detection reliability.

[0007] To achieve the above objectives, the technical solution adopted in this application is as follows: In a first aspect, this application provides an AC / DC input detection circuit, comprising: A half-wave rectifier module, which is used to receive the sampled signal and convert the sampled signal into a unidirectional pulsating DC signal; A voltage divider module is connected to the half-wave rectifier module. The voltage divider module is used to divide the pulsating DC signal to generate a voltage divider signal. A hysteresis comparison module is connected to the voltage divider module. The hysteresis comparison module is used to compare the level of the voltage divider signal with the reference level and generate a level signal based on the comparison result. The detection module is connected to the hysteresis comparison module. The detection module is used to detect based on the level signal to determine the AC / DC type of the sampled signal.

[0008] In one embodiment, the half-wave rectifier module includes a diode D1, the anode of which is used to receive a sampling signal, and the cathode of which is connected to the voltage divider module, thereby converting the sampling signal into a unidirectional pulsating DC signal through unidirectional conductivity.

[0009] In one embodiment, the voltage divider module includes resistors R1, R2, R3, R4, R6, and R7 connected in series. The end of resistor R1 furthest from resistor R2 is connected to the half-wave rectifier module, and the end of resistor R7 furthest from resistor R6 is grounded. The connection node between resistor R6 and resistor R7 is connected to the hysteresis comparator module to output the voltage divider signal.

[0010] In one embodiment, the hysteresis comparison module includes: a comparator U10, a feedback resistor R8, and a capacitor C2. The non-inverting input terminal of the comparator U10 is connected to the voltage divider module to receive the voltage divider signal, the inverting input terminal of the comparator U10 is connected to pin 11 of the detection module to receive the reference level, and the output terminal of the comparator U10 is connected to pin 7 of the detection module to output the level signal. The first end of the feedback resistor R8 is connected to the non-inverting input of the comparator U10, and the second end of the feedback resistor R8 is connected to the output of the comparator U10, in order to form a hysteresis characteristic to enhance the anti-interference capability. The first end of capacitor C2 is connected to the inverting input of comparator U10 and pin 11 of the detection module, respectively, and the second end of capacitor C2 is grounded to stabilize the reference level.

[0011] In one embodiment, the hysteresis comparator module further includes a capacitor C1, the first end of which is connected to the non-inverting input of the comparator U10, and the second end of which is grounded, for filtering out high-frequency noise in the voltage divider signal.

[0012] In one embodiment, a stabilization module is further included, which is connected to the voltage divider module. The stabilization module includes a resistor R5, the first end of which is connected to the connection node of the resistors R4 and R6, and the second end of which is grounded, for stabilizing the output voltage of the voltage divider module.

[0013] In one embodiment, an overvoltage protection module is further included. The overvoltage protection module is connected to the voltage divider module. The overvoltage protection module includes a common cathode diode D2. The anode of the common cathode diode D2 is connected to the connection node of the resistor R4 and the resistor R6. The cathode of the common cathode diode D2 is connected to a first power supply to limit the highest level of the voltage divider signal.

[0014] In one embodiment, the voltage of the first power supply is 5V.

[0015] Secondly, this application also provides an AC-DC circuit, which includes the AC / DC input detection circuit described above. Therefore, this AC-DC circuit can possess all the technical features and beneficial effects of the aforementioned AC / DC input detection circuit, which will not be elaborated further.

[0016] Thirdly, this application also provides an electrical device comprising the AC-DC circuit described above. This electrical device thus possesses all the technical features and beneficial effects of the aforementioned AC / DC input detection circuit, which will not be elaborated further.

[0017] The beneficial effects of the AC / DC input detection circuit, AC-DC circuit, and electrical equipment provided in this application are at least as follows: This application discloses an AC / DC input detection circuit, an AC-DC circuit, and an electrical device. The AC / DC input detection circuit includes a half-wave rectifier module, a voltage divider module, a hysteresis comparator module, and a detection module. The half-wave rectifier module receives a sampled signal and converts it into a unidirectional pulsating DC signal. The voltage divider module is connected to the half-wave rectifier module and divides the pulsating DC signal to generate a divided voltage signal. The hysteresis comparator module is connected to the voltage divider module and compares the level of the divided voltage signal with a reference level, generating a level signal based on the comparison result. The detection module is connected to the hysteresis comparator module and performs detection based on the level signal to determine the AC / DC type of the sampled signal. This application solves the problems of misjudgment caused by excessively short low-level time and capacitance influence during AC input detection in traditional technologies, significantly improving the reliability of AC / DC detection. Furthermore, it is simple in structure, low in cost, and easy to implement. Attached Figure Description

[0018] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0019] Figure 1 This is a schematic diagram of the AC / DC input detection circuit provided in the embodiments of this application; Figure 2 A schematic diagram of a specific embodiment of the AC / DC input detection circuit provided in this application; Figure 3 A circuit diagram of the AC / DC input detection circuit provided in the embodiments of this application.

[0020] The following are the labeling elements in the figure: 100. Half-wave rectifier module; 200. Voltage divider module; 300. Hysteresis comparator module; 400. Detection module; 500. Stabilization module; 600. Overvoltage protection module. Detailed Implementation

[0021] To make the technical problems, technical solutions, and beneficial effects to be solved by this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and are not intended to limit the scope of this application.

[0022] It should be noted that when a component is referred to as "fixed to" or "set on" another component, it may be directly or indirectly located on that other component. When a component is referred to as "connected to" another component, it may be directly or indirectly connected to that other component. The terms "upper," "lower," "left," "right," "front," "rear," "vertical," "horizontal," "top," "bottom," "inner," and "outer," etc., indicate orientations or positions based on the accompanying drawings, and are for ease of description only, and should not be construed as limiting the technical solution. The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features. "A plurality" means two or more, unless otherwise explicitly defined. Example 1

[0023] Please see Figure 1 This embodiment provides an AC / DC input detection circuit, which includes a half-wave rectifier module 100, a voltage divider module 200, a hysteresis comparator module 300, and a detection module 400.

[0024] The half-wave rectifier module 100 is used to receive the sampled signal and convert the sampled signal into a unidirectional pulsating DC signal.

[0025] AC and DC signals exhibit different characteristics after half-wave rectification. For example, with a DC input, the rectified DC voltage remains constant without pulsation, exhibiting only minor ripple due to load fluctuations. With an AC input, the rectified AC voltage becomes a periodically pulsating DC. For instance, after half-wave rectification, the AC output may show a pulsating DC voltage ranging from 0V to peak value and then back to 0V. Under normal circumstances, the hysteresis comparator module 300 should output a low-high-low level in response to the pulsation. Half-wave rectification ensures that the valley of the AC pulsation is reduced to near 0V, providing a clear low-level signal for the hysteresis comparator module 300.

[0026] The voltage divider module 200 is connected to the half-wave rectifier module 100. The voltage divider module 200 is used to divide the pulsating DC signal to generate a voltage divider signal.

[0027] The voltage divider module 200 uses appropriate voltage division to adapt to the threshold of the hysteresis comparator module 300, amplifying the difference between high and low levels. This ensures that the valley of the AC pulsation is much lower than the threshold, thus ensuring a low output level, while the peak of the AC pulsation is much higher than the threshold, thus ensuring a high output level.

[0028] Hysteresis comparator module 300 is connected to voltage divider module 200. Hysteresis comparator module 300 is used to compare the level of voltage divider signal with reference level and generate level signal based on comparison result.

[0029] The hysteresis comparator module 300 has two different thresholds, an upper threshold and a lower threshold. These two different thresholds can eliminate output oscillations caused by small fluctuations in the input voltage near a single threshold, making the output more stable and avoiding critical states.

[0030] The detection module 400 is connected to the hysteresis comparison module 300. The detection module 400 is used to detect based on the level signal to determine the AC / DC type of the sampled signal.

[0031] The detection module 400 needs to determine whether there is periodic pulsation in the rectified signal to accurately distinguish between AC and DC, thus avoiding detection errors. For example, the detection module 400 can use a microcontroller or digital circuit to read the level signal of the hysteresis comparator module 300 to determine the AC / DC type of the signal used.

[0032] In this embodiment, the half-wave rectifier module 100 receives the sampling signal and converts it into a unidirectional pulsating DC signal. The voltage divider module 200 divides the pulsating DC signal to generate a voltage divider signal. The hysteresis comparator module 300 compares the level of the voltage divider signal with the reference level and generates a level signal based on the comparison result. The detection module 400 determines the AC / DC type of the sampling signal based on the level signal to solve the problem of AC / DC input detection error.

[0033] Compared with the prior art, this application uses half-wave rectification to make the high and low level duty cycle of the output signal of the hysteresis comparator module 300 close to 50%, which solves the problem of misjudgment caused by the short low level time and capacitance effect during AC input detection in traditional technology, significantly improving the reliability of AC and DC detection. Moreover, it has a simple structure, low cost and is easy to implement.

[0034] Please see Figure 2 , Figure 2 A schematic diagram of a specific embodiment of the AC / DC input detection circuit provided in this application is shown. The AC / DC input detection circuit includes a wave rectifier module, a voltage divider module 200, an overvoltage protection module 600, a stabilization module 500, a hysteresis comparator module 300, and a detection module 400. The voltage divider module 200 is connected to the overvoltage protection module 600 and the stabilization module 500, respectively.

[0035] Please see Figure 3 , Figure 3 An example circuit structure of an AC / DC input detection circuit provided in an embodiment of this application is shown. For ease of explanation, only the parts related to the embodiment of this application are shown, and are described in detail below: The half-wave rectifier module 100 includes a diode D1. The anode of the diode D1 is used to receive the sampling signal, and the cathode of the diode D1 is connected to the voltage divider module 200. The sampling signal is converted into a unidirectional pulsating DC signal through unidirectional conductivity.

[0036] In this embodiment, the half-wave rectifier module 100 utilizes the unidirectional conductivity of diode D1 to convert the alternating AC signal into a unidirectional pulsating DC signal, providing a stable positive signal basis for subsequent voltage division and comparison. For example, when the AC signal is in the positive half-cycle, diode D1 is forward biased, i.e., diode D1 is conducting. When the AC signal is in the negative half-cycle, diode D1 is reverse biased, i.e., diode D1 is cut off. Thus, the half-wave rectification only retains the positive (or negative) half-cycle of the sampled signal, resulting in a longer low-level duration for the subsequently processed signal.

[0037] Specifically, the voltage divider module 200 includes resistors R1, R2, R3, R4, R6 and R7 connected in series. The end of resistor R1 away from resistor R2 is connected to the half-wave rectifier module 100, and the end of resistor R7 away from resistor R6 is grounded. The connection node between resistors R6 and R7 is connected to the hysteresis comparator module 300 to output a voltage divider signal.

[0038] In this embodiment, the voltage divider module 200 is composed of resistors R1, R2, R3, R4, R6, and R7 connected in series. The first end of resistor R1 is connected to the output end of the half-wave rectifier module 100, and the second end of resistor R7 is grounded. Its function is to divide the pulsating DC signal after half-wave rectification according to a preset ratio to generate a voltage divider signal with an amplitude that matches the input range of the hysteresis comparator module 300, so as to avoid damage to the comparator due to excessive signal amplitude.

[0039] Specifically, the hysteresis comparator module 300 includes: comparator U10, feedback resistor R8, capacitor C1 and capacitor C2. The non-inverting input terminal of comparator U10 is connected to voltage divider module 200 to receive the voltage divider signal, the inverting input terminal of comparator U10 is connected to pin 11 of detection module 400 to receive the reference level, and the output terminal of comparator U10 is connected to pin 7 of detection module 400 to output the level signal.

[0040] The first end of the feedback resistor R8 is connected to the non-inverting input of the comparator U10, and the second end of the feedback resistor R8 is connected to the output of the comparator U10, in order to form a hysteresis characteristic to enhance the anti-interference capability. The first end of capacitor C2 is connected to the inverting input of comparator U10 and pin 11 of detection module 400, respectively. The second end of capacitor C2 is grounded to stabilize the reference level.

[0041] The first terminal of capacitor C1 is connected to the non-inverting input terminal of comparator U10, and the second terminal of capacitor C1 is grounded to filter out high-frequency noise in the voltage divider signal.

[0042] In this embodiment, the non-inverting input of comparator U10 receives the voltage divider signal, and the inverting input of comparator U10 receives the reference level provided by the detection module 400. The feedback resistor R8 is connected between the non-inverting input and output of comparator U10 to form a hysteresis characteristic, which enhances the circuit's ability to resist noise interference. Capacitor C2 is used to stabilize the reference level and avoid reference fluctuations from affecting the comparison accuracy. Capacitor C1 is used to filter out high-frequency noise in the voltage divider signal, further improving the comparison stability.

[0043] Specifically, it also includes a stabilization module 500, which is connected to the voltage divider module 200. The stabilization module 500 includes a resistor R5, the first end of which is connected to the connection node of resistors R4 and R6, and the second end of which is grounded, for stabilizing the output voltage of the voltage divider module 200.

[0044] In this embodiment, resistor R5 is connected between the intermediate node of voltage divider module 200 (the connection node of resistors R4 and R6) and ground. By introducing a pull-down resistor, the output voltage of voltage divider module 200 is stabilized, reducing voltage divider signal jitter caused by power fluctuations or signal abrupt changes, and improving signal stability.

[0045] Specifically, the AC / DC input detection circuit also includes an overvoltage protection module 600, which is connected to the voltage divider module 200. The overvoltage protection module 600 includes a common cathode diode D2, the anode of which is connected to the connection node of resistor R4 and resistor R6, and the cathode of which is connected to the first power supply to limit the highest level of the voltage divider signal.

[0046] In this embodiment, the overvoltage protection module 600 includes a common-cathode diode D2, whose anode is connected to the intermediate node of the voltage divider module 200, and whose cathode is connected to a 5V first power supply. Utilizing the clamping characteristic of the diode, the highest level of the voltage divider signal is limited, preventing overvoltage damage to the comparator in the hysteresis comparator module 300. For example, when the input voltage abnormally increases, the voltage at the voltage divider node is clamped to a safe range of 5.7V, protecting the comparator from high-voltage damage. Simultaneously, because it is in the off state during normal operation, it does not affect the normal detection of AC / DC signals.

[0047] Specifically, the detection module 400 typically uses a microcontroller, such as an MCU. Pin 11 of the microcontroller U28 outputs a stable reference level to the inverting input of the comparator U10, and pin 7 of the microcontroller U28 receives the level signal output by the comparator U10. By counting the number of rising and falling edges of the level signal within a specified time, the type of the sampled signal is determined. If periodic edge changes are detected (the duty cycle of high and low levels is close to 50%), it is determined to be an AC input; if the level signal remains constant (no edge changes), it is determined to be a DC input.

[0048] Compared with the prior art, the beneficial effects of this application are as follows: 1. Significantly improved detection reliability: By replacing the traditional full-wave rectifier with a half-wave rectifier module, the frequency of the pulsating DC signal after half-wave rectification is consistent with the original AC signal (e.g., 50Hz AC remains 50Hz after half-wave rectification). The duty cycle of the high and low levels of the comparator output signal is close to 50%, and the low level duration is sufficient. This completely solves the problem of no low level caused by the short low level time and the influence of capacitors in traditional technology, and avoids the problem of AC being misjudged as DC.

[0049] 2. Strong anti-interference capability: The stabilization module reduces voltage divider signal jitter, the hysteresis characteristic of the hysteresis comparator module and the filter capacitors (C1, C2) filter out noise, and the overvoltage protection module avoids overvoltage damage. Multiple designs ensure that the circuit can still work stably in complex electromagnetic environments.

[0050] 3. Simple structure and low cost: It can be converted from full-wave rectification to half-wave rectification by simply adding a diode. It can be achieved with minor modifications to the original circuit, making it easy to mass-produce and promote its application.

[0051] 4. Wide adaptability: It can be applied to AC / DC input detection scenarios with different amplitudes and frequencies, and is compatible with various power electronic devices, such as power adapters, inverters, and chargers, and has a wide range of application prospects. Example 2

[0052] Based on the AC / DC input detection circuit of the above embodiments, this application also provides an AC-DC circuit, wherein the AC-DC circuit includes the AC / DC input detection circuit of the above embodiments. Therefore, this AC-DC circuit can possess all the technical features and beneficial effects of the AC / DC input detection circuit of the above embodiments, which will not be repeated here. Example 3

[0053] Based on the AC / DC input detection circuit and AC-DC circuit of the above embodiments, this application also provides an electrical device, wherein the electrical device includes the AC-DC circuit as described above. Therefore, this electrical device can possess all the technical features and beneficial effects of the AC / DC input detection circuit of the above embodiments, which will not be repeated here.

[0054] In summary, this application discloses an AC / DC input detection circuit, an AC-DC circuit, and an electrical device. The AC / DC input detection circuit includes a half-wave rectifier module, a voltage divider module, a hysteresis comparator module, and a detection module. The half-wave rectifier module receives the sampled signal and converts it into a unidirectional pulsating DC signal. The voltage divider module is connected to the half-wave rectifier module and divides the pulsating DC signal to generate a divided voltage signal. The hysteresis comparator module is connected to the voltage divider module and compares the level of the divided voltage signal with a reference level, generating a level signal based on the comparison result. The detection module is connected to the hysteresis comparator module and performs detection based on the level signal to determine the AC / DC type of the sampled signal. This application solves the problems of short low-level time and capacitor influence causing misjudgment in AC input detection in traditional technologies, significantly improving the reliability of AC / DC detection. Furthermore, it has a simple structure, low cost, and is easy to implement.

[0055] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. An AC / DC input detection circuit, characterized in that, include: A half-wave rectifier module, which receives the sampled signal and converts the sampled signal into a unidirectional pulsating DC signal; A voltage divider module is connected to the half-wave rectifier module. The voltage divider module is used to divide the pulsating DC signal to generate a voltage divider signal. A hysteresis comparison module is connected to the voltage divider module. The hysteresis comparison module is used to compare the level of the voltage divider signal with the reference level and generate a level signal based on the comparison result. The detection module is connected to the hysteresis comparison module. The detection module is used to detect based on the level signal to determine the AC / DC type of the sampled signal.

2. The AC / DC input detection circuit as described in claim 1, characterized in that, The half-wave rectifier module includes a diode D1. The anode of the diode D1 is used to receive the sampling signal, and the cathode of the diode D1 is connected to the voltage divider module. The sampling signal is converted into a unidirectional pulsating DC signal through unidirectional conductivity.

3. The AC / DC input detection circuit as described in claim 1, characterized in that, The voltage divider module includes resistors R1, R2, R3, R4, R6, and R7 connected in series. The end of resistor R1 furthest from resistor R2 is connected to the half-wave rectifier module, and the end of resistor R7 furthest from resistor R6 is grounded. The connection point between resistors R6 and R7 is connected to the hysteresis comparator module to output the voltage divider signal.

4. The AC / DC input detection circuit as described in claim 1, characterized in that, The hysteresis comparison module includes: comparator U10, feedback resistor R8, and capacitor C2. The non-inverting input terminal of comparator U10 is connected to the voltage divider module to receive the voltage divider signal. The inverting input terminal of comparator U10 is connected to pin 11 of the detection module to receive the reference level. The output terminal of comparator U10 is connected to pin 7 of the detection module to output the level signal. The first end of the feedback resistor R8 is connected to the non-inverting input of the comparator U10, and the second end of the feedback resistor R8 is connected to the output of the comparator U10, in order to form a hysteresis characteristic to enhance the anti-interference capability. The first end of capacitor C2 is connected to the inverting input of comparator U10 and pin 11 of the detection module, respectively, and the second end of capacitor C2 is grounded to stabilize the reference level.

5. The AC / DC input detection circuit as described in claim 4, characterized in that, The hysteresis comparator module further includes a capacitor C1, the first end of which is connected to the non-inverting input of the comparator U10, and the second end of which is grounded, for filtering out high-frequency noise in the voltage divider signal.

6. The AC / DC input detection circuit as described in claim 3, characterized in that, It also includes a stabilization module, which is connected to the voltage divider module. The stabilization module includes a resistor R5, the first end of which is connected to the connection node of the resistors R4 and R6, and the second end of which is grounded, for stabilizing the output voltage of the voltage divider module.

7. The AC / DC input detection circuit as described in claim 3, characterized in that, It also includes an overvoltage protection module, which is connected to the voltage divider module. The overvoltage protection module includes a common cathode diode D2. The anode of the common cathode diode D2 is connected to the connection node of the resistor R4 and the resistor R6. The cathode of the common cathode diode D2 is connected to a first power supply to limit the highest level of the voltage divider signal.

8. The AC / DC input detection circuit as described in claim 7, characterized in that, The voltage of the first power supply is 5V.

9. An AC-DC circuit, characterized in that, Includes the AC / DC input detection circuit as described in any one of claims 1-8.

10. An electrical appliance, characterized in that, Includes the AC-DC circuit as described in claim 9.