A control system, super input-output chip and electronic device
By introducing a two-stage switch control structure and oscillation regulation circuit into the electronic device, autonomous LED blinking control in sleep mode was achieved, solving the problem of LED indicator function failure and improving system reliability and user experience.
Patent Information
- Application Number
- CN202522379686.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-10
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2035-11-10
AI Technical Summary
In the prior art, electronic devices cannot effectively maintain control over the LED state when entering sleep mode S3, resulting in the failure of the LED indicator function, low control reliability, and impact on user experience.
It adopts a two-stage switch control structure and oscillation adjustment circuit. In sleep mode, the control circuit outputs a signal to trigger the oscillation adjustment circuit to enter the delayed oscillation mode, causing the light-emitting diode to emit light intermittently, forming a flashing mode, thus achieving autonomous control.
Ensuring the reliability of LED status indication and user experience perception without relying on central processing unit or basic input/output system real-time scheduling, reducing system power consumption, avoiding light response lag, and improving the immediacy and reliability of human-computer interaction.
Smart Images

Figure CN225034137U_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of control chip technology, and in particular to a control system, a super input / output chip, and an electronic device. Background Technology
[0002] Currently, the status indicator LEDs in electronic devices are typically controlled by a Super Input / Output (Super SIO) chip, and configured in conjunction with a Basic Input / Output System (BIOS) to achieve the indication function of the system in different power modes. For example, different LED lighting modes are displayed in operating mode S0, sleep mode S3, hibernation mode S4, and power-off mode S5 to intuitively reflect the operating status of the system.
[0003] However, due to limitations in hardware architecture, the relevant technologies cannot effectively maintain control over the LED state when the system enters sleep mode S3, resulting in the failure of the LED indicator function, low control reliability, and impact on user experience. Utility Model Content
[0004] To address the aforementioned issues, this application provides a control system, a super input / output chip, and an electronic device, aiming to resolve the problem in related technologies that when the system enters sleep mode S3, it is unable to effectively maintain control over the LED state, resulting in LED indicator failure, low control reliability, and negative impact on user experience.
[0005] In a first aspect, embodiments of the present application provide a control system for a light-emitting diode (LED). The control system includes a first switching circuit, a second switching circuit, an oscillation adjustment circuit, and a control circuit. The control circuit is connected to the controlled terminal of the first switching circuit and the first terminal of the oscillation adjustment circuit. The first terminal of the first switching circuit is grounded. The second terminal of the first switching circuit is connected to the controlled terminal of the second switching circuit and the second terminal of the oscillation adjustment circuit, and is connected to a status indication signal. The third terminal of the oscillation adjustment circuit and the first terminal of the second switching circuit are grounded. The second terminal of the second switching circuit is connected to the negative terminal of the LED. In sleep mode, the control circuit is configured to output a first adjustment signal to the first switching circuit and the oscillation adjustment circuit. The first switching circuit is turned off, and the oscillation adjustment circuit is configured to enter a delayed oscillation mode based on the first adjustment signal and periodically turn on the second switching circuit to control the LED to emit light intermittently.
[0006] Based on the control system provided in this application, by setting a two-stage switch control structure (i.e., a first switch circuit and a second switch circuit) and an oscillation adjustment circuit, after the system enters sleep mode, the control circuit outputs a first adjustment signal to trigger the oscillation adjustment circuit to enter a delayed oscillation mode, causing the entire control system to switch to a low-power self-oscillation mode. In this delayed oscillation mode, the second switch circuit can be periodically turned on / off, thereby driving the light-emitting diode (LED) to emit light intermittently, so that the LED emits light alternately to be in a flashing mode. The LED being in flashing mode allows the user to intuitively identify whether the electronic device is in a "waiting to wake up" or "low-power operation" state, improving the reliability of the system status indication and the user experience. Secondly, this control process does not rely on the real-time scheduling of the central processing unit or basic input / output system; the intermittent emission of the LED can be controlled by triggering the oscillation adjustment circuit to enter the delayed oscillation mode. That is, this application can maintain the status indication function of the LED without the participation of the main processor or an additional controller, which is low-cost and solves the control failure problem caused by hardware architecture limitations in related technologies, improving the reliability of the system and the user's operational perception.
[0007] As an optional implementation, the oscillation adjustment circuit includes a first delay adjustment module and a second delay adjustment module. The first terminal of the first delay adjustment module serves as the first terminal of the oscillation adjustment circuit and is connected to the controlled terminal of the control circuit and the first switching circuit. The second terminal of the first delay adjustment module is connected to a status indication signal. The third terminal of the first delay adjustment module serves as the third terminal of the oscillation adjustment circuit and is grounded. The fourth terminal of the first delay adjustment module serves as the second terminal of the oscillation adjustment circuit and is connected to the second terminal of the first switching circuit and the controlled terminal of the second switching circuit. The first terminal of the second delay adjustment module is connected to the fourth terminal of the first delay adjustment module, the second terminal of the first switching circuit, and the controlled terminal of the second switching circuit. The second terminal of the second delay adjustment module is connected to a status indication signal. The third terminal of the second delay adjustment module is grounded. The fourth terminal of the second delay adjustment module is connected to the fifth terminal of the first delay adjustment module. In sleep mode, the first and second delay adjustment modules enter a delayed oscillation mode based on a first adjustment signal and periodically turn on the second switching circuit to control the light-emitting diode to emit light intermittently.
[0008] Based on the aforementioned optional methods, the first and second delay adjustment modules form a closed-loop feedback structure through level linkage and mutual triggering conditions. When either the first or second delay adjustment module changes the controlled terminal level of the second switching circuit, it triggers the other to initiate a delay oscillation process, thereby achieving the purpose of the two delay adjustment modules alternately turning the second switching circuit on / off. The first and second delay adjustment modules ensure that the LEDs can emit light intermittently at a stable frequency, forming a clearly discernible flashing pattern, thus improving the accuracy of the user's perception of the device's operating status. Furthermore, the entire oscillation adjustment process is autonomously completed by the hardware delay modules (i.e., the first and second delay adjustment modules). After entering sleep mode, the first and second delay adjustment modules constitute a self-excited oscillation delay adjustment circuit. Upon receiving the initial first adjustment signal, it can autonomously enter a periodic oscillation state without the need for continuous intervention from an additional controller or main control unit, effectively overcoming the limitation of hardware architecture's ability to control peripherals in low-power states. Meanwhile, this process does not rely on firmware polling or continuous CPU wake-up operations, significantly reducing the overall power consumption of the system in sleep mode. It also avoids the problem of delayed LED light response caused by software latency, enhancing the immediacy and reliability of human-computer interaction. Furthermore, the circuit structure is simple, easy to integrate, and mass-produce.
[0009] As an optional implementation, the first delay adjustment module includes a first switch, a first delay unit, and a second switch; the controlled terminal of the first switch serves as the first terminal of the first delay adjustment module and is connected to the controlled terminal of the control circuit and the first switch circuit, and the first terminal of the first switch is grounded; the second terminal of the first switch serves as the fifth terminal of the first delay adjustment module and is connected to the fourth terminal of the second delay adjustment module; the first terminal of the first delay unit serves as the second terminal of the first delay adjustment module and is connected to a status indication signal, the second terminal of the first delay unit is connected to the second terminal of the first switch, and the third terminal of the first delay unit is grounded; the controlled terminal of the second switch is connected to the fourth terminal of the first delay unit, the first terminal of the second switch serves as the third terminal of the first delay adjustment module and is grounded, and the second terminal of the second switch serves as the fourth terminal of the first delay adjustment module and is connected to the second terminal of the first switch circuit, the controlled terminal of the second switch circuit, and the first terminal of the second delay adjustment module.
[0010] Based on the aforementioned optional method, by connecting the controlled terminal of the first switch to the first adjustment signal, the first switch is turned off after entering sleep mode, thereby triggering the first delay unit to start the delayed charging process. By utilizing the inherent characteristics of the hardware circuit to achieve initial state switching, the additional power consumption caused by CPU polling or interrupt wake-up is avoided. Subsequently, the voltage connected to the controlled terminal of the second switch will charge under the delayed oscillation function of the first delay unit. After a certain delay, the second switch will turn on to pull down the potential of the controlled terminal of the second switch circuit, causing the light-emitting diode to turn off. This action, through coupling feedback with the second delay adjustment module, ultimately causes the second switch to be forcibly turned off, releasing the potential of the controlled terminal of the second switch circuit, and causing the light-emitting diode to light up again. Through the coordinated action of the first switch, the first delay unit, and the second switch and the second delay adjustment module, fully autonomous periodic control is achieved, significantly reducing the system's dependence on main processor resources and improving the energy efficiency ratio in sleep mode. Secondly, the first switch not only undertakes signal transmission but also plays a role in level isolation. The first terminal of the first switch is grounded, and the second terminal of the first switch is connected to the control node of the first delay unit and the second switch. In the first switch-off state, there is no DC path between the power supply side and ground, preventing current backflow or false triggering, thereby improving the overall operational safety and reliability of the system.
[0011] As an optional implementation, the first delay unit includes a first resistor, a second resistor, and a first capacitor; one end of the first resistor serves as the first terminal of the first delay unit and is connected to a status indication signal; the other end of the first resistor serves as the second terminal of the first delay unit and is connected to the second terminal of the first switch; one end of the second resistor is connected to the other end of the first resistor and the second terminal of the first switch; the first plate of the first capacitor serves as the fourth terminal of the first delay unit and is connected to the other end of the first resistor, the second terminal of the first switch, one end of the second resistor, and the controlled terminal of the second switch; the other end of the second resistor and the second plate of the first capacitor serve as the third terminal of the first delay unit and are connected to ground.
[0012] Based on the aforementioned optional methods, the first resistor, the second resistor, and the first capacitor form an RC charging circuit, enabling the controlled terminal voltage of the second switch to gradually increase exponentially, thus achieving reliable control of the second switch and the LED. Furthermore, the delay time can be precisely set by adjusting the resistance values of the first and second resistors and the capacitance parameters of the first capacitor to meet the specific requirements of LED flicker frequency and duty cycle in different application scenarios, demonstrating high adaptability. Secondly, the RC charging circuit formed by the first resistor, the second resistor, and the first capacitor has a simple structure, low cost, and small size, which is beneficial for the miniaturization of electronic devices.
[0013] As an optional implementation, the second delay adjustment module includes a third switch, a second delay unit, and a fourth switch; the controlled terminal of the third switch serves as the first terminal of the second delay adjustment module and is connected to the fourth terminal of the first delay adjustment module, the second terminal of the first switch circuit, and the controlled terminal of the second switch circuit, and the first terminal of the third switch serves as the third terminal of the second delay adjustment module and is grounded; the first terminal of the second delay unit serves as the second terminal of the second delay adjustment module and is connected to a status indication signal, the second terminal of the second delay unit is connected to the second terminal of the third switch, and the third terminal of the second delay unit is grounded; the controlled terminal of the fourth switch is connected to the fourth terminal of the second delay unit, the first terminal of the fourth switch is grounded, and the second terminal of the fourth switch serves as the fourth terminal of the second delay adjustment module and is connected to the fifth terminal of the first delay adjustment module.
[0014] Based on the aforementioned optional method, the voltage at the controlled terminal of the third switch changes with the on / off state of the second switch circuit. After entering sleep mode and triggering the second switch circuit to turn off, the third switch is controlled to turn off, thereby triggering the second delay unit to start the delayed charging process. By utilizing the inherent characteristics of the hardware circuit to achieve initial state switching, the additional power consumption caused by CPU polling or interrupt wake-up is avoided. Subsequently, the voltage connected to the controlled terminal of the fourth switch will be charged under the delayed oscillation function of the second delay unit. After a certain delay, the fourth switch turns on. This action is then coupled and fed back to the first delay adjustment module, ultimately causing the second switch to be forcibly turned off, releasing the potential at the controlled terminal of the second switch circuit, and causing the LED to light up again. Through the coordinated action of the third switch, the second delay unit, and the fourth switch with the first delay adjustment module, fully autonomous periodic control is achieved, significantly reducing the system's dependence on main processor resources and improving the energy efficiency ratio in sleep mode.
[0015] As an optional implementation, the second delay unit includes a third resistor, a fourth resistor, and a second capacitor; one end of the third resistor serves as the first terminal of the second delay unit and is connected to a status indication signal, and the other end of the third resistor serves as the second terminal of the second delay unit and is connected to the second terminal of the third switch; one end of the fourth resistor is connected to the other end of the third resistor and the second terminal of the third switch; the first plate of the second capacitor serves as the fourth terminal of the second delay unit and is connected to the other end of the third resistor, the second terminal of the third switch, one end of the fourth resistor, and the controlled terminal of the fourth switch; the other end of the fourth resistor and the second plate of the second capacitor serve as the third terminal of the second delay unit and are connected to ground.
[0016] Based on the aforementioned optional methods, the third resistor, the fourth resistor, and the second capacitor form an RC charging circuit, enabling the controlled terminal voltage of the fourth switch to gradually increase exponentially, thus achieving reliable control of the second switch, the second light-emitting circuit, and the LED. Furthermore, the delay time can be precisely set by adjusting the resistance values of the third and fourth resistors and the capacitance parameters of the second capacitor to meet the specific requirements of LED flicker frequency and duty cycle in different application scenarios, demonstrating high adaptability. Secondly, the RC charging circuit formed by the third resistor, the fourth resistor, and the second capacitor has a simple structure, low cost, and small size, which is beneficial for the miniaturization of electronic devices.
[0017] As an optional implementation, the control system further includes a third switching circuit. The controlled terminal of the third switching circuit is used to receive a power indication signal. The first terminal of the third switching circuit is grounded, and the second terminal of the third switching circuit is connected to the second terminal of the second switching circuit and the negative terminal of the light-emitting diode. In the working mode, the third switching circuit is turned on.
[0018] Based on the above-mentioned optional methods, when the electronic device is connected to a power source, the third switching circuit can be turned on accordingly, allowing the entire circuit to quickly enter the working mode. That is, the circuit can autonomously enter the working mode based on the power supply, without the need for external controller intervention.
[0019] As an optional implementation, the control system further includes a fourth switching circuit, the controlled terminal of which is connected to the control circuit, the first terminal of which is connected to the negative terminal of the light-emitting diode, and the second terminal of which is connected to the second terminal of the third switching circuit and the second terminal of the second switching circuit; wherein, in the operating mode, the control circuit is configured to control the fourth switching circuit to be turned on; and in the power-off mode, the control circuit is configured to control the fourth switching circuit to be turned off.
[0020] Based on the above-mentioned optional methods, by controlling the on / off state of the fourth switching circuit, the light-emitting state of the LED in working mode, power-off mode, and sleep mode can be flexibly controlled. Furthermore, the LED can be turned on or off by a single fourth switching circuit, unaffected by other circuits, resulting in high control reliability.
[0021] Secondly, embodiments of this application also provide a super input / output chip, including the control system described in any optional manner of the first aspect.
[0022] Thirdly, embodiments of this application also provide an electronic device, including a light-emitting diode and a super input / output chip as described in any optional manner of the second aspect, wherein the super input / output chip is connected to the light-emitting diode. Attached Figure Description
[0023] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, 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 the structures shown in these drawings without creative effort.
[0024] Figure 1 A schematic diagram of the circuit structure of a control system provided in an embodiment of this application; Figure 2 A schematic diagram of the circuit structure of another control system provided in an embodiment of this application; Figure 3 A schematic diagram of the circuit structure of another control system provided in an embodiment of this application; Figure 4 A schematic diagram of the circuit structure of another control system provided in an embodiment of this application; Figure 5 A schematic diagram of the circuit structure of another control system provided in an embodiment of this application; Figure 6 This is a schematic diagram of the circuit structure of another control system provided in an embodiment of this application.
[0025] The following are explanations of the icon numbers: 1. First switching circuit; 2. Second switching circuit; 3. Oscillation adjustment circuit; 31. First delay adjustment module; 311. First delay unit; 32. Second delay adjustment module; 321. Second delay unit; 4. Third switching circuit; 5. Fourth switching circuit; LED, Light Emitting Diode; 3V3_SUS, Power Supply Voltage; Q1, First Switch; Q2, Second Switch; Q3, Third Switch; Q4, Fourth Switch; R1, First Resistor; R2, Second Resistor; R3, Third Resistor; R4, Fourth Resistor; C1, First Capacitor; C2, Second Capacitor; LED_BLINK, First Adjustment Signal; LED_ON_N, Second Adjustment Signal; LED_ON, Working Signal; LED_OFF, Third Adjustment Signal. Detailed Implementation
[0026] To make the objectives, technical solutions, and advantages of 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 not intended to limit the scope of this application.
[0027] In the description of this application, it should be understood that if terms such as "upper," "lower," "left," and "right" indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, they are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, the terms used to describe positional relationships in the accompanying drawings are only for illustrative purposes and should not be construed as limiting this application. For those skilled in the art, the specific meaning of the above terms can be understood according to the specific circumstances.
[0028] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, "multiple" means at least two, such as two, three, etc., unless otherwise explicitly specified.
[0029] In the description of this application, unless otherwise expressly specified and limited, the terms "installation," "connection," "joining," "fixing," etc., should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; 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; they can refer to the internal communication of two components or the interaction between two components, unless otherwise expressly limited. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances.
[0030] Currently, status indicator LEDs in electronic devices are typically controlled by Super Input / Output (SIO) chips and combined with Basic Input / Output (PIO) system configurations to achieve the indication function of the system in different power modes. For example, different LED on / off modes are displayed in operating mode S0, sleep mode S3, hibernation mode S4, and power-off mode S5 to intuitively reflect the system's operating status. For instance, in operating mode S0, the LED is always on; in power-off mode S5 or hibernation mode S4, the LED is always off; and in sleep mode S3, the LED flashes alternately between on and off.
[0031] However, due to hardware architecture limitations, related technologies cannot effectively maintain control over the LED mode when the system enters sleep mode S3, leading to LED indicator failure, low control reliability, and impacting user experience and visualization of device status. To address this, related technologies configure a separate microcontroller unit (MCU) for sleep mode S3 to independently control the LED mode. However, adding an extra microcontroller is costly and bulky, hindering the miniaturization of electronic devices.
[0032] Therefore, this application provides a control system, a super input / output chip, and an electronic device. The system can control the intermittent illumination of light-emitting diodes (LEDs) in sleep mode using its own oscillation regulation function, thereby achieving reliable control of the LED state and improving the user experience.
[0033] The control system, super input / output chip, and electronic equipment provided in this application are described below with reference to the accompanying drawings.
[0034] This application provides an electronic device equipped with a light-emitting diode (LED) and a super input / output (SUB) chip. The SIB chip controls the LED and, in conjunction with a basic input / output system (BIS) configuration, enables the LED to indicate different power modes.
[0035] For example, the operating modes of an electronic device may include operating mode S0, sleep mode S3, hibernation mode S4, and power-off mode S5. The super input / output chip can adjust the light emission mode of the LED based on the different operating modes of the electronic device to intuitively reflect the current operating mode of the electronic device. For example, in operating mode S0, the super input / output chip controls the LED to emit light, so that the LED is in a constant-on mode. In power-off mode S5 or hibernation mode S4, the super input / output chip controls the LED to not emit light, so that the LED is in a constant-off mode. In sleep mode S3, the super input / output chip controls the LED to emit light alternately, so that the LED is in a blinking mode.
[0036] It's worth noting that in sleep mode S3, the electronic device's memory remains powered on, and its contents are retained. In hibernation mode S4, however, the electronic device's memory is powered off, and its contents are saved to the hard drive. Therefore, to differentiate between sleep mode S3 and hibernation mode S4, it's necessary to control the LEDs to different lighting modes to visually reflect the current operating mode of the electronic device.
[0037] Optionally, the electronic device may be a desktop computer motherboard, server equipment, industrial control computer, laptop computer, embedded system and single-board computer, etc., and this application does not impose specific restrictions on it.
[0038] In order for the super input / output chip provided in this application to implement the above-mentioned control logic, in one example, the super input / output chip includes a control system, which is configured with control logic corresponding to different modes to adjust the light emission mode of the light-emitting diode for different operating modes, thereby intuitively reflecting the current operating mode of the electronic device.
[0039] In one example, such as Figure 1 As shown, the control system includes a first switching circuit 1, a second switching circuit 2, and a control circuit (not shown in the figure). The control circuit is connected to the controlled terminal of the first switching circuit 1. The first terminal of the first switching circuit 1 is grounded. The second terminal of the first switching circuit 1 is connected to the controlled terminal of the second switching circuit 2 and is connected to a status indication signal 3V3_SUS. The first terminal of the second switching circuit 2 is grounded, and the second terminal of the second switching circuit 2 is connected to the negative terminal of a light-emitting diode (LED).
[0040] It is worth noting that the status indication signal 3V3_SUS is used to indicate a power signal. Specifically, the status indication signal 3V3_SUS is a power status indication signal for the electronic device. The presence of the status indication signal 3V3_SUS indicates that the electronic device has a power supply voltage, which can be 3.3V (volts). The power supply voltage can also be 5V, in which case the corresponding status indication signal is 5V_SUS. The illustration only uses 3V3_SUS as an example; the specific setting can be adjusted according to actual needs. This application does not impose specific restrictions on this.
[0041] Specifically, the control circuit outputs a first adjustment signal LED_BLINK to the first switching circuit 1 to control the on / off state of the first switching circuit 1. It can be understood that different on / off states of the first switching circuit 1 will also correspondingly change the on / off state of the second switching circuit 2, thereby changing the on / off state of the power supply branch where the LED is located, thus achieving adjustment of the LED's light-emitting mode.
[0042] For example, in operating mode S0, the control circuit outputs a corresponding first adjustment signal LED_BLINK to the first switching circuit 1 to turn off the first switching circuit 1. After the first switching circuit is turned off, the controlled terminal of the second switching circuit 2 receives the status indication signal 3V3_SUS and is turned on, making the power supply branch of the LED connected to ground. This causes the LED to emit light based on the received status indication signal 3V3_SUS, meaning the LED is connected to power and remains in a constantly lit mode. In shutdown mode S5 or sleep mode S4, the control circuit outputs a corresponding first adjustment signal LED_BLINK to the first switching circuit 1 to turn on the first switching circuit 1. After the first switching circuit is turned on, the status indication signal 3V3_SUS is pulled down to ground. This means the voltage connected to the controlled terminal of the second switching circuit 2 does not reach its turn-on voltage, so the second switching circuit 2 is turned off, disconnecting the power supply branch of the LED. Therefore, the LED cannot be powered and remains in a constantly off mode.
[0043] It is worth noting that in operating mode S0 and power-off mode S5, the first adjustment signal LED_BLINK needs to be set to opposite levels, and this setting needs to be combined with the conduction characteristics of the first switch circuit 1 and the second switch circuit 2. For example, if the conduction characteristics of the first switch circuit 1 and the second switch circuit 2 are high-level conduction and low-level cutoff, the first adjustment signal LED_BLINK in operating mode S0 is set to low level, and the first adjustment signal LED_BLINK in power-off mode S5 is set to high level. Conversely, if the conduction characteristics of the first switch circuit 1 and the second switch circuit 2 are low-level conduction and high-level cutoff, the first adjustment signal LED_BLINK in operating mode S0 is set to high level, and the first adjustment signal LED_BLINK in power-off mode S5 is set to low level. The specific settings can be configured according to actual needs, and this application does not impose specific limitations on this. In sleep mode S3, in order for the control system to effectively control the LEDs, the LEDs can alternately emit light to enter a blinking mode. In one example, such as... Figure 1 As shown, the control system also includes an oscillation adjustment circuit 3. The first terminal of the oscillation adjustment circuit 3 is connected to the control circuit and the controlled terminal of the first switching circuit 1, the second terminal of the oscillation adjustment circuit 3 is connected to the second terminal of the first switching circuit 1 and the controlled terminal of the second switching circuit 2, and the third terminal of the oscillation adjustment circuit 3 is grounded.
[0044] In this example, when entering sleep mode S3, the control circuit is configured to output a corresponding first adjustment signal LED_BLINK to the first switching circuit 1 and the oscillation adjustment circuit 3. When the first switching circuit 1 receives the first adjustment signal LED_BLINK, it will turn off accordingly, causing the controlled terminal of the second switching circuit 2 to connect to the status indication signal 3V3_SUS and turn on, thus connecting the power supply branch of the LED to ground, causing the LED to emit light based on the connected status indication signal 3V3_SUS. That is, at the instant of entering sleep mode S3, the LED will connect to the status indication signal 3V3_SUS and emit light.
[0045] During this period, the oscillation adjustment circuit 3 also receives the first adjustment signal LED_BLINK and enters a delayed oscillation mode based on the first adjustment signal LED_BLINK, periodically turning on the second switching circuit 2 to cause the LED to emit light intermittently. Specifically, the oscillation adjustment circuit 3 has a delayed oscillation function. After the first adjustment signal LED_BLINK is connected to the oscillation adjustment circuit 3, the oscillation adjustment circuit 3 enters the delayed oscillation function. That is, after a delay of a period of time after the first adjustment signal LED_BLINK is connected, the controlled terminal of the second switching circuit 2 is grounded, that is, the voltage connected to the controlled terminal of the second switching circuit 2 is pulled down to ground. At this time, the voltage connected to the controlled terminal of the second switching circuit 2 is lower than its turn-on voltage, the second switching circuit 2 is turned off, so that the power supply branch of the LED is disconnected, that is, the LED cannot be powered and does not emit light.
[0046] The delayed oscillation function of the oscillation regulating circuit 3 is performed periodically. After a certain delay, the oscillation regulating circuit 3 disconnects the connection between the second switching circuit 2 and ground, releasing the voltage connected to the controlled terminal of the second switching circuit 2, causing the voltage to return to the status indicator signal 3V3_SUS. At this time, the voltage connected to the controlled terminal of the second switching circuit 2 has reached its turn-on voltage, and the second switching circuit 2 is turned on again, causing the LED to light up again. Furthermore, due to the periodicity of the delayed oscillation function of the oscillation regulating circuit 3, after another delay, the oscillation regulating circuit 3 will again pull the voltage connected to the controlled terminal of the second switching circuit 2 down to ground, causing the second switching circuit 2 to turn off. After entering the delayed oscillation mode, the oscillation regulating circuit 3 will periodically repeat the above steps to periodically pull down or release the voltage connected to the controlled terminal of the second switching circuit 2, periodically turning the second switching circuit 2 on, correspondingly causing the LED to light up intermittently as the second switching circuit 2 is periodically turned on.
[0047] Thus, by setting a two-stage switch control structure (i.e., the first switch circuit 1 and the second switch circuit 2) and an oscillation adjustment circuit 3, after the system enters sleep mode S3, the control circuit outputs the first adjustment signal LED_BLINK to trigger the oscillation adjustment circuit 3 to enter a delayed oscillation mode, causing the entire control system to switch to a low-power self-oscillation mode. In this delayed oscillation mode, the second switch circuit 2 can be periodically turned on / off, thereby driving the LED to emit light intermittently, so that the LED emits light alternately to be in a blinking mode. The LED is in a blinking mode, allowing the user to intuitively identify whether the electronic device is in a "waiting to wake up" or "low-power operation" state, improving the reliability of the system status indication and the user experience. Secondly, this control process does not rely on the real-time scheduling of the central processing unit (CPU) or basic input / output system. The intermittent emission of the LED can be controlled by triggering the oscillation adjustment circuit 3 to enter the delayed oscillation mode. That is, this application can maintain the status indication function of the LED without the participation of the main processor or an additional controller, which is low-cost and solves the control failure problem caused by hardware architecture limitations in related technologies, improving the reliability of the system and the user's operational perception.
[0048] In order for the oscillation adjustment circuit 3 to operate periodically based on the first adjustment signal LED_BLINK, in one example, such as Figure 2 As shown, the oscillation adjustment circuit 3 includes a first delay adjustment module 31 and a second delay adjustment module 32. The first terminal of the first delay adjustment module 31 serves as the first terminal of the oscillation adjustment circuit 3 and is connected to the control circuit and the controlled terminal of the first switching circuit 1. The second terminal of the first delay adjustment module 31 is connected to the status indication signal 3V3_SUS. The third terminal of the first delay adjustment module 31 serves as the second terminal of the oscillation adjustment circuit 3 and is grounded. The fourth terminal of the first delay adjustment module 31 serves as the second terminal of the oscillation adjustment circuit 3 and is connected to the second terminal of the first switching circuit 1 and the controlled terminal of the second switching circuit 2. The first terminal of the second delay adjustment module 32 is connected to the fourth terminal of the first delay adjustment module 31, the second terminal of the first switching circuit 1, and the controlled terminal of the second switching circuit 2. The second terminal of the second delay adjustment module 32 is connected to the status indication signal 3V3_SUS. The third terminal of the second delay adjustment module 32 is grounded. The fourth terminal of the second delay adjustment module 32 is connected to the fifth terminal of the first delay adjustment module 31.
[0049] In sleep mode S3, the first delay adjustment module 31 and the second delay adjustment module 32 enter the delay oscillation mode based on the first adjustment signal and periodically turn on the second switching circuit 2 to control the light-emitting diode (LED) to emit light intermittently.
[0050] Specifically, in sleep mode S3, the first switching circuit 1 is turned off, the second switching circuit 2 is turned on, and the LED emits light. During this period, the first delay adjustment module 31 synchronously receives the first adjustment signal LED_BLINK, triggering the delay oscillation function, causing the first delay adjustment module 31 to enter the delay oscillation mode. After a delay period, the fourth terminal of the first delay adjustment module 31 is connected to the third terminal. At this time, since the fourth terminal of the first delay adjustment module 31 is connected to the second terminal of the first switching circuit 1 and the controlled terminal of the second switching circuit 2, and the third terminal of the first delay adjustment module 31 is grounded, the controlled terminal of the second switching circuit 2 is connected to ground, thereby pulling the voltage of the controlled terminal of the second switching circuit 2 down to ground, causing the second switching circuit 2 to turn off, and the LED does not emit light.
[0051] It is worth noting that the first terminal of the second delay adjustment module 32 is connected to the controlled terminal of the second switching circuit 2. Therefore, when the first switching circuit 1 is turned off, the first terminal of the second delay adjustment module 32 will also be connected to the status indication signal 3V3_SUS. After a delay period, when the first delay adjustment module 31 pulls the voltage of the controlled terminal of the second switching circuit 2 to ground, the status indication signal 3V3_SUS connected to the second delay adjustment module 32 will also change to a low voltage to ground. At this time, the delay oscillation function of the second delay adjustment module 32 is triggered, causing the second delay adjustment module 32 to enter the delay oscillation mode. After a delay period, the fourth terminal of the second delay adjustment module 32 is connected to the third terminal of the second delay adjustment module 32. At this time, since the fourth terminal of the second delay adjustment module 32 is connected to the fifth terminal of the first delay adjustment module 31, the delay of the second delay adjustment module 32 will cause the third terminal of the first delay adjustment module 31 to disconnect from the fourth terminal of the first delay adjustment module 31. This disconnects the controlled terminal of the second switching circuit 2 from ground, releasing the controlled terminal voltage and turning the second switching circuit 2 on. The LED then illuminates. Correspondingly, the voltage connected to the first terminal of the second delay adjustment module 32 changes to a status indicator signal 3V3_SUS. The third and fourth terminals of the second delay adjustment module 32 disconnect, causing a change in the voltage connected to the fifth terminal of the first delay adjustment module 31. At this time, the first delay adjustment module 31 triggers its delay oscillation function. After a delay, the fourth terminal of the first delay adjustment module 31 reconnects to its third terminal, turning off the second switching circuit 2 and stopping the LED from illuminating again. Subsequently, due to the change in the voltage connected to the first terminal of the second delay adjustment module 32, its delay oscillation function is triggered again.
[0052] The first delay adjustment module 31 and the second delay adjustment module 32 will periodically execute the above steps to make the second switching circuit 2 periodically turn on / off, thereby driving the light-emitting diode (LED) to emit light intermittently, so that the LED emits light alternately to be in a flashing mode.
[0053] In this example, the first delay adjustment module 31 and the second delay adjustment module 32 form a closed-loop feedback structure through level linkage and mutual triggering conditions. When either the first delay adjustment module 31 or the second delay adjustment module 32 changes the level of the controlled terminal of the second switching circuit 2, it will trigger the other to start a delay oscillation process, thereby achieving the purpose of the two delay adjustment modules alternately turning the second switching circuit 2 on / off. The first delay adjustment module 31 and the second delay adjustment module 32 ensure that the light-emitting diode (LED) can emit light intermittently at a stable frequency, forming a clearly distinguishable flashing pattern, thereby improving the accuracy of the user's perception of the device's operating status. Secondly, the entire oscillation adjustment process is autonomously completed by the hardware delay modules (i.e., the first delay adjustment module 31 and the second delay adjustment module 32). Upon entering sleep mode S3, the first delay adjustment module 31 and the second delay adjustment module 32 form a self-excited oscillation delay adjustment circuit. After receiving the initial first adjustment signal LED_BLINK, it can autonomously enter a periodic oscillation state without the need for continuous intervention from an additional controller or main control unit, effectively overcoming the limitation of hardware architecture in controlling peripherals under low power conditions. Simultaneously, this process does not rely on firmware polling or continuous CPU wake-up operations, significantly reducing the overall power consumption of the system in sleep mode S3, while avoiding the lag in LED light response caused by software delays, enhancing the immediacy and reliability of human-computer interaction. Furthermore, the circuit structure is simple, easy to integrate, and mass-produce.
[0054] Furthermore, since the control logic is executed by the hardware circuitry of the first delay adjustment module 31 and the second delay adjustment module 32, it is not affected by operating system abnormalities, driver failures or firmware crashes. Even under extreme operating conditions, it can still maintain basic status indication functions, further improving the reliability of the product and the user experience.
[0055] In one example, such as Figure 3As shown, the first delay adjustment module 31 includes a first switch Q1, a first delay unit 311, and a second switch Q2. The controlled terminal of the first switch Q1 serves as the first terminal of the first delay adjustment module 31 and is connected to the controlled terminal of the control circuit and the first switch circuit 1. The first terminal of the first switch Q1 is grounded. The second terminal of the first switch Q1 serves as the fifth terminal of the first delay adjustment module 31 and is connected to the fourth terminal of the second delay adjustment module 32. The first terminal of the first delay unit 311 serves as the second terminal of the first delay adjustment module 31 and is connected to the status indication signal 3V3_SUS. The second terminal of the first delay unit 311 is connected to the second terminal of the first switch Q1, and the third terminal of the first delay unit 311 is grounded. The controlled terminal of the second switch Q2 is connected to the fourth terminal of the first delay unit 311. The first terminal of the second switch Q2 is grounded as the third terminal of the first delay adjustment module 31. The second terminal of the second switch Q2 is the fourth terminal of the first delay adjustment module 31 and is connected to the second terminal of the first switch circuit 1, the controlled terminal of the second switch circuit 2, and the first terminal of the second delay adjustment module 32.
[0056] In this example, in sleep mode S3, the first switch circuit 1 is off, the second switch circuit 2 is on, and the LED emits light. During this period, the controlled terminal of the first switch Q1 synchronously receives the first adjustment signal LED_BLINK, and the first switch Q1 is turned off accordingly. At this time, the first delay unit 311 triggers the delay oscillation function, causing the voltage connected to the controlled terminal of the second switch Q2 to charge under the delay oscillation function of the first delay unit 311. After a certain delay time (i.e., the delay time preset by the first delay unit 311), the voltage connected to the controlled terminal of the second switch Q2 reaches the turn-on voltage, causing the second switch Q2 to conduct. After the second switch Q2 is turned on, since the first terminal of the second switch Q2 is connected to the second terminal of the first switch circuit 1 and the controlled terminal of the second switch circuit 2, and the second terminal of the second switch Q2 is grounded, the controlled terminal of the second switch circuit 2 is connected to ground, thereby pulling the voltage of the controlled terminal of the second switch circuit 2 down to ground, causing the second switch circuit 2 to turn off, and the LED does not emit light.
[0057] Subsequently, the second delay adjustment module 32 enters the delay oscillation mode until the voltage change at the fourth terminal of the second delay adjustment module 32 is output to the second terminal of the first switch Q1 and the controlled terminal of the second switch Q2. The controlled terminal of the second switch Q2 is pulled low, and the second switch Q2 is turned off, disconnecting the controlled terminal of the second switch circuit 2 from ground, thereby releasing the voltage at the controlled terminal of the second switch circuit 2, turning on the second switch circuit 2, and causing the light-emitting diode (LED) to light up. After the second switch Q2 is turned off, it triggers the first delay unit 311 to trigger the delay oscillation function, causing the voltage connected to the controlled terminal of the second switch Q2 to charge under the delay oscillation function of the first delay unit 311. After a certain delay time, the voltage connected to the controlled terminal of the second switch Q2 reaches the turn-on voltage again, causing the second switch Q2 to turn on again. Correspondingly, the second switch circuit 2 is turned off, and the light-emitting diode (LED) stops lighting up again.
[0058] In sleep mode S3, the first switch Q1, the first delay unit 311, and the second switch Q2 work together with the second delay adjustment module 32 to repeatedly perform the above actions, so that the second switch circuit 2 is periodically turned on / off, thereby driving the light-emitting diode LED to emit light intermittently, so that the light-emitting diode LED emits light alternately to be in flashing mode.
[0059] In this example, by connecting the controlled terminal of the first switch Q1 to the first adjustment signal LED_BLINK, after entering sleep mode S3, the first switch Q1 is turned off, thereby triggering the first delay unit 311 to start the delayed charging process. By utilizing the characteristics of the hardware circuit itself to achieve the initial state switching, the additional power consumption caused by CPU polling or interrupt wake-up is avoided. Subsequently, the voltage connected to the controlled terminal of the second switch Q2 will charge under the delayed oscillation function of the first delay unit 311. After a certain delay, the second switch Q2 turns on to pull down the potential of the controlled terminal of the second switch circuit 2, causing the light-emitting diode (LED) to turn off. This action, through coupling feedback with the second delay adjustment module 32, ultimately causes the second switch Q2 to be forcibly turned off, releasing the potential of the controlled terminal of the second switch circuit 2, causing the LED to light up again. Through the coordinated action of the first switch Q1, the first delay unit 311, and the second switch Q2 and the second delay adjustment module 32, fully autonomous periodic control is achieved, significantly reducing the system's dependence on main processor resources and improving the energy efficiency ratio in sleep mode S3.
[0060] Furthermore, the first switch Q1 not only performs signal transmission but also acts as a level isolation mechanism. The first terminal of the first switch Q1 is grounded, and the second terminal is connected to the control node between the first delay unit 311 and the second switch Q2. When the first switch Q1 is off, there is no DC path between the power supply side and ground, preventing current backflow or false triggering, thereby improving the overall operational safety and reliability of the system.
[0061] In one example, such as Figure 3 As shown, the first delay unit 311 includes a first resistor R1, a second resistor R2, and a first capacitor C1. One end of the first resistor R1 serves as the first terminal of the first delay unit 311, connected to the status indication signal 3V3_SUS. The other end of the first resistor R1 serves as the second terminal of the first delay unit 311, connected to the second terminal of the first switch Q1. One end of the second resistor R2 is connected to the other end of the first resistor R1 and the second terminal of the first switch Q1. The first plate of the first capacitor C1 serves as the fourth terminal of the first delay unit 311, connected to the other end of the first resistor R1, the second terminal of the first switch Q1, one end of the second resistor R2, and the controlled terminal of the second switch Q2. The other end of the second resistor R2 and the second plate of the first capacitor C1 serve as the third terminal of the first delay unit 311, connected to ground.
[0062] In this example, the first resistor R1, the second resistor R2, and the first capacitor C1 form a delay network. In sleep mode S3, the first switch circuit 1 is turned off, the second switch circuit 2 is turned on, and the LED emits light. During this period, the controlled terminal of the first switch Q1 synchronously receives the first adjustment signal LED_BLINK, and the first switch Q1 is turned off accordingly. At this time, the first delay unit 311 triggers the delay oscillation function. The voltage connected to the controlled terminal of the second switch Q2 is charged under the delay oscillation function of the first resistor R1, the second resistor R2, and the first capacitor C1. After a certain delay time (i.e., the preset delay time of the first resistor R1, the second resistor R2, and the first capacitor C1), the voltage connected to the controlled terminal of the second switch Q2 reaches the turn-on voltage, causing the second switch Q2 to turn on. Specifically, the status indication signal 3V3_SUS charges the first capacitor C1 through the first resistor R1 and the second resistor R2. As the voltage across the first capacitor C1 increases, the voltage at the controlled terminal connected to the second switch Q2 gradually increases. When the threshold voltage of the second switch Q2 is reached, the second switch Q2 is turned on, thereby pulling down the level of the controlled terminal of the second switch circuit 2 and turning off the light-emitting diode LED.
[0063] Optionally, the delay time can be flexibly set by adjusting the resistance values of the first resistor R1 and the second resistor R2, and the capacitance parameter of the first capacitor C1, thereby precisely controlling the duration of each on / off cycle of the LED to adapt to different scenario requirements. For example, extending the charging time of the first delay unit 311 will correspondingly increase the off-time of the LED. Conversely, shortening the charging time of the first delay unit 311 will correspondingly shorten the off-time of the LED. The delay time can be set according to specific needs, and this application does not impose specific limitations on it.
[0064] In this example, the first resistor R1, the second resistor R2, and the first capacitor C1 form an RC charging circuit, enabling the controlled terminal voltage of the second switch Q2 to gradually increase exponentially, thus achieving reliable control of the second switching circuit 2 and the LED. Furthermore, the delay time can be precisely set by adjusting the resistance values of the first resistor R1 and the second resistor R2, as well as the capacitance parameter of the first capacitor C1, to meet the specific requirements of the LED's flicker frequency and duty cycle in different application scenarios, demonstrating high adaptability. Secondly, the RC charging circuit formed by the first resistor R1, the second resistor R2, and the first capacitor C1 has a simple structure, low cost, and small size, which is beneficial for the miniaturization of electronic devices.
[0065] Optionally, the first delay unit 311 may also be selected from other devices or circuits that can achieve the above functions, and this application does not impose specific restrictions on this.
[0066] In one example, such as Figure 3 As shown, the first delay adjustment module 31 also includes a fifth resistor R5. The first switch Q1 is connected to the first adjustment signal LED_BLINK via the fifth resistor R5 to improve the reliability of the first switch Q1 connected to the first adjustment signal LED_BLINK.
[0067] In one example, such as Figure 4 As shown, the second delay adjustment module 32 includes a third switch Q3, a second delay unit 321, and a fourth switch Q4. The controlled terminal of the third switch Q3 serves as the first terminal of the second delay adjustment module 32, connected to the fourth terminal of the first delay adjustment module 31, the second terminal of the first switch circuit 1, and the controlled terminal of the second switch circuit 2. The first terminal of the third switch Q3 is grounded, serving as the third terminal of the second delay adjustment module 32. The first terminal of the second delay unit 321 serves as the second terminal of the second delay adjustment module 32, connected to the status indication signal 3V3_SUS. The second terminal of the second delay unit 321 is connected to the second terminal of the third switch Q3, and the third terminal of the second delay unit 321 is grounded. The controlled terminal of the fourth switch Q4 is connected to the fourth terminal of the second delay unit 321. The first terminal of the fourth switch Q4 is grounded, and the second terminal of the fourth switch Q4 serves as the fourth terminal of the second delay adjustment module 32, connected to the fifth terminal of the first delay adjustment module 31.
[0068] In this example, in sleep mode S3, the first switch circuit 1 is off, the second switch circuit 2 is on, and the LED emits light. At this time, the third switch Q3 is on. After the delay oscillation function of the first delay unit 311 causes the second switch Q2 to turn on, the second switch circuit 2 to turn off, and the LED to stop emitting light, the level of the controlled terminal of the third switch Q3 also changes and decreases, causing the third switch Q3 to turn off. At this time, the second delay unit 321 triggers the delay oscillation function, causing the voltage connected to the controlled terminal of the fourth switch Q4 to charge under the delay oscillation function of the second delay unit 321. After a certain delay time (i.e., the preset delay time of the second delay unit 321), the voltage connected to the controlled terminal of the fourth switch Q4 reaches the turn-on voltage, causing the fourth switch Q4 to turn on. After the fourth switch Q4 turns on, since the second terminal of the fourth switch Q4 is connected to the second terminal of the first switch Q1 and the controlled terminal of the second switch Q2...
[0069] Understandably, the fourth switch Q4 outputs a second adjustment signal LED_ON_N to the controlled terminal of the second switch Q2. When the fourth switch Q4 is in different states, the second adjustment signal LED_ON_N output to the second switch Q2 will also change accordingly. For example, when the fourth switch Q4 is off, the second adjustment signal LED_ON_N output to the second switch Q2 is at a high level; when the fourth switch Q4 is on, the second adjustment signal LED_ON_N is directly short-circuited to ground and pulled low.
[0070] When the fourth switch Q4 is turned on, the voltage at the controlled terminal of the second switch Q2 is pulled low, causing the second switch Q2 to turn off. This disconnects the controlled terminal of the second switch circuit 2 from ground, releasing the voltage at the controlled terminal of the second switch circuit 2 and turning it on again, causing the LED to light up. After the second switch Q2 turns off, the first delay unit 311 is triggered to activate the delay oscillation function. After a certain delay, the voltage connected to the controlled terminal of the second switch Q2 reaches the turn-on voltage again, causing the second switch Q2 to turn on again. Correspondingly, the second switch circuit 2 turns off, and the LED stops lighting up again. After the second switch circuit 2 turns off, the level at the controlled terminal of the third switch Q3 changes again, triggering the second delay unit 321 to activate the delay oscillation function.
[0071] In sleep mode S3, the third switch Q3, the second delay unit 321 and the fourth switch Q4 work together with the first delay adjustment module 31 to repeatedly perform the above actions, so that the second switch circuit 2 is periodically turned on / off, thereby driving the light-emitting diode LED to emit light intermittently, so that the light-emitting diode LED emits light alternately to be in flashing mode.
[0072] In this example, the voltage at the controlled terminal of the third switch Q3 changes with the on / off state of the second switch circuit 2. After entering sleep mode S3 and triggering the second switch circuit 2 to turn off, the third switch Q3 is turned off, thereby triggering the second delay unit 321 to start the delayed charging process. By utilizing the inherent characteristics of the hardware circuit to achieve the initial state switching, the additional power consumption caused by CPU polling or interrupt wake-up is avoided. Subsequently, the voltage connected to the controlled terminal of the fourth switch Q4 will be charged under the delayed oscillation function of the second delay unit 321. After a certain delay, the fourth switch Q4 turns on. This action is then coupled and fed back to the first delay adjustment module 31, ultimately causing the second switch Q2 to be forcibly turned off, releasing the potential at the controlled terminal of the second switch circuit 2, and causing the light-emitting diode LED to light up again. Through the coordinated action of the third switch Q3, the second delay unit 321, and the fourth switch Q4 with the first delay adjustment module 31, fully autonomous periodic control is achieved, significantly reducing the system's dependence on main processor resources and improving the energy efficiency ratio under sleep mode S3.
[0073] In one example, such as Figure 4 As shown, the second delay unit 321 includes a third resistor R3, a fourth resistor R4, and a second capacitor C2. One end of the third resistor R3 serves as the first terminal of the second delay unit 321, connected to the status indication signal 3V3_SUS. The other end of the third resistor R3 serves as the second terminal of the second delay unit 321, connected to the second terminal of the third switch Q3. One end of the fourth resistor R4 is connected to the other end of the third resistor R3 and the second terminal of the third switch Q3. The first plate of the second capacitor C2 serves as the fourth terminal of the second delay unit 321, connected to the other end of the third resistor R3, the second terminal of the third switch Q3, one end of the fourth resistor R4, and the controlled terminal of the fourth switch Q4. The other end of the fourth resistor R4 and the second plate of the second capacitor C2 serve as the third terminal of the second delay unit 321, connected to ground.
[0074] In this example, the third resistor R3, the fourth resistor R4, and the second capacitor C2 form a delay network. In sleep mode S3, the first switch circuit 1 is off, the second switch circuit 2 is on, and the LED lights up. The first delay unit 311 triggers the delay oscillation function, causing the LED to stop lighting up after the second switch Q2 is turned on, and simultaneously triggering the delay oscillation function of the second delay unit 321. Specifically, the status indication signal 3V3_SUS charges the second capacitor C2 through the third resistor R3 and the fourth resistor R4. As the voltage across the second capacitor C2 increases, the voltage at the controlled terminal connected to the fourth switch Q4 gradually increases. When the threshold voltage of the fourth switch Q4 is reached, the fourth switch Q4 turns on, thereby pulling down the level at the controlled terminal of the second switch Q2, causing the LED to light up again.
[0075] Optionally, the delay time can be flexibly set by adjusting the resistance values of the third resistor R3 and the fourth resistor R4, and the capacitance parameter of the second capacitor C2, thereby precisely controlling the duration of each on / off cycle of the LED to adapt to different scenario requirements. For example, extending the charging time of the second delay unit 321 will correspondingly increase the off-time of the LED. Conversely, shortening the charging time of the second delay unit 321 will correspondingly shorten the off-time of the LED. The delay time can be set according to specific needs, and this application does not impose specific limitations on it.
[0076] In this example, the third resistor R3, the fourth resistor R4, and the second capacitor C2 form an RC charging circuit, allowing the controlled terminal voltage of the fourth switch Q4 to gradually increase exponentially, thus achieving reliable control of the second switch Q2, the second light-emitting circuit 2, and the LED. Furthermore, the delay time can be precisely set by adjusting the resistance values of the third resistor R3 and the fourth resistor R4, as well as the capacitance parameter of the second capacitor C2, to meet the specific requirements of LED flicker frequency and duty cycle in different application scenarios, demonstrating high adaptability. Secondly, the RC charging circuit formed by the third resistor R3, the fourth resistor R4, and the second capacitor C2 has a simple structure, low cost, and small size, which is beneficial for the miniaturization of electronic devices.
[0077] Optionally, the second delay unit 321 may also be selected from other devices or circuits that can achieve the above functions, and this application does not impose specific restrictions on this.
[0078] To improve the control system's ability to effectively control LEDs in other modes, in one example, such as Figure 5 As shown, the control system also includes a third switch circuit 4. The controlled terminal of the third switch circuit 4 is used to connect to the power indication signal 3V3. The first terminal of the third switch circuit 4 is grounded, and the second terminal of the third switch circuit 4 is connected to the second terminal of the second switch circuit 2 and the negative terminal of the light-emitting diode (LED).
[0079] It is worth noting that the power indicator signal 3V3 also serves as a power status indicator signal for the electronic device. The presence of the 3V3 status indicator signal indicates that the electronic device has a power supply voltage, which can be 3V3 (3.3V). Alternatively, the power supply voltage can be 5V, in which case the corresponding power indicator signal will be 5V. The illustration only uses a 3V3 power indicator signal as an example; the specific setting can be adjusted according to actual needs. This application does not impose any specific restrictions on this.
[0080] In operating mode S0, the third switch circuit 4 receives a power indicator signal of 3V3, indicating that the system has power and the third switch circuit 4 is turned on. When the third switch circuit 4 is turned on, it can be understood that the system receives a working signal LED_ON, and the LED emits light accordingly.
[0081] In this example, when the electronic device is connected to a power source, the third switching circuit 4 will be activated, allowing the entire circuit to quickly enter the operating mode S0. That is, the circuit can autonomously enter the operating mode S0 based on the power supply, without the need for external controller intervention.
[0082] In one example, such as Figure 6 As shown, the control system also includes a fourth switch circuit 5. The controlled terminal of the fourth switch circuit 5 is connected to the control circuit. The first terminal of the fourth switch circuit 5 is connected to the negative terminal of the light-emitting diode (LED). The second terminal of the fourth switch circuit 5 is connected to the second terminal of the third switch circuit 4 and the second terminal of the second switch circuit 2.
[0083] In the operating mode S0, the control circuit is configured to output the corresponding third adjustment signal LED_OFF to the fourth switch circuit 5 to control the fourth switch circuit 5 to be turned on. At this time, the power indicator signal 3V3 connected to the third switch circuit 4 is also in the on state, thereby ensuring that the light-emitting diode LED can light up normally.
[0084] In power-off mode S4 or sleep mode S5, the control circuit is configured to turn off the fourth switch circuit 5. By controlling the fourth switch circuit 5, the connection between the LED and the subsequent circuit (e.g., the second switch circuit 2) is disconnected. At this time, the states of other logic circuits will not affect the LED's illumination state. For example, assuming the first adjustment signal LED_BLINK is high at this time, it will not affect the LED's on / off state.
[0085] In this example, by controlling the on / off state of the fourth switch circuit 5, the light-emitting state of the LED in operating mode S0, off mode S4, and sleep mode S5 can be flexibly controlled. Furthermore, the LED can be energized and extinguished without being affected by other circuits, resulting in high control reliability.
[0086] It is worth noting that this application only releases control to the oscillation adjustment circuit 3 in sleep mode S3 to ensure that the light-emitting diode (LED) can be precisely controlled by other switching circuits during normal operation.
[0087] In one example, such as Figure 6As shown, the control system also includes a sixth resistor R6 and a seventh resistor R7. The first switching circuit 1 is pulled up by the sixth resistor R6, and the positive terminal of the light-emitting diode (LED) is connected to the power supply through the seventh resistor R7.
[0088] Optionally, the first switch Q1, the second switch Q2, the third switch Q3, the fourth switch Q4, the first switch circuit 1, the second switch circuit 2, the third switch circuit 4, and the fourth switch circuit 5 can be N-type metal-oxide-semiconductor (NMOS) field-effect transistors, P-type metal-oxide-semiconductor (PMOS) field-effect transistors, insulated-gate bipolar transistors (IGBTs), transistors, relay circuits, or other devices or circuits capable of switching on and off (such as logic gate circuits). This application does not impose specific limitations on these devices or circuits.
[0089] For example, the illustration uses NMOS field-effect transistors as an example to illustrate the control system provided in this application, with reference to this example.
[0090] In operating mode S0, the third adjustment signal LED_OFF is high, and the system is connected to a 3V3 power supply, meaning the operating signal LED_ON is high. At this time, the third switch circuit 4 and the fourth switch circuit 5 are fixed in the on state, causing the LED to be in a constantly lit mode.
[0091] In power-off mode S4 or sleep mode S5, the third adjustment signal LED_OFF is low, and the fourth switch circuit 5 is turned off, causing the LED to be in a constantly lit mode. At this time, the current loop of the LED is broken, and the state of other logic circuits will not affect the LED's illumination state. For example, assuming the first adjustment signal LED_BLINK is high at this time, it will not affect the LED's on / off state.
[0092] In sleep mode S3, the system transitions from operating mode S0 to sleep mode S3. Initially, the first adjustment signal LED_BLINK is high. At this time, the drain voltages of the first switching circuit 1 and the first switch Q1 are low, the drain voltage of the third switch Q3 is high, and the fourth switch Q4 is on. After the fourth switch Q4 is on, the second adjustment signal LED_ON_N is pulled low by the drains of both the first switch Q1 and the fourth switch Q4, and the second switch Q2 is off. After entering sleep mode S3, the third adjustment signal LED_OFF remains high, and the fourth switching circuit 5 is normally open. At this time, the 3V3S power supply is turned off, the operating signal LED_ON goes low, and the third switching circuit 4 remains off. The first adjustment signal LED_BLINK goes low, and the first switch Q1 and the first switching circuit 1 are off. The subsequent changes in the LED are controlled by the change in the drain state of the second switch Q2, which controls the on / off state of the second switching circuit 2 to achieve the on / off blinking function.
[0093] Specifically, upon entering sleep mode S3, the third switch Q3 and the second switch circuit 2 are turned on, the first switch Q1 is turned off, and the LED illuminates. After the third switch Q3 is turned on, it directly short-circuits and discharges the gate of the fourth switch Q4, causing the fourth switch Q4 to immediately turn off. Since the first switch Q1 is also off at this time, the gate of the second switch Q2 is charged by the RC delay network of the first resistor R1, the second resistor R2, and the first capacitor C1. After a certain delay (RC value set), the second switch Q2 turns on, the gates of the third switch Q3 and the second switch circuit 2 are pulled low and turned off, and the LED turns off.
[0094] After the third switch Q3 is turned off, the gate of the fourth switch Q4 is charged under the RC delay network of the third resistor R3, the fourth resistor R4, and the second capacitor C2. After a certain delay (RC value set), the fourth switch Q4 turns on, and the second adjustment signal LED_ON_N is directly short-circuited to ground and pulled low, and the second switch Q2 is turned off again. After the second switch Q2 turns off, the sixth resistor R6 immediately pulls the gates of the third switch Q3 and the second switch circuit 2 high, making the third switch Q3 and the second switch circuit 2 conduct, and the light-emitting diode LED lights up again. And the fourth switch Q4 is quickly turned off. After the fourth switch Q4 turns off, the gate of the second switch Q2 begins to charge again under the RC delay network of the first resistor R1, the second resistor R2, and the first capacitor C1. After a certain delay, the second switch Q2 turns on again, the gates of the third switch Q3 and the second switch circuit 2 are pulled low and turned off, and the light-emitting diode LED turns off again. The above cycle is repeated, causing the light-emitting diode LED to blink continuously.
[0095] All the switches mentioned above use MOS field-effect transistors (FETs). MOS FETs have a higher turn-on threshold voltage than bipolar transistors (BJTs), allowing for a wider adjustable range. Secondly, MOS FETs have better temperature characteristics, resulting in higher reliability at low temperatures. Furthermore, the switching characteristics of MOS FETs are significantly better than those of BJTs, with negligible on-state voltage drop, leading to faster changes in the driving waveform edges, clearer logic states, and more distinct on / off state transitions.
[0096] Optionally, the resistance values of the first resistor R1, second resistor R2, third resistor R3, and fourth resistor R4 can be set to 300 kΩ, the resistance values of the fifth resistor R5 and sixth resistor R6 can be set to 10 kΩ, and the resistance value of the seventh resistor R7 can be set to 330 Ω. The resistance values of the first resistor R1, second resistor R2, third resistor R3, fourth resistor R4, fifth resistor R5, sixth resistor R6, and seventh resistor R7 can be set according to actual needs. This application does not impose specific limitations in this regard.
[0097] Optionally, the capacitance of the first capacitor C1 and the second capacitor C2 can also be set according to actual needs, and this application does not impose specific restrictions on this.
[0098] Optionally, the aforementioned different adjustment signals and other signals can be provided by the general purpose input / output (GPIO) interface of the same control circuit, or they can be provided by different control circuits. The control circuit can be an embedded controller (EC), a microcontroller unit (MCU), a complex programmable logic device (CPLD), a CPU, or other controllers capable of outputting the aforementioned signals. This application does not impose specific limitations on this.
[0099] Optionally, "SLP_S3N", "SLP_S4N", and "SLP_S0N" can be used as status input indicators, and logic circuits can be used to define the different behaviors of the LED in different states. For example, in operating mode S0, the LED is always on, controlled by "SLP_S0N" and the operating signal LED_ON. In sleep mode S3, the LED blinks, controlled by "SLP_S3N" and the first adjustment signal LED_BLINK. In power-off mode S4 or hibernation mode S5, the LED is always off, controlled by "SLP_S4N" and the third adjustment signal LED_OF. The specific settings can be configured according to actual needs; this application does not impose specific limitations on this.
[0100] In summary, by setting a two-stage switch control structure (i.e., the first switch circuit 1 and the second switch circuit 2) and an oscillation adjustment circuit 3, after the system enters sleep mode S3, the control circuit outputs the first adjustment signal LED_BLINK to trigger the oscillation adjustment circuit 3 to enter a delayed oscillation mode, causing the entire control system to switch to a low-power self-oscillation mode. In this delayed oscillation mode, the second switch circuit 2 can be periodically turned on / off, thereby driving the LED to emit light intermittently, so that the LED emits light alternately to be in a blinking mode. The LED is in a blinking mode, allowing the user to intuitively identify whether the electronic device is in a "waiting to wake up" or "low-power operation" state, improving the reliability of the system status indication and the user experience. Secondly, this control process does not rely on the real-time scheduling of the central processing unit (CPU) or basic input / output system. The intermittent emission of the LED can be controlled by triggering the oscillation adjustment circuit 3 to enter the delayed oscillation mode. That is, this application can maintain the status indication function of the LED without the participation of the main processor or an additional controller, which is low-cost and solves the control failure problem caused by hardware architecture limitations in related technologies, improving the reliability of the system and the user's operational perception.
[0101] The above are merely preferred embodiments of this application and are 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. A control system applied to a light-emitting diode (LED), wherein the positive terminal of the LED is connected to a status indication signal, the status indication signal being used to indicate a power supply signal, characterized in that, The control system includes a first switching circuit, a second switching circuit, an oscillation adjustment circuit, and a control circuit. The control circuit is connected to the controlled terminal of the first switching circuit and the first terminal of the oscillation adjustment circuit. The first terminal of the first switching circuit is grounded. The second terminal of the first switching circuit is connected to the controlled terminal of the second switching circuit and the second terminal of the oscillation adjustment circuit, and is connected to the status indication signal. The third terminal of the oscillation adjustment circuit and the first terminal of the second switching circuit are grounded. The second terminal of the second switching circuit is connected to the negative terminal of the light-emitting diode. In sleep mode, the control circuit is configured to output a first adjustment signal to the first switching circuit and the oscillation adjustment circuit. The first switching circuit is turned off, and the oscillation adjustment circuit is configured to enter a delayed oscillation mode based on the first adjustment signal and periodically turn on the second switching circuit to control the light-emitting diode to emit light intermittently.
2. The control system according to claim 1, characterized in that, The oscillation regulation circuit includes: A first delay adjustment module, wherein a first terminal of the first delay adjustment module serves as the first terminal of the oscillation adjustment circuit and is connected to the control circuit and the controlled terminal of the first switching circuit; a second terminal of the first delay adjustment module is connected to the status indication signal; a third terminal of the first delay adjustment module serves as the third terminal of the oscillation adjustment circuit and is grounded; and a fourth terminal of the first delay adjustment module serves as the second terminal of the oscillation adjustment circuit and is connected to the second terminal of the first switching circuit and the controlled terminal of the second switching circuit; and, The second delay adjustment module has a first terminal connected to the fourth terminal of the first delay adjustment module, the second terminal of the first switching circuit, and the controlled terminal of the second switching circuit. The second terminal of the second delay adjustment module is connected to the status indication signal. The third terminal of the second delay adjustment module is grounded. The fourth terminal of the second delay adjustment module is connected to the fifth terminal of the first delay adjustment module. In the sleep mode, the first delay adjustment module and the second delay adjustment module enter the delay oscillation mode based on the first adjustment signal, and periodically turn on the second switching circuit to control the light-emitting diode to emit light intermittently.
3. The control system according to claim 2, characterized in that, The first delay adjustment module includes: The first switch has its controlled terminal serving as the first terminal of the first delay adjustment module and connected to the control circuit and the controlled terminal of the first switch circuit. The first terminal of the first switch is grounded, and the second terminal of the first switch serves as the fifth terminal of the first delay adjustment module and is connected to the fourth terminal of the second delay adjustment module. A first delay unit, wherein a first terminal of the first delay unit serves as the second terminal of the first delay adjustment module, and is connected to the status indication signal; a second terminal of the first delay unit is connected to the second terminal of the first switch; and a third terminal of the first delay unit is grounded; and, The second switch has its controlled terminal connected to the fourth terminal of the first delay unit. The first terminal of the second switch is grounded as the third terminal of the first delay adjustment module. The second terminal of the second switch is grounded as the fourth terminal of the first delay adjustment module and is connected to the second terminal of the first switch circuit, the controlled terminal of the second switch circuit, and the first terminal of the second delay adjustment module.
4. The control system according to claim 3, characterized in that, The first delay unit includes: A first resistor, one end of which serves as the first terminal of the first delay unit and is connected to the status indication signal, and the other end of which serves as the second terminal of the first delay unit and is connected to the second terminal of the first switch; A second resistor, one end of which is connected to the other end of the first resistor and the second terminal of the first switch; and... The first capacitor has its first plate serving as the fourth terminal of the first delay unit, and is connected to the other end of the first resistor, the second terminal of the first switch, one end of the second resistor, and the controlled terminal of the second switch. The other end of the second resistor and the second plate of the first capacitor serve as the third terminal of the first delay unit and are connected to ground together.
5. The control system according to claim 2, characterized in that, The second delay adjustment module includes: The third switch, the controlled terminal of the third switch serves as the first terminal of the second delay adjustment module, and is connected to the fourth terminal of the first delay adjustment module, the second terminal of the first switch circuit, and the controlled terminal of the second switch circuit. The first terminal of the third switch serves as the third terminal of the second delay adjustment module and is grounded. The second delay unit has its first terminal serving as the second terminal of the second delay adjustment module, connected to the status indication signal; its second terminal is connected to the second terminal of the third switch; and its third terminal is grounded. The fourth switch has its controlled terminal connected to the fourth terminal of the second delay unit, its first terminal grounded, and its second terminal serving as the fourth terminal of the second delay adjustment module, connected to the fifth terminal of the first delay adjustment module.
6. The control system according to claim 5, characterized in that, The second delay unit includes: The third resistor has one end serving as the first end of the second delay unit, connected to a power indication signal, and the other end serving as the second end of the second delay unit, connected to the second end of the third switch. A fourth resistor, one end of which is connected to the other end of the third resistor and the second terminal of the third switch; and, The second capacitor has its first plate serving as the fourth terminal of the second delay unit, and is connected to the other end of the third resistor, the second terminal of the third switch, one end of the fourth resistor, and the controlled terminal of the fourth switch. The other end of the fourth resistor and the second plate of the second capacitor are connected to ground as the third terminal of the second delay unit.
7. The control system according to any one of claims 1-6, characterized in that, The control system further includes: The third switching circuit has a controlled terminal for receiving the status indication signal, a first terminal of the third switching circuit grounded, and a second terminal of the third switching circuit connected to the second terminal of the second switching circuit and the negative terminal of the light-emitting diode. In the operating mode, the third switching circuit is turned on.
8. The control system according to claim 7, characterized in that, The control system further includes: A fourth switching circuit, wherein the controlled terminal of the fourth switching circuit is connected to the control circuit, the first terminal of the fourth switching circuit is connected to the negative terminal of the light-emitting diode, and the second terminal of the fourth switching circuit is connected to the second terminal of the third switching circuit and the second terminal of the second switching circuit. In the aforementioned operating mode, the control circuit is configured to control the fourth switching circuit to be turned on. In power-off mode, the control circuit is configured to control the fourth switching circuit to turn off.
9. A super input / output chip, characterized in that, The super input / output chip includes: The control system as described in any one of claims 1-8.
10. An electronic device, characterized in that, The electronic device includes: Light-emitting diodes; and, The super input / output chip as described in claim 9, wherein the super input / output chip is connected to the light-emitting diode.
