First electronic device, second electronic device, cable and power supply system
By using independent power modules and return grounds to power the communication and power modules in the power supply equipment, the communication interference problem caused by ground voltage difference during high-power power supply is solved, and more efficient communication is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HUAWEI TECH CO LTD
- Filing Date
- 2024-04-30
- Publication Date
- 2026-04-28
AI Technical Summary
During high-power power supply, the increased ground pressure difference between the power supply equipment and the receiving equipment results in the receiving equipment having a higher ground pressure than the power supply equipment, affecting the identification of communication signals and interfering with communication.
Independent first and second power modules are used to power the communication module and the power module respectively, and the current is returned through an independent return ground. The power supply and return ground of the communication path and the power path are separated to avoid interference of the power path to the communication path.
This effectively avoids interference from the power path to the communication path, thus improving communication performance.
Smart Images

Figure CN118572870B_ABST
Abstract
Description
[0001] This application claims priority to Chinese patent application filed on April 1, 2024, with application number 202410399026.1 and entitled "Power supply equipment, power receiving equipment, cables and power supply system", the entire contents of which are incorporated herein by reference. Technical Field
[0002] This application belongs to the field of terminal technology, and in particular relates to first electronic devices, second electronic devices, cables and power supply systems. Background Technology
[0003] With the rapid development of power supply technology, the power of receiving equipment is increasing. To ensure the operation of the receiving equipment, it is necessary to provide high-power power to the receiving equipment through power supply equipment. However, in current power supply schemes, the large current generated in the line during high-power power supply will increase the ground voltage difference between the power supply equipment and the receiving equipment. This results in the ground voltage of the receiving equipment being higher than that of the power supply equipment, affecting the receiving equipment's recognition of communication signals and interfering with communication. Summary of the Invention
[0004] In a first aspect, embodiments of this application provide a first electronic device, which includes a first communication module, a first power module, a first power supply module, a second power supply module, a first return ground, a second return ground, a first contact, and a second contact. The first communication module is connected to the first power supply module and is also connected to the first return ground. The first power supply module is connected to the first return ground and is also connected to the first contact. The first power module is connected to the second power supply module and is also connected to the second return ground. The second power supply module is also connected to the second return ground and is also connected to the second contact.
[0005] The first power module is used to provide power to the first communication module and to provide power to the second communication module in the second electronic device through the first contact.
[0006] The second power module is used to provide electrical energy to the first power module and to provide electrical energy to the second power module in the second electronic device through the second contact;
[0007] The first return ground is used to return the current supplied by the first power module;
[0008] The second return ground is used to return the current supplied by the second power module.
[0009] In the first electronic device provided above, during power supply, the first power module can be used to provide power to the first communication module and the second communication module, and the second power module can be used to provide power to the first power module and the second power module. The current provided by the first power module can return through a first return ground, while the current provided by the second power module can return through a second return ground. This allows the communication module and the power module to be powered by two independent power modules and to have their current return through two independent return grounds, thus separating the power supply and return ground in the communication path and the power path, and preventing interference from the power path to the communication path.
[0010] It should be understood that the first power module can be power module A1 (e.g., DBUS power module), and the second power module can be power module A2 (e.g., PBUS power module). The first return ground can be return ground A1 (e.g., DGND-1), and the second return ground can be return ground A2 (e.g., PGND-1). The first contact can be contact A1 (e.g., DBUS-1), and the second contact can be contact A2 (e.g., PBUS-1).
[0011] In some embodiments, the first electronic device further includes a third contact, which is connected to the first communication module;
[0012] The first communication module is also used to communicate with the second electronic device through the third contact.
[0013] It should be understood that the third contact can be a contact that connects to a signal line within the cable. Specifically, the third contact can be contact A3 or contact A4. For example, when contact A3 is connected to a signal line within the cable, contact A3 can be the third contact. Similarly, when contact A4 is connected to a signal line within the cable, contact A4 can be the third contact.
[0014] In other embodiments, the first electronic device further includes a first insertion / removal detection module, which is connected to the first power module and is also connected to the first return ground.
[0015] The first power module is also used to provide power to the first insertion / removal detection module;
[0016] The first insertion / removal detection module is used to detect the insertion or removal status of the second electronic device.
[0017] In the first electronic device provided in this embodiment, a first insertion / removal detection module may be provided. The first insertion / removal detection module can be powered by a first power module and can return current through a first return ground. The first insertion / removal detection module can be used to detect the insertion or removal status of the second electronic device.
[0018] It should be understood that the second electronic device being in the inserted state can mean that the second electronic device is connected to the first electronic device. The second electronic device being in the unplugged state can mean that the second electronic device is disconnected from the first electronic device.
[0019] In one example, the first insertion / removal detection module is connected to the third contact;
[0020] The first insertion / removal detection module is further configured to determine the insertion or removal state of the second electronic device based on the voltage level on the third contact.
[0021] It should be understood that when the second electronic device is not inserted, the power module connected to the third contact (e.g., contact A3) can be power supply Vp-11. At this time, the communication line where contact A3 is located only contains pull-up resistor Rp-11. However, when the second electronic device is inserted, i.e., when the second electronic device is connected to the first electronic device via a cable, the second electronic device can connect to contact A3 in the first electronic device through contact B3 and the signal line. At this time, contact B3 is connected to ground through pull-down resistor Rd-21, which increases the pull-down resistor Rd-21 in the second electronic device on the communication line where contact A3 is located, thus causing the voltage level on contact A3 to drop. Conversely, if the second electronic device is removed after insertion, the pull-down resistor Rd-21 in the second electronic device will decrease on the communication line where contact A3 is located, thus causing the voltage level on contact A3 to rise. Therefore, the first insertion / removal detection module can obtain the voltage level on the third contact and determine the insertion or removal status of the second electronic device based on the voltage level on the third contact.
[0022] In one possible implementation, the first insertion / removal detection module is further configured to determine that the second electronic device supporting dual power supplies has been inserted when it is determined that the level on the third contact is within a first range.
[0023] It should be noted that the first range can be preset to range B. Preset range B can be the preset range corresponding to the voltage level on the third contact when the second electronic device supporting dual power supplies is in the inserted state. Specifically, preset range B can be determined based on the pull-down resistor Rd-21 in the second electronic device supporting dual power supplies, the communication line where the third contact is located, and the voltage provided by the power supply connected to the third contact (e.g., power supply Vp-11).
[0024] In one example, the first insertion / removal detection module is further configured to determine that the second electronic device supporting dual power supply has been inserted when it is determined that the level on the third contact is within the first range and the duration is greater than or equal to a first threshold.
[0025] In the first electronic device provided in this example, to reduce misidentification of the insertion state caused by level jitter and improve the accuracy of determining the insertion state of the second electronic device, the first insertion / removal detection module can determine the insertion state of the second electronic device based on the level on the third contact and the duration of the level. The first threshold can be a preset duration B.
[0026] In some embodiments, the first communication module is further configured to control the first power module to output power to the second electronic device when it is determined that the second electronic device supporting dual power supply has been inserted, so as to provide power to the second communication module in the second electronic device through the first power module.
[0027] In the first electronic device provided in this embodiment, the first communication module may have a control function. When it is determined that the second electronic device supporting dual power supplies has been inserted, the first communication module may control the first power module to provide power to the second communication module in the second electronic device, so that the first communication module in the first electronic device can communicate with the second communication module in the second electronic device.
[0028] It should be noted that the first electronic device may also include a control module. Specifically, when it is determined that the second electronic device supporting dual power supplies has been inserted, the control module of the first electronic device can control the first power supply module to provide power to the second communication module in the second electronic device, enabling the first communication module in the first electronic device to communicate with the second communication module in the second electronic device.
[0029] In other words, the control functions in the first electronic device can be executed by the first communication module, or by the control module in the first electronic device.
[0030] In other embodiments, the first communication module is further configured to acquire first information sent by the second electronic device, and when it is determined that the second electronic device supporting dual power supply has been inserted, control the second power module to output power to the second electronic device according to the first information, so as to provide power to the second power module in the second electronic device through the second power module.
[0031] In the first electronic device provided in this embodiment, when the first communication module communicates with the second communication module, the first communication module can obtain first information sent by the second electronic device (i.e., information controlling the second power module to output power to the second electronic device). When it is determined that the second electronic device supporting dual power supplies has been inserted, the first communication module can control the second power module to provide power to the second power module in the second electronic device according to the first information, so as to supply power to the communication module and the power module through two independent power modules, reduce the impact of the power path on the communication path, and improve the communication effect.
[0032] In one possible implementation, the first insertion / removal detection module is further configured to determine that the second electronic device supporting dual power supplies has been unplugged when it is determined that the level on the third contact is within the second range.
[0033] It should be noted that the second range can be a preset range C. The preset range C can be a preset range corresponding to the voltage level on the third contact when the second electronic device supporting dual power supplies is in the unplugged state. The preset range C can be determined based on the voltage provided by the communication line where the third contact is located and the power supply (e.g., power supply Vp-11) connected to the third contact.
[0034] In another possible implementation, the first insertion / removal detection module is further configured to determine that the second electronic device supporting dual power supplies has been unplugged when it is determined that the level on the third contact is within the second range and the duration is greater than or equal to the second threshold.
[0035] In the first electronic device provided by this implementation, in order to reduce misidentification of the unplugged state caused by level jitter and improve the accuracy of determining the unplugged state of the second electronic device, the first insertion / removal detection module can determine the insertion state of the second electronic device based on the level on the third contact and the duration of the level. The second threshold can be a preset duration C.
[0036] In some embodiments, the first communication module is further configured to control the first power module and the second power module to stop outputting power to the second electronic device when it is determined that the second electronic device supporting dual power supplies has been unplugged. That is, when it is determined that the second electronic device has been unplugged, the power output of the first power module and the second power module can be stopped.
[0037] In one possible implementation, the first insertion / removal detection module is further configured to determine that the second electronic device supporting a single power supply has been inserted when it is determined that the level on the third contact is within a third range.
[0038] It should be noted that the third range can be preset to range A. Preset range A can be a preset range corresponding to the voltage level on the third contact when the second electronic device supporting a single power supply is in the inserted state. The preset range A can be determined based on the pull-down resistor value Rd-21 in the second electronic device supporting a single power supply, the communication line where the third contact is located, and the voltage provided by the power supply (e.g., power supply Vp-11) connected to the third contact.
[0039] It should be noted that the pull-down resistor value Rd-21 in the second electronic device supporting a single power supply is different from the pull-down resistor value Rd-21 in the second electronic device supporting a dual power supply. Preset range A and preset range B do not overlap.
[0040] In another possible implementation, the first insertion / removal detection module is further configured to determine that the second electronic device supporting a single power supply has been inserted when it is determined that the level on the third contact is within the third range and the duration is greater than or equal to the third threshold.
[0041] In the first electronic device provided by this implementation, to reduce misidentification of the insertion state caused by level jitter and improve the accuracy of determining the insertion state of the second electronic device, the first insertion / removal detection module can determine the insertion state of the second electronic device based on the level on the third contact and the duration of the level. The third threshold can be a preset duration A.
[0042] In some embodiments, the first communication module is further configured to control the second power module to output power to the second electronic device when it is determined that the second electronic device supporting a single power supply has been inserted, so as to provide power to the second electronic device through the second power module.
[0043] In the first electronic device provided in this embodiment, when it is determined that the second electronic device supporting a single power supply has been inserted, it can be determined that the second electronic device can only obtain power from the second power module. At this time, power can be supplied to each module in the second electronic device (such as the second communication module and the second power module) through the second power module.
[0044] In one possible implementation, the first insertion / removal detection module is further configured to determine that the second electronic device supporting a single power supply has been unplugged when it is determined that the level on the third contact is in a fourth range.
[0045] It should be noted that the fourth range can be a preset range C or other ranges. The fourth range can be determined based on the voltage provided by the communication line where the third contact is located and the power supply (e.g., power supply Vp-11) connected to the third contact.
[0046] In another possible implementation, the first insertion / removal detection module is further configured to determine that the second electronic device supporting a single power supply has been unplugged when it is determined that the level on the third contact is within the fourth range and the duration is greater than or equal to the fourth threshold.
[0047] In the first electronic device provided by this implementation, to reduce misidentification of the unplugged state caused by level jitter and improve the accuracy of determining the unplugged state of the second electronic device, the first insertion / removal detection module can determine the insertion state of the second electronic device based on the level on the third contact and the duration of the level. The fourth threshold can be a preset duration C or other durations, which can be determined according to the actual scenario.
[0048] In some embodiments, the first communication module is further configured to control the second power module to stop outputting power to the second electronic device when it is determined that the second electronic device supporting a single power supply has been unplugged.
[0049] In one possible implementation, the first electronic device further includes a fourth contact, which is connected to the first insertion / removal detection module;
[0050] The fourth contact is used to connect to the first chip inside the cable;
[0051] The first insertion / removal detection module is further configured to determine whether the first chip exists in the cable connected to the first electronic device based on the voltage level at the fourth contact.
[0052] It should be noted that the fourth contact can be either contact A4 or contact A3. Specifically, when the third contact is contact A3, the fourth contact can be contact A4. That is, when the first electronic device is connected to the signal line within the cable via contact A3, the first electronic device can also connect to the first chip within the cable via contact A4. Conversely, when the third contact is contact A4, the fourth contact can be contact A3. That is, when the first electronic device is connected to the signal line within the cable via contact A4, the first electronic device can also connect to the first chip within the cable via contact A3.
[0053] In one example, the first insertion / removal detection module is further configured to determine that the first chip exists in the cable connected to the first electronic device when it is determined that the level on the fourth contact is in the fifth range.
[0054] It should be noted that the first chip can be a chip connected to the first electronic device within the cable. The fifth range can be a preset range D. The preset range D can be a preset range corresponding to the voltage level on the fourth contact when the first chip connected to the first electronic device is present within the cable. The preset range D can be determined based on the resistor Ra-1 within the first chip, the communication line where the fourth contact is located, and the voltage provided by the power supply (e.g., power supply Vp-12) connected to the fourth contact.
[0055] In one possible implementation, the first electronic device further includes a voltage conversion module;
[0056] The first communication module is further configured to, when it is determined that the first chip exists in the cable connected to the first electronic device, acquire second information sent by the second electronic device, and switch the power module connected to the fourth contact from the first power submodule to the second power submodule according to the second information, so as to provide power to the first chip through the second power submodule. The first power submodule and the second power submodule are obtained by the voltage conversion module in the first electronic device converting the first power module.
[0057] The first power supply submodule can be the power supply Vp-12 corresponding to the fourth contact. The second power supply submodule can be the power supply VCL-12 corresponding to the fourth contact. When the first electronic device is an electronic device that supports dual power supplies, the power supply Vp-12 and power supply VCL-12 corresponding to the fourth contact can be obtained by the voltage conversion module in the first electronic device through conversion of the first power supply module.
[0058] It should be understood that the voltage conversion module's conversion of the first power supply module can refer to the voltage or electrical energy provided by the first power supply module being converted by the voltage conversion module. That is, the first power supply submodule and the second power supply submodule can be obtained by converting the electrical energy provided by the first power supply module using the voltage conversion module.
[0059] In some embodiments, the first communication module is further configured to switch the power module connected to the fourth contact from the second power submodule to the first power submodule when it is determined that the second electronic device has been unplugged.
[0060] Secondly, embodiments of this application provide a second electronic device, which includes a second communication module, a second power module, a third return ground, a fourth return ground, a fifth contact, and a sixth contact. The second communication module is connected to the third return ground and is also connected to the fifth contact. The second power module is connected to the fourth return ground and is also connected to the sixth contact.
[0061] The second communication module is used to obtain electrical energy provided by the first power module in the first electronic device through the fifth contact.
[0062] The second power module is used to obtain electrical energy provided by the second power module in the first electronic device through the sixth contact;
[0063] The third return ground is used to return the current supplied by the first power module;
[0064] The fourth return ground is used to return the current supplied by the second power module.
[0065] In the aforementioned second electronic device, during power supply, the first power module in the first electronic device can supply power to the second communication module in the second electronic device, and the second power module in the first electronic device can supply power to the second power module in the second electronic device. The current supplied from the first power module to the second communication module can return through a third return ground, while the current supplied from the second power module to the second power module can return through a fourth return ground. This allows the second communication module and the second power module to be powered by two independent power modules and to have their current returned through two independent return grounds. This separates the power supply and return ground in the communication path and the power path, preventing interference from the power path to the communication path and improving communication performance.
[0066] It should be understood that the third return ground can be return ground B1 (e.g., DGND-2), and the fourth return ground can be return ground B2 (e.g., PGND-2). The fifth contact can be contact B1 (e.g., DBUS-2), and the sixth contact can be contact B2 (e.g., PBUS-2).
[0067] In some embodiments, the second electronic device further includes a seventh contact, which is connected to the second communication module;
[0068] The second communication module is also used to communicate with the first electronic device through the seventh contact.
[0069] It should be understood that the seventh contact can be a contact connected to a signal line within the cable. Specifically, the seventh contact can be contact B3 or contact B4. For example, when contact B3 is connected to a signal line within the cable, contact B3 can be the seventh contact. Similarly, when contact B4 is connected to a signal line within the cable, contact B4 can be the seventh contact.
[0070] In other embodiments, the second electronic device further includes a second insertion / removal detection module connected to the fifth contact and also connected to the third return ground.
[0071] The second insertion / removal detection module is used to obtain electrical energy provided by the first power module in the first electronic device through the fifth contact, and to detect the insertion or removal status of the first electronic device.
[0072] In the second electronic device provided in this embodiment, a second insertion / removal detection module may be provided. The second insertion / removal detection module can obtain power from the first power module in the first electronic device through a fifth contact, and can return current through a third return ground. The second insertion / removal detection module can be used to detect the insertion or removal state of the first electronic device.
[0073] It should be understood that "the first electronic device is in the inserted state" can mean that the first electronic device and the second electronic device are connected. "The first electronic device is in the unplugged state" can mean that the first electronic device and the second electronic device are disconnected.
[0074] In some embodiments, the second insertion / removal detection module is connected to the seventh contact;
[0075] The second insertion / removal detection module is further configured to determine the insertion or removal state of the first electronic device based on the power-on or power-off state of the fifth contact and the voltage level on the seventh contact; or, it is further configured to determine the insertion or removal state of the first electronic device based on the power-on or power-off state of the sixth contact and the voltage level on the seventh contact.
[0076] It should be noted that "the fifth contact is in the energized state" means that there is electricity on the fifth contact. "The fifth contact is in the de-energized state" means that there is no electricity on the fifth contact.
[0077] It should be understood that when the second electronic device is a dual-power-supply device, and the first electronic device supporting a single power supply is in the inserted state, the second power module in the first electronic device can supply power to the second electronic device through contact A2 (e.g., PBUS-1) and contact B2 (e.g., PBUS-2). That is, when the second electronic device is a dual-power-supply device, if the first electronic device supporting a single power supply is in the inserted state, PBUS-2 (i.e., the sixth contact) in the second electronic device is in the powered-on state; if the first electronic device supporting a single power supply is in the unplugged state, PBUS-2 in the second electronic device is in the powered-off state.
[0078] When the second electronic device is a dual-power-supply device, and the first dual-power-supply device is in the inserted state, the first power module in the first electronic device can supply power to the second electronic device through contact A1 (e.g., DBUS-1) and contact B1 (e.g., DBUS-2). That is, when the second electronic device is a dual-power-supply device, if the first dual-power-supply device is in the inserted state, DBUS-2 (i.e., the fifth contact) in the second electronic device is in the powered-on state; if the first dual-power-supply device is in the unplugged state, DBUS-2 in the second electronic device is in the powered-off state.
[0079] When the second electronic device is an electronic device that supports dual power supplies, if the first electronic device that supports dual power supplies is in the inserted state, the first electronic device can also control the second power module in the first electronic device to provide power to the second power module of the second electronic device through contact A2 (e.g., PBUS-1) and contact B2 (e.g., PBUS-2) according to the information sent by the second electronic device. Therefore, when the first electronic device that supports dual power supplies is in the unplugged state, PBUS-2 (i.e., the sixth contact) in the second electronic device is in the powered-off state.
[0080] In addition, when the first electronic device is not inserted, contact B3 (i.e., the seventh contact) in the second electronic device can be connected to ground through pull-down resistor Rd-21. That is, there is no voltage in the communication line where contact B3 in the second electronic device is located, resulting in a low voltage level on the communication line where contact B3 is located, for example, it can be 0.
[0081] When the first electronic device is in the inserted state, contact A3 in the first electronic device can be connected to contact B3 via a signal line, making the communication line containing contact B3 and the communication line containing contact A3 the same communication line. Since there is a power supply Vp-11 in the communication line containing contact A3, there will be voltage in the communication line containing contact B3, causing the voltage level on contact B3 to rise. For example, this could cause the voltage level on contact B3 to be the same as the voltage level on contact A3, meaning the voltage level on contact B3 would rise to within a preset range A or a preset range B.
[0082] Therefore, in the second electronic device provided in this embodiment, the second insertion / removal detection module can determine the insertion or removal state of the first electronic device based on the power-on or power-off state of the fifth contact (e.g., DBUS-2) and the level on the seventh contact (e.g., contact B3); or, it can determine the insertion or removal state of the first electronic device based on the power-on or power-off state of the sixth contact (e.g., PBUS-2) and the level on the seventh contact.
[0083] In one possible implementation, the second insertion / removal detection module is further configured to determine that the first electronic device supporting dual power supplies has been inserted when it is determined that the fifth contact is in a powered-on state and the level on the seventh contact is in a sixth range.
[0084] When the second electronic device is an electronic device that supports dual power supplies, the sixth range can be a preset range B.
[0085] In another possible implementation, the second insertion / removal detection module is further configured to determine that the first electronic device supporting dual power supplies has been inserted when it is determined that the fifth contact is in a powered-on state and the level on the seventh contact is in the sixth range for a duration greater than or equal to a sixth threshold.
[0086] In the second electronic device provided by this implementation, to reduce misidentification of the insertion state caused by level jitter and improve the accuracy of determining the insertion state of the first electronic device, the second insertion / removal detection module can determine the insertion state of the first electronic device based on the level on the seventh contact and the duration of the level. The sixth threshold can be a preset duration B or any other duration.
[0087] In some embodiments, the second electronic device further includes an eighth contact and a voltage conversion module;
[0088] The second communication module is further configured to control the eighth contact to connect to a third power submodule when it is determined that the first electronic device supporting dual power supplies has been inserted. The third power submodule is obtained by the voltage conversion module in the second electronic device from the first power module.
[0089] It should be understood that the eighth contact can be either contact B4 or contact B3. Specifically, when the seventh contact is contact B3, the eighth contact can be contact B4. That is, when the second electronic device is connected to the signal line within the cable via contact B3, the second electronic device can connect to the second chip within the cable via contact B4. Conversely, when the seventh contact is contact B4, the eighth contact can be contact B3. That is, when the second electronic device is connected to the signal line within the cable via contact B4, the second electronic device can connect to the second chip within the cable via contact B3.
[0090] In the second electronic device provided in this embodiment, the second communication module may have control functions. When it is determined that the first electronic device supporting dual power supplies has been inserted, the second communication module may control the eighth contact to connect to the third power submodule, so as to detect whether there is a second chip connected to the second electronic device in the cable through the third power submodule.
[0091] It should be understood that the second electronic device may also include a control module. When it is determined that the first electronic device supporting dual power supplies has been inserted, the control module in the second electronic device can control the eighth contact to connect to the third power submodule, so that the third power submodule can detect the presence of a chip connected to the second electronic device within the cable.
[0092] In other words, the control function in the second electronic device can be executed by the second communication module in the second electronic device, or it can be executed by the control module in the second electronic device.
[0093] In other embodiments, the second communication module is further configured to send a first message to the first electronic device when it is determined that the first electronic device supporting dual power supply has been inserted, the first message being configured to instruct the second power module in the first electronic device to provide power to the second power module in the second electronic device.
[0094] In the second electronic device provided in this embodiment, when it is determined that the first electronic device supporting dual power supply has been inserted, the second communication module can send a first message to the first electronic device to instruct the second power module in the first electronic device to provide power to the second power module, so that the second communication module and the second power module can be powered by different power modules, thereby reducing the impact of the power path on the communication path and improving the communication effect.
[0095] In one possible implementation, the second insertion / removal detection module is further configured to determine that the first electronic device supporting a single power supply has been inserted when it is determined that the sixth contact is in a powered-on state and the level on the seventh contact is in a seventh range.
[0096] When the second electronic device is an electronic device that supports dual power supplies, the seventh range can be a preset range A.
[0097] In another possible implementation, the second insertion / removal detection module is further configured to determine that the first electronic device supporting a single power supply has been inserted when it is determined that the sixth contact is in a powered-on state and the level on the seventh contact is in the seventh range for a duration greater than or equal to the seventh threshold.
[0098] In the second electronic device provided by this implementation, to reduce misidentification of the insertion state caused by level jitter and improve the accuracy of determining the insertion state of the first electronic device, the second insertion / removal detection module can determine the insertion state of the first electronic device based on the level on the seventh contact and the duration of the level. The seventh threshold can be a preset duration A or any other duration.
[0099] In one possible implementation, the second insertion / removal detection module is further configured to determine that the first electronic device has been unplugged when it detects that the fifth contact or the sixth contact is in a power-off state, or when it detects that the level on the seventh contact is in an eighth range.
[0100] It should be noted that the eighth range can be a preset range E.
[0101] In another possible implementation, the second insertion / removal detection module is further configured to determine that the first electronic device has been unplugged when it detects that the level on the seventh contact is within the eighth range and the duration is greater than or equal to the eighth threshold.
[0102] In the second electronic device provided by this implementation, to reduce misidentification of the unplugged state caused by level jitter and improve the accuracy of determining the insertion state of the first electronic device, the second insertion / unplug detection module can determine the unplugged state of the first electronic device based on the level on the seventh contact and the duration of the level. The eighth threshold can be a preset duration E.
[0103] In some embodiments, the second electronic device further includes an eighth contact, which is connected to the second insertion / removal detection module;
[0104] The eighth contact is used to connect to the second chip inside the cable;
[0105] The second insertion / removal detection module is further configured to determine, based on the voltage level at the eighth contact, whether the second chip is present in the cable connected to the second electronic device.
[0106] It should be understood that the second chip can be a chip connected to the second electronic device within the cable. When the first electronic device is not inserted, the eighth contact (e.g., contact B4) can be connected to ground via pull-down resistor Rd-22. Furthermore, the power supplies Vp-22 and VCL-22 corresponding to contact B4 have no voltage, and the communication line between power supplies Vp-22 and VCL-22 and the second chip is disconnected, resulting in a low voltage level on the power line C4 corresponding to the second chip, for example, 0. After the first electronic device is inserted, the second electronic device can connect contact B4 to power supply Vp-22. At this time, the power module in the first electronic device (e.g., a PBUS power module or a DBUS power module) can supply power to power supply Vp-22 via the cable, causing voltage to appear on the power line C4 connected to the second chip. This causes the voltage level on the communication path where the second chip is located to rise, resulting in a rise in the voltage level on the eighth contact. Therefore, the second insertion / removal detection module can determine whether a second chip connected to the second electronic device exists within the cable based on the voltage level on the eighth contact.
[0107] In one possible implementation, the second insertion / removal detection module is further configured to determine that the second chip exists in the cable connected to the second electronic device when the level detected on the eighth contact is in the ninth range.
[0108] It should be noted that the ninth range can be a preset range F.
[0109] In some embodiments, the second electronic device includes a voltage conversion module;
[0110] The second communication module is further configured to, when it is determined that the second chip exists in the cable connected to the second electronic device, switch the power module connected to the eighth contact from the third power submodule to the fourth power submodule, so as to provide power to the second chip through the fourth power submodule. The third power submodule and the fourth power submodule are obtained by the voltage conversion module in the second electronic device from the first power module.
[0111] In one possible implementation, the second insertion / removal detection module is further configured to determine that the first electronic device has been removed when the level detected on the eighth contact is in the tenth range.
[0112] It should be noted that the tenth range can be a preset range G.
[0113] In some embodiments, the second communication module is further configured to send second information to the first electronic device when it is determined that there is a first chip in the cable connected to the second electronic device, the second information being used to instruct the first electronic device to provide power to the first chip in the cable.
[0114] Thirdly, embodiments of this application provide a cable, the cable including a first power line, a second power line, a fifth return ground corresponding to the first power line, and a sixth return ground corresponding to the second power line;
[0115] The first power cord is used to connect to a first contact in the first electronic device and to connect to a fifth contact in the second electronic device;
[0116] The second power cord is used to connect to the second contact in the first electronic device and to connect to the sixth contact in the second electronic device.
[0117] In the aforementioned cable, during power supply, the first power supply line transmits the electrical energy provided by the first power module, and the second power supply line transmits the electrical energy provided by the second power module. The current supplied by the first power module can return through the fifth return ground, while the current supplied by the second power module can return through the sixth return ground. This allows the communication module and power module to be powered by two independent power modules and to have their current returned through two independent return grounds. This separation of the power supply and return ground in the communication and power paths avoids interference from the power path to the communication path, improving communication performance.
[0118] In some embodiments, the cable further includes signal lines;
[0119] The signal line is used to connect to the third contact of the first electronic device and to the seventh contact of the second electronic device.
[0120] In other embodiments, the cable further includes a first chip and a second chip, the first chip being connected to the signal line and the second chip being connected to the signal line.
[0121] In some embodiments, the cable further includes a third power line connected to the first chip and a fourth power line connected to the second chip;
[0122] The third power line is used to connect to the fourth contact in the first electronic device;
[0123] The fourth power line is used to connect to the eighth contact in the second electronic device.
[0124] Fourthly, embodiments of this application provide a power supply system, including a first electronic device, a second electronic device, and a cable connecting the first electronic device and the second electronic device;
[0125] The first electronic device includes a first communication module, a first power module, a first power supply module, a second power supply module, a first return ground, a second return ground, a first contact, and a second contact. The first communication module is connected to the first power supply module and is also connected to the first return ground. The first power supply module is connected to the first return ground and is also connected to the first contact. The first power module is connected to the second power supply module and is also connected to the second return ground. The second power supply module is also connected to the second return ground and is also connected to the second contact.
[0126] The second electronic device includes a second communication module, a second power module, a third return ground, a fourth return ground, a fifth contact, and a sixth contact. The second communication module is connected to the third return ground and is also connected to the fifth contact. The second power module is connected to the fourth return ground and is also connected to the sixth contact.
[0127] The cable includes a first power line, a second power line, a fifth return ground corresponding to the first power line, and a sixth return ground corresponding to the second power line;
[0128] The first power cord is used to connect the first contact in the first electronic device and the fifth contact in the second electronic device;
[0129] The second power cord is used to connect the second contact in the first electronic device and the sixth contact in the second electronic device;
[0130] The first power module is used to provide power to the first communication module and to provide power to the second communication module through the first contact, the first power line and the fifth contact;
[0131] The second power module is used to provide electrical energy to the first power module, and to provide electrical energy to the second power module through the second contact, the second power line and the sixth contact;
[0132] The first return ground, the third return ground, and the fifth return ground are used to return the current supplied by the first power module;
[0133] The second return ground, the fourth return ground, and the sixth return ground are used to return the current supplied by the second power module.
[0134] Fifthly, embodiments of this application provide a power supply method applied to a second electronic device, the method comprising:
[0135] Detect the power-on or power-off state of the first preset contact in the second electronic device, and detect the voltage level on the second preset contact in the second electronic device;
[0136] When the power-on state of the first preset contact is detected and the level on the second preset contact is within the first preset range, it is determined that the first electronic device has been inserted, and the third preset contact in the second electronic device is controlled to connect to the third power submodule. The first electronic device is an electronic device used to output power to the second electronic device, and the third power submodule is obtained by the second electronic device from the power module in the first electronic device. The third preset contact is used to connect to the second chip in the cable.
[0137] Detect the voltage level at the third preset contact;
[0138] When the level detected on the third preset contact is within the second preset range, the power module connected to the third preset contact is switched from the third power submodule to the fourth power submodule, so as to output power to the second chip through the fourth power submodule. The fourth power submodule is obtained by the second electronic device from the power module in the first electronic device.
[0139] It should be noted that the first preset contact can be the fifth contact (e.g., DBUS-2) or the sixth contact (e.g., PBUS-2). The second preset contact can be the seventh contact (e.g., contact B3). The third preset contact can be the eighth contact (e.g., contact B4). The first preset range can be preset range A or preset range B. The second preset range can be preset range F. The third power supply submodule can be the power supply Vp-22 corresponding to the eighth contact. The fourth power supply submodule can be the power supply VCL-22 corresponding to the eighth contact.
[0140] In the power supply method described above, the second electronic device can detect the power-on or power-off state of the first preset contact in the second electronic device, and can detect the voltage level on the second preset contact in the second electronic device, thereby determining whether the first electronic device is in an inserted state. When the first electronic device is detected to be in an inserted state, the second electronic device can control the third preset contact in the second electronic device to connect to the third power submodule, so as to detect whether there is a second chip connected to the second electronic device in the cable through the third power submodule. When there is a second chip connected to the second electronic device in the cable, that is, when the voltage level on the third preset contact is within the second preset range, the power module connected to the third preset contact is switched from the third power submodule to the fourth power submodule, so as to output power to the second chip through the fourth power submodule, enabling the second electronic device to communicate with the second chip.
[0141] In some embodiments, the second electronic device is an electronic device that supports dual power supplies, the first electronic device is an electronic device that supports dual power supplies, and the third power supply submodule and the fourth power supply submodule are obtained by the second electronic device from the first power supply module in the first electronic device.
[0142] In one possible implementation, the method further includes:
[0143] When the power-on state of the first preset contact is detected and the voltage level on the second preset contact is within the first preset range, a first message is sent to the first electronic device. The first message is used to instruct the second power module in the first electronic device to output power to the second electronic device.
[0144] In another possible implementation, the method further includes:
[0145] When it is determined that there is a first chip in the cable, a second message is sent to the first electronic device, the second message being used to instruct the first power module in the first electronic device to output power to the first chip.
[0146] In one example, the second information is used to instruct the first electronic device to switch the power module connected to the contact point connected to the first chip from a first power submodule to a second power submodule, so as to provide power to the first chip through the second power submodule. The first power submodule and the second power submodule are obtained by the first electronic device from the first power module.
[0147] In some embodiments, when the power-on state of the first preset contact is detected and the voltage level on the second preset contact is within a first preset range, controlling the third preset contact in the second electronic device to connect to the third power submodule includes:
[0148] When the power-on state of the first preset contact is detected, the level on the second preset contact is within the first preset range, and the duration of the level on the second preset contact within the first preset range is greater than or equal to the first preset threshold, the third preset contact in the second electronic device is controlled to connect to the third power submodule.
[0149] It should be noted that the first preset threshold can be a preset duration A or a preset duration B. For example, when the first preset range is preset range A, the first preset threshold can be the preset duration A. For example, when the first preset range is preset range B, the first preset threshold can be the preset duration B.
[0150] In some embodiments, the method further includes:
[0151] When the power-off state of the first preset contact is detected, or when the level on the second preset contact is detected to be within a third preset range, or when the level on the third preset contact is detected to be within a fourth preset range, it is determined that the first electronic device has been unplugged.
[0152] It should be noted that the third preset range can be preset range E. The fourth preset range can be preset range G.
[0153] In one example, determining that the first electronic device has been unplugged when the level on the second preset contact is detected to be within a third preset range includes:
[0154] When the level detected on the second preset contact is within the third preset range, and the duration of the level on the second preset contact being within the third preset range is greater than or equal to the second preset threshold, it is determined that the first electronic device has been unplugged.
[0155] It should be noted that the second preset threshold can be a preset duration E.
[0156] In a sixth aspect, embodiments of this application provide a second electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it causes the second electronic device to implement the power supply method described in any one of the fifth aspects above.
[0157] In a seventh aspect, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a computer, causes the computer to implement the power supply method described in any one of the fifth aspects above.
[0158] Eighthly, embodiments of this application provide a computer program product that, when run on a second electronic device, causes the second electronic device to perform the power supply method described in any one of the fifth aspects.
[0159] It is understood that the beneficial effects of aspects six through eight above can be found in the relevant descriptions in aspect five above, and will not be repeated here. Attached Figure Description
[0160] Figure 1 This is a schematic diagram of a power supply system;
[0161] Figure 2 This is a schematic diagram of a scenario involving high-power power supply.
[0162] Figure 3 This is a schematic diagram of the structure of a second electronic device provided in an embodiment of this application;
[0163] Figure 4 This is a schematic diagram of the structure of a power supply system provided in an embodiment of this application. Figure 1 ;
[0164] Figure 5 This is a schematic diagram of the structure of a power supply system provided in an embodiment of this application. Figure 2 ;
[0165] Figure 6 This is a schematic diagram illustrating the level change of a first electronic device detecting the insertion or removal state of a second electronic device, and detecting the level change of a cable marker chip connected to the first electronic device within a cable, as provided in this embodiment of the application. Figure 1 ;
[0166] Figure 7 This is a schematic diagram illustrating the level change of a first electronic device detecting the insertion or removal state of a second electronic device, and detecting the level change of a cable marker chip connected to the first electronic device within a cable, as provided in this embodiment of the application. Figure 2 ;
[0167] Figure 8 This is a schematic diagram of the level change when the second electronic device detects the insertion or removal state of the first electronic device, as provided in an embodiment of this application.
[0168] Figure 9 This is a schematic diagram showing the level change when the second electronic device detects the cable marker chip connected to the second electronic device in the cable, as provided in the embodiments of this application. Detailed Implementation
[0169] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.
[0170] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0171] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if detected [the described condition or event]" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once detected [the described condition or event]," or "in response to detection [the described condition or event]."
[0172] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0173] References to "one embodiment" or "some embodiments" as described in this application specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this application specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0174] Furthermore, the term "multiple" mentioned in the embodiments of this application should be interpreted as two or more.
[0175] The business scenarios described in the embodiments of this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided in the embodiments of this application. As those skilled in the art will know, with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.
[0176] Please see Figure 1 , Figure 1 A schematic diagram of a power supply system is shown.
[0177] like Figure 1 As shown, a typical power supply system may include electronic device A, electronic device B, and the cable connecting electronic device A and electronic device B (which may be referred to as cable A). Electronic device A can be a power supply device, meaning a device that provides electrical energy; that is, electronic device A can be an electronic device that provides power to other electronic devices, such as an adapter or charger connected to a power source. Electronic device B can be a power receiving device, meaning a device that receives electrical energy; that is, electronic device B can be an electronic device that obtains electrical energy from electronic device A or other power supply devices, such as a smart screen or smart TV.
[0178] Electronic device A (i.e., power supply equipment) may include a communication module (hereinafter referred to as communication module A), a power module (hereinafter referred to as power module A), a power supply module, and a return ground (hereinafter referred to as return ground A). Figure 1The interface (hereinafter referred to as Interface A) can be shown as GND-A. Communication module A and power module A can be connected to the power supply module. Both communication module A and power module A can be powered by the power supply module, meaning the power supply module can provide power to both. Communication module A, power module A, and the power supply module can all be connected to return ground A (GND-A) for current return through GND-A.
[0179] Communication module A and power module can also be connected to interface A respectively. Interface A can be connected to the interface of electronic device B (hereinafter referred to as interface B) via cable A. Interface A may include one or more contacts. For example, interface A may include contacts for transmitting electrical power and contacts for communication, etc. Similarly, interface B may include one or more contacts. For example, interface B may include contacts for transmitting electrical power and contacts for communication, etc.
[0180] Electronic device B (i.e., the power receiving device) may include a communication module (hereinafter referred to as communication module B), a power module (hereinafter referred to as power module B), and a return ground (hereinafter referred to as return ground B). Figure 1 This can be shown as GND-B) and interface B. Communication module B and power module B can be connected to interface B respectively. Interface B can be connected to interface A in electronic device A via cable A, thereby enabling connection between electronic device A and electronic device B via cable A.
[0181] After electronic device B is connected to electronic device A via cable A, the power module in electronic device A can provide power to the communication module B and power module B in electronic device B through interface A, cable A and interface B. Furthermore, the communication module A in electronic device A and the communication module B in electronic device B can communicate through interface A, cable A and interface B.
[0182] Communication module B and power module B can each be connected to return ground B (i.e., GND-B) to allow current to flow back through GND-B. Additionally, GND-B can also be connected to GND-A to allow the current supplied by the power module in electronic device A to electronic device B to flow back to GND-A in electronic device A.
[0183] It should be understood that electronic device B may also include a voltage conversion module. The voltage conversion module can be connected to interface B, GND-B, communication module B, and power module B. When electronic device B obtains electrical energy from the power module in electronic device A through interface B, electronic device B can convert the voltage provided by the power module in electronic device A through the voltage conversion module, and can then supply power to communication module B and power module B using the converted voltage.
[0184] It should be noted that communication module A or communication module B can be a digital communication module or other types of communication modules. Power module A or power module B may include a drive module or other functional modules. Voltage conversion modules may include DC-DC converters or AC-DC converters. "Other functional modules" can refer to non-communication functional modules, and the specifics can be determined based on the actual scenario.
[0185] Cable A may include a power line, a signal line, and a return ground (hereinafter referred to as return ground C). Figure 1 This can be represented as GND-C. The power line within cable A can connect to the contacts in interface A and interface B used for power transmission. The power line within cable A can transmit power from the power module in electronic device A to electronic device B, such as to the communication module B and power module B within electronic device B. The signal line within cable A can connect to the contacts in interface A and interface B used for communication. The signal line within cable A enables communication between electronic device A and electronic device B. The return ground C (GND-C) within cable A can connect to GND-A and GND-B for current return.
[0186] Additionally, cable A may include one or more electronically marked cable (Emarker) chips, also known as cable marker chips (the following explanation will use cable marker chips as an example). Figure 1 The following example illustrates the use of two cable marker chips. Each cable marker chip stores various attribute information about cable A. This attribute information may include one or more of the following: cable A's power transmission capability, data transmission capability, identity (ID), the number of cable marker chips included in the cable, and temperature. Electronic device A and / or electronic device B can communicate with the cable marker chips to read the attribute information of cable A and adjust the voltage / current and / or communication signals based on the read attribute information.
[0187] It should be noted that return ground (e.g., GND-A, GND-B, and GND-C) can refer to a zero-potential reference point or a common terminal forming a loop (e.g., a power supply loop or a signal loop). For power supplies, return ground can be a negative terminal. For communication signals, return ground can refer to the ground reference point of the communication signal; that is, return ground can provide a common reference potential for all communication signals in an electronic device.
[0188] In other words, in the power supply system described above, both electronic device A (the power supply device) and electronic device B (the power receiving device) have only one return ground, and cable A also has only one power line and one return ground. That is, all modules in the power supply device share one return ground, and all modules in the power receiving device share one return ground. All modules in both the power supply device and the power receiving device are powered through a single power module within the power supply device.
[0189] With the rapid development of power supply technology, the power of receiving devices is increasing. To ensure the operation of these devices, high-power supply is required from the power supply equipment. In the aforementioned power supply system, since electronic device A, electronic device B, and cable A each have only one return ground, the power supply and communication signal share the same return ground. During high-power supply, the large current generated in the line increases the ground voltage difference between the power supply equipment and the receiving device. This results in the actual voltage of the return ground in the receiving device being higher than the voltage of the return ground in the power supply equipment, affecting the receiving device's recognition of communication signals and thus interfering with communication.
[0190] For example, please see Figure 2 , Figure 2 This diagram illustrates a scenario involving high-power supply. It should be understood that the power cord ( Figure 2 This can be represented as VBUS, which is the connection between the contact (e.g., contact A1) for transmitting electrical energy in interface A of electronic device A and the contact (e.g., contact B1) for transmitting electrical energy in interface B of electronic device B, and the return ground wire. Figure 2 The wires (which can be shown as the connection between GND-A in electronic device A and GND-B in electronic device B) generally have impedance, but the resistance value is relatively small. Figure 2 The following example illustrates the situation using the power supply line with a resistance of R1 and the return ground line with a resistance of R2.
[0191] like Figure 2As shown, during high-power supply, the power module in electronic device A will provide a large current, such as I1, to electronic device B. This large current will cause a voltage difference to be generated on the return ground B (i.e., GND-B) in electronic device B, for example, making the voltage on GND-B in electronic device B I1*R2, thus causing the voltage on GND-B to be higher than the voltage on GND-A in electronic device A, for example, the voltage on GND-A can be 0V.
[0192] It should be understood that electronic device B has a signal line ( Figure 2 The identification of communication signals on the signal lines (transmitter, TX) and (receiver, RX) for transmitting and receiving data can be shown in the diagram. This identification is based on the voltage at GND-B as a reference point; that is, the voltage on the signal line detected by electronic device B is the difference between the voltage detected on the signal line and the voltage at GND-B. For example, in scenarios where a voltage of 2V or higher is considered high, such as... Figure 2 As shown, when the voltage of the communication signal transmitted by electronic device A on the signal line is 3V, if I1 is small, the voltage (I1*R2) on GND-B is also small. In this case, the voltage (3V-I1*R2) on the signal line recognized by electronic device B can be close to 3V. Therefore, electronic device B can determine that the communication signal recognized on the signal line is a high level higher than 2V. If I1 is large, the voltage (I1*R2) on GND-B is also large, which will cause (3V-I1*R2) to be less than 3V. For example, it may cause (3V-I1*R2) to be less than 2V. In this case, the voltage (3V-I1*R2) recognized by electronic device B on the signal line is less than 2V. Therefore, electronic device B can determine that the communication signal recognized on the signal line is a low level lower than 2V, that is, it mistakenly recognizes the original high level of 3V as a low level of less than 2V. In other words, when I1 is large, the voltage on GND-B in electronic device B will be large. As a result, the high-level communication signal sent by electronic device A on the signal line will be misidentified by electronic device B as a low-level communication signal, causing misidentification of the communication signal and affecting the communication effect.
[0193] To address the aforementioned problems, embodiments of this application provide a first electronic device, a second electronic device, a cable, and a power supply system. The power supply system may include a first electronic device, a second electronic device, and a cable connecting the first electronic device and the second electronic device. The first electronic device may include a first communication module, a first power module, a first power supply module, a second power supply module, a first return ground, a second return ground, a first contact, and a second contact. The second electronic device may include a second communication module, a second power module, a third return ground, a fourth return ground, a fifth contact, and a sixth contact. The cable may include a first power line, a second power line, a fifth return ground corresponding to the first power line, and a sixth return ground corresponding to the second power line. The first power line can be used to connect the first contact in the first electronic device and the fifth contact in the second electronic device. The second power line can be used to connect the second contact in the first electronic device and the sixth contact in the second electronic device.
[0194] The first power module can be connected to both the first communication module and the first contact. The first power module can provide power to the first communication module and can also provide power to the second communication module in the second electronic device via the first contact, the first power line, and the fifth contact.
[0195] The second power module can be connected to the first power module and the second contact, respectively. The second power module can be used to provide power to the first power module, and can also provide power to the second power module in the second electronic device through the second contact, the second power line, and the sixth contact.
[0196] Additionally, the first communication module and the first power module can be connected to a first return ground to allow current supplied by the first power module to flow back through the first return ground. The first power module and the second power module can be connected to a second return ground to allow current supplied by the second power module to flow back through the second return ground. The second communication module can be connected to a third return ground to allow current supplied by the first power module to flow back through the third return ground. The third return ground can be connected to a fifth return ground and the first return ground to allow current supplied by the first power module to flow back to the first return ground. The second power module can be connected to a fourth return ground to allow current supplied by the second power module to flow back through the fourth return ground. The fourth return ground can be connected to a sixth return ground and the second return ground to allow current supplied by the second power module to flow back to the second return ground.
[0197] In other words, the power supply system provided in this application embodiment can separate the power supply circuits of the communication path and the power path, that is, it can separate the power supply modules and return ground of the communication module and the power module, so that the communication module and the power module can have independent power supplies, and each power supply can have an independent return ground. This reduces the impact of the ground voltage difference generated by the large current in the power path on the communication path when high power is supplied, enabling the second electronic device to accurately identify communication signals, improving communication performance, enhancing user experience, and having strong ease of use and practicality.
[0198] In this embodiment, the first electronic device can be an adapter or charger already connected to a power source. The second electronic device can be a smart screen, smart TV, or in-vehicle device, or any other electronic device that requires a power source to operate. This embodiment does not impose any restrictions on the specific type of the second electronic device.
[0199] The second electronic device involved in the embodiments of this application is first described below. Please refer to... Figure 3 , Figure 3 A schematic diagram of a structure of a second electronic device 300 is shown.
[0200] The second electronic device 300 may include a processor 310, an external memory interface 320, an internal memory 321, a universal serial bus (USB) interface 330, antenna 1, antenna 2, a mobile communication module 340, a wireless communication module 350, an audio module 360, a speaker 360A, a sensor module 370, and a display screen 380, etc. The sensor module 370 may include a pressure sensor 370A, a temperature sensor 370B, a touch sensor 370C, etc.
[0201] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the second electronic device 300. In other embodiments of this application, the second electronic device 300 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0202] Processor 310 may include one or more processing units, such as application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU). These different processing units may be independent devices or integrated into one or more processors.
[0203] The controller can generate operation control signals based on the instruction opcode and timing signals to complete the control of instruction fetching and execution.
[0204] The processor 310 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 310 is a cache memory. This memory can store instructions or data that the processor 310 has just used or that are used repeatedly. If the processor 310 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 310, and thus improves the efficiency of the system.
[0205] In some embodiments, the processor 310 may include one or more interfaces. Interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0206] USB port 330 is a USB standard compliant interface, specifically a Mini USB port, Micro USB port, or USB Type-C port. USB port 330 can be used to connect a charger to provide power to the second electronic device 300, or to transfer data between the second electronic device 300 and peripheral devices. It can also be used to connect headphones for audio playback. This interface can also be used to connect other terminal devices, such as AR devices.
[0207] It is understood that the interface connection relationships between the modules illustrated in the embodiments of this application are merely illustrative and do not constitute a structural limitation on the second electronic device 300. In other embodiments of this application, the second electronic device 300 may also adopt different interface connection methods or a combination of multiple interface connection methods as described in the above embodiments.
[0208] The wireless communication function of the second electronic device 300 can be implemented through antenna 1, antenna 2, mobile communication module 340, wireless communication module 350, modem processor, and baseband processor.
[0209] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the second electronic device 300 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with a tuning switch.
[0210] The mobile communication module 340 can provide solutions for wireless communication, including 2G / 3G / 4G / 5G, applied to the second electronic device 300. The mobile communication module 340 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 340 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 340 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1. In some embodiments, at least some functional modules of the mobile communication module 340 may be housed in the processor 310. In some embodiments, at least some functional modules of the mobile communication module 340 and at least some modules of the processor 310 may be housed in the same device.
[0211] The modem processor may include a modulator and a demodulator. The modulator modulates the low-frequency baseband signal to be transmitted into a mid-to-high frequency signal. The demodulator demodulates the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After processing by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs a sound signal through an audio device or displays an image or video through the display screen 380. In some embodiments, the modem processor may be a separate device. In other embodiments, the modem processor may be independent of the processor 310 and may be housed in the same device as the mobile communication module 340 or other functional modules.
[0212] The wireless communication module 350 can provide solutions for wireless communication applications on the second electronic device 300, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. The wireless communication module 350 can be one or more devices integrating at least one communication processing module. The wireless communication module 350 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 310. The wireless communication module 350 can also receive signals to be transmitted from processor 310, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.
[0213] In some embodiments, antenna 1 of the second electronic device 300 is coupled to mobile communication module 340, and antenna 2 is coupled to wireless communication module 350, enabling the second electronic device 300 to communicate with networks and other devices via wireless communication technology. The wireless communication technology may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc. The GNSS may include the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the BeiDou Navigation Satellite System (BDS), the Quasi-Zenith Satellite System (QZSS), and / or satellite-based augmentation systems (SBAS).
[0214] The second electronic device 300 implements display functions through a GPU, a display screen 380, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 380 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 310 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0215] The display screen 380 is used to display images, videos, etc. The display screen 380 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Mini LED, a MicroLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the second electronic device 300 may include one or N display screens 380, where N is a positive integer greater than 1.
[0216] A digital signal processor (DSP) is used to process digital signals. Besides digital image signals, it can also process other digital signals. For example, when the second electronic device 300 selects a frequency, the DSP can perform Fourier transforms on the frequency energy.
[0217] Video codecs are used to compress or decompress digital video. The second electronic device 300 can support one or more video codecs. Thus, the second electronic device 300 can play or record video in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0218] An NPU (Neural Processing Unit) is a neural network (NN) computing processor that, by borrowing from the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, rapidly processes input information and can continuously learn on its own. NPUs can enable intelligent cognitive applications in secondary electronic devices 300, such as image recognition, facial recognition, speech recognition, and text understanding.
[0219] The external storage interface 320 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the second electronic device 300. The external memory card communicates with the processor 310 through the external storage interface 320 to perform data storage functions. For example, music, video, and other files can be saved on the external memory card.
[0220] Internal memory 321 can be used to store computer executable program code, which includes instructions. Internal memory 321 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback, image playback, etc.), etc. The data storage area may store data created during the use of the second electronic device 300 (such as audio data, phonebook, etc.). Furthermore, internal memory 321 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc. Processor 310 executes various functional applications and data processing of the second electronic device 300 by running instructions stored in internal memory 321 and / or instructions stored in memory located in the processor.
[0221] The second electronic device 300 can implement audio functions, such as music playback and recording, through an audio module 360, a speaker 360A, and an application processor.
[0222] The audio module 360 is used to convert digital audio information into analog audio signals for output, and also to convert analog audio input into digital audio signals. The audio module 360 can also be used for encoding and decoding audio signals. In some embodiments, the audio module 360 may be located in the processor 310, or some functional modules of the audio module 360 may be located in the processor 310.
[0223] The speaker 360A, also known as a "loudspeaker," is used to convert audio electrical signals into sound signals. The second electronic device 300 can listen to music through the speaker 360A.
[0224] Pressure sensor 370A is used to sense pressure signals and convert them into electrical signals. In some embodiments, pressure sensor 370A can be disposed on display screen 380. There are many types of pressure sensors 370A, such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors. A capacitive pressure sensor may include at least two parallel plates with conductive material. When force is applied to pressure sensor 370A, the capacitance between the electrodes changes. Second electronic device 300 determines the pressure intensity based on the change in capacitance. When a touch operation is applied to display screen 380, second electronic device 300 detects the intensity of the touch operation based on pressure sensor 370A. Second electronic device 300 can also calculate the touch position based on the detection signal from pressure sensor 370A. In some embodiments, touch operations applied to the same touch position but with different touch operation intensities can correspond to different operation commands. For example: when a touch operation with an intensity less than a first pressure threshold is applied to the SMS application icon, a command to view an SMS is executed. When a touch operation with an intensity greater than or equal to the first pressure threshold is applied to the SMS application icon, a command to create a new SMS is executed.
[0225] Temperature sensor 370B is used to detect temperature. In some embodiments, second electronic device 300 uses the temperature detected by temperature sensor 370B to execute a temperature processing strategy. For example, when the temperature reported by temperature sensor 370B exceeds a threshold, second electronic device 300 performs thermal protection by reducing the performance of a processor located near temperature sensor 370B to reduce power consumption.
[0226] Touch sensor 370C, also known as a "touch device," can be disposed on display screen 380. The touch sensor 370C and display screen 380 together form a touchscreen, also known as a "touchscreen." Touch sensor 370C is used to detect touch operations applied to or near it. Touch sensor 370C can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through display screen 380. In other embodiments, touch sensor 370C may also be disposed on the surface of the second electronic device 300, in a different location than display screen 380.
[0227] The software system of the second electronic device 300 can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. For example, the software system of the second electronic device 300 can adopt a layered architecture such as Android operating system (OS), Harmony OS, or iOS.
[0228] The power supply system provided in the embodiments of this application will be described below with reference to the accompanying drawings and specific application scenarios.
[0229] Please see Figure 4 , Figure 4 This application provides a schematic diagram of the structure of a power supply system according to an embodiment. Figure 1 .
[0230] like Figure 4 As shown, the power supply system 400 may include a first electronic device 410, a second electronic device 420, and a cable 430 for connecting the first electronic device 410 and the second electronic device 420. The first electronic device 410 can be a power supply device, and the second electronic device 420 can be a power receiving device. That is, when the first electronic device 410 is connected to the second electronic device 420 via the cable 430, the first electronic device 410 can provide power to the second electronic device 420 through the cable 430, and the second electronic device 420 can receive power from the first electronic device 410 through the cable 430.
[0231] The first electronic device 410 may include a communication module (hereinafter referred to as the first communication module), a power module (hereinafter referred to as the first power module), two power modules (hereinafter referred to as power module A1 and power module A2), two return grounds (hereinafter referred to as return ground A1 and return ground A2), and two contacts (hereinafter referred to as contact A1 and contact A2).
[0232] In this system, power module A1 and power module A2 can each provide power to the communication path and the power path, respectively. Return ground A1 and return ground A2 can each be the return ground corresponding to the communication path and the power path, meaning one can be used to return current in the communication path and the other to return current in the power path. Contact A1 and contact A2 can each be the contact corresponding to power module A1 and the other to power module A2.
[0233] It should be understood that a contact is a device that enables the transmission of signals or electrical energy after contact. For example, a contact can be a pin in an interface.
[0234] For example, power module A1 can be used to provide power to the communication path, and power module A2 can be used to provide power to the power path.
[0235] For example, power module A1 can be used to provide power to the power path, and power module A2 can be used to provide power to the communication path.
[0236] For example, return ground A1 can be used to return current in the communication path, and return ground A2 can be used to return current in the power path.
[0237] For example, return ground A1 can be used to return current in the power path, and return ground A2 can be used to return current in the communication path.
[0238] For example, contact A1 can be the contact corresponding to power module A1, and contact A2 can be the contact corresponding to power module A2.
[0239] For example, contact A1 can be the contact corresponding to power module A2, and contact A2 can be the contact corresponding to power module A1.
[0240] The following example illustrates the following: power module A1 provides power to the communication path, power module A2 provides power to the power path, return ground A1 is used to return the current in the communication path, return ground A2 is used to return the current in the power path, contact A1 is the contact corresponding to power module A1, and contact A2 is the contact corresponding to power module A2. Figure 4 The following example illustrates the following: power module A1 is a DBUS power module, power module A2 is a PBUS power module, return ground A1 is DGND-1, return ground A2 is PGND-1, contact A1 is DBUS-1, and contact A2 is PBUS-1.
[0241] like Figure 4 As shown, the first communication module can be connected to power module A1 (i.e., the DBUS power module) and return ground A1 (i.e., DGND-1) respectively. Power module A1 can be connected to DGND-1. The first power module can be connected to power module A2 (i.e., the PBUS power module) and return ground A2 (i.e., PGND-1) respectively. Power module A2 can be connected to PGND-1. The DBUS power module can also be connected to contact A1 (i.e., DBUS-1), and the PBUS power module can also be connected to contact A2 (i.e., PBUS-1).
[0242] During power supply, the DBUS power module can supply power to the first communication module, and the PBUS power module can supply power to the first power module. The current supplied by the DBUS power module can return through DGND-1, and the current supplied by the PBUS power module can return through PGND-1. This allows the first communication module and the first power module to be powered by two independent power modules, and the current can return through two independent return grounds. This separates the power supply and return ground in the communication path and the power path, preventing interference from the power path to the communication path.
[0243] It should be understood that the first electronic device 410 may also include at least one voltage conversion module. Figure 4 (Not shown in the image). For example, it may include voltage conversion module A1 and voltage conversion module A2. Voltage conversion module A1 can be connected to both the DBUS power module and the first communication module. The first electronic device 410 can use voltage conversion module A1 to convert the voltage provided by the DBUS power module and supply power to the first communication module through the converted voltage. Voltage conversion module A1 can also be connected to return ground A1 to achieve current return. Voltage conversion module A2 can be connected to both the PBUS power module and the first power module. The first electronic device 410 can use voltage conversion module A2 to convert the voltage provided by the PBUS power module and supply power to the first power module through the converted voltage. Voltage conversion module A2 can also be connected to return ground A2 to achieve current return.
[0244] like Figure 4 As shown, the second electronic device 420 may include a communication module (hereinafter referred to as the second communication module), a power module (hereinafter referred to as the second power module), two return grounds (hereinafter referred to as return ground B1 and return ground B2), and two contacts (hereinafter referred to as contacts B1 and contacts B2).
[0245] Of these, contact B1 and contact B2 can be either the contact corresponding to the communication path or the contact corresponding to the power path. Similarly, return ground B1 and return ground B2 can be either the return ground corresponding to the communication path or the return ground corresponding to the power path. One of return ground B1 and return ground B2 can be connected to return ground A1 in the first electronic device 410, and the other can be connected to return ground A2 in the first electronic device 410.
[0246] For example, contact B1 can be the contact corresponding to the communication path, and contact B2 can be the contact corresponding to the power path.
[0247] For example, contact B1 can be the contact corresponding to the power path, and contact B2 can be the contact corresponding to the communication path.
[0248] For example, return ground B1 can be used to return current in the communication path, and return ground B2 can be used to return current in the power path.
[0249] For example, return ground B1 can be used to return current in the power path, and return ground B2 can be used to return current in the communication path.
[0250] The following example illustrates how contact B1 corresponds to the communication path, contact B2 corresponds to the power path, and return ground B1 is used to return the current in the communication path, while return ground B2 is used to return the current in the power path. Figure 4 The following example illustrates the situation with return ground B1 as DGND-2, return ground B2 as PGND-2, contact B1 as DBUS-2, and contact B2 as PBUS-2.
[0251] like Figure 4 As shown, the second communication module can be connected to contact B1 (i.e., DBUS-2) and return ground B1 (i.e., DGND-2). DGND-2 can be connected to DGND-1. The second power module can be connected to contact B2 (i.e., PBUS-2) and return ground B2 (i.e., PGND-2). PGND-2 can be connected to PGND-1.
[0252] It should be understood that the second electronic device 420 may also include at least one voltage conversion module. For example, it may include voltage conversion module B1 and voltage conversion module B2. Figure 4 Only voltage conversion module B2 is shown. Voltage conversion module B1 can be connected to contact B1 and the second communication module respectively. The second communication module can be connected to contact B1 through voltage conversion module B1. Voltage conversion module B2 can also be connected to return ground B1. Voltage conversion module B2 can be connected to contact B2 and the second power module respectively. The second power module can be connected to contact B2 through voltage conversion module B2. Voltage conversion module B2 can also be connected to return ground B2.
[0253] like Figure 4 As shown, cable 430 may include two power lines (hereinafter referred to as power line C1 and power line C2) and two return grounds (hereinafter referred to as return ground C1 and return ground C2).
[0254] In this configuration, one of power lines C1 and C2 can be the power line corresponding to the communication path, and the other can be the power line corresponding to the power path. Similarly, one of return ground C1 and C2 can correspond to power line C1, and the other can correspond to power line C2. That is, one of return ground C1 and C2 can be used to return current in the communication path, and the other can be used to return current in the power path.
[0255] For example, power line C1 can be the power line corresponding to the communication path, and power line C2 can be the power line corresponding to the power path.
[0256] For example, power line C1 can be the power line corresponding to the power path, and power line C2 can be the power line corresponding to the communication path.
[0257] For example, return ground C1 can correspond to power line C1, and return ground C2 can correspond to power line C2.
[0258] For example, return ground C1 can correspond to power line C2, and return ground C2 can correspond to power line C1.
[0259] The following example illustrates the situation using power line C1 as the power line corresponding to the communication path, power line C2 as the power line corresponding to the power path, return ground C1 corresponding to power line C1, and return ground C2 corresponding to power line C2. Figure 4 The example provided is DGND-3 for return ground C1 and PGND-3 for return ground C2.
[0260] like Figure 4 As shown, when the first electronic device 410 is connected to the second electronic device 420 via cable 430, power line C1 can be used to connect contact A1 (i.e., DBUS-1) in the first electronic device 410 and contact B1 (i.e., DBUS-2) in the second electronic device 420. Power line C2 can be used to connect contact A2 (i.e., PBUS-1) in the first electronic device 410 and contact B2 (i.e., PBUS-2) in the second electronic device 420. DGND-3 can be connected to DGND-1 and DGND-2 respectively, and PGND-3 can be connected to PGND-1 and PGND-2 respectively.
[0261] like Figure 4 As shown, when the first electronic device 410 supplies power to the second electronic device 420 via cable 430, the DBUS power module in the first electronic device 410 can supply power to the second communication module in the second electronic device 420 via DBUS-1, power line C1, and DBUS-2. Similarly, the PBUS power module in the first electronic device 410 can supply power to the second power module in the second electronic device 420 via PBUS-1, power line C2, and PBUS-2.
[0262] It should be understood that when the second electronic device 420 obtains power from the DBUS power module via DBUS-1, power line C1, and DBUS-2, the voltage conversion module B1 in the second electronic device 420 can convert the voltage provided by the DBUS power module and provide power to the second communication module through the converted voltage. Similarly, when the second electronic device 420 obtains power from the PBUS power module via PBUS-1, power line C2, and PBUS-2, the voltage conversion module B2 in the second electronic device 420 can convert the voltage provided by the PBUS power module and provide power to the second power module through the converted voltage.
[0263] The current supplied by the DBUS power module to the second communication module in the second electronic device 420 can return to DGND-1 via DGND-2 and DGND-3, while the current supplied by the PBUS power module to the second power module in the second electronic device 420 can return to PGND-1 via PGND-2 and PGND-3. This allows the second communication module and the second power module to be powered by two independent power modules and to have their current returned via two independent return grounds. This separates the power supply and return ground in the communication path and the power path, avoiding interference from the power path to the communication path and ensuring communication performance.
[0264] As described above, the power supply system provided in this application embodiment can separate the power supply circuits of the communication path and the power path, that is, it can separate the power supply modules and return grounds of the communication module and the power module, so that the communication module and the power module can have independent power supplies, and each power supply can have an independent return ground. This reduces the impact of the ground voltage difference generated by the large current in the power path on the communication path when high power is supplied, enabling the second electronic device to accurately identify communication signals, improving communication performance and enhancing user experience.
[0265] In one example, contacts A1 (i.e., DBUS-1), A2 (i.e., PBUS-1), B1 (i.e., DBUS-2), and B2 (i.e., PBUS-2) can each refer to a pin in the interface. That is, the first electronic device 410 may include at least one interface, such as... Figure 4 As shown, the first electronic device 410 may include interface A, and interface A may include pins corresponding to contact A1. Figure 4 The pins corresponding to contact A2 can be shown as DBUS-1. Figure 4 (This can be shown as PBUS-1).
[0266] Similarly, the second electronic device 420 may include at least one interface, such as Figure 4 As shown, the second electronic device 420 may include interface B, and interface B may include pins corresponding to contact B1. Figure 4 The pins corresponding to contact B2 can be shown as DBUS-2. Figure 4 (This can be shown as PBUS-2).
[0267] In some embodiments, the first electronic device 410 and the second electronic device 420 may also include contacts for communication.
[0268] The communication contacts in the first electronic device 410 can be connected to the first communication module in the first electronic device 410. Similarly, the communication contacts in the second electronic device 420 can be connected to the second communication module in the second electronic device 420. In other words, the first communication module and the second communication module can communicate with each other via the communication contacts in the first electronic device 410 and the second electronic device 420.
[0269] The communication contacts in the first electronic device 410 can also be connected to the power module A1 to provide power to the communication contacts in the first electronic device 410 through the power module A1.
[0270] For example, cable 430 may also include signal lines. The signal lines can be used to connect communication contacts in the first electronic device 410 and communication contacts in the second electronic device 420, thereby enabling communication between the first electronic device 410 and the second electronic device 420 through the communication contacts and the signal lines in cable 430, for example, enabling communication between a first communication module in the first electronic device 410 and a second communication module in the second electronic device 420.
[0271] It should be noted that the contacts used for communication can refer to the pins in the interface.
[0272] For example, interface A in the first electronic device 410 may also include a communication pin (e.g., it may be referred to as communication pin A), which may be a contact used for communication in the first electronic device 410.
[0273] For example, such as Figure 4 As shown, interface A in the first electronic device 410 may include a pin corresponding to contact A1 (i.e., DBUS-1), a pin corresponding to contact A2 (i.e., PBUS-1), and a communication pin A corresponding to a contact used for communication. Figure 4 (This can be shown as pin A).
[0274] For example, the interface B in the second electronic device 420 may also include a communication pin (e.g., it may be referred to as communication pin B), which may be a contact in the second electronic device 420 for communication.
[0275] For example, such as Figure 4 As shown, interface B in the second electronic device 420 may include pins corresponding to contact B1 (i.e., DBUS-2), pins corresponding to contact B2 (i.e., PBUS-2), and communication pin B corresponding to the contact used for communication. Figure 4 (This can be shown as pin B).
[0276] For example, the first electronic device 410 may also include an interface C, which may include a communication pin A, which may be a contact in the first electronic device 410 for communication.
[0277] For example, the second electronic device 420 may also include an interface D, which may include a communication pin B, which may be a contact in the second electronic device 420 for communication.
[0278] In other words, the contacts used for communication in the first electronic device 410, such as contacts A1 (DBUS-1) and A2 (PBUS-1), can be pins in the same interface or pins in different interfaces. The choice depends on the specific scenario, and this embodiment does not impose any restrictions. Similarly, the contacts used for communication in the second electronic device 420, such as contacts B1 (DBUS-2) and B2 (PBUS-2), can be pins in the same interface or pins in different interfaces.
[0279] In some embodiments, the cable 430 may further include one or more cable marker chips. The cable marker chips may store various attribute information of the cable 430. For example, they may store one or more of the following: power transmission capability, data transmission capability, ID, number of cable marker chips included in the cable, and temperature.
[0280] The cable marker chip can be connected to the signal lines within the cable 430. Specifically, when the first electronic device 410 and the second electronic device 420 are connected, the cable marker chip can connect to the communication contacts in the first electronic device 410 via the signal lines, and / or to the communication contacts in the second electronic device 420 via the signal lines. Therefore, the first electronic device 410 and / or the second electronic device 420 can communicate with the cable marker chip through the communication contacts and the signal lines within the cable 430, thereby reading the attribute information of the cable 430 stored in the cable marker chip, and adjusting the voltage / current and / or the communication signal according to the read attribute information, etc.
[0281] For example, such as Figure 4 As shown, cable 430 may include two cable marker chips. Figure 4The two devices can be represented as cable marker-1 and cable marker-2. Cable marker-1 and cable marker-2 can be connected to the signal lines within the cable 430, respectively. Therefore, when the first electronic device 410 is connected to the second electronic device 420 via the cable 430, cable marker-1 and cable marker-2 can be connected to the communication contacts in the first electronic device 410 via the signal lines, allowing the first electronic device 410 to communicate with cable marker-1 and / or cable marker-2 through the communication contacts and signal lines, thereby reading the attribute information of the cable 430 stored in cable marker-1 and / or cable marker-2. Similarly, cable marker-1 and cable marker-2 can be connected to the communication contacts in the second electronic device 420 via the signal lines, allowing the second electronic device 420 to communicate with cable marker-1 and / or cable marker-2 through the communication contacts and signal lines, thereby reading the attribute information of the cable 430 stored in cable marker-1 and / or cable marker-2.
[0282] The following description will use an example of cable marker chips, cable marker-1 and cable marker-2, included within cable 430. It should be understood that when cable 430 includes cable marker-1 and cable marker-2, cable marker-1 and cable marker-2 can be located at both ends of cable 430. When the first electronic device 410 is connected to the second electronic device 420 via cable 430, cable marker-1 can be connected to the electronic device closer to cable marker-1 in the first electronic device 410 and the second electronic device 420, and cable marker-2 can be connected to the electronic device closer to cable marker-2 in the first electronic device 410 and the second electronic device 420.
[0283] For example, such as Figure 4As shown, when the first electronic device 410 and the second electronic device 420 are connected via a cable 430, cable marker-1 within the cable 430 can be a cable marker chip closer to the first electronic device 410, and cable marker-2 within the cable 430 can be a cable marker chip closer to the second electronic device 420. Cable marker-1 can be connected to the first electronic device 410, and cable marker-2 can be connected to the second electronic device 420.
[0284] In some embodiments, the first electronic device 410 may include two contacts for communication. For example, it may include contact A3 and contact A4. Contact A3 and contact A4 may be connected to a first communication module, respectively. The first electronic device 410 may be connected to a signal line in cable 430 via either contact A3 or contact A4. The signal line in cable 430 may be connected to a contact in the second electronic device 420 for communication, thereby enabling communication between the first communication module in the first electronic device 410 and the second communication module in the second electronic device 420 via either contact A3 or contact A4.
[0285] In some embodiments, the second electronic device 420 may include two contacts for communication. For example, it may include contact B3 and contact B4. Contacts B3 and B4 may be connected to a second communication module, respectively. The second electronic device 420 may be connected to a signal line within a cable 430 via either contact B3 or contact B4. The signal line within the cable 430 may be connected to a contact in the first electronic device 410 for communication, thereby enabling communication between the second communication module in the second electronic device 420 and the first communication module in the first electronic device 410 via either contact B3 or contact B4.
[0286] It should be noted that when the first electronic device 410 includes contacts A3 and A4, and the second electronic device 420 includes contacts B3 and B4, either contact A3 or contact A4 can be connected to either contact B3 or contact B4 through the signal line in the cable 430, so as to realize communication between the first communication module in the first electronic device 410 and the second communication module in the second electronic device 420.
[0287] For example, contact A3 can be connected to contact B3 via a signal line within cable 430, so that communication between the first communication module and the second communication module can be achieved through contact A3, the signal line, and contact B3.
[0288] For example, contact A4 can be connected to contact B4 via a signal line within cable 430, so that communication between the first communication module and the second communication module can be achieved through contact A4, the signal line, and contact B4.
[0289] For example, contact A3 can be connected to contact B4 via a signal line within cable 430, so that communication between the first communication module and the second communication module can be achieved through contact A3, the signal line, and contact B4.
[0290] For example, contact A4 can be connected to contact B3 via a signal line within cable 430, so that communication between the first communication module and the second communication module can be achieved through contact A4, the signal line, and contact B3.
[0291] In one example, cable 430 may include a power cord (hereinafter referred to as power cord C3) connected to cable marker-1 and a power cord (hereinafter referred to as power cord C4) connected to cable marker-2. Power cord C3 connected to cable marker-1 can be connected to a communication contact in either the first electronic device 410 or the second electronic device 420. Power cord C4 connected to cable marker-2 can be connected to a communication contact in either the second electronic device 420 or the first electronic device 410. When the first electronic device 410 is connected to cable 430, cable marker-1 can draw power from the first electronic device 410 via power cord C3, or cable marker-2 can draw power from the first electronic device 410 via power cord C4. After the second electronic device 420 draws power, cable marker-2 can draw power from the second electronic device 420 via power cord C4, or cable marker-1 can draw power from the second electronic device 420 via power cord C3.
[0292] For example, when power line C3 is connected to the communication contact in the first electronic device 410, power line C4 can be connected to the communication contact in the second electronic device 420. Cable marker-1 can obtain power from the first electronic device 410 through power line C3, and cable marker-2 can obtain power from the second electronic device 420 through power line C4.
[0293] For example, when power line C3 is connected to the communication contact in the second electronic device 420, power line C4 can be connected to the communication contact in the first electronic device 410. Cable marker-1 can obtain power from the second electronic device 420 through power line C3, and cable marker-2 can obtain power from the first electronic device 410 through power line C4.
[0294] For example, when the first electronic device 410 is connected to the second electronic device 420 via cable 430, cable marker-1 can be connected via power cord C3 to the electronic device closer to cable marker-1 in the first electronic device 410 and the second electronic device 420, that is, cable marker-1 can obtain power from the electronic device closer to cable marker-1 in the first electronic device 410 and the second electronic device 420. Cable marker-2 can be connected via power cord C4 to the electronic device closer to cable marker-2 in the first electronic device 410 and the second electronic device 420, that is, cable marker-2 can obtain power from the electronic device closer to cable marker-2 in the first electronic device 410 and the second electronic device 420.
[0295] For example, such as Figure 4 As shown, when the first electronic device 410 is connected to the second electronic device 420 via cable 430, if cable marker-1 is closer to the first electronic device 410 and cable marker-2 is closer to the second electronic device 420, then cable marker-1 can be connected to the first electronic device 410 via power line C3, thereby obtaining power from the first electronic device 410. Cable marker-2 can be connected to the second electronic device 420 via power line C4, thereby obtaining power from the second electronic device 420.
[0296] For example, when the first electronic device 410 is connected to the second electronic device 420 via cable 430, if cable marker-1 is closer to the second electronic device 420 and cable marker-2 is closer to the first electronic device 410, then cable marker-1 can be connected to the second electronic device 420 via power line C3, thereby obtaining power from the second electronic device 420, and cable marker-2 can be connected to the first electronic device 410 via power line C4, thereby obtaining power from the first electronic device 410.
[0297] The following description will be exemplified by an example where, when the first electronic device 410 is connected to the second electronic device 420 via cable 430, cable marker-1 is closer to the first electronic device 410 and cable marker-2 is closer to the second electronic device 420. That is, cable marker-1 can be connected to the first electronic device 410 via power cord C3, and cable marker-2 can be connected to the second electronic device 420 via power cord C4.
[0298] For example, when the first electronic device 410 includes contacts A3 and A4, and the second electronic device 420 includes contacts B3 and B4, when one of contacts A3 and A4 is connected to one of contacts B3 and B4 via a signal line, the other of contacts A3 and A4 can be connected to cable marker-1 via power line C3, and the other of contacts B3 and B4 can be connected to cable marker-2 via power line C4.
[0299] In other words, cable marker-1 can obtain power from the power module in the first electronic device 410 through power line C3 and one of contacts A3 and A4. After the second electronic device 420 obtains power, for example, after the power module in the first electronic device 410 provides power to the second electronic device 420, cable marker-2 can obtain power from the second electronic device 420 through power line C4 and one of contacts B3 and B4.
[0300] For example, when contact A3 is connected to contact B3 via a signal line within cable 430, contact A4 can be connected to cable marker-1 within cable 430 via power line C3, and contact B4 can be connected to cable marker-2 within cable 430 via power line C4. Therefore, when the power module (e.g., a DBUS power module) in the first electronic device 410 provides power to the second communication module in the second electronic device 420, cable marker-1 can obtain power from the DBUS power module via contact A4 and power line C3. After the second electronic device 420 obtains power from the DBUS power module in the first electronic device 410, cable marker-2 can obtain power from the second electronic device 420 via contact B4 and power line C4.
[0301] For example, when contact A4 is connected to contact B4 via a signal line within cable 430, contact A3 can be connected to cable marker-1 within cable 430 via power line C3, and contact B3 can be connected to cable marker-2 within cable 430 via power line C4. Therefore, when the power module (e.g., a DBUS power module) in the first electronic device 410 provides power to the second communication module in the second electronic device 420, cable marker-1 can obtain power from the DBUS power module via contact A3 and power line C3. After the second electronic device 420 obtains power from the DBUS power module in the first electronic device 410, cable marker-2 can obtain power from the second electronic device 420 via contact B3 and power line C4.
[0302] In some embodiments, the first electronic device 410 and the second electronic device 420 may each include a plug-in / plug-out detection module. The plug-in / plug-out detection module in the first electronic device 410 (hereinafter referred to as plug-in / plug-out detection module A) may be connected to the power module and return ground corresponding to the communication path in the first electronic device 410. The plug-in / plug-out detection module in the second electronic device 420 (hereinafter referred to as plug-in / plug-out detection module B) may be connected to the contact and return ground corresponding to the communication path in the second electronic device 420.
[0303] For example, such as Figure 4 As shown, when the power module corresponding to the communication path in the first electronic device 410 is power module A1 (i.e., the DBUS power module), and the return ground corresponding to the communication path in the first electronic device 410 is return ground A1 (i.e., DGND-1), and the contact corresponding to the communication path in the second electronic device 420 is contact B1 (i.e., DBUS-2), and the return ground corresponding to the communication path in the second electronic device 420 is return ground B1 (i.e., DGND-2), the insertion / removal detection module A can be connected to the DBUS power module and DGND-1. The insertion / removal detection module B can be connected to DBUS-2 and DGND-2. During power supply, the insertion / removal detection module A can be powered by the DBUS power module and can have current return through DGND-1. The insertion / removal detection module B can obtain power from the DBUS power module through DBUS-2 and can have current return through DGND-2.
[0304] In one example, the insertion / removal detection module A can also be connected to a contact in the first electronic device 410 used for communication, such as contact A3 and / or contact A4 in the first electronic device 410.
[0305] In one example, the insertion / removal detection module B can also be connected to contacts in the second electronic device 420 used for communication, such as contacts B3 and / or contacts B4 in the second electronic device 420.
[0306] In this embodiment, the insertion / removal detection module A can be used to detect the insertion or removal status of the second electronic device 420. Alternatively, the insertion / removal detection module A can be used to detect whether a cable marker chip connected to the first electronic device 410 exists within the cable 430. Alternatively, the insertion / removal detection module A can be used to detect both the insertion or removal status of the second electronic device 420 and the presence of a cable marker chip connected to the first electronic device 410 within the cable 430.
[0307] The insertion / removal detection module B can be used to detect the insertion or removal status of the first electronic device 410. Alternatively, the insertion / removal detection module B can be used to detect whether a cable marker chip connected to the second electronic device 420 is present in the cable 430. Or, the insertion / removal detection module B can be used to detect both the insertion / removal status of the first electronic device 410 and the presence of a cable marker chip connected to the second electronic device 420 within the cable 430.
[0308] The following will be illustrated by taking the insertion / removal detection module A as an example, which is used to detect the insertion or removal status of the second electronic device 420 and to detect whether there is a cable marker chip connected to the first electronic device 410 in the cable 430, and the insertion / removal detection module B as an example, which is used to detect the insertion or removal status of the first electronic device 410 and to detect whether there is a cable marker chip connected to the second electronic device 420 in the cable 430.
[0309] The following description, in conjunction with the accompanying drawings, explains the process by which the insertion / removal detection module A detects the insertion or removal status of the second electronic device 420 and detects whether a cable marker chip connected to the first electronic device 410 exists in the cable 430, as well as the process by which the insertion / removal detection module B detects the insertion or removal status of the first electronic device 410 and detects whether a cable marker chip connected to the second electronic device 420 exists in the cable 430.
[0310] Please see Figure 5 , Figure 5 This application provides a schematic diagram of the structure of a power supply system according to an embodiment. Figure 2 The diagram uses... Figure 4The first electronic device 410 and the second electronic device 420 shown are both examples of electronic devices supporting dual power supplies. Furthermore, this schematic diagram uses the first electronic device 410, which includes contact A3 (… Figure 5 It can be shown as CL-11) and contact A4 ( Figure 5 (This can be shown as CL-12), the second electronic device 420 includes contact B3 ( Figure 5 It can be shown as CL-21) and contact B4 ( Figure 5 The example can be shown as CL-21), power module A1 (i.e., DBUS power module) is used to provide power to the communication path, power module A2 (i.e., PBUS power module) is used to provide power to the power path, and cable 430 includes cable marker-1 and cable marker-2 as an example.
[0311] It should be noted that for the first electronic device 410 (i.e., the power supply device), supporting dual power supplies means that the first electronic device 410 includes both a DBUS power module and a PBUS power module, while supporting single power supplies means that the first electronic device 410 includes only a PBUS power module. For the second electronic device 420 (i.e., the power receiving device), supporting dual power supplies means that the second electronic device 420 can receive power from both the DBUS power module and the PBUS power module, while supporting single power supplies means that the second electronic device 420 can only receive power from the PBUS power module.
[0312] like Figure 5 As shown, the first communication module and the insertion / removal detection module A in the first electronic device 410 can be connected to contacts A3 and A4, respectively. That is, the first communication module can be connected to contacts A3 and A4, and the insertion / removal detection module A can be connected to contacts A3 and A4, respectively. The second communication module and the insertion / removal detection module B in the second electronic device 420 can be connected to contacts B3 and B4, respectively. That is, the second communication module can be connected to contacts B3 and B4, and the insertion / removal detection module B can be connected to contacts B3 and B4, respectively. The DBUS power module can be used to provide power to the first communication module, the insertion / removal detection module A, the second communication module, and the insertion / removal detection module B.
[0313] The voltage conversion module (e.g., voltage conversion module A1) in the first electronic device 410 can convert the voltage provided by the DBUS power module to obtain... Figure 5The contact A3 corresponds to power supply Vp-11 and power supply VCL-11, and the contact A4 corresponds to power supply Vp-12 and power supply VCL-12. When the DBUS power module supplies power to the second electronic device 420, the voltage conversion module (e.g., voltage conversion module B1) in the second electronic device 420 can convert the voltage supplied by the DBUS power module to obtain... Figure 5 The power supply Vp-21 and power supply VCL-21 corresponding to contact B3, and the power supply Vp-22 and power supply VCL-22 corresponding to contact B4 are shown.
[0314] It should be understood that when the first electronic device 410 does not provide power to the second electronic device 420, Figure 5 Power supplies Vp-21, VCL-21, Vp-22, and VCL-22 shown may be without power. However, when the DBUS power module in the first electronic device 410 provides power to the second electronic device 420, Figure 5 The power supplies Vp-21, VCL-21, Vp-22, and VCL-22 shown can be powered.
[0315] like Figure 5 As shown, the power supply connected to contact A3 can be switched between power supply Vp-11 and power supply VCL-11. For example, switching between power supply Vp-11 and power supply VCL-11 can be achieved using a single-pole double-throw switch or a single-pole triple-throw switch, or other methods. The power supply connected to contact A4 can also be switched between power supply Vp-12 and power supply VCL-12. For example, switching between power supply Vp-12 and power supply VCL-12 can be achieved using a single-pole double-throw switch or a single-pole triple-throw switch, or other methods.
[0316] A pull-up resistor Rp-11 can be provided between contact A3 and power supply Vp-11. A pull-up resistor Rp-12 can be provided between contact A4 and power supply Vp-12. Both power supplies VCL-11 and VCL-12 can be connected to return ground A1 (i.e., DGND-1). It should be understood that the pull-up resistors Rp-11 and Rp-12 can be the same or different. The specific resistance values of pull-up resistors Rp-11 and Rp-12 can be determined according to the actual scenario, and this application embodiment does not impose any restrictions on this.
[0317] The power supply connected to contact B3 can be switched between power supply Vp-21, power supply VCL-21, and pull-down resistor Rd-21. For example, switching between these power supplies can be achieved using switches on the lines containing power supply Vp-21, power supply VCL-21, and pull-down resistor Rd-21. Alternatively, a single-pole triple-throw switch can be used to achieve the same switching.
[0318] The power supply connected to contact B4 can also be switched between power supply Vp-22, power supply VCL-22, and pull-down resistor Rd-22. For example, switching between these power supplies can be achieved using switches on the lines containing power supply Vp-22, power supply VCL-22, and pull-down resistor Rd-22. Alternatively, a single-pole triple-throw switch can be used to achieve this switching.
[0319] A pull-up resistor Rp-21 can be provided between contact B3 and power supply Vp-21. A pull-up resistor Rp-22 can be provided between contact B4 and power supply Vp-22. Power supply VCL-21, power supply VCL-22, pull-down resistors Rd-21 and Rd-22 can all be connected to return ground B1 (i.e., DGND-2). It should be understood that pull-up resistors Rp-21 and Rp-22 can be the same or different. The specific resistance values of pull-up resistors Rp-21 and Rp-22 can be determined according to the actual scenario, and this application embodiment does not impose any restrictions on this.
[0320] It should be noted that pull-down resistors Rd-21 and Rd-22 can refer to the resistance values of the second electronic device 420. Pull-down resistors Rd-21 and Rd-22 can be the same or different. The specific resistance values of pull-down resistors Rd-21 and Rd-22 can be determined according to the actual scenario, and this embodiment does not impose any restrictions on this. For example, when the second electronic device 420 is an electronic device supporting a single power supply, the resistance value of pull-down resistor Rd-21 can be M1, and the resistance value of pull-down resistor Rd-22 can be M2. For example, when the second electronic device 420 is an electronic device supporting dual power supplies, the resistance value of pull-down resistor Rd-21 can be M3, and the resistance value of pull-down resistor Rd-22 can be M4. M1 and M3 are different, and M2 and M4 are different. The specific values of M1, M2, M3, and M4 can be determined according to the actual scenario.
[0321] like Figure 5As shown, cable marker-1 within cable 430 can be equipped with a pull-down resistor Ra-1, and cable marker-1 can be connected to the return ground C1 (i.e., DGND-3) through pull-down resistor Ra-1. Cable marker-2 within cable 430 can also be equipped with a pull-down resistor Ra-2, and cable marker-2 can also be connected to DGND-3 through pull-down resistor Ra-2. It should be understood that pull-down resistors Ra-1 and Ra-2 can be the same or different. The specific resistance values of pull-down resistors Ra-1 and Ra-2 can be determined according to the actual scenario, and this application embodiment does not impose any restrictions on this.
[0322] It should be understood that cable marker-1 and cable marker-2 may include a physical layer, a protocol layer, and an application layer, respectively.
[0323] When the first electronic device 410 is connected to the second electronic device 420 via cable 430, the first communication module can connect to the signal line within cable 430 via contact A3 or contact A4. The insertion / removal detection module A can also connect to the signal line within cable 430 via contact A3 or contact A4. The contact point connecting the first communication module to the signal line within cable 430 is the same as the contact point connecting the insertion / removal detection module A to the signal line within cable 430. For example, when the first communication module is connected to the signal line within cable 430 via contact A3, the insertion / removal detection module A can also connect to the signal line within cable 430 via contact A3.
[0324] When the first electronic device 410 is connected to the second electronic device 420 via cable 430, the second communication module can connect to the signal line within cable 430 via contact B3 or contact B4. The insertion / removal detection module B can also connect to the signal line within cable 430 via contact B3 or contact B4. The contact point connecting the second communication module to the signal line within cable 430 is the same as the contact point connecting the insertion / removal detection module B to the signal line within cable 430. For example, when the second communication module is connected to the signal line within cable 430 via contact B3, the insertion / removal detection module B can also connect to the signal line within cable 430 via contact B3.
[0325] Figure 5 Both the first communication module and the insertion / removal detection module A pass through contact A3 (i.e. Figure 5 The CL-11 in the middle is connected to the signal line in cable 430. The second communication module and the insertion / removal detection module B are both connected through contact B3 (i.e. Figure 5The connection between CL-21 in the cable and the signal line in cable 430 is illustrated by example.
[0326] When the first communication module and the insertion / removal detection module A are connected to the signal line within the cable 430 via contact A3, the first communication module and the insertion / removal detection module A can also be connected via contact A4 (i.e., Figure 5 The second communication module (CL-12) is connected to the cable marker-1 inside the cable 430. When the second communication module and the insertion / removal detection module B are connected to the signal line inside the cable 430 via contact B3, the second communication module and the insertion / removal detection module B can also be connected via contact B4 (i.e., CL-12) to the cable marker-1 inside the cable 430. Figure 5 CL-22 in the middle) and cable marker-2 in cable 430.
[0327] Initially, for example, before the first electronic device 410 supplies power to the second electronic device 420 via cable 430, contact A3 in the first electronic device 410 can be connected to power supply Vp-11 via pull-up resistor Rp-11, and contact A4 in the first electronic device 410 can be connected to power supply Vp-12 via pull-up resistor Rp-12. Contact B3 in the second electronic device 420 can be connected to ground (e.g., DGND-2) via pull-down resistor Rd-21, and contact B4 in the second electronic device 420 can also be connected to DGND-2 via pull-down resistor Rd-22. Cable marker-1 in cable 430 can be connected to ground (e.g., DGND-3) via pull-down resistor Ra-1, and cable marker-2 in cable 430 can also be connected to DGND-3 via pull-down resistor Ra-2.
[0328] When the first electronic device 410 supplies power to the second electronic device 420, the DBUS power module can be used to supply power to the first communication module and the insertion / removal detection module A, and can be connected via power line C1 ( Figure 5 The PBUS (which can be shown as DBUS) provides power to the second communication module and the insertion / removal detection module B. The PBUS power module can also provide power to the first power module via power line C2. Figure 5 The PBUS (which can be shown in the diagram) supplies power to the second power module.
[0329] The following is combined with Figure 5 The following are descriptions: 1. Insertion / removal detection module A detects the insertion or removal status of the second electronic device 420 and detects whether there is a cable marker-1 connected to the first electronic device 410 in the cable 430; 2. Insertion / removal detection module B detects the insertion or removal status of the first electronic device 410 and detects whether there is a cable marker-2 connected to the second electronic device 420 in the cable 430.
[0330] 1. Insertion / removal detection module A detects the insertion or removal status of the second electronic device 420, and detects the cable 430. Does it contain a cablemarker-1 connected to the first electronic device 410?
[0331] For example, the insertion / removal detection module A can detect the level on the signal line and determine the insertion or removal status of the second electronic device 420 based on the level on the signal line.
[0332] It should be noted that when the first communication module is connected to the signal line in cable 430 via contact A3, the voltage level on the signal line is the same as the voltage level on contact A3. Similarly, when the first communication module is connected to the signal line in cable 430 via contact A4, the voltage level on the signal line is the same as the voltage level on contact A4. Therefore, when the first communication module is connected to the signal line in cable 430 via contact A3, the insertion / removal detection module A can detect the voltage level on contact A3 and determine the insertion or removal status of the second electronic device 420 based on the voltage level on contact A3. Likewise, when the first communication module is connected to the signal line in cable 430 via contact A4, the insertion / removal detection module A can detect the voltage level on contact A4 and determine the insertion or removal status of the second electronic device 420 based on the voltage level on contact A4.
[0333] In other words, Figure 5 When the first communication module shown is connected to the signal line in the cable 430 via contact A3, the insertion / removal detection module A can detect the level on contact A3 and determine the insertion or removal status of the second electronic device 420 based on the level on contact A3.
[0334] like Figure 5 As shown, when the second electronic device 420 is not inserted, the power module connected to contact A3 can be power supply Vp-11. At this time, the communication line where contact A3 is located only has a pull-up resistor Rp-11. When the second electronic device 420 is inserted, that is, when the second electronic device 420 is connected to the first electronic device 410 through cable 430, the second electronic device 420 can connect to contact A3 in the first electronic device 410 through contact B3 and signal line. At this time, contact B3 is connected to ground through pull-down resistor Rd-21, which increases the pull-down resistor Rd-21 in the communication line where contact A3 is located, thus causing the voltage level at contact A3 to drop. Conversely, if the second electronic device 420 is inserted and then removed, the pull-down resistor Rd-21 in the communication line where contact A3 is located will decrease, thus causing the voltage level at contact A3 to rise.
[0335] Based on this, the embodiments of this application can determine the preset range of the voltage level on contact A3 when the second electronic device 420 is in the insertion state, based on the pull-down resistor Rd-21 in the second electronic device 420, the communication line where contact A3 is located, and the voltage provided by the power supply Vp-11. Therefore, the insertion / removal detection module A can determine whether the second electronic device 420 is in the insertion state based on whether the voltage level detected on contact A3 is within this preset range.
[0336] For example, for a second electronic device 420 that supports a single power supply, the preset range A can be determined based on the pull-down resistor Rd-21 (e.g., M1) in the second electronic device 420, the communication line where the contact A3 is located, and the voltage provided by the power supply Vp-11.
[0337] For example, for a second electronic device 420 that supports dual power supplies, the preset range B can be determined based on the pull-down resistor Rd-21 (e.g., M3) in the second electronic device 420, the communication line where contact A3 is located, and the voltage provided by power supply Vp-11.
[0338] For example, when the second electronic device 420 is in the unplugged state, the preset range C corresponding to the level on the contact A3 can be determined based on the communication line where the contact A3 is located and the voltage provided by the power supply Vp-11.
[0339] It should be understood that preset range A, preset range B, and preset range C are all different from each other, and there is no overlap between preset range A, preset range B, and preset range C. The specific values of preset range A, preset range B, and preset range C can be determined according to the actual scenario, and this application embodiment does not impose any restrictions on this.
[0340] When the insertion / removal detection module A detects that the voltage level on contact A3 is within a preset range A, the insertion / removal detection module A can determine that the second electronic device 420 supporting a single power supply has been inserted. When the insertion / removal detection module A detects that the voltage level on contact A3 is within a preset range B, the insertion / removal detection module A can determine that the second electronic device 420 supporting a dual power supply has been inserted. When the insertion / removal detection module A detects that the voltage level on contact A3 is within a preset range C, the insertion / removal detection module A can determine that the second electronic device 420 supporting either a single or dual power supply has been removed.
[0341] It should be noted that when the first electronic device 410 is an electronic device supporting dual power supplies (i.e., including a DBUS power module and a PBUS power module), the power supply Vp-11 can be provided by the DBUS power module in the first electronic device 410. That is, the voltage conversion module (e.g., voltage conversion module A1) in the first electronic device 410 can convert the voltage provided by the DBUS power module to obtain power supply Vp-11, and obtain... Figure 5 The power supplies VCL-11, Vp-12, and VCL-12 are shown in the diagram. When the first electronic device 410 is an electronic device supporting a single power supply (i.e., including only one power module, such as a PBUS power module), the power of power supply Vp-11 can be provided by the PBUS power module in the first electronic device 410. That is, the voltage conversion module (e.g., voltage conversion module A2) in the first electronic device 410 can convert the voltage provided by the PBUS power module to obtain power supply Vp-11, and obtain... Figure 5 The power supplies shown are VCL-11, Vp-12, and VCL-12.
[0342] In other words, when the first electronic device 410 is an electronic device supporting a single power supply, the voltage provided by power supply Vp-11 can be determined based on the PBUS power module in the first electronic device 410. When the first electronic device 410 is an electronic device supporting dual power supplies, the voltage provided by power supply Vp-11 can be determined based on the DBUS power module in the first electronic device 410. The following will be illustrated by taking the first electronic device 410 as an example of an electronic device supporting dual power supplies.
[0343] For example, in order to reduce misidentification of insertion or removal status caused by level jitter and improve the accuracy of determining the insertion or removal status of the second electronic device 420, the insertion / removal detection module A can determine the insertion or removal status of the second electronic device 420 based on the level on contact A3 and the duration of the level.
[0344] For example, when the insertion / removal detection module A detects that the level on contact A3 is within a preset range A, and the duration of the level on contact A3 being within the preset range A is greater than or equal to the preset duration A, the insertion / removal detection module A can determine that the second electronic device 420 supporting a single power supply has been inserted.
[0345] For example, when the insertion / removal detection module A detects that the voltage level on contact A3 is within a preset range B, and the duration of the voltage level on contact A3 within the preset range B is greater than or equal to the preset duration B, the insertion / removal detection module A can determine that the second electronic device 420 supporting dual power supplies has been inserted.
[0346] For example, when the insertion / removal detection module A detects that the level on contact A3 is within a preset range C, and the duration of the level on contact A3 within the preset range C is greater than or equal to the preset duration C, the insertion / removal detection module A can determine that the second electronic device 420 supporting single or dual power supplies has been removed.
[0347] It should be noted that preset durations A and B can be referred to as insertion debouncing time, and preset duration C can be referred to as removal debouncing time. Preset durations A, B, and C can be the same, or they can be different from each other. Alternatively, the insertion debouncing time can be the same, while the removal debouncing time can be different from the insertion debouncing time. That is, preset durations A and B can be the same, and preset duration C can be different from preset duration A. The specific values of preset durations A, B, and C can be determined according to the actual scenario, and this application embodiment does not impose any restrictions on this.
[0348] For example, based on the actual scenario, the preset duration A and preset duration B can be determined to be the same, while the preset duration C is different from the preset duration A. The maximum and minimum values of preset duration A (which can be shown as tDebouncePlugin in Table 1) and preset duration C (which can be shown as tDebouncePullout in Table 1) can be as shown in Table 1 below:
[0349] Table 1
[0350] name definition Minimum value Maximum value unit tDebouncePlugin Insert debouncing duration 100 200 ms tDebouncePullout Shaking duration after unplugging 800 1000 us
[0351] In some embodiments, the insertion / removal detection module A can also detect the voltage level on the power line C3 connected to the cable marker-1, and determine whether the cable marker-1 connected to the first electronic device 410 exists within the cable 430 based on the voltage level on the power line C3. It should be noted that when the insertion / removal detection module A is connected to the power line C3 via contact A3, the voltage level on the power line C3 is the same as the voltage level on contact A3. When the insertion / removal detection module A is connected to the power line C3 via contact A4, the voltage level on the power line C3 is the same as the voltage level on contact A4. Therefore, when the insertion / removal detection module A is connected to the power line C3 via contact A3, the insertion / removal detection module A can detect the voltage level on contact A3, and determine whether the cable marker-1 connected to the first electronic device 410 exists within the cable 430 based on the voltage level on contact A3, for example, determining whether the cable marker-1 exists near the end of the cable 430. When the insertion / removal detection module A is connected to the power line C3 via contact A4, the insertion / removal detection module A can detect the voltage level on contact A4 and determine whether there is a cable marker-1 connected to the first electronic device 410 in the cable 430 based on the voltage level on contact A4.
[0352] For example, in Figure 5 When the insertion / removal detection module A is connected to the signal line in cable 430 via contact A3, it can also be connected to the power line C3 via contact A4. In this case, the insertion / removal detection module A can determine the insertion or removal status of the second electronic device 420 based on the voltage level at contact A3, and can determine whether a cable marker-1 connected to the first electronic device 410 exists within cable 430 based on the voltage level at contact A4.
[0353] like Figure 5 As shown, cable marker-1 can be connected to ground via pull-down resistor Ra-1. Initially, contact A4 can be connected to power supply Vp-12 via pull-up resistor Rp-12. Therefore, when the first electronic device 410 is connected to the cable 430, and cable marker-1 exists within the cable 430, contact A4 in the first electronic device 410 will connect to the resistor Ra-1 within the cable marker-1. This increases the resistance Ra-1 within the cable marker-1 on the communication line where contact A4 is located, causing the voltage level on the communication line where contact A4 is located to drop, i.e., causing the voltage level on contact A4 to decrease.
[0354] Based on this, embodiments of this application can determine the preset range (e.g., preset range D) corresponding to the voltage level on contact A4 when cable marker-1 is present in cable 430, based on the resistance Ra-1 within cable marker-1, the communication line where contact A4 is located, and the voltage provided by power supply Vp-12. Therefore, the insertion / removal detection module A can detect whether the voltage level on contact A4 is within the preset range D to determine whether cable marker-1 connected to the first electronic device 410 exists in cable 430.
[0355] For example, when the insertion / removal detection module A detects that the voltage level at contact A4 is within a preset range D, the insertion / removal detection module A can determine that there is a cable marker-1 connected to the first electronic device 410 within the cable 430. When the insertion / removal detection module A detects that the voltage level at contact A4 is not within the preset range D, the insertion / removal detection module A can determine that there is no cable marker-1 connected to the first electronic device 410 within the cable 430.
[0356] It should be understood that the preset range D can be determined specifically according to the actual scenario, and the embodiments of this application do not limit it.
[0357] The following describes the power-on or power-off process of the first electronic device 410 when the insertion or removal state of the second electronic device 420 supporting a single power supply is detected; and the power-on or power-off process of the first electronic device 410 when the insertion or removal state of the second electronic device 420 supporting a dual power supply is detected.
[0358] (a) When the insertion or removal state of the second electronic device 420 supporting a single power supply is detected, the first electronic device... Power-on or power-off process of backup 410
[0359] In one possible implementation, when the insertion of a second electronic device 420 supporting a single power supply is detected, the first electronic device 410 can control the power module A2 (i.e., the PBUS power module) to output power to the second electronic device 420, so as to provide power to various modules (e.g., the second communication module, the second power module, and the insertion / removal detection module B) in the second electronic device 420 through the PBUS power module. The second electronic device 420 supporting a single power supply may include a voltage conversion module. At this time, the voltage conversion module in the second electronic device 420 can convert the voltage provided by the PBUS power module to obtain... Figure 5 The power supplies shown are Vp-21, VCL-21, Vp-22, and VCL-22.
[0360] In some embodiments, the first electronic device 410 may further include a control module (hereinafter referred to as control module A). When the second electronic device 420 supporting a single power supply is detected to be inserted, the control module A in the first electronic device 410 can control the PBUS power module to output power to the second electronic device 420.
[0361] It should be understood that when the first electronic device 410 is an electronic device supporting dual power supplies, the control module A can be connected to both the DBUS power module and the PBUS power module. The control module A can also be connected to return ground A1 (i.e., DGND-1). The DBUS power module can be used to provide power to the control module A. When the first electronic device 410 is an electronic device supporting a single power supply, the control module A can be connected to the PBUS power module. The PBUS power module can be used to provide power to the control module A.
[0362] In some embodiments, the control module A and the first communication module can be the same module, that is, the first communication module can also have control functions. When the second electronic device 420 supporting a single power supply is detected to be inserted, the first communication module in the first electronic device 410 can control the PBUS power module to output power to the second electronic device 420.
[0363] The control functions of the first electronic device 410 described below can all be executed by the control module A or the first communication module in the first electronic device 410.
[0364] It should be understood that after the second communication module in the second electronic device 420 is powered by the PBUS power module, the second communication module can communicate with the first communication module in the first electronic device 410.
[0365] In some embodiments, when it is determined that there is a cablemarker-1 connected to the first electronic device 410 in the cable 430, the first electronic device 410 can switch the power supply connected to the contact A4 from power supply Vp-12 to power supply VCL-12 according to the information sent by the second electronic device 420 (hereinafter referred to as information A), so as to provide power to the cablemarker-1 through power supply VCL-12, thereby enabling the first electronic device 410 or the second electronic device 420 to communicate with the cablemarker-1 to read the attribute information in the cablemarker-1.
[0366] Information A can be used to instruct the first electronic device 410 to switch the power supply connected to contact A4 to power supply VCL-12, so as to provide power to cable marker-1 through power supply VCL-12.
[0367] In one example, upon determining that a cable marker-1 connected to the first electronic device 410 exists within cable 430, the first electronic device 410 can send information about the existence of cable marker-1 within cable 430 (hereinafter referred to as information C) to the second electronic device 420 via the first communication module. After receiving information C, the second electronic device 420 can determine that cable marker-1 exists within cable 430. At this time, the second electronic device 420 can send information A to the first communication module via the second communication module.
[0368] In another example, after the second electronic device 420 detects the presence of a cable marker chip (e.g., cable marker-2) connected to the second electronic device 420 within the cable 430, the second electronic device 420 can communicate with cable marker-2 to read attribute information from cable marker-2. The attribute information in cable marker-2 may include the number of cable marker chips within the cable 430. When the second electronic device 420 determines, based on the read number of cable marker chips, that a cable marker-1 connected to the first electronic device 410 exists within the cable 430, the second electronic device 420 can send information A to the first communication module via the second communication module.
[0369] It should be understood that after the first electronic device 410 obtains information A, the control module A or the first communication module in the first electronic device 410 can switch the power supply connected to the contact A4 from power supply Vp-12 to power supply VCL-12 according to information A, so as to provide power to the cable marker-1 through power supply VCL-12.
[0370] In some embodiments, when the first electronic device 410 detects that the second electronic device 420 supporting a single power supply has been unplugged, the first electronic device 410 can control the PBUS power module to stop outputting power to the second electronic device 420 and can switch the power supply connected to contact A4 from power supply VCL-12 to power supply Vp-12. At this time, since the resistance Ra-1 in cablemark-1 is reduced on the communication line where contact A4 is located, the level on contact A4 will return to the level before the second electronic device 420 was plugged in.
[0371] Please see Figure 6 , Figure 6 This illustration shows a level change when the first electronic device detects the insertion or removal state of the second electronic device, as provided in an embodiment of this application. Figure 1 In this schematic diagram, the second electronic device 420 is an electronic device that supports a single power supply. When the first electronic device 410 is connected to the second electronic device 420 via cable 430, the first electronic device 410 can connect to the signal line in cable 430 via contact A3, and can connect to the power line C3 in cable 430 via contact A4.
[0372] like Figure 6 As shown, the insertion / removal detection module A can monitor the level changes on contact A3 and contact A4 to determine the insertion or removal status of the second electronic device 420 based on the level change on contact A3, and can determine whether there is a cable marker-1 connected to the first electronic device 410 in the cable 430 based on the level change on contact A4.
[0373] When the level on contact A3 is detected ( Figure 6 When the level at contact A3 (which can be represented as A3 level) drops to within a preset range A, the insertion / removal detection module A can start the insertion timing and continuously monitor the level at contact A3. When the level at contact A3 is detected to be within the preset range A for a duration greater than or equal to a preset duration A (which can be represented as A3 level), the insertion / removal detection module A can begin the insertion timing and continuously monitor the level at contact A3. Figure 6 When the insertion / removal detection module A (represented as tDebouncePlugin-A) is inserted, it can determine that the second electronic device 420 supporting a single power supply has been inserted. Upon determining that the second electronic device 420 supporting a single power supply has been inserted, the first electronic device 410 can control the PBUS power module to output power to the second electronic device 420. Figure 6(This can be shown as being powered on) so as to provide power to the various modules in the second electronic device 420 via the PBUS power module.
[0374] When the level on contact A4 is detected ( Figure 6 When the voltage level (A4) drops to within a preset range D, the insertion / removal detection module A can determine that cable marker-1 exists within cable 430. At this time, the first electronic device 410 can switch the power supply connected to contact A4 from power supply Vp-12 to power supply VCL-12 according to the information A sent by the second electronic device 420, so as to provide power to cable marker-1 through power supply VCL-12.
[0375] It should be understood that, such as Figure 5 As shown, when power is supplied to cable marker-1 through power supply VCL-12, there will be no pull-up resistor Rp-12 in the communication line between power supply VCL-12 and cable marker-1. At this time, the voltage level at contact A4 will rise. The voltage level at contact A4 after the rise can be determined based on the voltage supplied by power supply VCL-12. Figure 6 The following example illustrates the situation where the voltage level at contact A4 is the same when power is supplied to cable marker-1 via power supply VCL-12 as when power is supplied to contact A4 via power supply Vp-11 (i.e., when cable marker-1 is not connected).
[0376] When the voltage level detected at contact A3 is within a preset range C, the insertion / removal detection module A can start the removal timing and maintain the voltage level at contact A3. The duration during which the insertion / removal detection module A detects the voltage level at contact A3 within the preset range C is greater than or equal to a preset duration C(t). Figure 6 When the insertion / removal detection module A determines that the second electronic device 420 supporting a single power supply has been unplugged (as shown in the diagram tDebouncePullout-C), the first electronic device 410 can control the PBUS power module to stop outputting power to the second electronic device. Figure 6 (This can be shown as power-down) to stop supplying power to the various modules in the second electronic device 420, and to switch the power supply connected to contact A4 from power supply VCL-12 to power supply Vp-12 to stop supplying power to cable marker-1 through power supply VCL-12. At this time, since there is no resistor Ra-1 in cable marker-1 on the communication line where contact A4 is located, the level on contact A4 can be restored to the level before switching power supply Vp-12 to power supply VCL-12.
[0377] (ii) When the insertion or removal state of the second electronic device 420 supporting dual power supply is detected, the first electronic device... Power-on or power-off process of backup 410
[0378] In another possible implementation, when the first electronic device 410 is an electronic device supporting dual power supplies, when the second electronic device 420 supporting dual power supplies is detected to be inserted, the first electronic device 410 can control the power module A1 (i.e., the DBUS power module) to output power to the second electronic device 420 so as to provide power to the second communication module in the second electronic device 420 through the DBUS power module.
[0379] In this system, after the second communication module in the second electronic device 420 is powered by the DBUS power module, the second communication module can communicate with the first communication module in the first electronic device 410.
[0380] In one example, when it is determined that there is a cable marker-1 connected to the first electronic device 410 in the cable 430, the first electronic device 410 can switch the power supply connected to the contact A4 from power supply Vp-12 to power supply VCL-12 according to the information A sent by the second electronic device 420, so as to provide power to the cable marker-1 through power supply VCL-12, thereby enabling the first electronic device 410 or the second electronic device 420 to communicate with the cable marker-1 to read the attribute information in the cable marker-1.
[0381] It should be noted that the method for obtaining information A can refer to the aforementioned method for obtaining information A, and for the sake of simplicity, it will not be repeated here.
[0382] In another example, upon detecting that a second electronic device 420 supporting dual power supplies has been inserted, the first electronic device 410 can also control the power module A2 (i.e., the PBUS power module) to output power to the second electronic device 420 based on information B sent by the second electronic device 420, so as to provide power to the second power module in the second electronic device 420 through the PBUS power module. Information B can be used to instruct the PBUS power module of the first electronic device 410 to output power to the second electronic device 420. Details regarding information B can be found in the following description.
[0383] It should be noted that the first electronic device 410 can switch the power supply connected to contact A4 from power supply Vp-12 to power supply VCL-12 before controlling the PBUS power module to output power to the second electronic device 420. That is, the first electronic device 410 can first switch the power supply connected to contact A4 from power supply Vp-12 to power supply VCL-12 according to information A, and then control the PBUS power module to output power to the second electronic device 420 according to information B.
[0384] In other words, when the first electronic device 410 supplies power to the second electronic device 420 through the cable 430, if the presence of a cable marker-1 connected to the first electronic device 410 is detected in the cable 430, the first electronic device 410 can first switch the power supply connected to the contact A4 from power supply Vp-12 to power supply VCL-12, so as to supply power to the cable marker-1 through power supply VCL-12. This allows the first electronic device 410 and / or the second electronic device 420 to read the attribute information in the cable marker-1. Thus, when it is determined that the second electronic device 420 supporting dual power supplies has been inserted, the PBUS power module can be controlled to output power to the second electronic device 420 according to the read attribute information.
[0385] In some embodiments, when the second electronic device 420 supporting dual power supplies is detected to be unplugged, the first electronic device 410 can control the PBUS power module to stop outputting power to the second electronic device 420, and can also control the DBUS power module to stop outputting power to the second electronic device 420. Additionally, the first electronic device 410 can switch the power supply connected to contact A4 from power supply VCL-12 to power supply Vp-12 to stop supplying power to cable marker-1 through power supply VCL-12.
[0386] Please see Figure 7 , Figure 7 The illustration shows the level change when the first electronic device detects the insertion or removal state of the second electronic device, as provided in the embodiments of this application. Figure 2 In this schematic diagram, the second electronic device 420 is an electronic device that supports dual power supplies. When the first electronic device 410 is connected to the second electronic device 420 via cable 430, the first electronic device 410 can connect to the signal line in cable 430 via contact A3, and can connect to the power line C3 in cable 430 via contact A4.
[0387] like Figure 7 As shown, the insertion / removal detection module A can monitor the level changes on contact A3 and contact A4 to determine the insertion or removal status of the second electronic device 420 based on the level change on contact A3, and can determine whether there is a cable marker-1 connected to the first electronic device 410 in the cable 430 based on the level change on contact A4.
[0388] When the level on contact A3 is detected ( Figure 7When the level at contact A3 (which can be represented as A3 level) drops to within a preset range B, the insertion / removal detection module A can start the insertion timing and continuously monitor the level at contact A3. When the level at contact A3 is detected to be within the preset range B for a duration greater than or equal to the preset duration B (which can be represented as A3 level), the insertion / removal detection module A can begin the insertion timing and continuously monitor the level at contact A3. Figure 7 When the insertion / removal detection module A (represented as tDebouncePlugin-B) is inserted, it can determine that the second electronic device 420 supporting dual power supplies has been inserted. After determining that the second electronic device 420 supporting dual power supplies has been inserted, the first electronic device 410 can control the DBUS power module to output power to the second electronic device 420. Figure 7 (This can be shown as being powered on) so as to provide power to the second communication module in the second electronic device 420 via the DBUS power module.
[0389] When the level on contact A4 is detected ( Figure 7 When the voltage level (A4) drops to within a preset range D, the insertion / removal detection module A can determine that a cable marker-1 connected to the first electronic device 410 exists within the cable 430. Upon determining the presence of cable marker-1 within the cable 430, the first electronic device 410 can switch the power supply connected to contact A4 from power supply Vp-12 to power supply VCL-12 according to the information A sent by the second electronic device 420, so as to provide power to cable marker-1 through power supply VCL-12, enabling the first electronic device 410 and / or the second electronic device 420 to communicate with cable marker-1.
[0390] Furthermore, after confirming that the second electronic device 420 supporting dual power supplies has been inserted, the first electronic device 410 can also control the PBUS power module to output power to the second electronic device 420 according to the information B sent by the second electronic device 420. Figure 7 (This can be shown as being powered on) so as to provide power to the second power module in the second electronic device 420 via the PBUS power module.
[0391] When the voltage level detected at contact A3 is within a preset range C, the insertion / removal detection module A can start the removal timing and continuously monitor the voltage level at contact A3. The duration during which the voltage level at contact A3 remains within the preset range C is greater than or equal to a preset duration C(t). Figure 7 When it is shown as tDebouncePullout-C), the insertion / removal detection module A can determine that the second electronic device 420 supporting dual power supplies has been removed.
[0392] When it is determined that the second electronic device 420 supporting dual power supplies has been unplugged, the first electronic device 410 can control the DBUS power module to stop outputting power to the second electronic device 420. Figure 7 (This can be shown as power-off), and can control the PBUS power module to stop outputting power to the second electronic device 420. Figure 7 (This can be shown as power-down), and the power supply connected to contact A4 can be switched from power supply VCL-12 to power supply Vp-12. At this time, the level on contact A4 can be restored to the level before switching power supply Vp-12 to power supply VCL-12.
[0393] II. Insertion / Removal Detection Module B detects the insertion or removal status of the first electronic device 410, and detects the cable 430. Does it contain a cable marker-2 connected to the second electronic device 420?
[0394] It should be understood that when the second electronic device 420 is a single-power-supply device, regardless of whether the first electronic device 410 is a single-power-supply or dual-power-supply device, the first electronic device 410 can provide power to the second electronic device 420. However, when the second electronic device 420 is a dual-power-supply device, if the first electronic device 410 is a single-power-supply device, the first electronic device 410 will be unable to provide power to the second electronic device 420. In other words, for the first electronic device 410 to provide power to the second electronic device 420 when the second electronic device 420 is a dual-power-supply device, the first electronic device 410 must also be a dual-power-supply device.
[0395] In other words, when the second electronic device 420 needs to obtain power from the first electronic device 410, if the second electronic device 420 is a single-power-supply device, it does not need to determine whether the first electronic device 410 is a single-power-supply or dual-power-supply device; it only needs to determine the insertion or removal status of the first electronic device 410. If the second electronic device 420 is a dual-power-supply device, when determining the insertion or removal status of the first electronic device 410, it also needs to determine whether the first electronic device 410 is a single-power-supply or dual-power-supply device.
[0396] It should be noted that when the first electronic device 410 is a single-power-supply electronic device, and the second electronic device 420 is determined to be in the inserted state, the first electronic device 410 can supply power to the various modules (e.g., the second communication module, the second power module, and the insertion / removal detection module B) in the second electronic device 420 through the PBUS power module. That is, when the first electronic device 410 is in the inserted state, the PBUS power module in the first electronic device 410 can supply power to the second electronic device 420 through contact A2 (i.e., PBUS-1) and contact B2 (i.e., PBUS-2). Therefore, when the first electronic device 410 is in the inserted state, PBUS-2 in the second electronic device 420 is powered on. When the first electronic device 410 is in the removed state, PBUS-2 in the second electronic device 420 is powered off.
[0397] When the first electronic device 410 is a dual-power-supply electronic device, and the second electronic device 420, which supports a single power supply, is in the inserted state, the first electronic device 410 can supply power to the second communication module in the second electronic device 420 through the PBUS power module. Alternatively, when the first electronic device 410 is a dual-power-supply electronic device, and the second electronic device 420 is in the inserted state, the first electronic device 410 can first supply power to the second communication module in the second electronic device 420 through the DBUS power module. That is, when the first electronic device 410, which supports dual power supplies, is in the inserted state, the DBUS power module in the first electronic device 410 can supply power to the second electronic device 420 through contacts A1 (i.e., DBUS-1) and B1 (i.e., DBUS-2), or the PBUS power module in the first electronic device 410 can supply power to the second electronic device 420 through contacts A2 (i.e., PBUS-1) and B2 (i.e., PBUS-2). Therefore, when the first electronic device 410 supporting dual power supplies is in the inserted state, PBUS-2 or DBUS-2 in the second electronic device 420 is in the powered-on state. When the first electronic device 410 supporting dual power supplies is in the unplugged state, PBUS-2 and DBUS-2 in the second electronic device 420 are in the powered-off state.
[0398] It should be understood that PBUS-2 being powered on can mean that PBUS-2 has power. DBUS-2 being powered on can mean that DBUS-2 has power. PBUS-2 being powered off can mean that PBUS-2 has no power. DBUS-2 being powered off can mean that DBUS-2 has no power. Additionally, if... Figure 5As shown, when the first electronic device 410 is not inserted, contact B3 in the second electronic device 420 can be connected to ground through pull-down resistor Rd-21. This means there is no voltage in the communication line where contact B3 is located, resulting in a low voltage level on the communication line where contact B3 is located, for example, it can be 0. Similarly, contact B4 in the second electronic device 420 can be connected to ground through pull-down resistor Rd-22. This means there is no voltage in the communication line where contact B4 is located, resulting in a reduced voltage level on the communication line where contact B4 is located, for example, it can be 0.
[0399] When the first electronic device 410 is in the inserted state, contact A3 in the first electronic device 410 can be connected to contact B3 or contact B4 via a signal line, so that the communication line where contact B3 or contact B4 is located forms the same communication line as the communication line where contact A3 is located. Since there is a power supply Vp-11 in the communication line where contact A3 is located, there will be voltage in the communication line where contact B3 or contact B4 is located, which will cause the voltage level on contact B3 or contact B4 to rise. For example, it may cause the voltage level on contact B3 or contact B4 to be the same as the voltage level on contact A3, that is, it may cause the voltage level on contact B3 or contact B4 to rise to within a preset range A or a preset range B.
[0400] In summary, when the second electronic device 420 is a single-power-supply device, the insertion / removal detection module B can determine the insertion or removal state of the first electronic device 410 based on whether PBUS-2 is powered on and the voltage levels at contacts B3 or B4. When the second electronic device 420 is a dual-power-supply device, the insertion / removal detection module B can determine the insertion or removal state of the first electronic device 410 based on whether PBUS-2 is powered on and the voltage levels at contacts B3 or B4; alternatively, the insertion / removal detection module B can determine the insertion or removal state of the first electronic device 410 based on whether PBUS-2 is powered on and the voltage levels at contacts B3 or B4.
[0401] For example, when the second communication module is connected to the signal line in cable 430 via contact B3, if the second electronic device 420 is a single-power-supply device, the insertion / removal detection module B can determine the insertion or removal status of the first electronic device 410 based on whether PBUS-2 is powered on and the voltage level at contact B3. If the second electronic device 420 is a dual-power-supply device, the insertion / removal detection module B can determine the insertion or removal status of the first electronic device 410 based on whether DBUS-2 is powered on and the voltage level at contact B3, or it can determine the insertion or removal status of the first electronic device 410 based on whether PBUS-2 is powered on and the voltage level at contact B3.
[0402] For example, when the second communication module is connected to the signal line in cable 430 via contact B4, if the second electronic device 420 is a single-power-supply device, the insertion / removal detection module B can determine the insertion or removal status of the first electronic device 410 based on whether PBUS-2 is powered on and the voltage level on contact B4. If the second electronic device 420 is a dual-power-supply device, the insertion / removal detection module B can determine the insertion or removal status of the first electronic device 410 based on whether DBUS-2 is powered on and the voltage level on contact B4, or it can determine the insertion or removal status of the first electronic device 410 based on whether PBUS-2 is powered on and the voltage level on contact B4.
[0403] The following example illustrates the connection between the second communication module and the signal line within cable 430 via contact B3.
[0404] In one example, when the second electronic device 420 is a single-power-supply electronic device, the insertion / removal detection module B can determine that the first electronic device 410 has been inserted when the PBUS-2 is detected to be powered on and the voltage level on contact B3 is within a preset range A. When the PBUS-2 is detected to be powered off, or the voltage level on contact B3 is within a preset range E, the insertion / removal detection module B can determine that the first electronic device 410 has been removed.
[0405] For example, when determining whether the first electronic device 410 is inserted based on whether PBUS-2 is powered on and whether the voltage level on contact B3 is within a preset range A, the insertion / removal detection module B can first detect whether PBUS-2 is powered on. When PBUS-2 is detected to be powered on, the insertion / removal detection module B can detect whether the voltage level on contact B3 is within the preset range A. When the voltage level on contact B3 is within the preset range A, the insertion / removal detection module B can determine that the first electronic device 410 is inserted. Similarly, when determining whether the first electronic device 410 is inserted based on whether DBUS-2 is powered on and whether the voltage level on contact B3 is within the preset range B, DBUS-2 can also be detected first. When DBUS-2 is detected to be powered on, the insertion / removal detection module B can detect whether the voltage level on contact B3 is within the preset range B. When the voltage level on contact B3 is within the preset range B, the insertion / removal detection module B can determine that the first electronic device 410 supporting dual power supplies is inserted.
[0406] In another example, when the second electronic device 420 is a dual-power-supply electronic device, the insertion / removal detection module B can determine that the dual-power-supply first electronic device 410 has been inserted when DBUS-2 is detected to be powered on and the voltage level at contact B3 is within a preset range B. When DBUS-2 or PBUS-2 is detected to be powered off, the insertion / removal detection module B can determine that the first electronic device 410 has been removed. Alternatively, when the voltage level at contact B3 is within a preset range E, the insertion / removal detection module B can determine that the dual-power-supply first electronic device 410 has been removed.
[0407] In another example, when the second electronic device 420 is a dual-power-supply device, the insertion / removal detection module B can determine that the first electronic device 410 supporting a single power supply has been inserted when PBUS-2 is detected to be powered on and the voltage level on contact B3 is within a preset range B. When PBUS-2 is detected to be powered off, or when the voltage level on contact B3 is detected to be within a preset range E, the insertion / removal detection module B can determine that the first electronic device 410 supporting a single power supply has been removed.
[0408] In some embodiments, in order to reduce misidentification of insertion or removal status caused by level jitter and improve the accuracy of determining the insertion or removal status of the first electronic device 410, the insertion / removal detection module B can determine the insertion or removal status of the first electronic device 410 based on the level on the contact B3 and the duration of the level.
[0409] In other words, when the second electronic device 420 is a single-power-supply electronic device, the insertion / removal detection module B can detect the voltage level on contact B3 when the PBUS-2 is detected to be powered on. When the voltage level on contact B3 is detected to be within a preset range A, and the duration of the voltage level on contact B3 within the preset range A is greater than or equal to the preset duration A, the insertion / removal detection module B can determine that the first electronic device 410 has been inserted.
[0410] When the second electronic device 420 is a dual-power-supply electronic device, the insertion / removal detection module B can detect the voltage level on contact B3 when the DBUS-2 is detected to be powered on. If the voltage level on contact B3 is within a preset range B, and the duration of the voltage level within the preset range B is greater than or equal to a preset duration B, the insertion / removal detection module B can determine that the first electronic device 410 supporting dual power supplies has been inserted. When the second electronic device 420 is a dual-power-supply electronic device, the insertion / removal detection module B can detect the voltage level on contact B3 when the PBUS-2 is detected to be powered on. If the voltage level on contact B3 is within a preset range B, and the duration of the voltage level within the preset range B is greater than or equal to a preset duration B, the insertion / removal detection module B can determine that the first electronic device 410 supporting single power supplies has been inserted.
[0411] When the insertion / removal detection module B determines whether the first electronic device 410 has been removed based on the level on the contact B3, if the level on the contact B3 is detected to be within a preset range E for a duration greater than or equal to the preset duration E, the insertion / removal detection module B can determine that the first electronic device 410 has been removed.
[0412] The preset range E and preset duration E can be determined according to the actual scenario, and this application embodiment does not impose any restrictions on them.
[0413] It should be understood that when the second electronic device 420 is an electronic device that supports dual power supplies, if the first electronic device 410 that supports single power supplies is detected to be inserted, since the first electronic device 410 that supports single power supplies cannot provide power to the second electronic device 420 that supports dual power supplies, the second electronic device 420 can output a prompt message. The prompt message can be used to indicate that power cannot be provided to the second electronic device 420 through the first electronic device 410.
[0414] Please see Figure 8 , Figure 8 This application provides a schematic diagram illustrating the level change when the second electronic device detects the insertion or removal state of the first electronic device. The diagram uses the example of the second communication module being connected to a signal line within cable 430 via contact B3 for illustrative purposes.
[0415] When the second electronic device 420 is an electronic device that supports a single power supply, the insertion / removal detection module B can detect the power-on or power-off state of PBUS-2 and monitor the level change on contact B3, so as to determine the insertion or removal state of the first electronic device 410 based on the power-on or power-off state of PBUS-2 and the level change on contact B3.
[0416] like Figure 8As shown in (a), when the PBUS-2 is detected to be powered on, the insertion / removal detection module B can detect the voltage level on contact B3. When the voltage level on contact B3 is detected... Figure 8 When the level at contact B3 rises to within a preset range A (which can be represented as level B3), the insertion / removal detection module B can start the insertion timing and continuously monitor the level at contact B3. When the level at contact B3 is detected to be within the preset range A for a duration greater than or equal to the preset duration A, the insertion / removal detection module B can begin timing the insertion and continuously monitor the level at contact B3. Figure 8 When it is shown as tDebouncePlugin-A), the insertion / removal detection module B can determine that the first electronic device 410 has been inserted.
[0417] Specifically, when the voltage level at contact B3 drops to a preset range E, the insertion / removal detection module B can start the removal timing and continuously monitor the voltage level at contact B3. The duration during which the voltage level at contact B3 remains within the preset range E is greater than or equal to a preset duration E(E). Figure 8 When tDebouncePullout-E is displayed, the insertion / removal detection module B can determine that the first electronic device 410 has been removed. Alternatively, when the insertion / removal detection module B detects that PBUS-2 is in a power-down state, the insertion / removal detection module B can determine that the first electronic device 410 has been removed.
[0418] When the second electronic device 420 is an electronic device that supports dual power supplies, the insertion / removal detection module B can detect the power-on or power-off state of DBUS-2 and monitor the level change on the contact B3, so as to determine the insertion or removal state of the first electronic device 410 based on the power-on or power-off state of DBUS-2 and the level change on the contact B3.
[0419] Alternatively, when the second electronic device 420 is an electronic device that supports dual power supplies, the insertion / removal detection module B can detect the power-on or power-off state of PBUS-2 and monitor the level change on contact B3, so as to determine the insertion or removal state of the first electronic device 410 based on the power-on or power-off state of PBUS-2 and the level change on contact B3.
[0420] like Figure 8 As shown in (b), when DBUS-2 is detected to be powered on, the insertion / removal detection module B can detect the voltage level on contact B3. When the voltage level on contact B3 rises to within a preset range B, the insertion / removal detection module B can start an insertion timer and continuously monitor the voltage level on contact B3. The duration for which the voltage level on contact B3 remains within the preset range B is greater than or equal to a preset duration B. Figure 8 When it is shown as tDebouncePlugin-B), the insertion / removal detection module B can determine that the first electronic device 410 supporting dual power supplies has been inserted.
[0421] Specifically, when the voltage level on contact B3 drops to a preset range E, the insertion / removal detection module B can start timing the removal and continuously monitor the voltage level on contact B3. When the voltage level on contact B3 remains within the preset range E for a duration greater than or equal to the preset duration E, the insertion / removal detection module B can determine that the first electronic device 410 supporting dual power supplies has been removed. Alternatively, when the insertion / removal detection module B detects that DBUS-2 or PBUS-2 is powered down, the insertion / removal detection module B can determine that the first electronic device 410 supporting dual power supplies has been removed.
[0422] like Figure 8 As shown in (c), when the PBUS-2 is detected to be powered on, the insertion / removal detection module B can detect the voltage level on contact B3. When the voltage level on contact B3 is detected to be within a preset range B for a duration greater than or equal to the preset duration B, the insertion / removal detection module B can determine that the first electronic device 410 supporting a single power supply has been inserted.
[0423] Specifically, when the voltage level on contact B3 drops to a preset range E, the insertion / removal detection module B can start timing the removal and continuously monitor the voltage level on contact B3. When the voltage level on contact B3 remains within the preset range E for a duration greater than or equal to the preset duration E, the insertion / removal detection module B can determine that the first electronic device 410 supporting a single power supply has been removed. Alternatively, when the insertion / removal detection module B detects that PBUS-2 is in a power-down state, the insertion / removal detection module B can determine that the first electronic device 410 supporting a single power supply has been removed.
[0424] It should be noted that when the second electronic device 420 is a single-power-supply electronic device, it may include a voltage conversion module. When the first electronic device 410 is inserted, the second electronic device 420 can obtain power from the PBUS power module in the first electronic device 410. After obtaining power from the PBUS power module, the voltage conversion module in the second electronic device 420 can convert the voltage provided by the PBUS power module to obtain... Figure 5 The contact B3 corresponds to power supply Vp-21 and power supply VCL-21, and the contact B4 corresponds to power supply Vp-22 and power supply VCL-22.
[0425] When the second electronic device 420 is an electronic device supporting dual power supplies, it may include multiple voltage conversion modules, such as voltage conversion module B1 and voltage conversion module B2. When it is determined that the first electronic device 410 supporting dual power supplies is inserted, the second electronic device 420 can obtain power from the DBUS power module in the first electronic device 410. After obtaining power from the DBUS power module, the voltage conversion module (e.g., voltage conversion module B1) in the second electronic device 420 can convert the voltage provided by the DBUS power module to obtain... Figure 5 The contact B3 corresponds to power supply Vp-21 and power supply VCL-21, and the contact B4 corresponds to power supply Vp-22 and power supply VCL-22.
[0426] In other words, Figure 5 The power supplies Vp-21, VCL-21, Vp-22, and VCL-22 shown can be obtained by the voltage conversion module B1 in the second electronic device 420 converting the voltage provided by the PBUS power module in the first electronic device 410, or by the voltage conversion module in the second electronic device 420 converting the voltage provided by the DBUS power module in the first electronic device 410.
[0427] In some embodiments, when it is determined that the first electronic device 410 has been inserted, the second electronic device 420 may open the Vp-22 pull-up path of the contact B4 within a preset time A, so as to detect whether there is a cable marker-2 connected to the second electronic device 420 in the cable 430 through the power supply Vp-22.
[0428] For example, when it is determined that the first electronic device 410 has been inserted, the second electronic device 420 can also close the path containing the pull-down resistor Rd-22 corresponding to the contact B4 within a preset time A. That is, when it is determined that the first electronic device 410 has been inserted, the second electronic device 420 can connect the contact B4 to the power supply Vp-22 within the preset time A, and can disconnect the path containing the pull-down resistor Rd-22, for example, it can turn off the switch of the path containing the pull-down resistor Rd-22, so as to reduce the influence of the path containing the pull-down resistor Rd-22 on the voltage level at the contact B4.
[0429] In some embodiments, the second electronic device 420 may further include a control module (hereinafter referred to as control module B). When it is determined that the first electronic device 410 has been inserted, control module B may connect contact B4 to power supply Vp-22 within a preset time A. Alternatively, when it is determined that the first electronic device 410 has been inserted, control module B may connect contact B4 to power supply Vp-22 within a preset time A and may disconnect the path containing pull-down resistor Rd-22.
[0430] It should be understood that control module B can be connected to contact B1. Control module B can obtain electrical power from the power module (e.g., PBUS power module or DBUS power module) in the first electronic device 410 through contact B1. In addition, control module B can also be connected to return ground B1 (i.e., DGND-2).
[0431] In some embodiments, the control module B and the second communication module can be the same module, that is, the second communication module can also have control functions. When it is determined that the first electronic device 410 has been inserted, the second communication module can connect contact B4 to power supply Vp-22 within a preset time A. Alternatively, when it is determined that the first electronic device 410 has been inserted, the second communication module can connect contact B4 to power supply Vp-22 within a preset time A and can disconnect the path containing pull-down resistor Rd-22.
[0432] The control functions of the second electronic device 420 described below can all be executed by the control module B or the second communication module in the second electronic device 420.
[0433] It should be understood that the preset time A can be determined according to the actual scenario, and the embodiments of this application do not impose any restrictions on it. For example, the preset time A can be determined to be 0 according to the actual scenario.
[0434] For example, the insertion / removal detection module B can detect the voltage level on contact B4 and determine whether there is a cable marker-2 connected to the second electronic device 420 in the cable 430 based on the voltage level on contact B4.
[0435] like Figure 5 As shown, when the first electronic device 410 is not inserted, contact B4 is connected to ground through pull-down resistor Rd-22. Additionally, power supplies Vp-22 and VCL-22 corresponding to contact B4 have no voltage, and the communication line between power supplies Vp-22 and VCL-22 and cable marker-2 is disconnected, resulting in a low voltage level on power line C4 corresponding to cable marker-2, for example, 0. After the first electronic device 410 is inserted, the second electronic device 420 can connect contact B4 to power supply Vp-22. At this time, the power module in the first electronic device 410 (e.g., PBUS or DBUS power module) can supply power to power supply Vp-22 through cable 430, causing voltage to appear on power line C4 connected to cable marker-2, thereby increasing the voltage level on the communication path where cable marker-2 is located.
[0436] When the second communication module is connected to the power line C4 via contact B4, the voltage level on power line C4 is the same as the voltage level on contact B4. Therefore, the insertion / removal detection module B can detect the voltage level on contact B4 and determine whether cable marker-2 is present inside cable 430 based on the voltage level on contact B4.
[0437] Therefore, when the second electronic device 420 supporting a single power supply or the second electronic device 420 supporting a dual power supply determines that the first electronic device 410 is in the insertion state, the insertion / removal detection module B in the second electronic device 420 can determine whether there is a cable marker-2 connected to the second electronic device 420 in the cable 430 based on the level on the contact B4.
[0438] In this embodiment, the voltage level on contact B4 can be determined based on the resistance Ra-2 within cable marker-2, the communication line where contact B4 is located, and the voltage provided by power supply Vp-22. This determines the preset range (e.g., preset range F) corresponding to the voltage level on contact B4 when a cable marker-2 connected to the second electronic device 420 exists within cable 430. Therefore, the insertion / removal detection module B can determine whether a cable marker-2 connected to the second electronic device 420 exists within cable 430 based on whether the voltage level on contact B4 is within the preset range F.
[0439] For example, when the insertion / removal detection module B detects that the voltage level on contact B4 is within a preset range F within a preset time B, the insertion / removal detection module B can determine that there is a cable marker-2 connected to the second electronic device 420 within the cable 430. When the insertion / removal detection module B does not detect that the voltage level on contact B4 is within the preset range F within the preset time B, the insertion / removal detection module B can determine that there is no cable marker-2 connected to the second electronic device 420 within the cable 430.
[0440] It should be understood that the preset time B can be determined specifically according to the actual scenario, and this application embodiment does not impose any restrictions on it. For example, the preset time B can be determined to be 0 according to the actual scenario. In addition, the preset range F can also be determined specifically according to the actual scenario, and this application embodiment does not impose any restrictions on it.
[0441] In some embodiments, when it is determined that a cable marker-2 connected to a second electronic device 420 exists within the cable 430, the second electronic device 420 can close the Vp-22 pull-up path of contact B4 and open the path of VCL-22 corresponding to contact B4. That is, the second electronic device 420 can switch the power supply connected to contact B4 from power supply Vp-22 to power supply VCL-22 to provide power to the cable marker-2 within the cable 430. This allows the second electronic device 420 to communicate with the cable marker-2, enabling it to read the attribute information stored in the cable marker-2 and configure its communication address, etc.
[0442] In one example, when the second electronic device 420 is a single-power-supply device, after the second electronic device 420 is connected to the first electronic device 410 via cable 430, the various modules in the second electronic device 420 (e.g., the second communication module, the second power module, and the insertion / removal detection module B, etc.) can be powered by the PBUS power module in the first electronic device 410. That is, the power supply Vp-22 and power supply VCL-22 corresponding to contact B4 can be provided by the PBUS power module in the first electronic device 410.
[0443] In this system, after the second communication module in the second electronic device 420 obtains power from the PBUS power module in the first electronic device 410, the second communication module in the second electronic device 420 can communicate with the first communication module in the first electronic device 410. Therefore, when the second electronic device 420 determines that there is still a cable marker-1 connected to the first electronic device 410 within the cable 430, the second electronic device 420 can send information A to the first electronic device 410. Information A can be used to instruct the first electronic device 410 to provide power to the cable marker-1 within the cable 430, enabling the second electronic device 420 to communicate with the cable marker-1 within the cable 430. This allows the second electronic device 420 to read the attribute information in the cable marker-1 and configure the communication address of the cable marker-1, etc. For example, information A can be used to instruct the first electronic device 410 to switch the power supply connected to contact A4 from Vp-11 to power supply VCL-11, so as to provide power to the cable marker-1 within the cable 430 through power supply VCL-11.
[0444] It should be understood that the second electronic device 420 can determine whether there is a cable marker-1 connected to the first electronic device 410 in the cable 430 based on the information C sent by the first electronic device 410 to the second electronic device 420, or the second electronic device 420 can determine whether there is a cable marker-1 connected to the first electronic device 410 in the cable 430 by reading the attribute information in the cable marker-2.
[0445] In other words, when the first electronic device 410 detects the presence of cable marker-1 connected to it within the cable 430, the first electronic device 410 can send information C to the second electronic device 420. Information C informs the second electronic device 420 that the first electronic device 410 has detected the presence of cable marker-1 connected to it within the cable 430. Therefore, the second electronic device 420 can determine the presence of cable marker-1 connected to the first electronic device 410 within the cable 430 based on information C.
[0446] Alternatively, after the second electronic device 420 supplies power to the cable marker-2 via the power supply VCL-22, the second electronic device 420 can communicate with the cable marker-2 to read the attribute information stored in the cable marker-2. This attribute information may include the number of cable marker chips included in the cable 430. Therefore, the second electronic device 420 can determine whether cable marker-1 exists within the cable 430 based on the number of cable marker chips read. For example, when the second electronic device 420 reads two cable marker chips, it can determine that cable marker-1 connected to the first electronic device 410 exists within the cable 430.
[0447] In another example, when both the second electronic device 420 and the first electronic device 410 are dual-power-supply devices, after the second electronic device 420 is connected to the first electronic device 410 via cable 430, the second communication module and the insertion / removal detection module B in the second electronic device 420 can be powered by the DBUS power module in the first electronic device 410. That is, the power supply Vp-22 and power supply VCL-22 corresponding to contact B4 can be provided by the DBUS power module in the first electronic device 410.
[0448] In this system, after the second communication module in the second electronic device 420 obtains power from the DBUS power module in the first electronic device 410, the second communication module in the second electronic device 420 can also communicate with the first communication module in the first electronic device 410. Therefore, when the second electronic device 420 determines that there is still a cable marker-1 connected to the first electronic device 410 in the cable 430, the second electronic device 420 can send information A to the first electronic device 410 to instruct the first electronic device 410 to provide power to the cable marker-1 in the cable 430. For example, it can instruct the first electronic device 410 to switch the power supply connected to contact A4 from Vp-11 to power supply VCL-11, so as to provide power to the cable marker-1 in the cable 430 through power supply VCL-11. This allows the second electronic device 420 to communicate with the cable marker-1 in the cable 430, thereby enabling the second electronic device 420 to read the attribute information in the cable marker-1 and configure the communication address of the cable marker-1.
[0449] It should be understood that when the second electronic device 420 determines that the cable 430 includes cable marker-1 and cable marker-2, the second electronic device 420 can first communicate with cable marker-2 to read the attribute information stored in cable marker-2 and can configure the communication address of cable marker-2. Subsequently, the second electronic device 420 can communicate with cable marker-1 to read the attribute information stored in cable marker-1 and can configure the communication address of cable marker-1, and so on.
[0450] In another example, when both the second electronic device 420 and the first electronic device 410 are dual-power-supply devices, when the second electronic device 420 detects that the first electronic device 410 has been inserted, the second electronic device 420 can also send information B to the first electronic device 410. Information B can be used to instruct the PBUS power module in the first electronic device 410 to output power to the second power module in the second electronic device 420, thereby providing power to the second power module through the PBUS power module.
[0451] In some embodiments, when it is determined that a cablemarker-2 connected to the second electronic device 420 exists in the cable 430, the insertion / removal detection module B can also determine whether the first electronic device 410 is in a removed state based on the level on the contact B4.
[0452] For example, when the insertion / removal detection module B detects that the voltage level on contact B4 is within a preset range G, the insertion / removal detection module B can determine that the first electronic device 410 is in a removed state. It should be understood that the preset range G can be determined according to the actual scenario, and this embodiment of the application does not limit it.
[0453] Please see Figure 9 , Figure 9 This diagram illustrates the voltage level changes when the second electronic device detects a cable marker chip within the cable according to an embodiment of this application. The diagram uses the example of both the first electronic device 410 and the second electronic device 420 being dual-power-supply devices to exemplify the voltage level changes during the process of the insertion / removal detection module B detecting the presence of a cable marker-2 connected to the second electronic device 420 within the cable 430.
[0454] like Figure 9 As shown, when the second electronic device 420 is an electronic device supporting dual power supplies, when the insertion / removal detection module B detects that DBUS-2 is in a powered-on state, the insertion / removal detection module B can detect the voltage level on contact B3. Figure 9 (This can be represented as level B3). When the level at contact B3 rises to within a preset range B, the insertion / removal detection module B can determine that the first electronic device 410 supporting dual power supplies has been inserted.
[0455] When it is determined that the first electronic device 410 supporting dual power supplies has been inserted, the second electronic device 420 can be activated at a preset time A. Figure 9 The circuit can be shown as the pull-up path of Vp-22 in the open contact B4 of the tVpDebounce, and the path of the pull-down resistor Rd-22 can be closed. That is, the contact B4 can be connected to the power supply Vp-22 so as to detect whether there is a cable marker-2 connected to the second electronic device 420 in the cable 430 through the power supply Vp-22.
[0456] When the insertion / removal detection module B is within a preset time B( Figure 9 The level detected at contact B4 can be shown as tVclDebounce. Figure 9 When the voltage level (B4) is within the preset range F, the insertion / removal detection module B can determine that cable marker-2 exists within cable 430. At this time, the second electronic device 420 can close the Vp-22 pull-up path of contact B4 and open the path of VCL-22 corresponding to contact B4. That is, the power supply connected to contact B4 can be switched from power supply Vp-22 to power supply VCL-22 to provide power to cable marker-2 within cable 430 through power supply VCL-22.
[0457] When the first electronic device 410, which supports dual power supplies, is confirmed to be inserted, the second electronic device 420 can send information B to the first electronic device 410. Upon receiving information B, the first electronic device 410 can control the PBUS power module to output power to the second power module in the second electronic device 420. Specifically, the first electronic device 410 can control the PBUS power module to output power to the second power module in the second electronic device 420 after the second electronic device 420 has supplied power to the cable marker-2 within the cable 430 via power supply VCL-22.
[0458] When the insertion / removal detection module B detects that the DBUS power module is powered down, that is, when it detects that contact B1 (e.g., DBUS-2) is in a powered-down state, the insertion / removal detection module B can determine that the first electronic device 410 has been disconnected, and thus determine that the first electronic device 410 is in a pulled-out state.
[0459] Alternatively, when the insertion / removal detection module B detects that the PBUS power module is powered down, that is, when it detects that contact B2 (e.g., PBUS-2) is in a powered-down state, the insertion / removal detection module B can determine that the first electronic device 410 is in a removed state.
[0460] Alternatively, when the insertion / removal detection module B detects a power failure on contact B3, that is, when the level on contact B3 is detected to be within a preset range E, and the duration of the level on contact B3 being within the preset range E is greater than or equal to a preset duration E (…), the detection module B can detect a power failure on contact B3. Figure 9 When it is shown as tDebouncePullout-E, the insertion / removal detection module B can determine that the first electronic device 410 is in the unplugged state.
[0461] Alternatively, when the insertion / removal detection module B detects a power failure on contact B4, that is, when the level on contact B4 is detected to be within the preset range G, the insertion / removal detection module B can determine that the first electronic device 410 is in the unplugged state.
[0462] It should be understood that in a typical power supply system, when both cable marker-1 and cable marker-2 exist within the cable, when the power supply device / receiving device needs to access the near-end cable marker chip, it must first shut down the power supply to the far-end cable marker chip via a protocol command. Then, it must reconnect the power supply to the near-end cable marker chip to enable communication between them. In other words, in a typical power supply system, accessing the cable marker chip requires a complex power-on / off and communication switching process, resulting in a prolonged communication time between the power supply device / receiving device and the cable marker chip.
[0463] In this embodiment of the application, when the cable 430 includes cable marker-1 and cable marker-2, when the first electronic device 410 provides power to the second electronic device 420 through the cable 430, the first electronic device 410 can also provide power to the cable marker-1 near the first electronic device 410. After the second electronic device 420 obtains power from the first electronic device 410, it can provide power to the cable marker-2 near the second electronic device 420, so that cable marker-1 and cable marker-2 can be powered on at the same time. This simplifies the communication process between the first electronic device 410 and cable marker-1 / cable marker-2, and also simplifies the communication process between the second electronic device 420 and cable marker-1 / cable marker-2, thereby shortening the communication time.
[0464] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0465] Those skilled in the art will recognize that the units of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0466] In the embodiments provided in this application, it should be understood that the disclosed electronic devices (e.g., the first electronic device and the second device) can be implemented in other ways. For example, the electronic device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some ports, devices, or units, and may be electrical, mechanical, or other forms.
[0467] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0468] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A first electronic device, characterized in that, The first electronic device includes a first communication module, a first power module, a first power supply module, a second power supply module, a first return ground, a second return ground, a first contact, and a second contact. The first communication module is connected to the first power supply module and is also connected to the first return ground. The first power supply module is connected to the first return ground and is also connected to the first contact. The first power module is connected to the second power supply module and is also connected to the second return ground. The second power supply module is also connected to the second return ground and is also connected to the second contact. The first power module is used to provide power to the first communication module and to provide power to the second communication module in the second electronic device through the first contact. The second power module is used to provide electrical energy to the first power module and to provide electrical energy to the second power module in the second electronic device through the second contact; The first return ground is used to return the current supplied by the first power module; The second return ground is used to return the current supplied by the second power module.
2. The first electronic device according to claim 1, characterized in that, The first electronic device further includes a third contact, which is connected to the first communication module; The first communication module is also used to communicate with the second electronic device through the third contact.
3. The first electronic device according to claim 2, characterized in that, The first electronic device further includes a first insertion / removal detection module, which is connected to the first power module and is also connected to the first return ground. The first power module is also used to provide power to the first insertion / removal detection module; The first insertion / removal detection module is used to detect the insertion or removal status of the second electronic device.
4. The first electronic device according to claim 3, characterized in that, The first insertion / removal detection module is connected to the third contact. The first insertion / removal detection module is further configured to determine the insertion or removal state of the second electronic device based on the voltage level on the third contact.
5. The first electronic device according to claim 4, characterized in that, The first insertion / removal detection module is further configured to determine that the second electronic device supporting dual power supply has been inserted when the voltage level on the third contact is within a first range.
6. The first electronic device according to claim 5, characterized in that, The first insertion / removal detection module is further configured to determine that the second electronic device supporting dual power supply has been inserted when it is determined that the level on the third contact is within the first range and the duration is greater than or equal to the first threshold.
7. The first electronic device according to claim 5, characterized in that, When the first insertion / removal detection module determines that the second electronic device supporting dual power supply has been inserted, the first power supply module outputs power to the second electronic device.
8. The first electronic device according to claim 5, characterized in that, The first communication module is further configured to acquire first information sent by the second electronic device, and when it is determined that the second electronic device supporting dual power supply has been inserted, control the second power module to output power to the second electronic device according to the first information.
9. The first electronic device according to claim 4, characterized in that, The first insertion / removal detection module is further configured to determine that the second electronic device supporting dual power supplies has been unplugged when the voltage level on the third contact is within the second range.
10. The first electronic device according to claim 9, characterized in that, The first insertion / removal detection module is further configured to determine that the second electronic device supporting dual power supply has been unplugged when it is determined that the level on the third contact is within the second range and the duration is greater than or equal to the second threshold.
11. The first electronic device according to claim 9, characterized in that, When the first insertion / removal detection module determines that the second electronic device supporting dual power supplies has been unplugged, the first power module and the second power module stop outputting power to the second electronic device.
12. The first electronic device according to claim 4, characterized in that, The first insertion / removal detection module is further configured to determine that the second electronic device supporting a single power supply has been inserted when the voltage level on the third contact is within a third range.
13. The first electronic device according to claim 12, characterized in that, The first insertion / removal detection module is further configured to determine that the second electronic device supporting a single power supply has been inserted when it is determined that the level on the third contact is within the third range and the duration is greater than or equal to the third threshold.
14. The first electronic device according to claim 12, characterized in that, When the first insertion / removal detection module determines that the second electronic device supporting a single power supply has been inserted, the second power supply module outputs power to the second electronic device.
15. The first electronic device according to claim 12, characterized in that, The first insertion / removal detection module is further configured to determine that the second electronic device supporting a single power supply has been unplugged when it is determined that the level on the third contact is in the fourth range.
16. The first electronic device according to claim 15, characterized in that, The first insertion / removal detection module is further configured to determine that the second electronic device supporting a single power supply has been unplugged when it is determined that the level on the third contact is within the fourth range and the duration is greater than or equal to the fourth threshold.
17. The first electronic device according to claim 15, characterized in that, When the first insertion / removal detection module determines that the second electronic device supporting a single power supply has been unplugged, the second power supply module stops outputting power to the second electronic device.
18. The first electronic device according to any one of claims 3 to 17, characterized in that, The first electronic device further includes a fourth contact, which is connected to the first insertion / removal detection module; The fourth contact is used to connect to the first chip inside the cable; The first insertion / removal detection module is further configured to determine whether the first chip exists in the cable connected to the first electronic device based on the voltage level at the fourth contact.
19. The first electronic device according to claim 18, characterized in that, The first insertion / removal detection module is further configured to determine that the first chip exists in the cable connected to the first electronic device when the voltage level at the fourth contact is within the fifth range.
20. The first electronic device according to claim 18, characterized in that, The first electronic device also includes a voltage conversion module; The first communication module is further configured to, when it is determined that the first chip exists in the cable connected to the first electronic device, acquire second information sent by the second electronic device, and switch the power module connected to the fourth contact from the first power submodule to the second power submodule according to the second information, so as to provide power to the first chip through the second power submodule. The first power submodule and the second power submodule are obtained by the voltage conversion module in the first electronic device converting the first power module.
21. The first electronic device according to claim 20, characterized in that, The first communication module is further configured to switch the power module connected to the fourth contact from the second power submodule to the first power submodule when it is determined that the second electronic device has been unplugged.
22. The first electronic device according to any one of claims 1 to 17, 19 to 21, characterized in that, The contact is a pin.
23. A second electronic device, characterized in that, The second electronic device includes a second communication module, a second power module, a third return ground, a fourth return ground, a fifth contact, and a sixth contact. The second communication module is connected to the third return ground and is also connected to the fifth contact. The second power module is connected to the fourth return ground and is also connected to the sixth contact. The second communication module is used to obtain electrical energy provided by the first power module in the first electronic device through the fifth contact. The second power module is used to obtain electrical energy provided by the second power module in the first electronic device through the sixth contact; The third return ground is used to return the current supplied by the first power module; The fourth return ground is used to return the current supplied by the second power module.
24. The second electronic device according to claim 23, characterized in that, The second electronic device further includes a seventh contact, which is connected to the second communication module; The second communication module is also used to communicate with the first electronic device through the seventh contact.
25. The second electronic device according to claim 24, characterized in that, The second electronic device further includes a second insertion / removal detection module, which is connected to the fifth contact and also connected to the third return ground. The second insertion / removal detection module is used to obtain electrical energy provided by the first power module in the first electronic device through the fifth contact, and to detect the insertion or removal status of the first electronic device.
26. The second electronic device according to claim 25, characterized in that, The second insertion / removal detection module is connected to the seventh contact. The second insertion / removal detection module is further configured to determine the insertion or removal state of the first electronic device based on the power-on or power-off state of the fifth contact and the voltage level on the seventh contact; or, it is further configured to determine the insertion or removal state of the first electronic device based on the power-on or power-off state of the sixth contact and the voltage level on the seventh contact.
27. The second electronic device according to claim 26, characterized in that, The second insertion / removal detection module is further configured to determine that the first electronic device supporting dual power supplies has been inserted when it is determined that the fifth contact is in a powered-on state and the level on the seventh contact is in the sixth range.
28. The second electronic device according to claim 27, characterized in that, The second insertion / removal detection module is further configured to determine that the first electronic device supporting dual power supply has been inserted when it is determined that the fifth contact is in a powered-on state and the level on the seventh contact is in the sixth range for a duration greater than or equal to the sixth threshold.
29. The second electronic device according to claim 28, characterized in that, The second electronic device also includes an eighth contact and a voltage conversion module; The second communication module is further configured to control the eighth contact to connect to a third power submodule when it is determined that the first electronic device supporting dual power supplies has been inserted. The third power submodule is obtained by the voltage conversion module in the second electronic device from the first power module.
30. The second electronic device according to claim 28, characterized in that, The second communication module is further configured to send first information to the first electronic device when it is determined that the first electronic device supporting dual power supply has been inserted, the first information being used to instruct the second power module in the first electronic device to provide power to the second power module in the second electronic device.
31. The second electronic device according to claim 26, characterized in that, The second insertion / removal detection module is further configured to determine that the first electronic device supporting a single power supply has been inserted when it is determined that the sixth contact is in a powered-on state and the level on the seventh contact is in the seventh range.
32. The second electronic device according to claim 31, characterized in that, The second insertion / removal detection module is further configured to determine that the first electronic device supporting a single power supply has been inserted when it is determined that the sixth contact is in a powered-on state and the level on the seventh contact is in the seventh range for a duration greater than or equal to the seventh threshold.
33. The second electronic device according to any one of claims 25 to 32, characterized in that, The second insertion / removal detection module is further configured to determine that the first electronic device has been unplugged when it detects that the fifth contact or the sixth contact is in a power-off state, or when it detects that the level on the seventh contact is in an eighth range.
34. The second electronic device according to claim 33, characterized in that, The second insertion / removal detection module is further configured to determine that the first electronic device has been unplugged when it detects that the level on the seventh contact is within the eighth range and the duration is greater than or equal to the eighth threshold.
35. The second electronic device according to any one of claims 25 to 32, characterized in that, The second electronic device further includes an eighth contact, which is connected to the second insertion / removal detection module; The eighth contact is used to connect to the second chip inside the cable; The second insertion / removal detection module is further configured to determine, based on the voltage level at the eighth contact, whether the second chip is present in the cable connected to the second electronic device.
36. The second electronic device according to claim 35, characterized in that, The second insertion / removal detection module is further configured to determine that the second chip exists in the cable connected to the second electronic device when the level detected on the eighth contact is in the ninth range.
37. The second electronic device according to claim 36, characterized in that, The second electronic device includes a voltage conversion module; The second communication module is further configured to, when it is determined that the second chip exists in the cable connected to the second electronic device, switch the power module connected to the eighth contact from the third power submodule to the fourth power submodule, so as to provide power to the second chip through the fourth power submodule. The third power submodule and the fourth power submodule are obtained by the voltage conversion module in the second electronic device from the first power module.
38. The second electronic device according to any one of claims 29, 36 to 37, characterized in that, The second insertion / removal detection module is further configured to determine that the first electronic device has been unplugged when the level on the eighth contact is detected to be in the tenth range.
39. The second electronic device according to any one of claims 23 to 32, 34, and 36 to 37, characterized in that, The second communication module is further configured to send second information to the first electronic device when it is determined that there is a first chip in the cable connected to the second electronic device, the second information being used to instruct the first electronic device to provide power to the first chip in the cable.
40. The second electronic device according to any one of claims 23 to 32, 34, and 36 to 37, characterized in that, The contact is a pin.
41. A cable, characterized in that, The cable includes a first power line, a second power line, a fifth return ground corresponding to the first power line, and a sixth return ground corresponding to the second power line; The first power line is used to connect to a first contact in the first electronic device and to a fifth contact in the second electronic device, so that the first power module in the first electronic device provides power to the second communication module in the second electronic device through the first contact, the first power line and the fifth contact; The second power line is used to connect to the second contact in the first electronic device and to the sixth contact in the second electronic device, so that the second power module in the first electronic device provides power to the second power communication module in the second electronic device through the second contact, the second power line and the sixth contact.
42. The cable according to claim 41, characterized in that, The cable also includes signal lines; The signal line is used to connect to the third contact of the first electronic device and to the seventh contact of the second electronic device.
43. The cable according to claim 42, characterized in that, The cable also includes a first chip and a second chip, wherein the first chip is connected to the signal line and the second chip is connected to the signal line.
44. The cable according to claim 43, characterized in that, The cable also includes a third power line connected to the first chip and a fourth power line connected to the second chip. The third power line is used to connect to the fourth contact in the first electronic device; The fourth power line is used to connect to the eighth contact in the second electronic device.
45. The cable according to any one of claims 41 to 44, characterized in that, The contact is a pin.
46. A power supply system, characterized in that, It includes a first electronic device, a second electronic device, and a cable connecting the first electronic device and the second electronic device; The first electronic device includes a first communication module, a first power module, a first power supply module, a second power supply module, a first return ground, a second return ground, a first contact, and a second contact. The first communication module is connected to the first power supply module and is also connected to the first return ground. The first power supply module is connected to the first return ground and is also connected to the first contact. The first power module is connected to the second power supply module and is also connected to the second return ground. The second power supply module is also connected to the second return ground and is also connected to the second contact. The second electronic device includes a second communication module, a second power module, a third return ground, a fourth return ground, a fifth contact, and a sixth contact. The second communication module is connected to the third return ground and is also connected to the fifth contact. The second power module is connected to the fourth return ground and is also connected to the sixth contact. The cable includes a first power line, a second power line, a fifth return ground corresponding to the first power line, and a sixth return ground corresponding to the second power line; The first power cord is used to connect the first contact in the first electronic device and the fifth contact in the second electronic device; The second power cord is used to connect the second contact in the first electronic device and the sixth contact in the second electronic device; The first power module is used to provide power to the first communication module and to provide power to the second communication module through the first contact, the first power line and the fifth contact; The second power module is used to provide electrical energy to the first power module, and to provide electrical energy to the second power module through the second contact, the second power line and the sixth contact; The first return ground, the third return ground, and the fifth return ground are used to return the current supplied by the first power module; The second return ground, the fourth return ground, and the sixth return ground are used to return the current supplied by the second power module.
47. The power supply system according to claim 46, characterized in that, The contact is a pin.
Citation Information
Patent Citations
Communication electric plug connection part of ignition power prevention type
CN106654738A
Fast charging protection circuit and method, fast charging chip and fast charging power supply equipment
CN111817409A
Charging circuit, electronic equipment, charging system and reverse charging method
CN116054309A
Intelligent cable based on charging protocol and connecting line thereof
CN116526223A
Cited By
First electronic device, second electronic device, cable, and power supply system
WO2025208977A1