First plug and connector
By integrating a power circuit and a photosensitive control module into the charging plug, the problem of difficult plug insertion in dark environments is solved, enabling automatic lighting-assisted insertion and improving the user's charging convenience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- NINE INTELLIGENT CHANGZHOU TECH CO LTD
- Filing Date
- 2025-07-18
- Publication Date
- 2026-07-21
AI Technical Summary
In dark environments, it is difficult to align the plug of the charging cable with the socket of the device, resulting in inconvenience and easy failure to plug in. Existing technology requires the use of an external light source for illumination, which is cumbersome.
The charging plug integrates a power circuit, a photosensitive control module, and a lighting module. The power circuit outputs voltage when the plug is not connected, and the photosensitive control module supplies power to the lighting module when the ambient light is insufficient, providing automatic lighting until the plug is successfully connected and the lighting stops.
It enables automatic plug-in guidance for users in dark environments without the need for additional light sources, improving the accuracy of plug insertion and the convenience of charging.
Smart Images

Figure CN224537546U_ABST
Abstract
Description
Technical Field
[0001] This application relates to charging equipment technology, and more particularly to a first plug and connector. Background Technology
[0002] When charging electrical equipment in a dark environment, the insufficient ambient light makes it difficult for users to align the charging cable plug with the equipment's socket, leading to inconvenience or even connection failure.
[0003] In existing technologies, users need to use external light sources for illumination. For example, indoor users can turn on indoor lights for illumination, and outdoor users can use mobile phones or flashlights for illumination. However, this method is relatively cumbersome. Utility Model Content
[0004] This application provides a first plug and connector for providing effective illumination in dark environments and improving plug alignment efficiency.
[0005] On one hand, embodiments of this application provide a first plug, including: a plug-in body; wherein, the plug-in body is provided with a power supply circuit, a photosensitive control module, and a lighting module;
[0006] The power supply circuit is used to output a first voltage when it receives a power supply voltage and detects that the first plug is not in a connected state;
[0007] The power supply terminal of the photosensitive control module is connected to the power supply circuit, and is used to supply power to the lighting module based on the first voltage when the first voltage is received and the ambient light intensity is detected to be lower than a preset threshold, so that the lighting module can perform illumination.
[0008] Optionally, the power supply circuit includes: a power management module and a voltage conversion module; wherein,
[0009] The output terminal of the power management module is connected to the input terminal of the voltage conversion module. The power management module is used to output the power supply voltage when it receives the power supply voltage and detects that the first plug is not connected.
[0010] The output terminal of the voltage conversion module is connected to the photosensitive control module, and the voltage conversion module is used to convert the power supply voltage into a first voltage.
[0011] Optionally, the power management module includes: a controller, a first switching transistor, a second switching transistor, a first resistor, a second resistor, and a third resistor; wherein,
[0012] One end of the first resistor and the input terminal of the first switch receive the supply voltage. The other end of the first resistor and one end of the second resistor are connected to the input terminal of the second switch. The output terminal of the first switch is connected to the input terminal of the voltage conversion module. The control terminal of the first switch is connected to the other end of the second resistor. The output terminal of the controller is connected to one end of the third resistor. The other end of the third resistor is connected to the control terminal of the second switch. The output terminal of the second switch is grounded.
[0013] The controller is used to output a corresponding level signal according to the connection status of the first plug.
[0014] Optionally, the voltage conversion module includes: a conversion chip;
[0015] The input terminal of the conversion chip is used to receive the power supply voltage, and the output terminal of the conversion chip is used to output the first voltage.
[0016] Optionally, both the input and output terminals of the conversion chip are equipped with filter capacitors.
[0017] Optionally, the input terminal of the lighting module is used to receive the first voltage;
[0018] The photosensitive control module is specifically used to turn on the lighting path of the lighting module when the ambient light intensity is lower than a preset threshold, and to turn off the lighting path of the lighting module when the ambient light intensity is not lower than the preset threshold.
[0019] Optionally, the photosensitive control module includes: a photoresistor, a control unit, and a third switching transistor;
[0020] The input terminal of the control unit is connected to the photoresistor, the power supply terminal of the control unit is connected to the power supply circuit, and the output terminal of the control unit is connected to the control terminal of the third switch transistor; the input terminal of the third switch transistor is connected to the output terminal of the lighting module, and the output terminal of the third switch transistor is grounded.
[0021] The control unit is used to control the third switch to turn off when the resistance of the photoresistor is not higher than the preset resistance value, and to control the third switch to turn on when the resistance of the photoresistor is higher than the preset resistance value.
[0022] Optionally, the control unit includes: a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, and an operational amplifier;
[0023] The power supply terminal of the operational amplifier receives the first voltage;
[0024] One end of the fourth resistor receives the first voltage, and the other end of the fourth resistor is connected to the positive input terminal of the operational amplifier.
[0025] One end of the photoresistor is grounded, and the other end of the photoresistor is connected to the positive input terminal of the operational amplifier.
[0026] One end of the fifth resistor receives the first voltage, and the other end of the fourth resistor is connected to the negative input terminal of the operational amplifier.
[0027] One end of the sixth resistor is grounded, and the other end of the fourth resistor is connected to the negative input terminal of the operational amplifier.
[0028] One end of the seventh resistor receives the first voltage, and the other end of the seventh resistor is connected to the input terminal of the lighting module;
[0029] One end of the eighth resistor is connected to the output terminal of the operational amplifier, and the other end of the eighth resistor is connected to the control terminal of the third switch.
[0030] Optionally, the power supply circuit is specifically used for:
[0031] Determine whether the first plug is in a connected state based on whether the first plug is connected to the electrical equipment.
[0032] Alternatively, the connection status of the first plug can be determined based on whether the charging module connected to the first plug is in a charging state.
[0033] On the other hand, embodiments of this application provide a connector, wherein a first plug and a second plug are respectively provided at both ends of the connector; the first plug and the second plug are connected by a cable.
[0034] The first plug and connector provided in this application offer an integrated lighting solution for the charging plug. The first plug incorporates a power circuit, a photosensitive control module, and a lighting module. The power circuit outputs a first voltage when it receives a supply voltage and the first plug is not connected. The photosensitive control module, upon receiving the first voltage and when the ambient light intensity is below a preset threshold, supplies power to the lighting module based on the first voltage. Thus, in a dark environment, when the user aligns the first plug with the electrical device for insertion, the lighting module automatically provides illumination and stops after insertion, improving plug alignment efficiency and eliminating the need for additional lighting tools, thereby enhancing the convenience of charging. Attached Figure Description
[0035] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0036] Figure 1 The circuit diagram of the first plug provided in an embodiment of this application is shown in the figure below;
[0037] Figure 2 The diagram above exemplarily illustrates the structure of the first plug provided in an embodiment of this application;
[0038] Figure 3 The example shown in the middle Figure 2 A structural schematic diagram of the first plug from another angle;
[0039] Figure 4 The example shown in the middle Figure 2 A structural diagram of the first plug at another angle;
[0040] Figure 5 The diagram above exemplarily illustrates the structure of a power management module provided in an embodiment of this application;
[0041] Figure 6 The diagram above exemplarily illustrates the structure of a voltage conversion module provided in an embodiment of this application;
[0042] Figure 7 The diagram above exemplarily illustrates the structure of a voltage conversion module provided in an embodiment of this application;
[0043] Figure 8 The diagram above exemplarily illustrates the structure of the connector provided in an embodiment of this application;
[0044] Figure 9 The diagram above exemplarily illustrates the structure of an electronic device provided in an embodiment of this application.
[0045] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0046] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0047] In this application, a module refers to a functional module or a logical module. It can be in software form, where its function is implemented by a processor executing program code; or it can be in hardware form. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "OR" relationship.
[0048] When charging electrical equipment in a dark environment, the insufficient ambient light makes it difficult for users to align the charging cable plug with the equipment's socket, leading to inconvenience or even connection failure.
[0049] In existing technologies, users need to use external light sources for illumination. For example, indoor users can turn on indoor lights for illumination, and outdoor users can use mobile phones or flashlights for illumination. However, this method is relatively cumbersome.
[0050] In some other existing technologies, reflective signs can be placed on the outside of electrical equipment for illumination, so that users do not need to carry external light sources. However, reflective signs cannot provide effective illumination in completely dark scenes.
[0051] To solve the above-mentioned technical problems, this application embodiment provides a lighting module on the plug. This lighting module can enter the lighting state when there is insufficient light in a dark environment, thereby providing a lighting solution integrated with the charging plug, which can accurately and reliably provide lighting when the user is charging.
[0052] The technical solutions of this application are illustrated below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments.
[0053] Figure 1 This is a circuit diagram of the first plug provided in an embodiment of this application. Figure 1 As shown, the first plug 1 provided in this embodiment may include: a plug-in body 10; wherein, the plug-in body 10 is provided with a power circuit 110, a photosensitive control module 120 and a lighting module 130;
[0054] The power supply circuit 110 is used to output a first voltage when it receives a power supply voltage and detects that the first plug 1 is not in a connected state;
[0055] The power supply terminal of the photosensitive control module 120 is connected to the power supply circuit 110. When it receives a first voltage and detects that the ambient light intensity is lower than a preset threshold, it supplies power to the lighting module 130 based on the first voltage so that the lighting module 130 can provide illumination.
[0056] In its implementation, the user can use the connector to charge the electrical device. The connector includes a first plug 1 and a second plug. The first plug 1 can be connected to the electrical device through the plug body 10, and the second plug is used to connect to the power supply. In practical applications, the second plug is often kept connected to the power supply. Therefore, providing effective lighting when the user connects the first plug 1 to the electrical device is key to enabling lighting when the user is charging at night.
[0057] The power supply circuit 110 can charge the lighting module 130 using the power supply of the device without the need for an additional battery or other power source. When the second plug is not connected to the power supply, the power supply circuit 110 does not receive a power supply voltage and cannot supply power to the lighting module 130, so the lighting module 130 does not illuminate. When the second plug is connected to the power supply, the power supply circuit 110 receives a power supply voltage. The power supply circuit 110 detects the connection status of the first plug 1. When the power supply circuit 110 receives a power supply voltage, if it detects that the first plug 1 is not connected, the power supply circuit 110 outputs a first voltage to the photosensitive control module 120, which is used to supply power to the lighting module 130; if it detects that the first plug 1 is connected, the device is already connected to the power supply through the connector, and no lighting is needed. The power supply circuit 110 does not output the first voltage to the photosensitive control module 120, and the lighting module 130 does not illuminate.
[0058] The power supply terminal of the photosensitive control module 120 is connected to the power supply circuit 110. When it receives a first voltage and detects that the ambient light intensity is lower than a preset threshold, it supplies power to the lighting module 130 based on the first voltage so that the lighting module 130 can provide illumination.
[0059] For example, Figure 2 This is a schematic diagram of the structure of the first plug provided in an embodiment of this application. Figure 3 for Figure 2 A schematic diagram of the structure of the first plug from another angle. Figure 4 for Figure 2 A structural diagram of the first plug at another angle. (See diagram below.) Figure 2 , Figure 3 , Figure 4 As shown, the photosensitive part of the photosensitive control module 120 can be disposed on the outer surface of the plug-in body 10 of the first plug 1, thereby effectively acquiring ambient light and controlling the lighting module 130 to illuminate or not illuminate based on the intensity of the ambient light. The lighting module 130 can be disposed on the side of the plug-in body 10 where the prongs are located. When the user picks up the first plug 1 at night and aligns it with the socket of the electrical device, the lighting module 130 can emit light towards the electrical device, effectively providing illumination for the user.
[0060] This embodiment provides a lighting solution integrated with a charging plug. A power circuit, a photosensitive control module, and a lighting module are set in the first plug. When the power circuit receives the supply voltage and the first plug is not in a connected state, it outputs a first voltage. When the photosensitive control module receives the first voltage and the ambient light intensity is lower than a preset threshold, it supplies power to the lighting module based on the first voltage. Thus, in a dark environment, when the user aligns the first plug with the electrical device for insertion, the lighting module can automatically provide lighting for the user and stop lighting after the user completes the insertion, improving the plug alignment efficiency and eliminating the need for the user to use additional lighting tools, thereby improving the convenience of charging.
[0061] In other embodiments, users can also use a charging device to charge the electrical device. The charging device includes a first plug 1 and a battery module. The first plug 1 can be connected to the electrical device via a plug-in body 10, and the battery module provides power. After the user connects the first plug 1 to the electrical device, the battery module can charge the electrical device.
[0062] In one possible implementation, the power supply circuit 110 is specifically used for:
[0063] Determine whether the first plug 1 is in a connected state based on whether the first plug 1 is connected to the electrical equipment;
[0064] Alternatively, the connection status of the first plug 1 can be determined based on whether the charging module connected to the first plug 1 is in a charging state.
[0065] In a specific implementation, the power supply circuit 110 can determine whether the first plug 1 is connected to the electrical equipment through a mechanical structure, thereby determining whether the first plug is in a connected state; the power supply circuit 110 can also determine whether the charging module is in a charging state and whether the plug is in a connected state based on whether the charging module connected to the first plug 1 is connected or whether there is a charging current in the first plug 1.
[0066] like Figure 1 As shown, in some embodiments, the power supply circuit 110 includes: a power management module 111 and a voltage conversion module 112; wherein,
[0067] The output terminal of the power management module 111 is connected to the input terminal of the voltage conversion module 112. The power management module 111 is used to output the power supply voltage when it receives the power supply voltage and detects that the plug is not connected.
[0068] The output of the voltage conversion module 112 is connected to the photosensitive control module 120. The voltage conversion module 112 is used to convert the power supply voltage into a first voltage.
[0069] In a specific implementation, since the power of the lighting module 130 may be relatively small, the supply voltage cannot be used directly to power the lighting module 130. Instead, the supply voltage can be converted into a lower first voltage by the voltage conversion module 112, so that the first voltage can be used to power the lighting module 130.
[0070] Figure 5 This is a schematic diagram of the power management module provided in an embodiment of this application. Figure 5 As shown, in some embodiments, the power management module 111 includes: a controller, a first switching transistor Q2, a second switching transistor Q3, a first resistor R6, a second resistor R7, and a third resistor R8; wherein,
[0071] One end of the first resistor R6 and the input terminal of the first switch Q2 receive the supply voltage Ua. The other end of the first resistor R6 and one end of the second resistor R7 are connected to the input terminal of the second switch Q3. The output terminal of the first switch Q2 is connected to the input terminal of the voltage conversion module 112. The control terminal of the first switch Q2 is connected to the other end of the second resistor R7. The output terminal of the controller is connected to one end of the third resistor R8. The other end of the third resistor R8 is connected to the control terminal of the second switch Q3. The output terminal of the second switch Q3 is grounded.
[0072] The controller is used to output a corresponding level signal based on the connection status of the plug.
[0073] In a specific implementation, the controller can output a corresponding level signal based on the connection status of the first plug 1, causing the second switch Q3 to turn on or off, thereby changing the control terminal voltage of the first switch Q2, causing the first switch Q2 to turn on or off. When the first switch Q2 is on, the voltage Ub output from the output terminal of the first switch Q2 to the voltage conversion module 112 is Ua; when the first switch Q2 is off, the voltage Ub output from the output terminal of the first switch Q2 to the voltage conversion module 112 is 0.
[0074] In one possible implementation, the first switch Q2 can be turned on at a low voltage, and the second switch Q3 can be turned on at a high voltage. When the first plug 1 is connected, the controller can output a high-level signal, turning on the second switch Q3, pulling down the control terminal voltage of the first switch Q2, turning on the first switch Q2, and outputting a supply voltage to the voltage conversion module 112. Conversely, when the first plug 1 is disconnected, the controller can output both high and low-level signals, turning off the second switch Q3, setting the control terminal voltage of the first switch Q2 to a high level, turning off the first switch Q2, and not outputting a supply voltage to the voltage conversion module 112.
[0075] For example, the controller can be a microcontroller unit (MCU).
[0076] For example, the first switch Q2 can be a PMOS transistor, and the second switch Q3 can be an NPN transistor.
[0077] When the second switch Q3 is turned on, the voltage at the control terminal of the first switch Q2 is pulled low.
[0078] Figure 6 This is a schematic diagram of the voltage conversion module provided in an embodiment of this application. Figure 6 As shown, in some embodiments, the voltage conversion module 112 includes: a conversion chip U2;
[0079] The input terminal Vin of the conversion chip U2 is used to receive the power supply voltage, and the output terminal Vout of the conversion chip is used to output the first voltage.
[0080] In the specific implementation, the input terminal Vin of the conversion chip U2 receives the voltage Ub output by the power management module 111. When Ub = Ua, the conversion chip U2 steps down Ub and outputs the resulting first voltage Uc.
[0081] In one possible implementation, both the input terminal Vin and the output terminal Vout of the conversion chip U2 are equipped with filter capacitors. These filter capacitors smooth the input and output of the conversion chip U2, suppressing noise and effectively improving the power supply quality to the lighting module 130, thereby enhancing the reliability of the lighting provided by the lighting module 130.
[0082] For example, such as Figure 6 As shown, one end of the first filter capacitor C1 is connected to the input terminal Vin of the conversion chip U2, and the other end of the first filter capacitor C1 is grounded; one end of the second filter capacitor C2 and the third filter capacitor C16 are connected to the output terminal Vout of the conversion chip U2, and the other end of the second filter capacitor C2 and the third filter capacitor C16 is grounded.
[0083] In some embodiments, the input terminal of the lighting module 130 is used to receive a first voltage;
[0084] The photosensitive control module 120 is specifically used to turn on the lighting path of the lighting module 130 when the ambient light intensity is lower than a preset threshold, and to turn off the lighting path of the lighting module 130 when the ambient light intensity is not lower than the preset threshold.
[0085] In a specific implementation, the photosensitive control module 120 can disconnect the lighting path of the lighting module 130 when the ambient light intensity is not lower than a preset threshold, so that the lighting module 130 does not illuminate; and when the ambient light intensity is lower than the preset threshold, it can turn on the lighting path of the lighting module 130, so that the lighting module 130 illuminates based on the power supply of the first voltage.
[0086] Figure 7 This is a schematic diagram of the voltage conversion module provided in an embodiment of this application. Figure 7 As shown, in one possible implementation, the photosensitive control module 120 includes: a photoresistor R4, a control unit 121, and a third switch Q1;
[0087] The input terminal of the control unit 121 is connected to the photoresistor R4, the power supply terminal of the control unit 121 is connected to the power supply circuit 110, and the output terminal of the control unit 121 is connected to the control terminal of the third switch Q1; the input terminal of the third switch Q1 is connected to the output terminal of the lighting module 130, and the output terminal of the third switch Q1 is grounded.
[0088] The control unit 121 is used to control the third switch Q1 to turn off when the resistance of the photoresistor R4 is lower than the preset resistance value, and to control the third switch Q1 to turn on when the resistance of the photoresistor R4 is not lower than the preset resistance value.
[0089] In the specific implementation, the resistance of the photoresistor R4 depends on the change in incident light intensity. As the incident light intensity increases, the resistance of the photoresistor R4 decreases; conversely, as the incident light intensity decreases, the resistance of the photoresistor R4 increases. The control unit 121 can determine the intensity of the ambient light based on the resistance of the photoresistor R4, and thus output a corresponding high-level or low-level signal to the control terminal of the third switch Q1 to control the third switch Q1 to turn on or off. When the control unit 121 receives the first voltage, if the resistance of the photoresistor R4 is lower than a preset resistance value, it indicates that the ambient light intensity is not lower than a preset threshold. Therefore, the control unit 121 controls the third switch Q1 to turn off, thereby disconnecting the lighting path of the lighting module 130, and the lighting module 130 does not illuminate. If the resistance of the photoresistor R4 is not lower than the preset resistance value, it indicates that the ambient light intensity is lower than a preset threshold. Therefore, the control unit 121 controls the third switch Q1 to turn on, thereby connecting the lighting path of the lighting module 130, and the lighting module 130 illuminates.
[0090] For example, the lighting module 130 may include an LED lamp D1.
[0091] like Figure 7 As shown, the control unit 121 includes: a fourth resistor R37, a fifth resistor R2, a sixth resistor R5, a seventh resistor R1, an eighth resistor R3, and an operational amplifier U1;
[0092] The power supply terminal of operational amplifier U1 receives the first voltage;
[0093] One end of the fourth resistor R37 receives the first voltage, and the other end of the fourth resistor R37 is connected to the positive input terminal of the operational amplifier U1.
[0094] One end of the photoresistor R4 is grounded, and the other end of the photoresistor R45 is connected to the positive input terminal of the operational amplifier U1.
[0095] One end of the fifth resistor R2 receives the first voltage, and the other end of the fifth resistor R2 is connected to the negative input terminal of the operational amplifier U1;
[0096] One end of the sixth resistor R5 is grounded, and the other end of the sixth resistor R5 is connected to the negative input terminal of the operational amplifier U1.
[0097] One end of the seventh resistor R1 receives the first voltage, and the other end of the seventh resistor R1 is connected to the input terminal of the lighting module 130;
[0098] One end of the eighth resistor R3 is connected to the output terminal of the operational amplifier U1, and the other end of the eighth resistor R3 is connected to the control terminal of the third switch Q1.
[0099] In the specific implementation, the fourth resistor R37 and the photoresistor R4 are connected in series between the first voltage and ground. Therefore, the fourth resistor R37 and the photoresistor R4 will perform a voltage divider. When the incident light intensity increases, the resistance of the photoresistor R4 decreases, the voltage divided by the fourth resistor R37 increases, and the voltage at the positive input terminal of the operational amplifier U1 increases; when the incident light weakens, the resistance of the photoresistor R4 increases, the voltage divided by the fourth resistor R37 decreases, and the voltage at the positive input terminal of the operational amplifier U1 decreases. Similarly, the fifth resistor R2 and the sixth resistor R5 will also perform a voltage divider, but the magnitude of the voltage divided by the fifth resistor R2 and the sixth resistor R5 remains constant. Therefore, the operational amplifier U1 can compare the voltage difference between the positive and negative input terminals to determine the resistance of the photoresistor R4, thereby outputting the corresponding level signal to control the third switch Q1 to turn on or off.
[0100] When the voltage difference between the positive and negative input terminals is greater than the preset voltage difference, it can be determined that the resistance of the photoresistor R4 is higher than the preset resistance. At this time, the ambient light intensity is lower than the preset threshold, and the operational amplifier U1 controls the third switch Q1 to turn on. When the voltage difference between the positive and negative input terminals is not greater than the preset voltage difference, it can be determined that the resistance of the photoresistor R4 is not higher than the preset resistance. At this time, the ambient light intensity is not lower than the preset threshold, and the operational amplifier U1 controls the third switch Q1 to turn off.
[0101] For example, the third switch Q1 can be turned on at a high level. When the voltage difference between the positive and negative input terminals is greater than a preset voltage difference, the operational amplifier U1 outputs a high-level signal, and when the voltage difference between the positive and negative input terminals is not greater than the preset voltage difference, it outputs a low-level signal.
[0102] Figure 8 This is a schematic diagram of the connector provided in an embodiment of this application. Figure 8 As shown, this application embodiment also provides a connector 2, with a first plug 1 and a second plug 20 respectively provided at both ends; the first plug 1 and the second plug 20 are connected by a cable.
[0103] In its implementation, the user can use connector 2 to charge the electrical device. Connector 2 includes a first plug 1 and a second plug 20. The first plug 1 can be connected to the electrical device through the plug body 10, and the second plug 20 is used to connect to the power supply. The first plug 1 and the second plug 20 are connected by a cable.
[0104] The connector 2 may also be equipped with a charging module, which is used to convert the voltage of the power supply and use the converted power to supply power to the electrical equipment.
[0105] In one possible implementation, the electrical device can be an electric vehicle, the connector 2 can be an electric vehicle charger, the first plug 1 is used to connect to a socket on the electric vehicle, and the second plug 20 is used to connect to a power supply. When a user charges the electric vehicle in a dark environment, the lighting module 130 on the first plug 1 can automatically illuminate while aligning the first plug 1 with the socket on the electric vehicle, allowing the user to easily plug in the first plug 1 without needing to carry additional lighting equipment, greatly improving the convenience of charging in dark environments.
[0106] Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. The electronic device can be a controller as described above. Figure 9 As shown, the electronic device includes:
[0107] The electronic device includes a processor 291 and a memory 292; it may also include a communication interface 293 and a bus 294. The processor 291, memory 292, and communication interface 293 can communicate with each other via the bus 294. The communication interface 293 can be used for information transmission. The processor 291 can invoke logical instructions stored in the memory 292 to execute the methods of the above embodiments.
[0108] Furthermore, the logic instructions in the aforementioned memory 292 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium.
[0109] The memory 292, as a computer-readable storage medium, can be used to store software programs and computer-executable programs, such as program instructions / modules corresponding to the methods in the embodiments of this application. The processor 291 executes functional applications and data processing by running the software programs, instructions, and modules stored in the memory 292, thereby implementing the methods in the above-described method embodiments.
[0110] The memory 292 may include a program storage area and a data storage area. The program storage area may store the operating system and application programs required for at least one function; the data storage area may store data created based on the use of the terminal device. Furthermore, the memory 292 may include high-speed random access memory and may also include non-volatile memory.
[0111] This application provides a non-transitory computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the methods described in the foregoing embodiments.
[0112] This application provides a computer program product, including a computer program that, when executed by a processor, implements the methods provided in any of the embodiments described above.
[0113] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the utility models disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.
[0114] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.
Claims
1. A first plug, characterized in that, include: The plug-in main body is provided with a power supply circuit, a photosensitive control module, and an illumination module. The power supply circuit is used to output a first voltage when it receives a power supply voltage and detects that the first plug is not in a connected state; The power supply terminal of the photosensitive control module is connected to the power supply circuit, and is used to supply power to the lighting module based on the first voltage when the first voltage is received and the ambient light intensity is detected to be lower than a preset threshold, so that the lighting module can perform illumination.
2. The plug according to claim 1, characterized in that, The power supply circuit includes: a power management module and a voltage conversion module; wherein, The output terminal of the power management module is connected to the input terminal of the voltage conversion module. The power management module is used to output the power supply voltage when it receives the power supply voltage and detects that the first plug is not connected. The output terminal of the voltage conversion module is connected to the photosensitive control module, and the voltage conversion module is used to convert the power supply voltage into a first voltage.
3. The plug according to claim 2, characterized in that, The power management module includes: a controller, a first switching transistor, a second switching transistor, a first resistor, a second resistor, and a third resistor; wherein, One end of the first resistor and the input terminal of the first switch receive the supply voltage. The other end of the first resistor and one end of the second resistor are connected to the input terminal of the second switch. The output terminal of the first switch is connected to the input terminal of the voltage conversion module. The control terminal of the first switch is connected to the other end of the second resistor. The output terminal of the controller is connected to one end of the third resistor. The other end of the third resistor is connected to the control terminal of the second switch. The output terminal of the second switch is grounded. The controller is used to output a corresponding level signal according to the connection status of the first plug.
4. The plug according to claim 3, characterized in that, The voltage conversion module includes: a conversion chip; The input terminal of the conversion chip is used to receive the power supply voltage, and the output terminal of the conversion chip is used to output the first voltage.
5. The plug according to claim 4, characterized in that, The conversion chip is equipped with filter capacitors at both its input and output terminals.
6. The plug according to claim 1, characterized in that, The input terminal of the lighting module is used to receive the first voltage; The photosensitive control module is specifically used to turn on the lighting path of the lighting module when the ambient light intensity is lower than a preset threshold, and to turn off the lighting path of the lighting module when the ambient light intensity is not lower than the preset threshold.
7. The plug according to claim 6, characterized in that, The photosensitive control module includes: a photoresistor, a control unit, and a third switching transistor; The input terminal of the control unit is connected to the photoresistor, the power supply terminal of the control unit is connected to the power supply circuit, and the output terminal of the control unit is connected to the control terminal of the third switch transistor; the input terminal of the third switch transistor is connected to the output terminal of the lighting module, and the output terminal of the third switch transistor is grounded. The control unit is used to control the third switch to turn off when the resistance of the photoresistor is not higher than the preset resistance value, and to control the third switch to turn on when the resistance of the photoresistor is higher than the preset resistance value.
8. The plug according to claim 7, characterized in that, The control unit includes: a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, and an operational amplifier; The power supply terminal of the operational amplifier receives the first voltage; One end of the fourth resistor receives the first voltage, and the other end of the fourth resistor is connected to the positive input terminal of the operational amplifier. One end of the photoresistor is grounded, and the other end of the photoresistor is connected to the positive input terminal of the operational amplifier. One end of the fifth resistor receives the first voltage, and the other end of the fourth resistor is connected to the negative input terminal of the operational amplifier. One end of the sixth resistor is grounded, and the other end of the fourth resistor is connected to the negative input terminal of the operational amplifier. One end of the seventh resistor receives the first voltage, and the other end of the seventh resistor is connected to the input terminal of the lighting module; One end of the eighth resistor is connected to the output terminal of the operational amplifier, and the other end of the eighth resistor is connected to the control terminal of the third switch.
9. The plug according to any one of claims 1-8, characterized in that, The power supply circuit is specifically used for: Determine whether the first plug is in a connected state based on whether the first plug is connected to the electrical equipment. Alternatively, the connection status of the first plug can be determined based on whether the charging module connected to the first plug is in a charging state.
10. A connector, characterized in that, The connector has a first plug and a second plug at each end; the first plug and the second plug are connected by a cable.