A power supply device and a cover detection method

By detecting the magnetic field strength between the cover and the shell using a magnetic induction sensor, the power supply equipment only works when the cover is fully open and in contact with the shell, thus solving the safety hazard problem caused by abnormal use of the power supply equipment and ensuring safe use.

CN116413640BActive Publication Date: 2026-01-13GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111669709.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-31
Publication Date
2026-01-13
Estimated Expiration
2041-12-31

AI Technical Summary

Technical Problem

Existing power supply equipment is prone to electric shock and other safety hazards when used improperly, and these hazards cannot be effectively avoided.

Method used

A magnetic induction sensor is used to detect the magnetic field strength between the cover and the shell. The power supply equipment is only allowed to work when the cover is fully open and fixedly attached to the shell. A Hall sensor is used to determine whether the magnetic induction strength meets the preset conditions.

Benefits of technology

This effectively avoids safety hazards caused by abnormal use of power supply equipment, prevents dangers such as electric shock and electric sparks, and ensures the safe use of the equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116413640B_ABST
    Figure CN116413640B_ABST
Patent Text Reader

Abstract

The application discloses a power supply device and a cover detection method. The power supply device can only work when the magnetic induction intensity of the detected magnetic field meets preset conditions, that is, the cover is opened and fixedly attached to the shell of the power supply device, so that the safety hidden trouble problem of electric shock is avoided, and safe use of the power supply device is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to, but is not limited to, electronic technology, and in particular to a power supply device and a cover detection method. Background Technology

[0002] Power supply equipment is used to charge devices (such as terminals). To avoid safety hazards such as electric shock, only power supply equipment that meets safety standards can be manufactured and used. Summary of the Invention

[0003] This application provides a method for testing power supply equipment and its cover, which can avoid safety hazards and ensure the safe use of power supply equipment.

[0004] This application provides a power supply device, including:

[0005] case;

[0006] A circuit board, located inside the housing, is used to process the voltage supplied by external devices to obtain an output voltage;

[0007] The pins protrude from the surface of the housing;

[0008] A cover body is connected to the housing, and a magnet is provided on the cover body; the cover body is rotatable relative to the housing and has an open state and a closed state, in the closed state, at least a portion of the structure of the pin is housed in the cover body, and in the open state, the pin is available for connection to the external device;

[0009] A magnetic induction sensor is disposed inside the housing; used to detect the magnetic induction intensity of the magnetic field generated by the magnet.

[0010] A control module is electrically connected to the magnetic induction sensor and the circuit board; it is used to control the circuit board to be in a state that can generate the output voltage when the pin is connected to the external device and the magnetic induction intensity meets a preset condition.

[0011] The power supply device provided in this application embodiment will only work when the magnetic induction intensity meets the preset conditions, that is, when the cover is open and fixedly attached to the housing of the power supply device, thus avoiding safety hazards such as electric shock and ensuring the safe use of the power supply device.

[0012] This application embodiment also provides a cover detection method, applied to power supply equipment; including:

[0013] When the pins of the power supply device are connected to an external device and the detected magnetic induction intensity meets the preset conditions, the circuit board inside the power supply device is controlled to be in a state that can generate output voltage.

[0014] The magnetic induction intensity is the magnetic induction intensity of the magnetic field generated by a magnet that rotates together with the cover of the power supply equipment, detected by a magnetic induction sensor installed inside the power supply equipment.

[0015] The method for detecting the cover provided in this application ensures that the power supply device will only operate when the detected magnetic induction intensity meets a preset condition, i.e., the cover is open and firmly attached to the housing of the power supply device. This guarantees the safe use of the power supply device and avoids safety hazards such as electric shock.

[0016] Other features and advantages of the invention will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention may be realized and obtained by means of the structures particularly pointed out in the description, claims and drawings. Attached Figure Description

[0017] The accompanying drawings are used to provide a further understanding of the technical solutions of this application and constitute a part of the specification. They are used together with the embodiments of this application to explain the technical solutions of this application and do not constitute a limitation on the technical solutions of this application.

[0018] Figure 1 This is a schematic diagram of the first embodiment of the power supply equipment structure in this application.

[0019] Figure 2 This is a schematic diagram showing the connection relationship between the circuit board, pins, magnetic induction sensor, and control module of the power supply equipment in this embodiment of the application.

[0020] Figure 3 This is a schematic diagram of the second embodiment of the power supply equipment structure in this application.

[0021] Figure 4 This is a schematic diagram of the composition structure of the power supply equipment in the third embodiment of this application;

[0022] Figure 5 This is a schematic diagram of the fourth embodiment of the power supply equipment structure in this application.

[0023] Figure 6 This is a schematic diagram illustrating the working principle of the power supply equipment when its cover is fully open, as shown in the embodiment of this application.

[0024] Figure 7 This application illustrates the working principle of a Hall sensor in a power supply device.

[0025] Figure 8 This is a flowchart illustrating the first embodiment of the method for implementing cover detection in this application.

[0026] Figure 9 This is a schematic diagram of the fifth embodiment of the power supply equipment structure in this application.

[0027] Figure 10 This is a schematic diagram of the sixth embodiment of the power supply equipment structure in this application.

[0028] Figure 11 This is a schematic diagram of the seventh embodiment of the power supply equipment structure in this application.

[0029] Figure 12 This is a schematic diagram illustrating the working principle of the power supply equipment when both covers are fully open in an embodiment of this application.

[0030] Figure 13 This application demonstrates the working principle of another Hall sensor in the power supply equipment.

[0031] Figure 14 This is a flowchart illustrating the second embodiment of the method for detecting the cover in this application. Detailed Implementation

[0032] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in detail below with reference to the accompanying drawings. It should be noted that, unless otherwise specified, the embodiments and features described in these embodiments can be arbitrarily combined with each other.

[0033] To facilitate understanding of this application, a more complete description will be provided below with reference to the accompanying drawings, which illustrate embodiments of the present application. However, the present application can be implemented in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided so that the disclosure of this application will be thorough and complete.

[0034] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.

[0035] It is understood that the terms "first" and "second" used in this application are for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "multiple" means at least two, such as two, three, etc., unless otherwise explicitly specified.

[0036] It is understood that the term "connection" in the following embodiments should be understood as "electrical connection," "communication connection," etc., if the connected circuits, modules, units, etc., have electrical signal or data transmission with each other.

[0037] When used herein, the singular forms of “a,” “an,” and “the” may also include the plural forms unless the context clearly indicates otherwise. It should also be understood that the terms “comprising / including” or “having,” etc., specify the presence of the stated features, wholes, steps, operations, components, parts, or combinations thereof, but do not preclude the possibility of the presence or addition of one or more other features, wholes, steps, operations, components, parts, or combinations thereof. Meanwhile, the term “and / or” as used in this specification includes any and all combinations of the associated listed items.

[0038] Power supply equipment with a cover typically includes a cover for enclosing or exposing the prongs. When the cover is closed, the prongs are housed within the cover; when the cover is open, the prongs are exposed so that they can be connected to external devices. To eliminate safety hazards under abnormal use and ensure that the power supply equipment complies with safety standards, embodiments of this application propose a power supply equipment that can avoid safety hazards such as electric shock and ensure the safe use of the power supply equipment.

[0039] Figure 1 This is a schematic diagram of the first embodiment of the power supply equipment structure in this application, as shown below. Figure 1 As shown, combined with Figure 2 This application provides a power supply device, which includes at least: a housing 10, pins 20, a cover 30, a magnet 300, a magnetic induction sensor 111, and a control module. Figure 1 (Not shown in the image). Among them,

[0040] The housing 10 contains a circuit board, which processes the voltage supplied by the external device to obtain the output voltage;

[0041] Pin 20 protrudes from the surface of the housing;

[0042] The cover 30 is rotatably connected to the housing 10. The cover 30 is rotatable relative to the housing 10 and has an open state and a closed state. In the closed state, at least a portion of the structure of the pin 20 is housed within the cover 30. In the open state, the pin 20 can be used to connect to an external device.

[0043] The magnet 300 is disposed inside the cover 30 and rotates as the cover 30 rotates.

[0044] A magnetic induction sensor 111 is disposed inside the housing 10 and is used to detect the magnetic induction intensity of the magnetic field generated by the magnet 300, which rotates together with the cover 30.

[0045] The control module is electrically connected to the magnetic induction sensor and the circuit board; it is used to control the circuit board to be in a working state that can generate output voltage when the pin 20 is connected to an external device and the magnetic induction intensity meets the preset conditions, so that the power supply device can work.

[0046] In one exemplary instance, the control module is also configured to: when the pin 20 is connected to an external device but the magnetic induction intensity does not meet a preset condition, the control circuit board is not in an operational state, so that the power supply device cannot operate.

[0047] The power supply device provided in this application embodiment will only activate its output to operate when the magnetic induction intensity meets a preset condition, i.e., when the cover is fully open and fixedly attached to the device's housing. This eliminates safety hazards caused by abnormal use of the power supply device, avoids electric shock and other safety risks, and ensures safe use. Because the power supply device provided in this application embodiment will stop operating as long as the magnetic induction intensity does not meet the preset condition, i.e., when the cover is not fixedly attached to the housing, even if the cover is damaged (e.g., can be opened but not fully opened) or detached, there will be no leakage current. This effectively prevents electrical sparks caused by energizing the device under load, thus ensuring the safe use of the power supply device.

[0048] In one exemplary instance, the external device may include, but is not limited to, devices that can provide electrical power, such as sockets or power banks.

[0049] In one exemplary instance, the power supply device may be a power adapter, charger, etc. The processing performed by the circuit board on the voltage supplied by the external device may include, for example, rectification, filtering, and transformation.

[0050] In one exemplary instance, when pin 20 is connected to an external device and the magnetic induction intensity meets a preset condition, the power supply device, such as a power adapter, is in a state where it can generate an output voltage. In this case, if the output terminal of the voltage adapter is connected to the device to be charged, such as a mobile phone or battery, the generated output voltage will be output to the device to be charged to achieve charging of the device to be charged.

[0051] In one exemplary embodiment, the magnetic sensor 111 can be fixed to a circuit board or to the inner surface of the housing 10.

[0052] In one exemplary instance, the control module may be fixed to a circuit board or to the inner surface of the housing 10.

[0053] In one exemplary instance, the cover 30 is rotatable relative to the housing 10 between a closed state and a fully open state (i.e., the cover 30 is in the open state and the cover 30 is fixedly attached to the housing 10). As the magnet 300 rotates with the cover 30, if the magnetic induction sensor 111 detects the magnetic induction intensity of the magnetic field generated by the magnet 300 rotating with the cover 30, and the detected magnetic induction intensity meets the preset conditions, it indicates that the cover 30 is open and fixedly attached to the housing 10. In this case, the control circuit board is in a state where it can generate output voltage, that is, the circuit board is working normally, and it outputs or inputs current normally, so that the power supply equipment can generate output voltage and is in working state, that is, it can perform normal charging or discharging. If the magnetic induction sensor 111 detects the magnetic induction intensity of the magnetic field generated by the magnet 300 rotating with the cover 30, but the detected magnetic induction intensity does not meet the preset conditions, or it cannot detect the magnetic induction intensity of the magnetic field generated by the magnet 300 moving with the cover 30, it indicates that the cover 30 is not fixedly attached to the housing 10. In this case, the control circuit board is not in working state, which may include situations such as not generating output voltage, not performing voltage processing, or being in a disconnected state. At this time, the circuit board cannot input or output current, so that the power supply equipment stops working, that is, it cannot perform charging or discharging.

[0054] The power supply device provided in this embodiment features a cover 30. When the cover 30 and the housing 10 are fully open, they form a working mating surface. This allows for a smaller thickness of the housing 10 and eliminates the need for the pins 20 to occupy internal space, thus reducing the size of the housing 10 and consequently the overall volume of the power supply device, resulting in good portability. When not in use, the power supply device can be closed, allowing at least a portion of the pins 20 to be hidden, further enhancing portability. In the fully open state, the working mating surface ensures that the pins 20 can meet the requirements for use.

[0055] In one exemplary instance, the preset condition is pre-measured and serves as a criterion for determining whether the cover 30 is open and securely attached to the housing 10. Typically, the preset condition can be obtained by detecting the magnetic field strength detected by the magnetic induction sensor 111 when the cover 30 is fully open (i.e., in the open state) and securely attached to the housing 10. Based on the magnetic field strength detected by the magnetic induction sensor 111 at this time, the preset condition can be determined. Thus, when the magnet 300 rotates with the cover 30, if the magnetic field strength detected by the magnetic induction sensor 111 meets the preset condition, it indicates that the cover 30 is open and securely attached to the housing 10.

[0056] It should be noted that when the cover 30 is fully open, it fits snugly against the shell 10. This fit can include: a completely tight fit without gaps; gaps within 2mm or other dimensional ranges; or a partial fit with gaps in some areas. The presence of gaps is due to the material and manufacturing process. In practice, even when the magnetic field strength meets the requirements, some gaps may still exist.

[0057] In one embodiment, the magnetic induction sensor 111 is a linear Hall sensor, and the preset condition is a preset voltage threshold. Whether the magnetic induction intensity meets the preset condition can be determined by the output voltage of the linear Hall sensor. For example, when the output voltage of the linear Hall sensor reaches the preset voltage threshold, the magnetic induction intensity meets the preset condition; otherwise, the magnetic induction intensity does not meet the preset condition.

[0058] In one embodiment, the magnetic induction sensor 111 is a unipolar Hall sensor, and the preset condition is that the first level changes to the second level, wherein the first level is the normal level of the unipolar Hall sensor; whether the magnetic induction intensity meets the preset condition can be determined by the output level of the unipolar Hall sensor. For example, if the output level of the unipolar Hall sensor changes from the first level to the second level, the magnetic induction intensity meets the preset condition; otherwise, the magnetic induction intensity does not meet the preset condition.

[0059] In this embodiment, a Hall sensor is used as a magnetic induction sensor to detect the cover. Since the Hall sensor has high performance and reliability and high detection accuracy, the detection accuracy is determined by detecting the output voltage / output level of the Hall sensor. This method has both high detection accuracy and sensitivity, and will not fail due to aging or damage of the power supply equipment. Furthermore, since the pins do not need to occupy the internal space of the housing, the overall size of the power supply equipment is reduced. Therefore, the power supply equipment provided in this embodiment has strong practicality, stability and safety.

[0060] In one exemplary instance, combined with Figures 1-5 As shown, the cover 30 may include a first cover 31 and a second cover 32, which are rotatably connected to both sides of the housing 10; the magnet 300 may include a first magnet 311 and a second magnet 321, with the first magnet 311 disposed on the first cover 31 and the second magnet 321 disposed on the second cover 32. Figure 1 As shown, the first cover 31 and the second cover 32 are in the open state; Figure 3 As shown, the first cover 31 and the second cover 32 are in a closed state; Figure 4 or Figure 5As shown, the first cover 31 and the second cover 32 are in a fully open state. In one embodiment, when the first cover 31 and the second cover 32 are in a closed state, the first magnet 311 on the first cover 31 and the second magnet 321 on the second cover 32 can be located on the same horizontal line, and there is a mutual magnetic attraction between the first magnet 311 and the second magnet 321, that is, the polarities of their facing faces are opposite. Through the magnetic attraction of the first magnet 311 and the second magnet 321, the first cover 31 and the second cover 32 are fixedly attached. When the first cover 31 and the second cover 32 are in a fully open state, the first magnet 311 on the first cover 31 and the second magnet 321 on the second cover 32 can be located on the same horizontal line, and there is a mutual magnetic attraction between them, that is, the polarities of their opposing faces are opposite. Through the magnetic attraction of the first magnet 311 and the second magnet 321, the first cover 31 and the second cover 32 are respectively fixedly attached to the opposite sides of the housing 10.

[0061] In one embodiment, to ensure a better and tighter fit between the first cover 31 and the second cover 32 and the housing 10 when fully open, a magnet can be provided on the housing at each contact point with the first cover 31 and the second cover 32. These two magnets are configured to have opposite poles to the first magnet 311 on the first cover 31 and the second magnet 321 on the second cover 32, respectively, to generate a magnetic force that causes the first cover 31 and the second cover 32 to adhere tightly to the housing. It should be noted that the magnets can also be located inside the housing.

[0062] like Figure 1 As shown, when the first cover 31 rotates clockwise and the second cover 32 rotates counterclockwise, the first cover 31 and the second cover 32 change from an open state to a closed state. When the magnetic poles of the first magnet 311 and the second magnet 321 facing each other in the first cover 31 and the second cover 32 are opposite, the first cover 31 and the second cover 32 are magnetically attracted together, as shown. Figure 3 As shown, at this time, the first cover 31 and the second cover 32 are magnetically attached and fixed together by the first magnet 311 and the second magnet 321. In this case, the first cover 31 and the second cover 32 are closed, and the pin 20 is accommodated inside the cover 30. Figure 1 As shown, when the first cover 31 rotates counterclockwise and the second cover 32 rotates clockwise, the first cover 31 and the second cover 32 open, exposing the pin 20. When the first cover 31 and the second cover 32 rotate to contact the housing 10, because the magnetic poles of the opposing surfaces of the first magnet 311 and the second magnet 321 in the first cover 31 and the second cover 32 are opposite, the first cover 31 and the second cover 32 are magnetically attracted by the first magnet 311 and the second magnet 321, and thus the first cover 31 and the second cover 32 are fixedly attached to the housing 10. Figure 4 or Figure 5In the state shown, the first cover 31 and the second cover 32 are fully open. At this time, both the first cover 31 and the second cover 32 are open and in contact with the housing 10, and are magnetically attached to opposite sides of the housing 10 by the first magnet 311 and the second magnet 321. If the first cover 31 and / or the second cover 32 are not fully open (e.g., only one of the first cover 31 and the second cover 32 is fully open, or neither the first cover 31 nor the second cover 32 is open, or the first cover 31 and / or the second cover 32 is open but not fully open, etc.), or if the first cover 31 and / or the second cover 32 fall off, then the first cover 31 and / or the second cover 32 will not be fixedly attached to the housing 10. In other words, if any of these situations occur, it means that the first cover 31 and / or the second cover 32 are not fixedly attached to the housing 10.

[0063] In one exemplary instance, the cover 30 includes a first cover 31 and a second cover 32, the magnet 300 includes a first magnet 311 and a second magnet 321, both of which are magnets, and the magnetic induction sensor 111 is a linear Hall sensor. Combined with... Figure 6 and Figure 7 As shown, in this embodiment, assuming the linear Hall sensor is fixed on the circuit board, when the first cover 31 where the first magnet 311 is located and the second cover 32 where the second magnet 321 is located are fully open, the magnetic poles of the opposite surfaces of the first magnet 311 and the second magnet 321 are opposite. In this embodiment, taking the magnetic poles of the opposite surfaces of the first magnet 311 and the second magnet 321 as N poles and the magnetic poles of the opposite surfaces of the second magnet 321 and the first magnet 311 as S poles, the magnetic attraction between the first magnet 311 and the second magnet 321 makes the first cover 31 and the second cover 32 both fixedly attached to the housing 10, and respectively fixedly attached to the opposite sides of the housing 10.

[0064] The output voltage of a linear Hall sensor changes linearly within a certain range with the applied magnetic flux density (also known as magnetic induction intensity). As the magnetic flux density applied to the linear Hall sensor gradually increases within a certain range, the output voltage gradually increases. When the S pole of the magnet gradually approaches the linear Hall sensor, the output voltage increases linearly; when the N pole of the magnet gradually approaches the linear Hall sensor, the output voltage decreases linearly; when the linear Hall sensor (such as...)... Figure 6 , Figure 7 The linear Hall sensor 111 shown is placed at opposite magnetic poles (such as...) Figure 6 , Figure 7When the magnetic flux density applied to the linear Hall sensor is along the center line between the first magnet 311 and the second magnet 321 shown in the diagram, the magnetic flux density is twice that of a single magnetic pole. In practical applications, Hall sensors with different sensitivities can be selected according to requirements. Taking the MT9101 linear Hall sensor as an example, the sensitivity of the MT9101 Hall sensor is 1mV / Gs. When the magnetic flux density applied to the MT9101 Hall sensor gradually increases within a certain range, its output voltage will gradually increase. When the S pole of the magnet gradually approaches the MT9101 Hall sensor, the output voltage of the MT9101 Hall sensor gradually increases from 1.625V to 3V; when the N pole of the magnet gradually approaches the MT9101 Hall sensor, the output voltage of the MT9101 Hall sensor gradually decreases from 1.625V to 0.3V.

[0065] In one exemplary instance, such as Figures 1-5 The power supply device shown, when both the first cover 31 and the second cover 32 are fully opened and attached to the housing 10 of the power supply device, is combined with Figure 6 and Figure 7 As shown, the first magnet 311 on the first cover 31 and the second magnet 321 on the second cover 32 are located on the same horizontal line (called the center line), and the polarities of the opposite faces of the first magnet 311 and the second magnet 321 are opposite, that is, the linear Hall sensor 111 is placed between opposite magnetic poles, as shown. Figure 7 As shown, when the linear Hall sensor 111 moves along the vertical dotted line (i.e., the vertical line passing through the midpoint of the center line), the closer the position of the linear Hall sensor 111 is to the exact center of the two magnetic poles, i.e., the intersection of the horizontal and vertical dotted lines, the greater the magnetic flux density applied to the linear Hall sensor 111, and thus the greater the output voltage of the linear Hall sensor 111. In this embodiment, if the linear Hall sensor 111 is moved along the vertical dotted line, the output voltage of the linear Hall sensor 111 can be adjusted by adjusting its position, thereby finding a suitable placement position for the linear Hall sensor 111. This allows the linear Hall sensor 111 to distinguish whether the first cover 31 and the second cover 32 are both fully open and attached to the housing 10 of the power supply device based on the detected magnetic induction intensity, which is sufficient to distinguish between situations such as the cover being fully open, the cover not being fully open, and the cover falling off. In one embodiment, after determining the placement position of the linear Hall sensor 111 by the aforementioned movement, the output voltage of the linear Hall sensor 111 at the installation position can be set to a preset voltage threshold. Then, when the output voltage of the linear Hall sensor 111 reaches the preset voltage threshold, it indicates that the detected magnetic induction intensity meets the preset condition; when the output voltage of the linear Hall sensor 111 does not reach the preset voltage threshold, it indicates that the detected magnetic induction intensity does not meet the preset condition.

[0066] In one embodiment, a preset voltage threshold can be obtained by pre-measuring. The preset voltage threshold can be obtained by detecting the output voltage of the Hall sensor when the cover is fully open, and the output voltage of the linear Hall sensor detected at this time is used as the preset voltage threshold. In this way, when the first magnet 311 and the second magnet 321 rotate with the first cover 31 and the second cover 32 respectively, if the output voltage of the Hall sensor is detected to reach the preset voltage threshold, then it can be determined that the cover is fully open.

[0067] In one exemplary instance, such as Figure 6 , Figure 7 As shown, when the first magnet 311 and the second magnet 321 are both fully opened and attached to the housing 10 of the power supply equipment, the first magnet 311 and the second magnet 321 are located on the center horizontal line of the two magnets and opposite poles are opposite each other. The linear Hall sensor 111 can be set at the midpoint of the center line between the first magnet 311 and the second magnet 321, that is, at the intersection of the horizontal dotted line and the vertical dotted line.

[0068] In one exemplary embodiment, the cover 30 includes a first cover 31 and a second cover 32, and the magnet 300 includes a first magnet 311 and a second magnet 321. Both the first magnet 311 and the second magnet 321 are magnets. Unlike the previous embodiment, this embodiment takes the magnetic induction sensor 111 as a unipolar Hall sensor. In this embodiment, it is assumed that the unipolar Hall sensor is fixed on the circuit board. Taking a unipolar Hall sensor with a normal high level (referred to as the first level in this document) as an example, when the magnetic flux density applied to the unipolar Hall sensor 111 is greater than the magnetic induction intensity corresponding to the operating point (BOP) (hereinafter referred to as BOP for simplicity), the output of the unipolar Hall sensor 111 changes from the first level to the second level (from high level to low level in this embodiment), and the output of the unipolar Hall sensor 111 is turned on. This output remains until the magnetic flux density is lower than the magnetic induction intensity corresponding to the release point (BRP) (hereinafter referred to as BRP for simplicity), at which point the output of the unipolar Hall sensor 111 changes from the second level to the first level (from low level to high level in this embodiment), and the output of the unipolar Hall sensor 111 is turned off. In this embodiment, the unipolar Hall sensor 111 can be placed at a suitable position on the magnetic pole centerline.

[0069] Taking the MT8512 unipolar Hall sensor as an example, combined with Figures 5-7As shown, the position of the MT8512 unipolar Hall sensor 111 should be such that when both the first cover 31 and the second cover 32 are fully opened and attached to the housing 10 of the power supply device, the magnetic flux density applied to the MT8512 unipolar Hall sensor is greater than BOP. When only one of the first cover 31 and the second cover 32 is fully opened, or both the first cover 31 and the second cover 32 are not opened, or one of the first cover 31 and the second cover 32 falls off, or the first cover 31 and / or the second cover 32 is opened but not fully opened, the magnetic flux density applied to the MT8512 unipolar Hall sensor 111 is less than BRP. For example, assume BOP = 120 Gauss (Gs) and BRP = 90 Gs, and the magnetic flux density applied to the MT8512 unipolar Hall sensor 111 is B. Then, the magnetic flux density B must satisfy: 2B > 120 Gs and B < 90 Gs. That is, the range of the magnetic flux density B applied to the MT8512 unipolar Hall sensor 111 is 60 Gs < B < 90 Gs. That is, the position where the MT8512 unipolar Hall sensor 111 is located must satisfy that the magnetic flux density applied to the MT8512 unipolar Hall sensor 111 is within this range.

[0070] In one embodiment, to ensure that the unipolar Hall sensor 111 can meet the output requirements, the hysteresis value between BOP and BRP of the unipolar Hall sensor 111 cannot be too small. Still referring to Figures 5-7 As shown, assume that the maximum value of BOP of a unipolar Hall sensor is 150 Gs, and the magnetic flux density applied to the unipolar Hall sensor 111 is B. Then, in the embodiment of the present application, the magnetic flux density B detected at the position where the unipolar Hall sensor 111 is located must satisfy: 2B > 150 Gs and B < BRP. Then, it can be obtained that BRP > 75 Gs. That is, BRP must be greater than half of BOP, that is, BRP > BOP / 2 = 75 Gs, to avoid the problem that the unipolar Hall sensor cannot meet the output requirements at any position on the magnetic pole center line.

[0071] In the embodiment of the present application, as Figure 7As shown, if the unipolar Hall sensor 111 is moved along the vertical dotted line, its position can be adjusted to find a suitable placement. This allows the unipolar Hall sensor 111 to distinguish whether the first cover 31 and the second cover 32 are both fully open and attached to the housing 10 of the power supply device based on the detected magnetic induction intensity. This is sufficient to distinguish between situations such as the cover being fully open, partially open, or detached. In one embodiment, when the output of the unipolar Hall sensor 111 changes from a high level to a low level, meaning the applied magnetic induction intensity is greater than the operating point BOP, the detected magnetic induction intensity meets a preset condition. When the output of the unipolar Hall sensor 111 changes from a low level to a high level, meaning the applied magnetic induction intensity is less than the release point BRP, the detected magnetic induction intensity does not meet the preset condition.

[0072] The power supply device provided in this application embodiment detects the state of the cover. The power supply device will only turn on its output when the magnetic induction intensity meets the preset condition, that is, when the cover is open and fixedly attached to the housing of the power supply device, i.e., fully open. If the magnetic induction intensity does not meet the preset condition, i.e., the cover is not fixedly attached to the housing, the power supply device will stop working. In this way, the safety hazards of abnormal use of the power supply device are eliminated, the safety hazards such as electric shock are avoided, and the safe use of the power supply device is guaranteed.

[0073] In one exemplary embodiment, this application also provides a method for detecting a cover, applied in a power supply device, comprising: when the pins of the power supply device are connected to an external device and the detected magnetic induction intensity meets a preset condition, controlling the circuit board inside the power supply device to be in a state capable of generating an output voltage; wherein, the magnetic induction intensity is the magnetic induction intensity of the magnetic field generated by a magnet rotating together with the cover of the power supply device, detected by a magnetic induction sensor installed inside the power supply device; wherein, the power supply device includes a housing, the circuit board is disposed within the housing, the circuit board is used to process the voltage provided by the external device to obtain an output voltage; the cover is connected to the housing, the magnet is disposed within the cover, the cover is rotatable relative to the housing to have an open state and a closed state, in the closed state, at least a portion of the structure of the pin is housed within the cover, and in the open state, the pin can be used to connect to the external device. In one embodiment, it may further include: when the pins are connected to an external device but the magnetic induction intensity does not meet the preset condition, controlling the circuit board to be in an inactive state.

[0074] In one embodiment, such as Figure 8 As shown, a cover detection method is provided, which may include:

[0075] Step 800: The magnetic induction sensor installed inside the power supply equipment detects the magnetic induction intensity of the magnetic field generated by the magnet that rotates together with the cover of the power supply equipment.

[0076] In one exemplary instance, the process includes the following steps prior to step 800:

[0077] A magnetic induction sensor is placed in a suitable location within the power supply equipment so that it can distinguish whether the cover of the power supply equipment is fully open and adhered to the housing of the power supply equipment based on the detected magnetic induction intensity. This allows the sensor to differentiate between situations such as a fully open cover, a partially open cover, or a detached cover. In one exemplary embodiment, a fully open cover means that the cover is open and securely attached to the housing of the power supply equipment. In one embodiment, the cover includes a first cover and a second cover; a fully open cover means that both the first and second covers are open and securely attached to the housing of the power supply equipment. In one exemplary embodiment, a partially open cover or a detached cover means that the cover is not securely attached to the housing of the power supply equipment. In one embodiment, the cover includes a first cover and a second cover; a partially open cover or a detached cover means that the first and / or second cover is not securely attached to the housing of the power supply equipment.

[0078] In one exemplary embodiment, the magnetic induction sensor can be positioned at the midpoint of the center line between the first magnet and the second magnet. The first magnet is disposed on the first cover, and the second magnet is disposed on the second cover. In this configuration, the first and second covers are open and in contact with the housing of the power supply device, respectively, and are magnetically attached to opposite sides of the housing via the first and second magnets.

[0079] Step 801: Determine whether the detected magnetic induction intensity meets the preset conditions; if it does, proceed to step 8021; if it does not, proceed to step 8022.

[0080] In one exemplary instance, this step may also include:

[0081] The preset conditions are determined based on the magnetic field strength of the magnet generated when the cover is opened and fixedly attached to the shell.

[0082] The preset conditions are pre-measured criteria used to determine whether the cover of the power supply equipment is open and fixedly attached to the housing of the power supply equipment. In one embodiment, the preset conditions can be determined based on the magnetic flux density applied to the magnetic induction sensor when the cover of the power supply equipment is open and fixedly attached to the housing. That is, the magnetic field strength applied to the magnetic induction sensor when the cover is open and fixedly attached to the housing is determined as the preset conditions.

[0083] For example, for a linear Hall sensor, the preset condition can be a voltage threshold; for a unipolar Hall sensor, the preset condition can be a change from a first level to a second level, where the first level is the normal operating level of the unipolar Hall sensor.

[0084] In one exemplary instance, the magnetic induction sensor is a linear Hall sensor. When the output voltage of the linear Hall sensor reaches a preset voltage threshold, the detected magnetic induction intensity meets the preset condition; when the output voltage of the linear Hall sensor does not reach the preset voltage threshold, the detected magnetic induction intensity does not meet the preset condition.

[0085] In one exemplary instance, the magnetic induction sensor is a unipolar Hall sensor. When the output of the unipolar Hall sensor changes from a first level to a second level (e.g., from a high level to a low level), it indicates that the magnetic induction intensity applied to the unipolar Hall sensor is greater than the operating point BOP, and it is determined that the detected magnetic induction intensity meets a preset condition. When the output of the unipolar Hall sensor changes from the second level to the first level (e.g., from a low level to a high level), it indicates that the magnetic induction intensity applied to the unipolar Hall sensor is less than the release point BRP, and it is determined that the detected magnetic induction intensity does not meet the preset condition. Here, the first level is the normal operating level of the unipolar Hall sensor.

[0086] In one exemplary instance, the BOP and BRP of the unipolar Hall sensor satisfy the following condition: BRP is greater than half of BOP (BOP / 2) to avoid the problem that the unipolar Hall sensor cannot meet the output requirements at any position on the magnetic pole centerline.

[0087] Step 8021: If the detected magnetic induction intensity meets the preset conditions, control the circuit board in the power supply equipment to be in a state that can generate output voltage so that the power supply equipment can input or output current.

[0088] Step 8022: If the detected magnetic induction intensity does not meet the preset conditions, the circuit board is controlled to be out of working state, so that the power supply equipment cannot work.

[0089] In one exemplary instance, if the detected magnetic induction intensity meets the preset condition, it means that the cover is open and firmly attached to the housing of the power supply device, i.e., fully open. The power supply device is ready to enter the working state safely. Only in this case will the circuit board inside the housing of the power supply device be controlled to generate an output voltage, thereby enabling the power supply device to enter the working state and perform normal charging or discharging operations. If the detected magnetic induction intensity does not meet the preset condition, it means that the cover is not firmly attached to the housing of the power supply device, and the power supply device is not ready to enter the working state safely. The circuit board inside the housing of the power supply device is not in the working state, such as not generating an output voltage, not performing voltage processing, or being in an open state. In this case, the circuit board cannot input or output current, and the power supply device cannot perform charging or discharging operations.

[0090] In one exemplary instance, assuming the cover includes a first cover and a second cover, if the detected magnetic induction intensity meets the preset condition, it means that both the first and second covers are open and fixedly attached to the housing of the power supply device. The power supply device is ready to enter the working state safely. Only in this case will the circuit board inside the housing of the power supply device be controlled to generate an output voltage, thereby enabling the power supply device to enter the working state and perform normal charging or discharging operations. If the detected magnetic induction intensity does not meet the preset condition, it means that only one of the first and second covers is fully open, or neither the first nor the second cover is open, or the first and / or the second cover is open but not fully open, or the first and / or the second cover has fallen off, etc. In this case, the power supply device is not ready to enter the working state safely, the circuit board inside the housing of the power supply device is not in the working state, and current cannot be input or output. In this case, the power supply device cannot perform charging or discharging operations.

[0091] The cover detection method provided in this application embodiment only activates the power supply equipment's output when the detected magnetic induction intensity meets a preset condition—that is, the cover is fully open and securely attached to the power supply equipment's housing. Conversely, if the detected magnetic induction intensity does not meet the preset condition (i.e., the cover is not securely attached to the power supply equipment's housing), the power supply equipment is not considered ready for operation, and its output will not be activated. This ensures the safe use of the power supply equipment, eliminates safety hazards caused by abnormal use, and avoids potential safety risks such as electric shock. Furthermore, even if the cover is damaged and cannot be fully opened, or if the cover detaches, the method provided in this application embodiment will not cause leakage, effectively preventing electrical sparks caused by energizing the equipment and ensuring the safe use of the power supply equipment.

[0092] In one exemplary instance, Figure 9 This is a schematic diagram of the fifth embodiment of the power supply equipment structure in this application, and... Figure 1 Compared to the illustrated embodiment, the power supply equipment provided in this embodiment also includes a partition for magnetic isolation; the cover 30 includes a first cover 31 and a second cover 32, and the first cover 30 and the second cover 31 are rotatably connected to both sides of the housing 10; the magnet 300 includes a first magnet 311 and a second magnet 321; the magnetic induction sensor 100 includes a first magnetic induction sensor 111 and a second magnetic induction sensor 121.

[0093] like Figure 9 As shown, another power supply device according to an embodiment of this application includes at least: a housing 10, pins 20, a first cover 31, a second cover 32, a first magnet 311, a second magnet 321, a first magnetic induction sensor 111, a second magnetic induction sensor 121, and a partition 40. Wherein,

[0094] The housing 10 contains a circuit board for processing the voltage supplied by external devices to obtain the output voltage;

[0095] Pin 20 protrudes from the surface of the housing;

[0096] The first cover 31 and the second cover 32 are rotatably connected to the housing 10. When the first cover 31 and the second cover 32 are in a closed state, at least a portion of the structure of the plug 20 is housed within the first cover 31 and the second cover 32. When the first cover 31 and the second cover 32 are in an open state, the plug 20 can be used to connect to an external device.

[0097] The first magnet 311 is disposed on the first cover 31 and rotates as the first cover 31 rotates; the second magnet 321 is disposed on the second cover 32 and rotates as the second cover 32 rotates.

[0098] The first magnetic induction sensor 111 is electrically connected to the control module and is used to detect the first magnetic induction intensity of the magnetic field generated by the first magnet 311 that rotates together with the first cover 31.

[0099] The second magnetic induction sensor 121 is electrically connected to the control module and is used to detect the second magnetic induction intensity of the magnetic field generated by the second magnet 321 that rotates together with the second cover 32.

[0100] A partition 40 is disposed between the first magnetic induction sensor 111 and the second magnetic induction sensor 121 for magnetic isolation.

[0101] The control module, electrically connected to the circuit board, is used to control the circuit board to be in a state capable of generating output voltage when the first magnetic induction intensity meets the first preset condition and the second magnetic induction intensity meets the second preset condition, so that the power supply equipment can work.

[0102] In one exemplary instance, the control module is further configured to: when the first magnetic induction intensity does not meet the first preset condition and / or the second magnetic induction intensity does not meet the second preset condition, the control circuit board is not in a working state.

[0103] Another power supply device provided in this application embodiment will only activate its output to operate when the first magnetic induction intensity meets the first preset condition and the second magnetic induction intensity meets the second preset condition, that is, when both the first and second covers are fully open and fixedly attached to the housing of the power supply device. This eliminates safety hazards caused by abnormal use of the power supply device, avoids electric shock and other safety risks, and ensures the safe use of the power supply device. Because the power supply device provided in this application embodiment will stop operating if the first magnetic induction intensity does not meet the first preset condition and / or the second magnetic induction intensity does not meet the second preset condition (i.e., the cover is not fixedly attached to the housing), even if the cover is damaged (e.g., cannot be fully opened) or falls off, there will be no leakage current. This effectively prevents electric sparks caused by energizing under load from endangering human safety and ensures the safe use of the power supply device.

[0104] In one exemplary instance, the external device may include, but is not limited to, devices that can provide electrical power, such as sockets or power banks.

[0105] In one exemplary instance, the power supply device may be a power adapter, charger, etc. The processing of the voltage supplied to the external device by the circuit board may include processes such as rectification, filtering, and transformation.

[0106] In one exemplary instance, when pin 20 is connected to an external device and the magnetic induction intensity meets a preset condition, the power supply device, such as a power adapter, is in a state where it can generate an output voltage. In this case, if the output terminal of the voltage adapter is connected to the device to be charged, such as a mobile phone or battery, the generated output voltage will be output to the device to be charged to achieve charging of the device to be charged.

[0107] In one exemplary embodiment, the first magnetic induction sensor 111 and the second magnetic induction sensor 121 can be fixed on a circuit board inside the housing or on the inner surface of the housing 10.

[0108] In one exemplary embodiment, the first cover 31 is rotatable relative to the housing 10 between a closed state and a fully open state (i.e., the first cover 31 is in the open state and the first cover 31 is fixedly attached to the housing 10). During the rotation of the first magnet 311 with the first cover 31, if the first magnetic induction sensor 111 detects a first magnetic induction intensity of the magnetic field generated by the first magnet 311, and the detected magnetic induction intensity meets a first preset condition, it indicates that the first cover 31 is open and fixedly attached to the housing 10; if the first magnetic induction sensor 111 detects the magnetic induction intensity of the magnetic field generated by the first magnet 311 but the detected magnetic induction intensity does not meet the first preset condition, or cannot detect the magnetic induction intensity of the magnetic field generated by the first magnet 311, it indicates that the first cover 31 is not fixedly attached to the housing.

[0109] The second cover 32 can rotate relative to the housing 10 between a closed state and a fully open state (i.e., the second cover 32 is in the open state and the second cover 32 is fixedly attached to the housing 10). During the rotation of the second cover 32, if the second magnetic induction sensor 121 detects the magnetic induction intensity of the magnetic field generated by the second magnet 321, and the detected magnetic induction intensity meets a second preset condition, it indicates that the second cover 32 is open and fixedly attached to the housing 10; if the second magnetic induction sensor 121 detects the magnetic induction intensity of the magnetic field generated by the second magnet 321 but the detected magnetic induction intensity does not meet the second preset condition, or cannot detect the magnetic induction intensity of the magnetic field generated by the second magnet 321, it indicates that the second cover 32 is not fixedly attached to the housing.

[0110] In one exemplary instance, the first preset condition / second preset condition is pre-measured and serves as a criterion for determining whether the first cover 31 / second cover 32 is open and fixedly attached to the housing 10. Typically, the first preset condition / second preset condition can be obtained by detecting the magnetic field strength applied to the first magnetic induction sensor 111 / second magnetic induction sensor 121 when the first cover 31 / second cover 32 is open and fixedly attached to the housing 10. Based on the magnetic field strength detected by the first magnetic induction sensor 111 / second magnetic induction sensor 121 at this time, the first preset condition / second preset condition can be determined. Thus, when the first magnet 311 / second magnet 321 rotates with the first cover 31 / second cover 32, if the magnetic field strength of the first magnetic induction sensor 111 / second magnetic induction sensor 121 is detected to meet the first preset condition / second preset condition, then it can be determined that the first cover 31 / second cover 32 is open and fixedly attached to the housing 10.

[0111] In one exemplary instance, the control module controls the circuit board to be in a state capable of generating output voltage or in a non-operating state based on the detection results of the first magnetic induction sensor 111 and the second magnetic induction sensor 121. In one embodiment, if the first magnetic induction intensity meets the first preset condition and the second magnetic induction intensity meets the second preset condition, it means that the first cover 31 and the second cover 32 are respectively opened and both are fixedly attached to the housing 10. In this case, the control circuit board is in a state capable of generating output voltage, that is, the circuit board is working normally, and normally outputs or inputs current, thereby enabling the power supply device to generate output voltage and operate normally, i.e., it can perform normal charging or discharging operations. If the first magnetic induction intensity does not meet the first preset condition and / or the second magnetic induction intensity does not meet the second preset condition, it means that the first cover 31 and / or the second cover 32 are not fixedly attached to the housing 10. In this case, the control circuit board exits the operating state, that is, it does not generate output voltage, and the circuit board cannot input or output current, thereby causing the power supply device to stop working, i.e., it cannot perform charging or discharging operations.

[0112] In one exemplary instance, the first magnetic sensor 111 may include, but is not limited to, one of the following: a unipolar Hall sensor, a reed switch, or a linear Hall sensor; the second magnetic sensor 121 may include, but is not limited to, one of the following: a unipolar Hall sensor, a reed switch, or a linear Hall sensor.

[0113] In one embodiment, the first magnetic induction sensor 111 is a first unipolar Hall sensor 111, and the second magnetic induction sensor 121 is a second unipolar Hall sensor 121. A first preset condition is a change from a third level to a fourth level, where the third level is the normal operating level of the first unipolar Hall sensor 111. Whether the first magnetic induction intensity meets the first preset condition can be determined by the output level of the first unipolar Hall sensor 111. For example, if the output level of the first unipolar Hall sensor 111 changes from a third level to a fourth level, the first magnetic induction intensity meets the preset condition; otherwise, the first magnetic induction intensity does not meet the first preset condition. Similarly, a second preset condition is a change from a fifth level to a sixth level, where the fifth level is the normal operating level of the second unipolar Hall sensor 121. Whether the second magnetic induction intensity meets the second preset condition can be determined by the output level of the second unipolar Hall sensor 121. For example, if the output level of the second unipolar Hall sensor 121 changes from a fifth level to a sixth level, the second magnetic induction intensity meets the second preset condition; otherwise, the second magnetic induction intensity does not meet the second preset condition. In this embodiment, a unipolar Hall sensor is used as a magnetic induction sensor to detect the cover. The selection of a unipolar Hall sensor is relatively convenient, and the location selection is also relatively easy. Therefore, the power supply device provided in this embodiment is simply implemented.

[0114] In one embodiment, the first magnetic induction sensor 111 is a first linear Hall sensor 111, and the second magnetic induction sensor 121 is a second linear Hall sensor 121. The first preset condition is a first preset voltage threshold. Whether the first magnetic induction intensity meets the first preset condition can be determined by the output voltage of the first linear Hall sensor 111. For example, when the output voltage of the first linear Hall sensor 111 reaches the first preset voltage threshold, the first magnetic induction intensity meets the first preset condition; otherwise, the first magnetic induction intensity does not meet the first preset condition. Similarly, the second preset condition is a second preset voltage threshold. Whether the second magnetic induction intensity meets the second preset condition can be determined by the output voltage of the second linear Hall sensor 121. For example, when the output voltage of the second linear Hall sensor 121 reaches the second preset voltage threshold, the second magnetic induction intensity meets the second preset condition; otherwise, the second magnetic induction intensity does not meet the second preset condition.

[0115] In this embodiment, a Hall sensor is used as a magnetic induction sensor to detect the cover. Since the Hall sensor has high performance and reliability and high detection accuracy, the detection accuracy is high. The detection accuracy and sensitivity are high, and the failure will not be due to aging or damage of the power supply equipment. In addition, since the pins do not need to occupy the internal space of the housing, the overall size of the power supply equipment is reduced. Therefore, the power supply equipment provided in this embodiment has strong practicality, stability and safety.

[0116] In one embodiment, the first magnetic induction sensor 111 is a first reed switch 111, and the second magnetic induction sensor 121 is a second reed switch 121. A first preset condition is that the first reed switch 111 is turned on. Whether the first magnetic induction intensity meets the first preset condition can be determined by whether the first reed switch is turned on; turning on means the first preset condition is met, and turning off means the first preset condition is not met. Similarly, a second preset condition is that the second reed switch 121 is turned on. Whether the second magnetic induction intensity meets the second preset condition can be determined by whether the first reed switch is turned on; turning on means the second preset condition is met, and turning off means the second preset condition is not met. In this embodiment, a reed switch is used as a magnetic induction sensor to detect the cover. The reed switch is easy to select, simple to control, and its position is relatively easy to choose. Therefore, the power supply device provided in this embodiment is simply implemented.

[0117] The power supply device provided in this application embodiment uses two magnetic induction sensors. Each magnetic induction sensor only needs to detect the magnetic induction intensity on one side. Therefore, the selection and placement of the corresponding magnetic induction sensors are simple.

[0118] In one exemplary instance, the control circuit can be implemented using a processor or a simple logic gate. For example, taking a unipolar Hall sensor as the magnetic induction sensor (assuming the normal operating level is high), the output of the first unipolar Hall sensor 111 changes from high to low, indicating that the first magnetic induction intensity meets a first preset condition. Similarly, the output of the second unipolar Hall sensor 121 changes from high to low, indicating that the second magnetic induction intensity meets a second preset condition. Therefore, the control circuit can be an OR gate. That is, in this embodiment, only when both the first unipolar Hall sensor 111 and the second unipolar Hall sensor 121 are low will a low level be output indicating that the control circuit board is in a working state, thus enabling the power supply equipment to operate.

[0119] In one exemplary embodiment, the partition 40 shields the magnetic field generated by the first magnet 311 from interfering with the detection of the second magnetic induction sensor 121, and simultaneously shields the magnetic field generated by the second magnet 321 from interfering with the detection of the first magnetic induction sensor 111. That is, the first magnetic induction sensor 111 can only detect the magnetic induction intensity from the magnetic field generated by the first magnet 311, and the second magnetic induction sensor 121 can only detect the magnetic induction intensity from the magnetic field generated by the second magnet 321. In one embodiment, the partition 40 can be any ferromagnetic material, such as an iron sheet or a nickel sheet.

[0120] In one exemplary instance, such as Figure 9 As shown, the first cover 31 and the second cover 32 are in the open state; Figure 10 As shown, the first cover 31 and the second cover 32 are in a closed state; Figure 4 or Figure 11 As shown, the first cover 31 and the second cover 32 are in the fully open state. In one embodiment, combined with Figures 9-12 As shown, when the first cover 31 and the second cover 32 are in the closed state, the first magnet 311 on the first cover 31 and the second magnet 321 on the second cover 32 are located on the same horizontal line, and the polarities of the first magnet 311 and the second magnet 321 are opposite when they face each other. The first cover 31 and the second cover 32 are fixedly attached by the magnetic attraction of the first magnet 311 and the second magnet 321. When the first cover 31 and the second cover 32 are in the fully open state, the first magnet 311 on the first cover 31 and the second magnet 321 on the second cover 32 are respectively attached to the opposite sides of the shell 10 by the magnetic force between the first magnet 311 on the first cover 31 and the second magnet 321 on the second cover 32 and the partition 40.

[0121] In one embodiment, to ensure a better and tighter fit between the first cover 31 and the second cover 32 and the housing 10 when fully open, a magnet can be provided on the housing at each contact point with the first cover 31 and the second cover 32. These two magnets are configured to have opposite poles to the first magnet 311 on the first cover 31 and the second magnet 321 on the second cover 32, respectively, to generate a magnetic force that causes the first cover 31 and the second cover 32 to adhere tightly to the housing. It should be noted that the magnets can also be located inside the housing.

[0122] like Figure 9 As shown, when the first cover 31 rotates clockwise and the second cover 32 rotates counterclockwise, the first cover 31 and the second cover 32 change from an open state to a closed state. When the magnetic poles of the first magnet 311 and the second magnet 321 facing each other in the first cover 31 and the second cover 32 are opposite, the first cover 31 and the second cover 32 are attracted together by the magnets, as shown. Figure 10 As shown, at this time, the first cover 31 and the second cover 32 are magnetically attracted and fixed together by the first magnet 311 and the second magnet 321. In this case, the first cover 31 and the second cover 32 are closed, and the pin 20 is accommodated inside the cover 30. Figure 9 As shown, when the first cover 31 rotates counterclockwise and the second cover 32 rotates clockwise, the first cover 31 and the second cover 32 open, exposing the pin 20. When the first cover 31 and the second cover 32 rotate to contact the housing 10, due to the magnetic force between the first magnet 311 on the first cover 31 and the partition 40, and the magnetic force between the second magnet 321 on the second cover 32 and the partition 40, the first cover 31 and the second cover 32 are fixedly attached to the housing 10 by their respective magnetic forces. Figure 4 or Figure 11 In the indicated state, the first cover 31 and the second cover 32 are fully open. At this time, both the first cover 31 and the second cover 32 are open and in contact with the housing 10, respectively, and are fixedly attached to opposite sides of the housing 10 by the magnetic force between the first magnet 311, the second magnet 321, and the partition 40. If the first cover 31 and / or the second cover 32 are not fully open, for example, if the first cover 31 and / or the second cover 32 cannot be fully opened, or if the first cover 31 and / or the second cover 32 falls off, then the first cover 31 and / or the second cover 32 will not be fixedly attached to the housing 10. In other words, if any of these situations occur, it means that the first cover 31 and / or the second cover 32 are not fixedly attached to the housing 10.

[0123] In one exemplary instance, taking the first magnet 311 and the second magnet 321 as both magnets, the first magnetic induction sensor 111 and the second magnetic induction sensor 121 as unipolar Hall sensors, and the partition 40 as an iron sheet as an example, combined with... Figure 12 and Figure 13 As shown, in this embodiment, it is assumed that the unipolar Hall sensor is fixed on the circuit board. Taking a unipolar Hall sensor with a normal high level (referred to as the third level or fifth level in this document) as an example, for the first unipolar Hall sensor 111 located in the north pole magnetic field, that is, the north pole of the first magnet 311 facing the first magnetic induction sensor 111, when the magnetic induction intensity (also called magnetic flux density) applied to the first unipolar Hall sensor 111 is greater than the absolute value of the operating point BOP, the output of the first unipolar Hall sensor 111 changes from the third level to the fourth level (from high level to low level in this embodiment), the output of the first unipolar Hall sensor 111 is turned on, and the output is maintained until the magnetic flux density is lower than the absolute value of the release point BRP, the output of the first unipolar Hall sensor 111 changes from the fourth level to the third level (from low level to high level in this embodiment), and the output of the first unipolar Hall sensor 111 is turned off. In this embodiment, the first unipolar Hall sensor 111 can be placed at a suitable position on the center line of the magnetic pole. For the second magnetic induction sensor 121 located in the South Pole magnetic field, i.e., with the South Pole of the second magnet 321 facing the second magnetic induction sensor 121, when the magnetic induction intensity (also called magnetic flux density) applied to the second unipolar Hall sensor 121 is greater than the operating point BOP, the output of the second unipolar Hall sensor 121 changes from the fifth level to the sixth level (in this embodiment, from high level to low level), the output of the second unipolar Hall sensor 121 is turned on, and the output is maintained until the magnetic flux density is lower than the release point BRP, at which point the output of the second unipolar Hall sensor 121 changes from the sixth level to the fifth level (in this embodiment, from low level to high level), and the output of the second unipolar Hall sensor 121 is turned off. In this embodiment, the second unipolar Hall sensor 121 can be placed at a suitable position on the center line of the magnetic pole.

[0124] Combination Figures 11-13As shown, the position of the first unipolar Hall sensor 111 should be such that when the first cover 31 is fully opened and attached to the housing 10 of the power supply device, the magnetic flux density applied to the first unipolar Hall sensor 111 is greater than the absolute value of BOP. When the first cover 31 is not opened, or the first cover 31 falls off, or the first cover 31 is opened but not fully opened, the magnetic flux density applied to the first unipolar Hall sensor 111 is less than the absolute value of BRP. Similarly, the position of the second unipolar Hall sensor 121 should be such that when the second cover 32 is fully opened and attached to the housing 10 of the power supply device, the magnetic flux density applied to the second unipolar Hall sensor 121 is greater than BOP. When the second cover 32 is not opened, or the second cover 32 falls off, or the second cover 32 is opened but not fully opened, the magnetic flux density applied to the second unipolar Hall sensor 121 is less than BRP. Taking the unipolar Hall sensor of model MT8512 as an example, assuming BOP = 120 Gauss (Gs) and BRP = 90 Gs, and the magnetic flux density applied to the MT8512 unipolar Hall sensor 121 is B, then the magnetic flux density B must satisfy: 2B > 120 Gs, B < 90 Gs. That is to say, the range of the magnetic flux density B applied to the MT8512 unipolar Hall sensor 121 is 60 Gs < B < 90 Gs. That is, the position where the MT8512 unipolar Hall sensor 121 is located must satisfy that the magnetic flux density applied to the MT8512 unipolar Hall sensor 121 is within this range.

[0125] In one embodiment, in order to ensure that the first unipolar Hall sensor 111 / the second unipolar Hall sensor 121 can meet the output requirements, the return value between |BOP| and |BRP| of the first unipolar Hall sensor 111 / the second unipolar Hall sensor 121 cannot be too small. Combining Figures 11-13 As shown, assuming the BOP of the first unipolar Hall sensor 111 is 150 Gs and the magnetic flux density applied to the first unipolar Hall sensor 111 is B, then, in the embodiment of the present application, the magnetic flux density B detected at the position of the first unipolar Hall sensor 111 must satisfy: 2B > 150 Gs, B < BRP. Then, it can be obtained that BRP > 75 Gs. That is to say, BRP must be greater than half of BOP, that is, BRP > BOP / 2 = 75 Gs, to avoid the problem that the first unipolar Hall sensor 111 cannot meet the output requirements at any position on the magnetic pole center line.

[0126] In the embodiment of the present application, as Figure 13As shown, if the first unipolar Hall sensor 111 / second unipolar Hall sensor 121 is moved along the center line of their respective magnetic poles as shown by the dotted line, the appropriate placement position of the first unipolar Hall sensor 111 / second unipolar Hall sensor 121 can be found by adjusting the position of the first unipolar Hall sensor 111 / second unipolar Hall sensor 121, so that the first unipolar Hall sensor 111 / second unipolar Hall sensor 121 can distinguish whether the first cover 31 / second cover 32 is fully open and attached to the housing 10 of the power supply device based on the detected magnetic induction intensity, which is sufficient to distinguish the situation of the cover being fully open, the cover not being fully open, or the cover falling off. In one embodiment, assuming the third level is the normal operating level (which can be high or low) of the first unipolar Hall sensor 111, when the output of the first unipolar Hall sensor 111 changes from the third level to the fourth level, that is, the magnetic induction intensity applied to the first unipolar Hall sensor 111 is greater than the absolute value of the first operating point BOP, the detected magnetic induction intensity meets the preset condition; when the output of the first unipolar Hall sensor 111 changes from the fourth level to the third level, that is, the magnetic induction intensity applied to the first unipolar Hall sensor 111 is less than the absolute value of the first release point BRP, the detected magnetic induction intensity does not meet the preset condition. In one embodiment, assuming the fifth level is the normal operating level (which can be high or low) of the second unipolar Hall sensor 121, when the output of the second unipolar Hall sensor 121 changes from the fifth level to the sixth level, that is, the magnetic induction intensity applied to the second unipolar Hall sensor 121 is greater than the second operating point BOP, the detected magnetic induction intensity meets the preset condition; when the output of the second unipolar Hall sensor 121 changes from the sixth level to the fifth level, that is, the magnetic induction intensity applied to the second unipolar Hall sensor 121 is less than the absolute value of the second release point BRP, the detected magnetic induction intensity does not meet the preset condition.

[0127] In one exemplary embodiment, the first magnetic induction sensor 111 and the second magnetic induction sensor 121 are reed switches, and the partition 40 is an iron sheet. In this embodiment, it is assumed that the reed switch is fixed on the circuit board. A reed switch is a passive electronic switching element with contacts, which has the advantages of simple structure, small size, and easy control. The tube contains two iron elastic reed plates. Normally, the two reeds are separated. When a magnetic material approaches, under the action of the magnetic field lines, the two reeds are magnetized and attract each other, and the reeds will stick together, so that the circuit connected to them is connected; when the external magnetic force disappears, the two reeds separate due to their own elasticity, and the circuit is broken.

[0128] The position of the first clarinet 111 is such that: when the first cover 31 is fully open and attached to the housing 10 of the power supply equipment, the magnetic flux density applied to the first clarinet 111 causes the first clarinet 111 to conduct; when the first cover 31 is not open, or the first cover 31 is detached, or the first cover 31 is open but not fully open, the magnetic flux density applied to the first clarinet 111 causes the first clarinet 111 to disengage. Similarly, the position of the second clarinet 121 is such that: when the second cover 32 is fully open and attached to the housing 10 of the power supply equipment, the magnetic flux density applied to the second clarinet 121 causes the second clarinet 121 to conduct; when the second cover 32 is not open, or the second cover 32 is detached, or the second cover 32 is open but not fully open, the magnetic flux density applied to the second clarinet 121 causes the second clarinet 121 to disengage.

[0129] In one exemplary instance, the first magnetic induction sensor 111 is a first linear Hall sensor 111, the second magnetic induction sensor 121 is a second linear Hall sensor 121, and the partition 40 is an iron sheet. Combined with... Figure 12 and Figure 13 As shown, in this embodiment, assuming the linear Hall sensor is fixed on the circuit board, when the first cover 31 is fully opened, the first cover 31 is fixedly attached to one side of the housing 10 by the magnetic force between the first magnet 311 and the partition 40; when the second cover 32 is fully opened, the second cover 32 is fixedly attached to the other side of the housing 10 by the magnetic force between the second magnet 321 and the partition 40. Thus, the first cover 31 and the second cover 32 are respectively fixedly attached to opposite sides of the housing 10.

[0130] In one exemplary instance, such as Figures 9-11 The power supply device shown, when both the first cover 31 and the second cover 32 are fully opened and attached to the housing 10 of the power supply device, is combined with Figure 12 and Figure 13 As shown, the first magnet 311 on the first cover 31 and the second magnet 321 on the second cover 32 can be located on the same horizontal line. The first linear Hall sensor 111 is placed on one side of the first magnet 311, in the north pole magnetic field (i.e., the north pole of the first magnet 311 faces the first linear Hall sensor 111), and the second linear Hall sensor 121 is placed on one side of the second magnet 321, in the south pole magnetic field (i.e., the south pole of the second magnet 321 faces the second linear Hall sensor 121). An iron sheet 40 is used to isolate the first linear Hall sensor 111 and the second linear Hall sensor 121 from magnetic fields. Figure 13As shown, when the first linear Hall sensor 111 moves along the dashed line, the closer the position of the first linear Hall sensor 111 is to the center of the two magnetic poles, the greater the magnetic flux density applied to the first linear Hall sensor 111, and the smaller the output voltage of the first linear Hall sensor 111. Similarly, when the second linear Hall sensor 121 moves along the dashed line, the closer the position of the second linear Hall sensor 121 is to the center of the two magnetic poles, the greater the magnetic flux density applied to the second linear Hall sensor 121, and the greater the output voltage of the second linear Hall sensor 121. In this embodiment, if the first linear Hall sensor 111 / second linear Hall sensor 121 is moved along the dotted line, the output voltage of the first linear Hall sensor 111 / second linear Hall sensor 121 can be adjusted by adjusting the position of the first linear Hall sensor 111 / second linear Hall sensor 121, thereby finding a suitable placement position for the first linear Hall sensor 111 / second linear Hall sensor 121. This allows the first linear Hall sensor 111 / second linear Hall sensor 121 to distinguish whether the first cover 31 / second cover 32 is fully open and attached to the housing 10 of the power supply device based on the detected magnetic induction intensity. This is sufficient to distinguish between situations such as the cover being fully open, the cover not being fully open, and the cover falling off. In one embodiment, for the first linear Hall sensor 111 located in the North Pole magnetic field, i.e., the North Pole of the first magnet 311 facing the first linear Hall sensor 111, the output voltage corresponding to its placement position is a preset first voltage threshold. When the output voltage of the first linear Hall sensor 111 decreases and reaches the preset first voltage threshold, the detected magnetic flux density satisfies a preset condition; when the output voltage of the first linear Hall sensor 111 is greater than the preset first voltage threshold, the detected magnetic flux density does not satisfy the preset condition. In one embodiment, for the second linear Hall sensor 121 located in the South Pole magnetic field, i.e., the South Pole of the second magnet 321 facing the second linear Hall sensor 121, the output voltage corresponding to its placement position is a preset second voltage threshold. When the output of the second linear Hall sensor 121 increases and reaches the preset second voltage threshold, the detected magnetic flux density satisfies a preset condition; when the output voltage of the second linear Hall sensor 121 is less than the preset second voltage threshold, the detected magnetic flux density does not satisfy the preset condition.

[0131] In one exemplary instance, such as Figure 12 , Figure 13 As shown, when the first magnet 311 and the second magnet 321 are both fully open and attached to the housing 10 of the power supply equipment, the first magnet 311 and the second magnet 321 can be located on the horizontal line of the center of the two magnets. The first linear Hall sensor 111 can be set on the center line of the magnetic pole of the first magnet 311, and the second linear Hall sensor 121 can be set on the center line of the magnetic pole of the second magnet 321.

[0132] It should be noted that the first magnetic induction sensor 111 and the second magnetic induction sensor 121 can be the same sensor or different sensors. In one embodiment, they can be sensors of the same form but with different parameters. For example, they can both be unipolar Hall sensors, but their operating point BOP and release point BRP can be different. Alternatively, they can be sensors of different forms, such as one being a unipolar Hall sensor and the other a reed switch, or one being a linear Hall sensor and the other a unipolar Hall sensor, etc.

[0133] The power supply device provided in this application embodiment detects the state of the cover by detecting the magnetic induction intensity. The power supply device will only turn on when the detected magnetic induction intensity meets the preset conditions, that is, when all covers are open and fixedly attached to the housing of the power supply device, i.e., when all covers are fully open. If the cover is not fixedly attached to the housing, the power supply device will stop working. In this way, the safety hazards of abnormal use of the power supply device are eliminated, the safety hazards such as electric shock are avoided, and the safe use of the power supply device is guaranteed.

[0134] In one exemplary embodiment, this application also provides a method for detecting a cover, applied to a power supply device according to any one of the embodiments of this application, comprising: a magnetic induction sensor disposed inside the power supply device including a first magnetic induction sensor and a second magnetic induction sensor; when the pin of the power supply device is connected to an external device, and the detected first magnetic induction intensity meets a first preset condition and the detected second magnetic induction intensity meets a second preset condition, controlling the circuit board inside the power supply device to be in a state capable of generating an output voltage; wherein, the first magnetic induction intensity is the magnetic induction intensity of the magnetic field generated by a first magnet rotating together with the first cover of the power supply device detected by the first magnetic induction sensor; the second magnetic induction intensity is the magnetic induction intensity of the magnetic field generated by a second magnet rotating together with the second cover of the power supply device detected by the second magnetic induction sensor. In one embodiment, it may further include: when the pin is connected to an external device, and the first magnetic induction intensity does not meet the first preset condition and / or the second magnetic induction intensity does not meet the second preset condition, controlling the circuit board to be in a working state.

[0135] In one embodiment, such as Figure 14 As shown, this application also provides another method for detecting a cover, which may include:

[0136] Step 1400: The first magnetic induction sensor and the second magnetic induction sensor installed inside the power supply equipment respectively detect the magnetic induction intensity of the magnetic field generated by the first magnet and the second magnet that rotate together with the first cover and the second cover of the power supply equipment, and obtain the first magnetic induction intensity and the second magnetic induction intensity.

[0137] In one exemplary instance, the process includes the following steps prior to step 1400:

[0138] A first magnetic induction sensor is positioned appropriately within the power supply equipment so that it can distinguish whether the first cover of the power supply equipment is fully open and adhered to the housing of the power supply equipment based on the detected first magnetic induction intensity. This is sufficient to distinguish between situations such as the first cover being fully open, the first cover not being fully open, and the first cover being detached. Similarly, a second magnetic induction sensor is positioned appropriately within the power supply equipment so that it can distinguish whether the second cover of the power supply equipment is fully open and adhered to the housing of the power supply equipment based on the detected second magnetic induction intensity. This is sufficient to distinguish between situations such as the second cover being fully open, the second cover not being fully open, and the second cover being detached.

[0139] In one exemplary instance, the first cover being fully open means that the first cover is open and securely attached to the housing of the power supply equipment. In one embodiment, the first cover not being fully open, or the first cover falling off, means that the first cover is not securely attached to the housing of the power supply equipment. In one exemplary instance, the second cover being fully open means that the second cover is open and securely attached to the housing of the power supply equipment. In one embodiment, the second cover not being fully open, or the second cover falling off, means that the second cover is not securely attached to the housing of the power supply equipment.

[0140] Step 1401: Determine whether the detected first magnetic induction intensity meets the first preset condition and whether the second magnetic induction intensity meets the second preset condition; if both are met, proceed to step 14021; if one of them is not met, proceed to step 14022.

[0141] In one exemplary instance, this step may also include:

[0142] The first preset condition is determined based on the first magnetic field strength of the magnetic field generated by the first magnet when the first cover is opened and fixedly attached to the shell; the second preset condition is determined based on the second magnetic field strength of the magnetic field generated by the second magnet when the second cover is opened and fixedly attached to the shell.

[0143] The first preset condition is a pre-measured standard used to determine whether the first cover of the power supply device is open and fixedly attached to the housing of the power supply device. In one embodiment, the first preset condition can be determined based on the magnetic induction intensity applied to the first magnetic induction sensor when the first cover of the power supply device is detected to be open and fixedly attached to the housing of the power supply device. The second preset condition is a pre-measured standard used to determine whether the second cover of the power supply device is open and fixedly attached to the housing of the power supply device. In one embodiment, the second preset condition can be determined based on the magnetic induction intensity applied to the second magnetic induction sensor when the second cover of the power supply device is detected to be open and fixedly attached to the housing of the power supply device.

[0144] For example: if the first magnetic sensing element / second magnetic sensing element is a unipolar Hall sensor, the first preset condition / second preset condition can be a single voltage level. If the first magnetic sensing element / second magnetic sensing element is a reed switch, the first preset condition /

[0145] The second preset condition is whether the reed switch itself is on or off. On means the preset condition is met, and off means the preset condition is not met. For the first magnetic sensing element / second magnetic sensing element being a linear Hall sensor, the first preset condition / second preset condition can be a voltage threshold.

[0146] In one exemplary instance, the first magnetic induction sensor is a first unipolar Hall sensor, and the first preset condition is a change from a third level to a fourth level. Then, the first magnetic induction intensity satisfying the first preset condition includes: the output of the first unipolar Hall sensor changing from the third level to the fourth level (e.g., from a high level to a low level), and the first magnetic induction intensity applied to the first unipolar Hall sensor being greater than the absolute value of the first operating point BOP, thus determining that the first magnetic induction intensity satisfies the first preset condition; the first magnetic induction intensity not satisfying the first preset condition includes: the output of the first unipolar Hall sensor changing from the fourth level to the third level (e.g., from a low level to a high level), and the first magnetic induction intensity applied to the first unipolar Hall sensor being less than the absolute value of the first release point BRP, thus determining that the first magnetic induction intensity does not satisfy the first preset condition; wherein, the third level is the normal operating level of the first unipolar Hall sensor.

[0147] In one exemplary instance, the second magnetic induction sensor is a second unipolar Hall sensor, and the second preset condition is a change from a fifth level to a sixth level. Then, the second magnetic induction intensity satisfying the second preset condition includes: the output of the second unipolar Hall sensor changing from the fifth level to the sixth level, and the second magnetic induction intensity applied to the second unipolar Hall sensor being greater than the absolute value of the second operating point BOP, thus determining that the second magnetic induction intensity satisfies the second preset condition. The second magnetic induction intensity not satisfying the second preset condition includes: the output of the second unipolar Hall sensor changing from the sixth level to the fifth level, and the second magnetic induction intensity applied to the second unipolar Hall sensor being less than the absolute value of the second release point BRP, thus determining that the second magnetic induction intensity does not satisfy the second preset condition. Wherein, the fifth level is the normal operating level of the second unipolar Hall sensor.

[0148] In one exemplary instance, the |BOP| and |BRP| of the first unipolar Hall sensor / second unipolar Hall sensor satisfy the following: the absolute value of BRP, |BRP|, must be greater than half the absolute value of BOP, |BOP| (|BOP| / 2), i.e., |BRP|>|BOP| / 2, to avoid the problem that the first unipolar Hall sensor / second unipolar Hall sensor cannot meet the output requirements at any position on the magnetic pole centerline.

[0149] In one exemplary instance, the first magnetic induction sensor is a first reed switch, and the second magnetic induction sensor is a second reed switch. Then, the first magnetic induction intensity satisfying a first preset condition includes: the first reed switch being turned on, determining that the first magnetic induction intensity satisfies the first preset condition; the first magnetic induction intensity not satisfying the preset condition includes: the first reed switch being turned off, determining that the first magnetic induction intensity does not satisfy the first preset condition; the second magnetic induction intensity satisfying a second preset condition includes: the second reed switch being turned on, determining that the second magnetic induction intensity satisfies the second preset condition; the second magnetic induction intensity not satisfying the preset condition includes: the second reed switch being turned off, determining that the second magnetic induction intensity does not satisfy the second preset condition.

[0150] In one exemplary embodiment, the first and second magnetic induction sensors are linear Hall sensors. For a linear Hall sensor located in a north pole magnetic field (i.e., the north pole of a magnet facing a linear Hall sensor, such as the first linear Hall sensor), when the output voltage of the linear Hall sensor decreases and reaches a preset first voltage threshold, the detected first magnetic induction intensity satisfies a first preset condition; when the output voltage of the linear Hall sensor is greater than the preset first voltage threshold, the detected first magnetic induction intensity does not satisfy the first preset condition. For a linear Hall sensor located in a south pole magnetic field (i.e., the south pole of a magnet facing a linear Hall sensor, such as the second linear Hall sensor), when the output voltage of the linear Hall sensor increases and reaches a preset second voltage threshold, the detected second magnetic induction intensity satisfies a second preset condition; when the output voltage of the linear Hall sensor is less than the preset second voltage threshold, the detected second magnetic induction intensity does not satisfy the second preset condition.

[0151] Step 14021: If the detected first magnetic induction intensity meets the first preset condition and the second magnetic induction intensity meets the second preset condition, the circuit board in the power supply device is controlled to be in a state that can generate output voltage so that the power supply device can input or output current.

[0152] If the first magnetic induction intensity detected in step 14022 does not meet the first preset condition and / or the second magnetic induction intensity does not meet the second preset condition, i.e., there is a non-compliance, the circuit board is controlled not to be in working state, so that the power supply equipment cannot work.

[0153] In one exemplary instance, if the detected first magnetic induction intensity meets the first preset condition and the second magnetic induction intensity meets the second preset condition, it means that both the first and second covers are open and firmly attached to the housing of the power supply device, i.e., fully open. The power supply device is ready to enter the working state safely. Only under these circumstances will the circuit board inside the housing of the power supply device be controlled to enter the working state, thereby enabling the power supply device to enter the working state and perform normal charging or discharging operations. If the detected first magnetic induction intensity does not meet the first preset condition or the second magnetic induction intensity does not meet the second preset condition, or if the first magnetic induction intensity does not meet the first preset condition and the second magnetic induction intensity does not meet the second preset condition, it means that the cover is not firmly attached to the housing of the power supply device, the power supply device is not ready to enter the working state safely, the circuit board inside the housing of the power supply device is controlled to stop working, and no current can be input or output. In this case, the power supply device cannot perform charging or discharging operations.

[0154] The cover detection method provided in this application embodiment only activates the power supply equipment when both the detected first and second magnetic induction intensities meet preset conditions—that is, both the first and second covers are open and firmly attached to the housing of the power supply equipment (i.e., fully open). Conversely, if the detected first and / or second magnetic induction intensities do not meet the preset conditions—that is, if the first and / or second covers are not firmly attached to the housing of the power supply equipment—the power supply equipment is not considered ready for operation, and its output will not be activated. This ensures the safe use of the power supply equipment, eliminates safety hazards caused by abnormal use, and avoids potential safety risks such as electric shock. Even if the cover is damaged and cannot be fully opened, or if the cover falls off, the cover detection method provided in this application embodiment will not cause leakage current, effectively preventing electric sparks caused by energizing the power supply and ensuring the safe use of the power supply equipment.

[0155] Although the embodiments disclosed in this application are as described above, the content described is merely for the purpose of understanding this application and is not intended to limit this application. Any person skilled in the art to which this application pertains may make any modifications and changes in the form and details of the implementation without departing from the spirit and scope disclosed in this application; however, the scope of patent protection of this application shall still be determined by the scope defined in the appended claims.

Claims

1. A power supply device, characterized by comprising: The application relates to a power supply device, which comprises a shell, a circuit board arranged in the shell and used for processing an external voltage to obtain an output voltage, a pin protruding from the surface of the shell, a cover connected with the shell and provided with a magnet, the cover being rotatable relative to the shell to have an open state and a closed state, at least part of the structure of the pin being accommodated in the cover in the closed state, the pin being used for connecting with the external device in the open state, the cover comprising a first cover and a second cover, the first cover and the second cover being rotatably connected to the two sides of the shell respectively, the magnet comprising a first magnet and a second magnet, the first magnet being arranged in the first cover and the second magnet being arranged in the second cover, the first magnet and the second magnet being mutually attracted in the closed state of the first cover and the second cover to make the first cover and the second cover fit and be fixed, the first magnet and the second magnet being mutually attracted in the open state of the first cover and the second cover to make the first cover and the second cover respectively fit and be fixed on the opposite sides of the shell, a magnetic induction sensor arranged in the shell and used for detecting the magnetic induction intensity of the magnetic field generated by the magnet, the magnetic induction sensor being a linear Hall sensor, the linear Hall sensor being arranged on a vertical line of the midpoint of a center line, the center line being a same horizontal line of the first magnet and the second magnet, the magnetic induction sensor being a unipolar Hall sensor, the position of the unipolar Hall sensor satisfying that the magnetic induction intensity applied to the unipolar Hall sensor is greater than the magnetic induction intensity corresponding to a working point BOP when the magnetic induction intensity satisfies a preset condition, and the magnetic induction intensity applied to the unipolar Hall sensor is less than the magnetic induction intensity corresponding to a release point BRP when the magnetic induction intensity does not satisfy the preset condition, the magnetic induction intensity corresponding to the release point BRP being greater than half of the magnetic induction intensity corresponding to the working point BOP, a control module electrically connected with the magnetic induction sensor and the circuit board, the control module being used for controlling the circuit board to be in a state capable of generating the output voltage when the pin is connected with the external device and the magnetic induction intensity satisfies the preset condition, and the control module being used for controlling the circuit board not to be in a working state when the pin is connected with the external device and the magnetic induction intensity does not satisfy the preset condition, wherein the preset condition is determined by the magnetic induction intensity measured when the cover is in a completely open and fixedly fitted state relative to the shell. The magnetic induction sensor is arranged at the midpoint of the center line. The power supply device further comprises a partition plate used for magnetic isolation. The magnetic induction sensor comprises: a first magnetic induction sensor electrically connected with the control module and used for detecting the first magnetic induction intensity of the magnetic field generated by the first magnet, a second magnetic induction sensor electrically connected with the control module and used for detecting the second magnetic induction intensity of the magnetic field generated by the second magnet. ​ 2. The power supply device according to claim 1, wherein ​ 3. The power supply device according to claim 1, wherein ​ ​ ​ ​ The partition plate is arranged between the first magnetic induction sensor and the second magnetic induction sensor. The control module is configured to control the circuit board to be in a state of being able to generate the output voltage when the first magnetic induction intensity satisfies a first preset condition and the second magnetic induction intensity satisfies a second preset condition.

4. The power supply device according to claim 3, wherein The control module is further configured to control the circuit board to be in a non-working state when the first magnetic induction intensity does not satisfy the first preset condition and / or the second magnetic induction intensity does not satisfy the second preset condition.

5. The power supply device according to claim 3, wherein When the first cover body and the second cover body are in the open state, the first magnet and the partition plate are magnetically attracted to each other, and the second magnet and the partition plate are magnetically attracted to each other.

6. The power supply device according to claim 5, wherein The first magnetic induction sensor is a first unipolar Hall sensor, and the second magnetic induction sensor is a second unipolar Hall sensor. The first unipolar Hall sensor is arranged at a position that satisfies: when the first magnetic induction intensity satisfies a first preset condition, a first magnetic induction intensity applied to the first unipolar Hall sensor is greater than an absolute value of a magnetic induction intensity corresponding to a first working point BOP; and when the first magnetic induction intensity does not satisfy the first preset condition, the first magnetic induction intensity applied to the first unipolar Hall sensor is less than an absolute value of a magnetic induction intensity corresponding to a first release point BRP. The second unipolar Hall sensor is arranged at a position that satisfies: when the second magnetic induction intensity satisfies a first preset condition, a second magnetic induction intensity applied to the second unipolar Hall sensor is greater than an absolute value of a magnetic induction intensity corresponding to a second working point BOP; and when the second magnetic induction intensity does not satisfy the first preset condition, the second magnetic induction intensity applied to the second unipolar Hall sensor is less than an absolute value of a magnetic induction intensity corresponding to a second release point BRP.

7. The power supply device according to claim 6, wherein An absolute value of a magnetic induction intensity corresponding to the first release point BRP1 is greater than half of an absolute value of a magnetic induction intensity corresponding to the first working point BOP1. An absolute value of a magnetic induction intensity corresponding to the second release point BRP2 is greater than half of an absolute value of a magnetic induction intensity corresponding to the second working point BOP2.

8. The power supply device according to claim 5, wherein The first magnetic induction sensor is a first linear Hall sensor, and the second magnetic induction sensor is a second linear Hall sensor. The first linear Hall sensor and the second linear Hall sensor are both arranged on a magnetic pole center line. The magnetic pole center line is a same horizontal line on which the first magnet and the second magnet are arranged.

9. The power supply device according to claim 3, wherein The first magnetic induction sensor is one of a unipolar Hall sensor, a reed switch, and a linear Hall sensor. The second magnetic induction sensor is one of a unipolar Hall sensor, a reed switch, and a linear Hall sensor.

10. A cap detection method characterized by comprising: The method is applied to a power supply device. When the pin of the power supply device is connected with an external device and the detected magnetic induction intensity meets a preset condition, the circuit board in the power supply device is controlled to be in a state capable of generating an output voltage; when the pin is connected with the external device and the magnetic induction intensity does not meet the preset condition, the circuit board is controlled not to be in a working state; wherein the preset condition is determined by the magnetic induction intensity measured when the cover is completely opened and fixedly attached to the shell; The magnetic induction intensity is the magnetic induction intensity of the magnetic field generated by a magnet rotating together with a cover of the power supply device, which is detected by a magnetic induction sensor arranged inside the power supply device; wherein the power supply device comprises a shell, the circuit board is arranged in the shell and is used for processing a voltage provided by an external device to obtain an output voltage; the cover is connected with the shell, the magnet is arranged in the cover, and the cover can rotate relative to the shell to have an open state and a closed state; in the closed state, at least part of the structure of the pin is accommodated in the cover, and in the open state, the pin can be used to connect with the external device.

11. The method of claim 10, wherein, The magnetic induction sensor arranged inside the power supply device comprises a first magnetic induction sensor and a second magnetic induction sensor: The detected magnetic induction intensity meets a preset condition, which comprises: The detected first magnetic induction intensity meets a first preset condition and the detected second magnetic induction intensity meets a second preset condition; The first magnetic induction intensity is the magnetic induction intensity of the magnetic field generated by a first magnet rotating together with a first cover of the power supply device, which is detected by the first magnetic induction sensor; and the second magnetic induction intensity is the magnetic induction intensity of the magnetic field generated by a second magnet rotating together with a second cover of the power supply device, which is detected by the second magnetic induction sensor.

12. The method of claim 11, wherein, The method further comprises: When the pin is connected with the external device, the first magnetic induction intensity does not meet the first preset condition and / or the second magnetic induction intensity does not meet the second preset condition, the circuit board is controlled not to be in a working state.

Citation Information

Patent Citations

  • Mobile power supply automatic startup / shutdown device

    CN203070028U

  • Power adapter

    CN212063813U