Electronic device, control method of electronic device, and storage medium

CN117239679BActive Publication Date: 2026-11-03DREAM INNOVATION TECH (SUZHOU) CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210634286.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-07
Publication Date
2026-11-03
Estimated Expiration
2042-06-07

AI Technical Summary

Technical Problem

Continuing to control the load when there are abnormalities in the power supply components and the working circuit of the load may damage the electronic equipment and reduce the lifespan of the components.

Method used

The detection unit is set to detect abnormalities in the working circuit. The controller is connected to the working circuit and the detection unit to obtain the detection results. When the detection results indicate an abnormality, the control circuit is disconnected, and circuit breakers and load switches are used to prevent operation under abnormal conditions.

Benefits of technology

It improves the lifespan of components in the working circuit, prevents unstable control by the controller, and ensures the safety and intelligent protection of the working circuit.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117239679B_ABST
    Figure CN117239679B_ABST
Patent Text Reader

Abstract

The application relates to an electronic device, a control method of the electronic device and a storage medium, and belongs to the technical field of electronics. The electronic device comprises: a working circuit comprising a power supply component and a load; the power supply component supplies power for the load in the case that the working circuit is turned on; a detection unit is used for detecting whether the working circuit is abnormal; a controller is connected with the working circuit and the detection unit respectively; the controller is used for acquiring a detection result of the detection unit; and the working circuit is turned off in the case that the detection result indicates that the working circuit is abnormal. The problem that the service life of components in the working circuit is reduced due to the continuous work of the working circuit in the case that the working circuit is abnormal can be solved. Since the working circuit can be automatically turned off in the case that the working circuit is abnormal, the service life of the components in the working circuit can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of electronic technology, specifically relating to electronic devices, control methods for electronic devices, and storage media. Background Technology

[0002] Currently, electronic devices can use power supply components as loads to perform certain functions. For example, hair removal devices can use battery packs as heating elements to perform hair removal functions.

[0003] However, if the power supply components and the operating circuit of the load malfunction, continuing to control the load may damage the electronic equipment. Summary of the Invention

[0004] The technical problem to be solved by this application includes the problem of the working circuit continuing to work when there is an abnormality, which leads to a reduction in the service life of the components in the working circuit.

[0005] To address the aforementioned technical problems, this application provides an electronic device, which includes:

[0006] The operating circuit includes a power supply component and a load; when the operating circuit is turned on, the power supply component supplies power to the load.

[0007] The detection unit is used to detect whether there is any abnormality in the working circuit;

[0008] The controller is connected to both the working circuit and the detection unit; the controller is used for:

[0009] Obtain the detection results from the detection unit;

[0010] If the detection result indicates that the working circuit is abnormal, the working circuit is controlled to disconnect.

[0011] Optionally, the controller is connected to the power supply component via a circuit breaker; the controller is configured to:

[0012] If there is no abnormality in the working circuit, control the circuit breaker to open so that the power supply component can supply power to the controller;

[0013] In the event of an abnormality in the operating circuit, the circuit breaker is controlled to open, thereby stopping the power supply component from supplying power to the controller.

[0014] Optionally, the operating circuit includes a start switch for controlling the operation of the operating circuit;

[0015] When the initial state of the circuit breaker is the conducting state, after the start switch is closed and the circuit breaker switches from the conducting state to the disconnected state under the control of the controller, in response to the next closure of the start switch, the circuit breaker restores from the disconnected state to the conducting state.

[0016] or,

[0017] When the initial state of the circuit breaker is open, when the start switch is closed, the circuit breaker is adjusted from the open state to the on state, and in response to the start switch being opened, the circuit breaker returns to the open state.

[0018] Optionally, the circuit breaker is a self-locking switch.

[0019] Optionally, the operating circuit further includes a load switch for controlling the operation of the load, and the controller is signal-connected to the load switch, the controller being used for:

[0020] In the event of an abnormality in the operating circuit, a disconnection signal is sent to the load switch to control the operating circuit to disconnect.

[0021] The disconnect signal is used to indicate that the load switch is not allowed to be closed based on user operation to enable the load to operate.

[0022] Optionally, the detection unit includes a temperature sensor to detect the ambient temperature of the power supply component.

[0023] If the ambient temperature is lower than a preset temperature threshold, it is determined that the operating circuit is malfunctioning.

[0024] Optionally, the detection unit includes a data acquisition component to acquire the operating current and / or operating voltage of the operating circuit;

[0025] If the operating current is not within the preset current range, it is determined that there is an abnormality in the operating circuit;

[0026] And / or,

[0027] If the operating voltage is not within the preset voltage range, it is determined that there is an abnormality in the operating circuit.

[0028] Optionally, the data acquisition component is located at a target position in the working circuit, where the working current is not shunted.

[0029] Optionally, the detection unit includes a performance detection component to detect the performance of the power supply component;

[0030] If the performance of the power supply component does not meet the preset conditions, it is determined that there is an abnormality in the working circuit.

[0031] On the other hand, this application also provides a method for controlling an electronic device, the electronic device including the electronic device provided in the above aspects, the method comprising:

[0032] Obtain the detection results from the detection unit;

[0033] If the detection result indicates that the working circuit is abnormal, the working circuit is controlled to disconnect.

[0034] In another aspect, this application also provides a computer-readable storage medium, characterized in that the storage medium stores a program that, when executed by a processor, implements the control method of the electronic device provided in the above aspects.

[0035] The technical solution provided in this application has at least the following advantages: by setting up a detection unit to detect whether there is an abnormality in the working circuit including the power supply component and the load; and by connecting the controller to the working circuit and the detection unit respectively; so that the controller can obtain the detection result of the detection unit; and when the detection result indicates that there is an abnormality in the working circuit, the working circuit is controlled to disconnect; this can solve the problem that the working circuit continues to work when there is an abnormality, which leads to a reduction in the service life of the components in the working circuit; and since the working circuit can be automatically disconnected when there is an abnormality, the service life of the components in the working circuit can be improved.

[0036] In addition, by connecting the controller to the power supply component through a circuit breaker, the power supply component can stop supplying power to the controller in the event of an abnormality in the working circuit. This can improve the service life of the power supply component and prevent the controller from becoming unstable.

[0037] In addition, by initializing the circuit breaker to the conducting state and enabling it to return to the conducting state after the start switch is closed again; or, when the initial state of the circuit breaker is the open state, when the start switch is closed, the circuit breaker is adjusted from the open state to the conducting state, and in response to the start switch being opened, the circuit breaker returns to the open state, without requiring the user to manually adjust the state of the circuit breaker, thus improving the intelligence level of abnormal protection.

[0038] In addition, when the working circuit malfunctions, the load switch can be controlled by the controller to prevent user operation, which ensures that the working circuit cannot continue to work under user operation and guarantees the safety of the working circuit.

[0039] In addition, by setting the detection unit to include a temperature sensor, a data acquisition component and / or a performance detection component, it is possible to detect abnormal temperatures in the power supply component and / or abnormal currents and / or voltages in the operating circuit, thereby improving the comprehensiveness of abnormal detection. Attached Figure Description

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

[0041] Figure 1 This is a schematic diagram of the structure of an electronic device provided in one embodiment of this application;

[0042] Figure 2 This is a flowchart of a control method for an electronic device provided in one embodiment of this application;

[0043] Figure 3 This is a block diagram of a control device for an electronic device according to an embodiment of this application;

[0044] Figure 4 This is a block diagram of an electronic device provided in one embodiment of this application. Detailed Implementation

[0045] The technical solutions of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. This application will be described in detail below with reference to the accompanying drawings and embodiments. It should be noted that, unless otherwise specified, the embodiments and features in the embodiments of this application can be combined with each other.

[0046] It should be noted that the terms "first," "second," etc., in the specification, claims, and drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.

[0047] In this application, unless otherwise stated, directional terms such as "upper," "lower," "top," and "bottom" are generally used in relation to the direction shown in the accompanying drawings, or in relation to the vertical, perpendicular, or gravitational direction of the component itself; similarly, for ease of understanding and description, "inner" and "outer" refer to the inner and outer contours of each component itself, but the above directional terms are not intended to limit this application.

[0048] Figure 1This is a schematic diagram of the structure of an electronic device provided in one embodiment of this application. In this embodiment, the electronic device refers to a device that performs a certain function through a load.

[0049] For example, the electronic device can be a hair processing device, and in this case, the load can be the heating component in the hair processing device (such as a heating wire, a heating resistor, etc.).

[0050] Alternatively, the electronic device can be a hair dryer, in which case the load can be the heating element and / or fan in the hair dryer.

[0051] Alternatively, the electronic device can be a cleaning device, in which case the load can be a motor or similar device used to drive the cleaning mechanism within the cleaning device.

[0052] The above-described implementation of electronic devices and loads is merely illustrative, and this embodiment does not limit the types of electronic devices and loads within them.

[0053] refer to Figure 1 The electronic device includes: a working circuit 110, a detection unit 120, and a controller 130.

[0054] The working circuit 110 refers to the circuit structure in which the load 112 is located in the electronic device. The working circuit 110 includes a power supply component 111 and a load 112; when the working circuit 110 is turned on, the power supply component 111 supplies power to the load 112. In this way, the load 112 can perform the corresponding function when it is working.

[0055] The power supply component 111 can be a battery pack with energy storage capacity, which can be a battery pack composed of multiple individual cells or a single cell; and / or, the power supply component 111 can also be a power supply component connected to mains power through a power supply circuit. This embodiment does not limit the implementation of the power supply component 111. The power supply circuit includes, but is not limited to, AC / DC conversion circuits, filtering circuits, and / or voltage regulation circuits, etc. This embodiment does not limit the implementation of the power supply circuit.

[0056] Optionally, in order to control whether the working circuit 110 starts working, the working circuit 110 includes a start switch S2 for controlling the operation of the working circuit 110. In other words, the start switch S2 controls the working circuit 110 to start or stop working.

[0057] Specifically, the power supply component 111 is connected to the subsequent circuit structure via the start switch S2, so as to supply power to the subsequent circuit structure when the start switch S2 is closed, thereby controlling the working circuit 110 to start working; and to stop supplying power to the subsequent circuit structure when the start switch S2 is open, thereby controlling the working circuit 110 to stop working.

[0058] The subsequent circuit structure includes the branch where the load 112 is located. Of course, the subsequent circuit structure may also include other circuit structures that are connected to the working circuit 110 and powered by the power supply component 111. This embodiment does not limit the contents of the subsequent circuit structure.

[0059] The start switch S2 can be a physical switch or a virtual switch displayed on a touch screen. This embodiment does not limit the implementation method of the start switch S2.

[0060] The start switch S2 can control the working circuit 110 to work or stop working based on the trigger operation performed by the user, or it can control the working circuit 110 to work or stop working based on the communication signal sent by other devices. This embodiment does not limit the triggering method of the start switch S2.

[0061] Optionally, the operating circuit 110 also includes a load switch S1 for controlling the operation of the load 112. In other words, when the operating circuit 110 starts operating, the start switch S2 controls the load 112 to start or stop operating.

[0062] Specifically, load 112 is connected to power supply component 111 via load switch S1, so that it starts working when working circuit 110 starts working and load switch S1 is closed, and stops working when working circuit 110 starts working and load switch S1 is open. Alternatively, load switch S1 is located in the branch where load 112 is located. Since subsequent circuit structures cannot be started when working circuit 110 stops working, load 112 cannot be started regardless of whether load switch S1 is closed.

[0063] The load switch S1 can be a physical switch or a virtual switch displayed on a touch screen. This embodiment does not limit the implementation method of the load switch S1.

[0064] The load switch S1 can control the load 112 to work or stop working based on a trigger operation performed by the user, or it can control the load 112 to work or stop working based on a communication signal sent by other devices. This embodiment does not limit the triggering method of the load switch S1.

[0065] In other embodiments, the start switch S2 and the load switch S1 can be implemented as the same switch component. By using different triggering methods to trigger the switch component, the functions of the start switch S2 and the load switch S1 can be implemented respectively. For example, clicking the switch component implements the function of the start switch S2, and double-clicking the switch component implements the function of the load switch S1. This embodiment does not limit the implementation method of the start switch S2 and the load switch S1.

[0066] The detection unit 120 is used to detect whether there is any abnormality in the working circuit 110.

[0067] The detection unit 120 includes, but is not limited to, at least one of the following:

[0068] The first method involves a detection unit 120 that includes a temperature sensor to detect the ambient temperature of the power supply component 111. If the ambient temperature is below a preset temperature threshold, the detection unit 120 determines that the operating circuit 110 is malfunctioning.

[0069] Optionally, when the ambient temperature is greater than or equal to a preset temperature threshold, the detection unit 120 can determine that there is no abnormality in the working circuit 110, or determine whether there is an abnormality in the working circuit 110 in combination with other parameters described below.

[0070] The temperature sensor includes, but is not limited to, thermistors, thermocouples, resistance temperature detectors, or semiconductor-based temperature sensors. This embodiment does not limit the implementation method of the temperature sensor. Furthermore, the number of temperature sensors can be one or at least two. When there are at least two temperature sensors, each temperature sensor can be evenly distributed around the power supply component. In this case, the ambient temperature collected by the detection unit is the average of the temperature data collected by each temperature sensor.

[0071] Because current batteries may have reduced load-carrying capacity at low temperatures, forcibly outputting power in this situation could damage the power supply component 111. Furthermore, the instability of the power supply component 111 at low temperatures could also cause unstable control of the load 112, leading to other risks. Therefore, in this embodiment, by setting the ambient temperature of the power supply component 111 to be below a preset temperature threshold, an abnormality in the operating circuit 110 is determined, and further protective measures are taken. This can improve the service life of the power supply component 111 and the stability of the load 112 control.

[0072] The preset temperature threshold is stored in the electronic device.

[0073] Optionally, the installation distance between the temperature sensor and the power supply component 111 is less than a preset distance, so that the collected ambient temperature is as close as possible to the temperature of the power supply component 111 itself, thereby improving the control accuracy of the power supply component 111 in case of abnormal temperature.

[0074] Optionally, since the power supply component 111 is a power supply component, it may not be affected by low temperatures. Based on this, the controller 130 can also determine the current power supply mode of the electronic device and activate the detection unit 120 if the power supply mode is battery power.

[0075] The second method involves the detection unit 120 including a data acquisition component to acquire the operating current and / or operating voltage of the operating circuit 110. In this case, if the operating current is not within a preset current range, it is determined that the operating circuit 110 is malfunctioning; and / or, if the operating voltage is not within a preset voltage range, it is determined that the operating circuit 110 is malfunctioning.

[0076] When collecting one of the operating parameters of the operating circuit 110, namely operating current and operating voltage, if the operating parameter is within the preset parameter range, it is determined that the operating circuit 110 is not abnormal. Alternatively, the operating circuit 110 is determined to be abnormal by combining the parameters in the first and / or the third method below.

[0077] When collecting data on the operating current and operating voltage of the operating circuit 110, if the operating current is outside the preset current range or the operating voltage is outside the preset voltage range, it is determined that the operating circuit 110 is malfunctioning. If both the operating current and operating voltage are within the preset current range, it is determined that the operating circuit 110 is not malfunctioning. Alternatively, the malfunction of the operating circuit 110 can be determined by combining the parameters from the first and / or the third method described below.

[0078] The preset current range is determined based on the current when the working circuit 110 is normal and conducting, and the preset voltage range is determined based on the voltage when the working circuit 110 is normal and conducting.

[0079] The data acquisition component can be a current acquisition circuit or a communication ammeter when acquiring current, and a voltage acquisition circuit or a communication voltmeter when acquiring voltage. This embodiment does not limit the implementation method of the data acquisition component.

[0080] Optionally, the data acquisition component is positioned at a target location in the operating circuit 110, where the operating current is not shunted. For example: Reference Figure 1 The current output from power supply component 111 passes through two branches after starting switch S2: the branch containing load 112 and the branch containing controller 130. At this point, the current is shunted. After passing through the two branches, the current converges and returns to power supply component 111. The target location can be any position within the dashed box, as these locations do not experience current shunting through the two branches. Because the current does not experience current shunting through the two branches, the current value is guaranteed not to be too small, thus eliminating the need for a sensitive data acquisition component and reducing the hardware requirements for the data acquisition component.

[0081] The third method involves the detection unit 120 including a performance detection component to detect the performance of the power supply component 111. In this case, if the performance of the power supply component 111 does not meet the preset conditions, it is determined that there is an abnormality in the operating circuit 110.

[0082] Optionally, if the performance of the power supply component 111 meets the preset conditions, the detection unit 120 can determine that there is no abnormality in the working circuit 110, or determine whether there is an abnormality in the working circuit 110 by combining the parameters in the first and / or second methods above.

[0083] The performance of the power supply component 111 includes, but is not limited to, energy density and / or remaining power. The preset conditions are based on the performance of the power supply component 111 under normal and conducting conditions of the operating circuit 110. Accordingly, for energy density detection, the performance detection component may include a current acquisition component and a voltage acquisition component. In this case, the performance detection component acquires the discharge current and discharge voltage of the power supply component per unit time, integrates the product of the discharge current and discharge voltage to obtain the energy, and calculates the ratio of this energy to the mass or volume of the power supply component to obtain the energy density. For remaining power detection, the performance detection component may include a voltage acquisition component to acquire the open-circuit voltage of the power supply component. In this case, the remaining power of the power supply component is proportional to the open-circuit voltage. Alternatively, the performance detection component may include a voltage acquisition component to acquire the terminal voltage of the power supply component and a current acquisition component to acquire the discharge current of the power supply component. In this case, the power supply component determines the remaining power based on the relationship between the battery internal resistance and electromotive force, terminal voltage, and discharge current. The battery internal resistance is correlated with the remaining power. This embodiment does not limit the detection methods for energy density and remaining power.

[0084] In other embodiments, the detection unit 120 can also be used to detect other circuit abnormalities, which will not be listed here.

[0085] It should be noted that in this embodiment, the detection unit 120 is used as an example to illustrate the functions of data acquisition and anomaly judgment. In actual implementation, the detection unit 120 may only have the function of data acquisition, and the specific anomaly judgment may also be implemented in the controller 130. This embodiment does not limit the functional division of the detection unit 120.

[0086] The controller 130 is connected to the working circuit 110 and the detection unit 120 respectively; the controller 130 is used to: acquire the detection result of the detection unit 120; and control the working circuit 110 to disconnect when the detection result indicates that there is an abnormality in the working circuit 110.

[0087] In this embodiment, the controller 130 can automatically disconnect the working circuit 110 when it malfunctions, which can avoid the problem of damage to the components in the working circuit 110 when it is still working despite the malfunction, and can improve the service life of the power supply component 111 and the load 112.

[0088] Optionally, the controller 130 may disconnect the operating circuit 110 in at least one of the following ways:

[0089] The first configuration involves the controller 130 being connected to the power supply assembly 111 via a circuit breaker 140. In this configuration, the controller 130 controls the circuit breaker 140 to conduct when there is no abnormality in the operating circuit 110, so that the power supply assembly 111 supplies power to the controller 130; and controls the circuit breaker 140 to disconnect when there is an abnormality in the operating circuit 110, so that the power supply assembly 111 stops supplying power to the controller 130.

[0090] When the power supply component 11 supplies power to the controller 130, the load switch S1 can be controlled by the controller 130, and the user is not allowed to trigger its closure. If the controller 130 is de-energized, it cannot control the load switch S1 to close. Therefore, even if the start switch S2 is closed, the load 112 cannot work.

[0091] Optionally, when the initial state of the circuit breaker 140 is the conducting state, after the start switch S2 is closed and the circuit breaker 140 switches from the conducting state to the open state under the control of the controller 130, the circuit breaker 140 returns to the conducting state from the open state in response to the next closing of the start switch S2.

[0092] Alternatively, when the initial state of circuit breaker 140 is open, when the start switch S2 closes, circuit breaker 140 changes from open to closed. At this time, the voltage signal generated by the closing of start switch S2 can cause the state of circuit breaker 140 to switch. Afterwards, in response to the opening of start switch S2, circuit breaker 140 returns to the open state.

[0093] Circuit breaker 140 is a self-locking switch. In other words, regardless of whether the initial state of the self-locking switch is on or off, the self-locking switch can be turned on when powered on (i.e., turned on when the start switch S2 is closed), and can be turned off or maintained in the on state under the control of controller 130. After the start switch S2 is turned off, the self-locking switch can be turned on again when powered on.

[0094] The second method: The controller 130 is connected to the load switch S1. In this case, the controller 130 is used to send a disconnect signal to the load switch S1 in case of an abnormality in the working circuit 110, so as to control the working circuit 110 to disconnect. The disconnect signal is used to indicate that the load switch S1 is not allowed to be closed based on user operation to make the load 112 work.

[0095] At this time, if the load switch S1 receives a disconnection signal, it will block the trigger operation performed by the user or prevent the user from performing the trigger operation.

[0096] For example, the load switch S1 includes a limit member and a switch button. When the load switch S1 receives a disconnect signal sent by the controller 130, it triggers the limit member to support the switch button so that the user cannot press the switch button.

[0097] For example, load switch S1 is a virtual switch displayed on a touch screen. When load switch S1 receives a disconnect signal sent by controller 130, it ignores the trigger operation applied to the virtual switch. In other words, it does not respond to the trigger operation applied to the virtual switch.

[0098] It should be further noted that, in the event of an abnormality in the working circuit 110, the controller 130 can simultaneously control the circuit breaker 140 to open and send a disconnect signal to the load switch S1. This embodiment does not limit the method by which the controller 130 controls the working circuit 110 to open. At this time, when the start switch S2 is turned on, the working circuit 110 is turned on, and the self-locking switch is turned on by default to supply power to the controller 130. If the controller 130 determines that the working circuit 110 is abnormal, it controls the self-locking switch to disconnect the power supply to the controller 130 and prevents the user from operating the load switch S1. After the power is disconnected, the self-locking switch will remain in the disconnected state unless the start switch S2 is turned on again. If the controller 130 determines that the working circuit 110 is normal, it can open the load switch S1 in a given manner according to the user's operation, and the load 112 will be turned on to realize the function of the electronic device.

[0099] In summary, the electronic device provided in this embodiment, by setting up a detection unit to detect whether there is an abnormality in the working circuit including the power supply component and the load, and by connecting a controller to the working circuit and the detection unit respectively, enables the controller to obtain the detection result of the detection unit; when the detection result indicates that there is an abnormality in the working circuit, the controller controls the working circuit to disconnect; this can solve the problem that the working circuit continues to work when there is an abnormality, resulting in a reduction in the service life of the components in the working circuit; since the working circuit can be automatically disconnected when there is an abnormality, the service life of the components in the working circuit can be improved.

[0100] In addition, by connecting the controller to the power supply component through a circuit breaker, the power supply component can stop supplying power to the controller in the event of an abnormality in the working circuit. This can improve the service life of the power supply component and prevent the controller from becoming unstable.

[0101] In addition, by initializing the circuit breaker to the conducting state and enabling it to return to the conducting state after the start switch is closed again; or, when the initial state of the circuit breaker is the open state, when the start switch is closed, the circuit breaker is adjusted from the open state to the conducting state, and in response to the start switch being opened, the circuit breaker returns to the open state, without requiring the user to manually adjust the state of the circuit breaker, thus improving the intelligence level of abnormal protection.

[0102] In addition, when the working circuit malfunctions, the load switch can be controlled by the controller to prevent user operation, which ensures that the working circuit cannot continue to work under user operation and guarantees the safety of the working circuit.

[0103] In addition, by setting the detection unit to include a temperature sensor, a data acquisition component and / or a performance detection component, it is possible to detect abnormal temperatures in the power supply component and / or abnormal currents and / or voltages in the operating circuit, thereby improving the comprehensiveness of abnormal detection.

[0104] The control method for the electronic device provided in this application is described below, and the following embodiments apply each method to... Figure 1 The illustrated electronic device is specifically used as an example in the controller of the electronic device. In actual implementation, this method can also be used in other devices that are communicatively connected to the electronic device. This embodiment does not limit the application scenario of this method. These other devices can be devices with processing capabilities, such as mobile phones, wearable devices, computers, or tablets. This embodiment does not limit the type of other devices.

[0105] Figure 2 This is a flowchart of a control method for an electronic device according to an embodiment of this application. The method includes at least the following steps:

[0106] Step 201: Obtain the detection results of the detection unit.

[0107] Optionally, the controller periodically acquires the detection results of the detection unit, or the detection unit sends the detection results to the controller when it detects an abnormality in the working circuit, so that the controller can acquire the detection results. This embodiment does not limit the method of acquiring the detection results.

[0108] The controller responds to the start signal of the operating circuit and acquires the detection result of the detection unit. Specifically, the electronic device is equipped with a start switch. When the start switch is closed, the controller receives the start signal and acquires the detection result of the detection unit.

[0109] In other embodiments, the start signal may also be sent by other devices; this embodiment does not limit the method of obtaining the start signal.

[0110] Step 202: If the test result indicates that there is an abnormality in the working circuit, the working circuit is disconnected.

[0111] The operating circuit begins working after the start switch is closed, at which point the load is not operating. Subsequently, the load can operate under the control of the controller or under user operation. If the detection result indicates an abnormality in the operating circuit, the controller will disconnect the operating circuit; otherwise, the controller will remain inactive to allow the operating circuit to function normally.

[0112] In one example, the controller is connected to the power supply component via a circuit breaker. When there is no abnormality in the operating circuit, the circuit breaker is controlled to open, allowing the power supply component to supply power to the controller. Conversely, if a detection result indicates an abnormality in the operating circuit, the operating circuit is controlled to close, including: if the detection result indicates an abnormality in the operating circuit, the circuit breaker is controlled to open, causing the power supply component to stop supplying power to the controller.

[0113] The circuit breaker is initialized to the ON state; after the start switch is closed and the circuit breaker switches from the ON state to the OFF state under the control of the controller, the circuit breaker returns to the ON state in response to the next closure of the start switch.

[0114] In another example, the controller is connected to a load switch signal and controls the operating circuit to disconnect when a detection result indicates an abnormality in the operating circuit. This includes sending a disconnect signal to the load switch to control the operating circuit to disconnect when an abnormality is detected in the operating circuit; wherein the disconnect signal is used to indicate that the load switch should not be closed based on user operation to enable the load to operate.

[0115] The relevant descriptions of this embodiment are the same as those in the above method embodiments, and will not be repeated here.

[0116] In summary, the control method for the electronic device provided in this embodiment obtains the detection results of the detection unit; when the detection results indicate that there is an abnormality in the working circuit, the working circuit is disconnected; this can solve the problem that the working circuit continues to work when there is an abnormality, which leads to a reduction in the service life of the components in the working circuit; since the working circuit can be automatically disconnected when there is an abnormality, the service life of the components in the working circuit can be improved.

[0117] In addition, by connecting the controller to the power supply component through a circuit breaker, the power supply component can stop supplying power to the controller in the event of an abnormality in the working circuit. This can improve the service life of the power supply component and prevent the controller from becoming unstable.

[0118] In addition, by initializing the circuit breaker to the conducting state and allowing it to return to the conducting state after the start switch is closed again, the user does not need to manually adjust the circuit breaker's state, thus improving the intelligence level of abnormal protection.

[0119] In addition, when the working circuit malfunctions, the load switch can be controlled by the controller to prevent user operation, which ensures that the working circuit cannot continue to work under user operation and guarantees the safety of the working circuit.

[0120] Figure 3 This is a block diagram of a control device for an electronic device according to an embodiment of this application, the electronic device including... Figure 1 The electronic device shown includes at least the following modules: result acquisition module 310 and circuit control module 320.

[0121] The result acquisition module 310 is used to acquire the detection results of the detection unit;

[0122] The circuit control module 320 is used to control the working circuit to disconnect when the detection result indicates that there is an abnormality in the working circuit.

[0123] For relevant details, please refer to the above embodiments.

[0124] It should be noted that the control device for the electronic device provided in the above embodiments is only illustrated by the division of the above functional modules. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the control device for the electronic device can be divided into different functional modules to complete all or part of the functions described above. In addition, the control device for the electronic device provided in the above embodiments and the control method embodiments for the electronic device belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.

[0125] Figure 4This is a block diagram of an electronic device provided in one embodiment of this application, the electronic device including... Figure 1 The electronic device shown. This device could be... Figure 1 The electronic device includes at least a processor 401 and a memory 402.

[0126] Processor 401 may include one or more processing cores, such as a quad-core processor or an octa-core processor. Processor 401 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 401 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 401 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, processor 401 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.

[0127] The memory 402 may include one or more computer-readable storage media, which may be non-transitory. The memory 402 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 402 are used to store at least one instruction, which is executed by the processor 401 to implement the control method of the electronic device provided in the method embodiments of this application.

[0128] In some embodiments, the external parameter calibration device may also optionally include: a peripheral device interface and at least one peripheral device. The processor 401, memory 402, and peripheral device interface can be connected via a bus or signal lines. Each peripheral device can be connected to the peripheral device interface via a bus, signal lines, or a circuit board. Indicatively, peripheral devices include, but are not limited to: radio frequency circuits, touch displays, audio circuits, and power supplies.

[0129] Of course, the external parameter calibration device may include fewer or more components, and this embodiment does not limit this.

[0130] Optionally, this application also provides a computer-readable storage medium storing a program that is loaded and executed by a processor to implement the control method of the electronic device described in the above method embodiments.

[0131] Optionally, this application also provides a computer product including a computer-readable storage medium storing a program that is loaded and executed by a processor to implement the control method of the electronic device described in the above method embodiments.

[0132] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0133] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.

[0134] Obviously, the embodiments described above are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, those skilled in the art can make other variations or modifications without creative effort, and all such variations or modifications should fall within the scope of protection of this application.

Claims

1. An electronic device, characterized in that, include: The operating circuit includes a power supply component and a load; when the operating circuit is turned on, the power supply component supplies power to the load. The detection unit is used to detect whether there is any abnormality in the working circuit; The controller is connected to both the working circuit and the detection unit; the controller is used for: Obtain the detection results from the detection unit; If the detection result indicates that the working circuit is abnormal, the working circuit is controlled to disconnect. The controller is connected to the power supply component via a circuit breaker; the controller is used for: If there is no abnormality in the working circuit, control the circuit breaker to open so that the power supply component can supply power to the controller; In the event of an abnormality in the operating circuit, the circuit breaker is controlled to open, thereby stopping the power supply component from supplying power to the controller; The working circuit includes a start switch for controlling the operation of the working circuit; When the initial state of the circuit breaker is the conducting state, after the start switch is closed and the circuit breaker switches from the conducting state to the disconnected state under the control of the controller, in response to the next closure of the start switch, the circuit breaker restores from the disconnected state to the conducting state. or When the initial state of the circuit breaker is open, when the start switch is closed, the circuit breaker is adjusted from the open state to the on state, and in response to the start switch being opened, the circuit breaker returns to the open state.

2. The electronic device according to claim 1, characterized in that, The circuit breaker is a self-locking switch.

3. The electronic device according to claim 1, characterized in that, The operating circuit also includes a load switch for controlling the operation of the load, and the controller is signal-connected to the load switch. The controller is used for: In the event of an abnormality in the operating circuit, a disconnection signal is sent to the load switch to control the operating circuit to disconnect. The disconnect signal is used to indicate that the load switch is not allowed to be closed based on user operation to enable the load to operate.

4. The electronic device according to claim 1, characterized in that, The detection unit includes a temperature sensor to detect the ambient temperature of the power supply component. If the ambient temperature is lower than a preset temperature threshold, it is determined that the operating circuit is malfunctioning.

5. The electronic device according to claim 1, characterized in that, The detection unit includes a data acquisition component to acquire the operating current and / or operating voltage of the working circuit; If the operating current is not within the preset current range, it is determined that there is an abnormality in the operating circuit; And / or, If the operating voltage is not within the preset voltage range, it is determined that there is an abnormality in the operating circuit.

6. The electronic device according to claim 5, characterized in that, The data acquisition component is located at a target position in the working circuit, where the working current is not shunted.

7. The electronic device according to claim 1, characterized in that, The detection unit includes a performance detection component to detect the performance of the power supply component; If the performance of the power supply component does not meet the preset conditions, it is determined that there is an abnormality in the working circuit.

8. A control method for an electronic device, characterized in that, The electronic device includes the electronic device according to any one of claims 1 to 7, and the method includes: Obtain the detection results from the detection unit; If the detection result indicates that the working circuit is abnormal, the working circuit is controlled to disconnect.

9. A computer-readable storage medium, characterized in that, The storage medium stores a program that, when executed by a processor, is used to implement the control method of the electronic device as described in claim 8.

Citation Information

Patent Citations

  • Overcurrent protection apparatus, method and system, and electronic equipment

    CN106786344A