An electronic device power-on / off control method capable of maintaining an abnormal state

CN123011616APending Publication Date: 2026-10-30SHENZHEN HUAYUEN TECHENOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610774247.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-06-01
Publication Date
2026-10-30

AI Technical Summary

Technical Problem

然而此类测试往往耗时长达数小时甚至数天

Benefits of technology

被测设备通过通过逻辑模块在主机系统发生异常的时候能够立即停止开关机动作并锁定设备供电状态,以保持关键的异常状态来辅助工程师定位设计问题。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123011616A_ABST
    Figure CN123011616A_ABST
Patent Text Reader

Abstract

The application discloses an electronic equipment switch control method capable of keeping abnormal state, and equipment includes a measured device and a control switch. The control switch includes a first switch, a second switch and a programmable periodic switch controller. The measured device is connected with an external power supply through the first switch. When the second switch is closed, the control signal of the programmable periodic switch controller can control the opening and closing of the first switch through the second switch, and the measured device can control the opening and closing of the second switch. The measured device includes a host system, a power module, a logic module and a watchdog module. The power module is connected with the external power supply through the first switch. When the host is tested, a periodic voltage jump signal is output to the watchdog module. When the watchdog module cannot receive the normal periodic voltage jump signal, a reset signal is output to the logic module after a time delay, so that the second switch is closed through the logic module, and the abnormal state of the measured device is kept.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of electronic circuits, and in particular to a power-on / off control method for electronic devices that can maintain an abnormal state. Background Technology

[0002] In electronic equipment testing, repeated power-on / off tests aim to verify the stability, hardware durability, and system fault tolerance of the device by simulating frequent power cycles, thereby effectively identifying potential design flaws such as startup anomalies and data loss. However, such tests often take hours or even days. Manual operation not only results in a significant waste of human resources but also makes it difficult to guarantee monitoring quality. Therefore, the industry generally adopts a monitoring method that combines automated power-on / off with log printing.

[0003] However, this monitoring method, which relies solely on log analysis, has significant limitations. Because automated devices cannot retain visual physical signs of anomalies and immediately restart, destroying the fault scene, engineers lack sufficient information for in-depth analysis of the anomaly. Therefore, the industry urgently needs to be able to immediately stop power-on / off actions and lock the device's power supply status upon detecting a power-on anomaly, in order to maintain critical anomaly states and assist engineers in locating design problems. Summary of the Invention

[0004] The main objective of this invention is to provide a power-on / off control method for electronic devices that can immediately stop the power-on / off action and lock the power supply status of the device when a power-on abnormality is detected, so as to maintain the critical abnormal state and assist engineers in locating design problems.

[0005] This invention proposes a power-on / off control method for an electronic device that can maintain an abnormal state, the device including the device under test and a control switch; The control switch includes a first switch, a second switch, and a programmable periodic switch controller. The device under test is connected to an external power supply through the first switch. When the second switch is closed, the control signal of the programmable periodic switch controller can control the opening and closing of the first switch through the second switch, and the device under test can control the opening and closing of the second switch. The device under test includes a host system and a logic module. When the host system malfunctions, the logic module shuts down the second switch to maintain the abnormal state of the device under test.

[0006] Preferably, the device under test further includes a power module and a watchdog module. The power module is connected to an external power source through the first switch and supplies power to the host system, the logic module, and the watchdog module. During the host test, the host continuously outputs periodic voltage transition signals to the watchdog module. When the watchdog module fails to receive normal periodic voltage transition signals, it outputs a reset signal to the logic module after a delay, thereby turning off the second switch through the logic module and maintaining the abnormal state of the device under test.

[0007] Preferably, when the power module is working normally, it outputs a PG signal to the logic module through the power detection module in the power module. The PG signal indicates whether the power module is working normally. When the logic module receives the PG signal and the reset signal, the logic module turns off the second switch.

[0008] Preferably, the system further includes an alarm device, wherein the output of the logic module is connected to the input of the alarm device.

[0009] Preferably, the alarm device can be a Bluetooth module, which sends alarm signals to a mobile phone or other monitoring device.

[0010] Preferably, the alarm device can be an alarm bell.

[0011] Preferably, the reset signal output by the watchdog module can be used as a restart signal for the host system under non-power-on / off testing conditions.

[0012] Preferably, the system further includes a status monitoring device, and the output of the host system is connected to the status monitoring device.

[0013] The beneficial effects of the present invention's electronic device power-on / off control method for maintaining abnormal states are as follows: The device under test can immediately stop power-on and power-off actions and lock the power supply status of the device when an anomaly occurs in the host system through the logic module, so as to maintain the critical abnormal state and help engineers locate design problems.

[0014] The logic module will comprehensively judge the status of the host system based on both the PG signal and the reset signal, thereby ensuring the accuracy of the judgment to the greatest extent. Attached Figure Description

[0015] Figure 1 This is a structural block diagram of the electronic device power-on / off control method for maintaining an abnormal state according to the present invention; Figure 2 This is a schematic diagram of the power-on / off control method for an electronic device capable of maintaining an abnormal state according to the present invention. The following are the labels in the diagram: 1. Control switch, 2. Device under test, 3. External power supply, 4. Alarm device, 5. Status monitoring device, 11. First switch, 12. Second switch, 13. Programmable cycle switch controller, 21. Power module, 22. Host system, 23. Watchdog module, 24. Logic module, 211. Power detection module.

[0016] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0017] It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

[0018] Reference Figure 1 and Figure 2 An embodiment of the present invention for a power-on / off control method for an electronic device capable of maintaining an abnormal state is proposed: A power-on / off control method for an electronic device that can maintain an abnormal state includes a device under test 2, a control switch 1, an alarm device 4, and a status monitoring device 5.

[0019] The control switch 1 includes a first switch 11, a second switch 12, and a programmable periodic switch controller 13. The device under test (DUT) 2 is connected to an external power supply 3 via the first switch 11. The programmable periodic switch controller 13 can control the opening and closing of the first switch 11 via the second switch 12. The DUT 2 can also control the opening and closing of the second switch 12. Through the cooperation of the programmable periodic switch controller 13 and the first switch 11, the power on and off of the DUT 2 can be periodically controlled. By cooperating with the second switch 12, the control of the programmable periodic switch controller 13 on the first switch 11 can be stopped, thus maintaining an abnormal state.

[0020] The device under test (DUT) 2 includes a host system 22, a power module 21, a logic module 24, and a watchdog module 23. The power module 21 is connected to the host system 22, the logic module 24, and the watchdog module 23, respectively, and can supply power to these components. The power module 21 also outputs a PG signal to the logic module 24 through its internal power detection module 211. The PG signal indicates whether the power module 21 is operating normally.

[0021] The host system 22 includes a main control chip and peripheral circuitry. After being powered by the power module 21, the host system 22 periodically outputs a periodic voltage transition signal to the watchdog module 23. When the system malfunctions, the host system 22 will be unable to output the periodic voltage transition signal or the output signal will be incorrect. If the watchdog module 23 cannot receive a normal periodic voltage transition signal, it will output a reset signal to the logic module 24.

[0022] The output of logic module 24 is connected to the input of alarm device 4. Alarm device 4 can be a Bluetooth module, which sends alarm signals to mobile phones or other monitoring devices via Bluetooth. Alarm device 4 can also be an alarm bell. The output of host system 22 is connected to status monitoring device 5.

[0023] In actual use, the specifics are as follows: 1) When the second switch 12 is closed, the control signal of the programmable periodic switch controller 13 controls the closing of the first switch 11 through the second switch 12. At this time, the power module 21 outputs a high-level PG signal to the logic module 24 without delay. At this time, the host system 22 has not yet started, so the host system 22 and the watchdog module 23 are not working. At this time, the watchdog module 23 outputs a low-level signal to the logic module 24. At this time, the logic module 24 outputs a low level, and the second switch 12 remains closed.

[0024] 2) After the host system 22 and the watchdog module 23 are working, the host system 22 will periodically output a periodic voltage jump signal to the watchdog module 23. Therefore, the watchdog module 23 outputs a low-level signal to the logic module 24. At this time, the logic module 24 outputs a low level, and the second switch 12 remains closed.

[0025] 3) If the host system 22 malfunctions, the host system 22 will be unable to output periodic voltage transition signals or the output signal will be incorrect. When the watchdog module 23 cannot receive normal periodic voltage transition signals, it will output a high-level reset signal to the logic module 24. When the logic module 24 receives both the PG signal and the reset signal, the logic module 24 controls the second switch 12 to open, thereby stopping the programmable periodic switch controller 13 from controlling the first switch 11 and maintaining the abnormal state. The logic module 24 will also issue an alarm through the alarm device 4.

[0026] 4) If the host system 22 is always working normally, when the timer of the programmable cycle switch controller 13 expires, the first switch 11 is opened and the cycle continues in step one.

[0027] The above description is merely a preferred embodiment of the present invention and does not limit the patent scope of the present invention. Any equivalent structural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of the present invention.

Claims

1. A method for controlling the power on / off of an electronic device capable of maintaining an abnormal state, characterized in that, The equipment includes the device under test and the control switch; The control switch includes a first switch, a second switch, and a programmable periodic switch controller. The device under test is connected to an external power supply through the first switch. When the second switch is closed, the control signal of the programmable periodic switch controller can control the opening and closing of the first switch through the second switch, and the device under test can control the opening and closing of the second switch. The device under test includes a host system and a logic module. When the host system malfunctions, the logic module shuts down the second switch to maintain the abnormal state of the device under test.

2. The method for controlling the power on / off of an electronic device capable of maintaining an abnormal state according to claim 1, characterized in that, The device under test also includes a power module and a watchdog module. The power module is connected to an external power source through the first switch and supplies power to the host system, the logic module and the watchdog module. During the host test, the host continuously outputs periodic voltage transition signals to the watchdog module. When the watchdog module fails to receive normal periodic voltage transition signals, it outputs a reset signal to the logic module after a delay, thereby turning off the second switch through the logic module and maintaining the abnormal state of the device under test.

3. The method for controlling the power on / off of an electronic device capable of maintaining an abnormal state according to claim 2, characterized in that, When the power module is working normally, it outputs a PG signal to the logic module through the power detection module inside the power module. The PG signal indicates whether the power module is working normally. When the logic module receives the PG signal and the reset signal, the logic module turns off the second switch.

4. The method for controlling the power on / off of an electronic device capable of maintaining an abnormal state according to claim 1, characterized in that, It also includes an alarm device, and the output of the logic module is connected to the input of the alarm device.

5. The method for controlling the power on / off of an electronic device capable of maintaining an abnormal state according to claim 4, characterized in that, The alarm device can be a Bluetooth module, which sends alarm signals to mobile phones or other monitoring devices.

6. The method for controlling the power on / off of an electronic device capable of maintaining an abnormal state according to claim 4, characterized in that, The alarm device can be an alarm bell.

7. The method for controlling the power on / off of an electronic device capable of maintaining an abnormal state according to claim 2, characterized in that, The reset signal output by the watchdog module can be used as a restart signal for the host system under non-power-on / off testing conditions.

8. The method for controlling the power on / off of an electronic device capable of maintaining an abnormal state according to claim 1, characterized in that, It also includes a status monitoring device, the output of which is connected to the status monitoring device.