Power supply device and electronic equipment

By setting a photosensitive sensor in the power supply device and connecting it to the control circuit, the light emission status of the light-emitting module can be obtained in real time, solving the problem of complex relay sticking judgment and achieving accurate judgment at low cost.

CN224053878UActive Publication Date: 2026-03-27XIAOMI EV TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-03-27
Publication Date
2026-03-27

AI Technical Summary

Technical Problem

In existing power supply systems, determining whether a relay is stuck is complex and costly, making it difficult to accurately determine if a relay is stuck.

Method used

A photosensitive sensor is installed in the light-emitting module of the power supply device and connected to the control circuit. The photosensitive sensor acquires the light emission status in real time, and the control circuit can accurately determine whether there is abnormal light emission in the light-emitting module, and thus determine whether the relay is stuck.

Benefits of technology

It enables accurate detection of relay sticking, reducing the complexity and cost of the detection process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224053878U_ABST
    Figure CN224053878U_ABST
Patent Text Reader

Abstract

The utility model discloses a power supply device and electronic equipment, and relates to the technical field of circuits, the power supply device comprises a light emitting circuit and a control circuit connected with the light emitting circuit, and the light emitting circuit comprises a photoreceptor and a light emitting module; the photoreceptor is arranged in a sensing range corresponding to the light-emitting module; and the photoreceptor is connected with the control circuit. Compared with the prior art, the control circuit can obtain the light-emitting condition of the light-emitting module in real time through the photoreceptor, the control circuit can accurately judge whether the light-emitting module has the abnormal light-emitting condition or not according to the light-emitting condition, that is, the light-emitting module still emits light continuously under the condition that the control circuit controls the power supply device not to provide electric energy; furthermore, the control circuit can judge that the internal relay is adhered, so that the light-emitting module still continuously emits light under the condition that the power supply device does not provide electric energy, the control circuit can accurately judge whether the internal relay is adhered or not, and the judgment complexity and cost are low.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of circuit, in particular to a power supply device and electronic equipment. BACKGROUND

[0002] The power supply device refers to a device for generating, converting or distributing power, and a relay can be included in the power supply device, and whether the power supply device is powered on is controlled through the relay.

[0003] At present, during the use of the power supply device, the relay may be stuck, and in the related technology, it is necessary to judge whether the relay is stuck by connecting an external circuit, which leads to a complex process of judging whether the relay is stuck and a high cost of judgment. SUMMARY

[0004] Therefore, the present application provides a power supply device and electronic equipment.

[0005] In a first aspect, the present application provides a power supply device, comprising: a light emitting circuit, a control circuit connected with the light emitting circuit; the light emitting circuit comprises a photosensor and a light emitting module;

[0006] The photosensor is arranged in the sensing range corresponding to the light emitting module.

[0007] The photosensor is connected with the control circuit.

[0008] Optionally, the control circuit comprises a relay and a control module.

[0009] The control module is connected with the first end of the relay and the light emitting circuit respectively, and the second end of the relay is connected with the light emitting circuit.

[0010] Optionally, the control module comprises a signal conditioning unit and a signal processing unit.

[0011] The signal conditioning unit is connected with the photosensor and the signal processing unit respectively.

[0012] Optionally, the signal processing unit is also connected with the first end of the relay.

[0013] Optionally, the light emitting circuit further comprises a live wire and a zero wire.

[0014] The live wire is connected with the first end of the light emitting module and the second end of the relay.

[0015] The zero wire is connected with the second end of the light emitting module and the control module.

[0016] Optionally, the light emitting module comprises a light emitting diode and a resistor.

[0017] The anode of the light-emitting diode is connected with the first end of the resistor;

[0018] The cathode of the light-emitting diode is connected with the zero line and the control module.

[0019] Optionally, the second end of the resistor is connected with the live wire and the second end of the relay.

[0020] Optionally, the inside of the light-emitting circuit further comprises a grounding wire;

[0021] The grounding wire is connected with the control circuit.

[0022] Optionally, the power supply device further comprises a shell;

[0023] The shell is provided with a window for displaying the light-emitting module.

[0024] In a second aspect, the application provides an electronic device comprising the power supply device of the first aspect.

[0025] By the above technical solution, the power supply device and the electronic device provided by the application, compared with the related art, the light sensor is arranged in the light-emitting module of the power supply device, and the light sensor is connected with the control circuit in the power supply device, so that the control circuit can obtain the light-emitting condition of the light-emitting module in real time through the light sensor. The control circuit can accurately determine whether the light-emitting module has abnormal light-emitting condition through the light-emitting condition. That is, the light-emitting module still emits light continuously in the case that the control circuit controls the power supply device to not provide electric energy. Then, the control circuit can determine that the internal relay is stuck, which causes the light-emitting module to still emit light continuously in the case that the power supply device does not provide electric energy. Therefore, the control circuit can accurately determine whether the internal relay is stuck, and the complexity and cost of the determination are low.

[0026] The above description is only a summary of the technical solutions of the application. In order to enable the technical means of the application to be more clearly understood, the application can be implemented according to the content of the specification, and in order to enable the above and other purposes, characteristics and advantages of the application to be more obvious and easy to understand, the following specific embodiments of the application are described. BRIEF DESCRIPTION OF DRAWINGS

[0027] The accompanying drawings, which are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the application and, together with the specification, serve to explain the principles of the application.

[0028] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the accompanying drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced as follows. Obviously, the drawings can also provide further drawings based on these drawings for those of ordinary skill in the art without any creative effort.

[0029] Figure 1 A structural schematic diagram of a power supply device provided by an embodiment of the present application is shown.

[0030] Figure 2 A schematic diagram of an example provided by an embodiment of the present application is shown.

[0031] Figure 3 A schematic diagram of an example provided by an embodiment of the present application is shown.

[0032] In Figure 1 , the following items are described:

[0033] 1 - light emitting circuit, 11 - photosensor, 12 - light emitting module.

[0034] 2 - control circuit, 21 - control module. DETAILED DESCRIPTION

[0035] In the description of the present application, it should be understood that the terms "center", "longitudinal", "transverse", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise" and the like indicate the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a particular orientation, be constructed and operated in a particular orientation, and therefore cannot be understood as limiting the present application.

[0036] In addition, the terms "first" and "second" are only for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the technical features indicated. Therefore, the features defined with "first" and "second" can explicitly or implicitly include one or more of the features. In the description of the present application, the meaning of "multiple" is two or more, unless otherwise specifically limited.

[0037] In this application, unless otherwise expressly specified and limited, the terms "installation," "connection," "linking," and "fixing," etc., should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection between two components. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances.

[0038] The present application will be described in detail below with reference to the accompanying drawings and embodiments. It should be noted that, unless otherwise specified, the embodiments and features described in the embodiments of the present application can be combined with each other.

[0039] The following is combined Figure 1 This application describes a power supply device according to some embodiments.

[0040] This application provides a power supply device, such as... Figure 1 As shown, it includes: a light-emitting circuit 1 and a control circuit 2 connected to the light-emitting circuit 1; the light-emitting circuit 1 includes a photosensor 11 and a light-emitting module 12; the photosensor 11 is set within the sensing range corresponding to the light-emitting module 12; the photosensor 11 is connected to the control circuit 2.

[0041] In the embodiments of this application, the light-emitting circuit 1 can be a circuit containing a light-emitting element in the power supply device. For example, if the power supply device is a socket, the light-emitting circuit can be a circuit containing a light-emitting element in the smart socket. The light-emitting element can be a light-emitting diode (LED), a seven-segment digital tube, a liquid crystal display (LCD), an electroluminescent (EL) sheet, a fluorescent tube, an optical fiber, etc., which are not limited here. If the power supply device is a vehicle power supply system, the light-emitting circuit can be a circuit containing a light-emitting element in the vehicle power supply system, and so on. No further examples will be given here.

[0042] In some examples, the control circuit 2 can be a control circuit containing an inverter in a power supply device, specifically a control circuit in a smart socket, and can also be a control circuit contained in an on-board charger (OBC) in a vehicle 220V power supply system, and the like. Specifically, if the control circuit in the present application is a control circuit in a smart socket, the control circuit is responsible for managing the on-off of the power supply, monitoring the state of the electrical appliance, interacting with the user, and performing remote control functions, etc. The control circuit can include but is not limited to a microcontroller unit (MCU), a wireless communication module, a solid state relay (SSR), and the like, which will not be listed one by one here. Correspondingly, if the control circuit in the present application is a control circuit contained in an on-board charger (OBC) in a vehicle 220V power supply system, the control circuit can include but is not limited to a microcontroller unit (MCU), a wireless communication module, a power factor correction (PFC) circuit, a protection circuit, and the like, which will not be listed one by one here.

[0043] For the present embodiment, the photodetector 11 is an electronic component that can detect the presence or intensity of light and convert the light signal into an electrical signal; the photodetector works through the photoelectric effect, when a photon hits the photosensitive material, it will excite the electron to jump from the valence band to the conduction band, thereby generating a current or voltage change. Different types of photodetectors may employ different physical mechanisms, but the basic principle is the same; exemplary types of photodetectors can include but are not limited to photodiodes, phototransistors, photoresistors (or light-dependent resistors, LDR), and the like.

[0044] It should be noted that the photodetector 11 used in the present application needs to be a photodetector that can be used in a power supply device, the photodetector 11 in the present application can perceive the light-emitting module 12 and send the light-emitting condition (whether it is emitting light) of the light-emitting module 12 to the control circuit 2, and the control circuit 2 determines whether the relay is stuck based on the light-emitting condition of the light-emitting module 12, wherein the specific determination process can be to compare the light-emitting condition of the light-emitting module 12 with the switching condition of the relay, if the light-emitting module 12 is still in the light-emitting state when the relay is in the off state, it can be determined that the relay is stuck.

[0045] It should be noted that the power supply device of the present embodiment can be a vehicle power supply device, a smart socket, or a smart home appliance, which will not be limited here.

[0046] Compared with the related art, the embodiment sets a photosensor in the light-emitting module of the power supply device and connects the photosensor with the control circuit in the power supply device, so that the control circuit can acquire the light-emitting condition of the light-emitting module in real time through the photosensor. The control circuit can accurately determine whether the light-emitting module has abnormal light-emitting condition, i.e., the light-emitting module still continuously emits light when the control circuit controls the power supply device to not provide electric energy. The control circuit can determine that the internal relay has adhesion, which causes the light-emitting module to still continuously emit light when the power supply device does not provide electric energy. The control circuit can accurately determine whether the internal relay has adhesion, and the complexity and cost of determination are low.

[0047] Optionally, the control circuit 2 includes a relay K1 and a control module 21; the control module 21 is connected with the first end of the relay K1 and the light-emitting circuit 1 respectively, and the second end of the relay K1 is connected with the light-emitting circuit 1.

[0048] In the embodiment, the relay K1 can control and protect the circuit in the power supply device. Specifically, the relay switch can be controlled to control whether the power supply device can supply electric energy to the outside. For example, if the power supply device is a smart socket, the socket cannot supply electric energy to the outside when the relay is open, for example, a mobile device cannot be charged through the socket. Correspondingly, the socket can supply electric energy to the outside when the relay is closed, i.e., the socket can be normally used. For example, if the power supply device is a vehicle-mounted power supply system, the vehicle-mounted socket cannot supply electric energy to the outside when the relay is open, for example, a mobile terminal cannot be charged through the vehicle-mounted socket. Correspondingly, the vehicle-mounted socket can supply electric energy to the outside when the relay is closed, for example, a mobile terminal can be charged through the vehicle-mounted socket.

[0049] In some examples, the control module 21 in the power supply device is the brain of the entire system, responsible for monitoring, managing and optimizing the distribution and use of electric power. It realizes intelligent functions by integrating various sensors, communication interfaces and actuators, ensures the safety and efficiency of the system, and specifically, the control module can include but is not limited to a microcontroller unit (MCU) or a digital signal processor (DSP), a communication interface, a sensor network, an actuator, etc., which will not be exemplified one by one here.

[0050] It should be noted that the control module 21 in the embodiments of the present application can control the opening and closing of the relay K1. Specifically, when the control module 21 controls the relay K1 to close, the control module 21 can be connected to the light-emitting module 12 through the relay K1, and a closed path is formed between the light-emitting module 12 and the control module 21, so that the light-emitting module continues to emit light; on the contrary, when the control module 21 controls the relay K1 to open, the control module 21 cannot be connected to the light-emitting module 12 through the relay K1, that is, a closed path cannot be formed between the light-emitting module 12 and the control module 21, so that the light-emitting module will not emit light; in summary, if the light-emitting module 12 still continues to emit light in the case of the relay K1 being opened, it can be determined that the relay K1 is stuck.

[0051] Optionally, the control module 21 includes a signal conditioning unit and a signal processing unit; the signal conditioning unit is connected with the photosensor and the signal processing unit.

[0052] Optionally, the signal processing unit is also connected with the first end of the relay K1.

[0053] For the present embodiment, in the control module of the power supply device, the signal conditioning unit and the signal processing unit are two crucial parts. They are responsible for converting the raw signals from sensors and other input devices into a format suitable for further analysis and use, and performing necessary calculations to achieve intelligent control.

[0054] In some examples, the main task of the signal conditioning unit is to preprocess the analog or digital signals received from sensors or other sources, ensuring the quality and compatibility of these signals for subsequent processing. The specific processing process can include but is not limited to: 1. Amplification: Boost the amplitude of weak signals to a level that can be effectively sampled by ADC (Analog-to-Digital Converter). 2. Filtering: Remove noise and unwanted frequency components, and retain useful signal information. 3. Bias adjustment: Move the signal level to a suitable range, such as zeroing the DC offset or adapting to a specific reference voltage. 4. Isolation: Prevent high voltage or current surges from damaging sensitive circuits, especially important when used in high voltage environments. 5. Linearization: For non-linear sensor outputs, correct them to linear relationship through mathematical transformation. 6. Multiplexing: When there are multiple sensor inputs, you can select one channel for processing at a time.

[0055] In some examples, the components of the signal conditioning unit can include but are not limited to: 1. Operational amplifier (Op-Amp): for signal amplification and buffering. 2. Filters: such as low-pass, high-pass, band-pass filters, etc., choose appropriate types according to application requirements. 3. Isolation transformer or optocoupler: provides electrical isolation, protects the back-end circuit. 4. Voltage regulator: ensures stable power supply voltage, reduces the impact of fluctuations on signals. 5. Resistors, capacitors, and inductors: used to build various passive filter networks.

[0056] As an optional way, the signal processing unit receives the conditioned signal and performs more in-depth analysis and processing. This usually involves data acquisition, algorithm implementation, and decision making. The specific processing process can include but is not limited to: 1. Data acquisition: convert analog signals to digital form through ADC for microcontroller or DSP processing. 2. Real-time monitoring: continuously track the trend of key parameters and respond to abnormal situations in time. 3. Data analysis and diagnosis: use statistical methods, machine learning algorithms, etc. to identify patterns, predict failures or optimize performance. 4. Feedback control: adjust system operating parameters based on current state, such as adjusting output power, changing operating mode, etc. 5. Communication protocol parsing: process commands and data packets from other devices to ensure correct interaction. 6. Security mechanisms: implement encryption, authentication, etc. to ensure information security, especially in the case of remote control and cloud connection.

[0057] In some examples, the components of the signal processing unit can include but are not limited to: 1. Microcontroller Unit (MCU) or Digital Signal Processor (DSP): core computing platform, responsible for executing complex algorithms and logical operations. 2. Analog-to-digital converter (ADC): converts analog signals to digital signals for MCU / DSP processing. 3. Digital-to-analog converter (DAC): sometimes used to generate precise analog output signals. 4. Memory: such as Random Access Memory (RAM), Flash, etc., used to store program code, configuration parameters, and historical records. 5. Communication interface: such as UART, SPI, I2C, CAN, Ethernet, Wi-Fi, etc., used to exchange information with other devices. 6. Timer / counter: used to generate precise time references or measure the frequency of event occurrences.

[0058] For example, as shown in Figure 2 If the light-emitting unit emits a light signal, the photosensor 11 converts the light signal into an electrical signal, which is transmitted to the signal processing circuit (controller) through the signal conditioning circuit. The controller recognizes the live condition of the power supply device and determines the sticking / clogging fault of the relay K1.

[0059] In the embodiments of the present application, the states of the photosensor 11, the light-emitting module 12, and the relay K1 can be collected and processed by the signal conditioning unit and the signal processing unit.

[0060] Optionally, the light-emitting circuit 1 further comprises a live wire L, a neutral wire N and a ground wire PE; the live wire L is connected with the first end of the light-emitting module 12 and the second end of the relay K1; the neutral wire N is connected with the second end of the light-emitting module 12 and the control module 21.

[0061] For this embodiment, in the power supply device, the live wire, the neutral wire and the ground wire are the key components in a three-phase AC system (or a single-phase AC system), each of which bears different electrical functions to ensure the safe transmission and use of electricity. Among them, the live wire is the current input end of the power supply, usually with a high voltage, responsible for delivering power from the power supply to the load. The neutral wire is part of the current return path, which is connected to the neutral point of the power supply and should be kept close to the ground potential in ideal conditions. The ground wire is directly connected to the ground and serves as a safety protection measure to prevent electric shock accidents and other electrical faults.

[0062] Optionally, the light-emitting module 12 comprises a light-emitting diode D and a resistor R; the positive electrode of the light-emitting diode D is connected with the first end of the resistor R; the negative electrode of the light-emitting diode D is connected with the neutral wire N and the control module 21.

[0063] Optionally, the second end of the resistor is connected with the live wire L and the second end of the relay K1.

[0064] Optionally, the light-emitting circuit 1 further comprises a ground wire; the ground wire is connected with the control circuit.

[0065] In the embodiments of the present application, the connection of the light-emitting diode (LED) and the resistor is a common task in electronic circuit design, mainly used to limit the current through the LED to prevent it from being damaged by overcurrent. The LED needs to reach a certain voltage to turn on and emit light. Different colors of LEDs have different forward voltages, for example, a red LED is about 2.0V, a blue or white LED may be as high as 3.4V, and the maximum forward current (If) of the LED is the maximum working current that the LED can safely withstand, usually around 20mA, but the specific value depends on the model. The resistor R is connected with the light-emitting diode D to protect the light-emitting diode D from being burned by current exceeding its rated value, and a proper resistor must be used to limit the current.

[0066] It should be noted that the resistor R connected in series with the light-emitting diode D in the embodiments of the present application can be one or multiple, and the specific number of resistors R is not limited in the embodiments of the present application.

[0067] Optionally, the power supply device further comprises a housing; the housing is provided with a window for displaying the light-emitting module.

[0068] It should be noted that the window for displaying the light-emitting module in the embodiment of the present application can be a window for displaying the light-emitting diode D. Through the window, the user can check the light-emitting condition of the light-emitting diode during use. In the case that the user controls the relay K1 to be disconnected through the control module 21, the light-emitting condition of the light-emitting diode D can also be checked through the window. If the light-emitting diode D continues to emit light, the user can determine that the relay inside the power supply device is stuck.

[0069] For example, as shown in Figure 3 If the power supply device is a 220V socket, the controller (i.e. the control module 21 in the embodiment of the present application) can control the relay K1 to be disconnected after the user finishes using it and the power is turned off. The controller needs to determine whether the photosensor 11 detects the light signal. If no light signal is detected, it can be determined that the relay K1 is not stuck, i.e. the state of the relay K1 is normal. If a light signal is detected, it can be determined that the relay K1 is stuck, and the controller alarms.

[0070] Compared with the related art, in the embodiment, the photosensor is arranged in the light-emitting module of the power supply device, and the photosensor is connected with the control circuit in the power supply device. Thus, the control circuit can acquire the light-emitting condition of the light-emitting module in real time through the photosensor. The control circuit can accurately determine whether the light-emitting module has an abnormal light-emitting condition. That is, if the light-emitting module continues to emit light when the control circuit controls the power supply device to not provide electric energy, the control circuit can determine that the internal relay is stuck. Thus, the control circuit can accurately determine whether the internal relay is stuck, and the complexity and cost of the determination are low.

[0071] Based on the above power supply device, the embodiment of the present application further provides an electronic device, which includes the above power supply device.

[0072] Optionally, the above entity device can further include a user interface, a network interface, a camera, a radio frequency (RF) circuit, a sensor, an audio circuit, a WI-FI module, etc. The user interface can include a display screen, an input unit such as a keyboard, etc. The optional user interface can further include a USB interface, a card reader interface, etc. The network interface can optionally include a standard wired interface, a wireless interface (such as a WI-FI interface), etc.

[0073] Those skilled in the art can understand that the above structure of the entity device provided by the embodiment does not constitute a limitation on the entity device, and the entity device can include more or fewer components, or combine certain components, or different component arrangements.

[0074] Those skilled in the art can clearly understand that the application can be implemented by means of software plus necessary universal hardware platforms or by hardware, through the description of the above embodiments. Compared with the related art, the embodiment can set a photosensitive device in the light-emitting module of the power supply device, and connect the photosensitive device with the control circuit in the power supply device, so that the control circuit can acquire the light-emitting condition of the light-emitting module in real time through the photosensitive device. The control circuit can accurately determine whether the light-emitting module has abnormal light-emitting condition, that is, the light-emitting module still continuously emits light in the case that the control circuit controls the power supply device to not provide electric energy. The control circuit can determine that the internal relay is stuck, and the internal relay still continuously emits light in the case that the power supply device does not provide electric energy, so that the control circuit can accurately determine whether the internal relay is stuck, and the complexity and cost are low.

[0075] It should be noted that, in this document, relational terms such as“first” and“second”, and the like, are used solely to distinguish one entity or action from another entity or action, without necessarily requiring or implying any actual relationship or order between such entities or actions. Moreover, the terms“comprises”,“comprising”, or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element proceeded by“comprises a...” does not, without more constraints, preclude the existence of additional identical elements in the process, method, article, or apparatus that comprises the element.

[0076] The above description is merely that of specific embodiments of the application, and enables those skilled in the art to understand or implement the application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein can be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments described herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A power supply device, characterized in that, The power supply device comprises: a light-emitting circuit and a control circuit connected with the light-emitting circuit, the light-emitting circuit comprising a photosensor and a light-emitting module; the photosensor is arranged in the sensing range corresponding to the light-emitting module; the photosensor is connected with the control circuit.

2. The power supply device according to claim 1, characterized by The control circuit comprises a relay and a control module; the control module is connected with the first end of the relay and the light-emitting circuit respectively, and the second end of the relay is connected with the light-emitting circuit.

3. The power supply device according to claim 2, wherein The control module comprises a signal conditioning unit and a signal processing unit; the signal conditioning unit is connected with the photosensor and the signal processing unit respectively.

4. The power supply device according to claim 3, wherein The signal processing unit is also connected with the first end of the relay.

5. The power supply device of claim 2, wherein The light-emitting circuit further comprises a live wire and a zero wire; the live wire is connected with the first end of the light-emitting module and the second end of the relay; the zero wire is connected with the second end of the light-emitting module and the control module.

6. The power supply device according to claim 5, wherein The light-emitting module comprises a light-emitting diode and a resistor; the anode of the light-emitting diode is connected with the first end of the resistor; the cathode of the light-emitting diode is connected with the zero wire and the control module.

7. The power supply device of claim 6, wherein The second end of the resistor is connected with the live wire and the second end of the relay.

8. The power supply of claim 2, wherein, The light-emitting circuit further comprises a grounding wire; the grounding wire is connected with the control circuit.

9. The power supply of claim 1, wherein, The power supply device further comprises a shell; the shell is provided with a window for displaying the light-emitting module.

10. An electronic device, comprising: The power supply device comprises any one of claims 1 to 9. The power supply device comprises any one of claims 1 to 9.