Control method, control circuit and chip for Ra resistor in electronic tag cable

By introducing a connection detection module into the electronic tag cable, the Ra resistance state is continuously detected and controlled, and the problem of the Ra resistance not being restored to normal due to the power supply equipment being undischarged, achieving higher charging power and user experience.

CN120197635APending Publication Date: 2025-06-24ZHUHAI ISMARTWARE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510263907.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-06
Publication Date
2025-06-24

AI Technical Summary

Technical Problem

In the prior art, after the CC connection is disconnected, the power supply equipment does not discharge according to the Type-C standard protocol specification, resulting in the Ra resistance being unable to return to normal, affecting the charging power and user experience.

Method used

By introducing a connection detection module into the electronic tag cable, the connection state of the electronic tag chip and the configuration device is continuously detected, and after the disconnection state is detected, the control Ra resistor switches from the weakened state to the normal state.

Benefits of technology

Accurately identify the connection and disconnection between the electronic tag chip and the configuration device, ensure that the Ra resistor returns to normal state, avoid misjudgment of cable types by the power supply equipment, and improve charging power and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120197635A_ABST
    Figure CN120197635A_ABST
Patent Text Reader

Abstract

The invention discloses an Ra resistor control method in an electronic tag cable, a control circuit and a chip, and relates to the technical field of interfaces, and the Ra resistor control method in the electronic tag cable comprises the following steps: when the electronic tag cable is switched from a power-down state to a power-on Ra resistor weakening state, the Ra resistor weakening state is switched from a power-down state to a power-on Ra resistor weakening state; if the connection detection module detects that the electronic tag chip and the configuration equipment are in a disconnected state, the connection detection module is controlled to continuously execute detection operation, and the electronic tag cable is controlled to be switched from the power-on Ra resistor weakening state to the power-on Ra resistor normal state; the normal state of the power-on Ra resistor is a state that the Ra resistor is connected to the electronic tag cable. According to the scheme, the electronic tag cable can be automatically controlled to be recovered from the power-on Ra resistor weakening state to the power-on Ra resistor normal state, the problem that the power supply equipment misjudges the cable type due to Ra resistor weakening is avoided, the compatibility is improved, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention generally relates to the technical field of Type-C interfaces, and particularly relates to a method for controlling the Ra resistance in an electronic tag cable, a control circuit, and a chip. Background Art

[0002] With the rapid development of electronic devices, consumers' requirements for performance such as the charging speed and data transmission rate of devices are also getting higher and higher. The Type-C interface, with its advantages of reversible plugging and unplugging, supporting higher power transmission, and high-speed data transmission, has become the mainstream interface standard for electronic device connections. The Type-C interface is widely used not only in mobile devices such as smartphones, tablets, and laptops, but also in a large number of peripheral devices such as chargers, docking stations, and monitors. Among them, the E-marker (electronic tag) cable, as an important part of the Type-C interface application, can store and transmit relevant information of the cable, thus ensuring safe and efficient communication between devices.

[0003] In the E-marker cable, the Ra resistance is a key electrical component that is connected between the VCONN pin of the E-marker chip and GND (ground). When the E-marker chip is in a power-off state, the Ra resistance has a specific resistance value (usually about 1 kΩ). The existence of this resistance plays a certain role in maintaining the electrical characteristics of the cable and realizing the basic functions of the chip. Considering low power consumption, the Type-C protocol stipulates that after the E-marker chip detects the power-on of VCONN, it must weaken the Ra resistance within the time of tRaWeaken (21 ms to 1200 ms), that is, increase the resistance value of the original Ra resistance of about 1 kΩ, so that the power consumption of the E-marker chip not in the communication state is less than 20 mW.

[0004] Currently, the Ra resistance control scheme in the related art E-marker is defined based on the requirements of the Type-C standard protocol. Specifically, after the CC connection is disconnected, the VCONN power supply device first shuts off the power supply, discharges the VCONN pin to a voltage lower than the power-off threshold, and then drives the Rp (pull-up resistor) or Rd (pull-down resistor) to make the E-marker chip return to the power-off state, and the Ra resistance returns to normal from the weakened state. However, some power supply devices are not designed in accordance with the Type-C standard protocol specifications. After the CC connection is disconnected, they drive the VCONN pin with Rp without discharging, resulting in the E-marker chip being unable to detect the power-off, the Ra resistance not being able to return to normal, and when the charging device is connected again, since the Ra resistance is still in the weakened state, the power supply device misjudges the cable type, thereby limiting the charging power and reducing the user experience. Summary of the Invention

[0005] In view of the above defects or deficiencies in the prior art, it is desirable to provide a method for controlling the Ra resistance in an electronic tag cable, a control circuit, and a chip.

[0006] In a first aspect, the present application provides a method for controlling the Ra resistance in an electronic tag cable. The method for controlling the Ra resistance in the electronic tag cable includes:

[0007] When the electronic tag cable switches from the power-off state to the power-on Ra resistance weakening state, if the connection detection module detects that the electronic tag chip is in a disconnected state from the configuration device, control the connection detection module to continuously perform the detection operation, and control the electronic tag cable to switch from the power-on Ra resistance weakening state to the power-on Ra resistance normal state; the power-on Ra resistance normal state is the state where the Ra resistance is connected to the electronic tag cable.

[0008] In one embodiment, after controlling the electronic tag cable to switch from the power-on Ra resistance weakening state to the power-on Ra resistance normal state, the method further includes:

[0009] When the electronic tag cable is in the power-on Ra resistance normal state, if the connection detection module detects that the electronic tag chip is in a reconnected state with the configuration device, control the connection detection module to continuously perform the detection operation, and control the electronic tag cable to switch from the power-on Ra resistance normal state to the power-on Ra resistance weakening state;

[0010] When the electronic tag cable is in the power-on Ra resistance normal state, if the voltage of the power supply pin is less than a preset power-off threshold value, control the electronic tag cable to switch from the power-on Ra resistance normal state to the power-off state.

[0011] In one embodiment, after the electronic tag cable switches from the power-off state to the power-on Ra resistance weakening state, the method further includes:

[0012] If it is detected that the voltage of the configuration channel pin in the electronic tag chip is within a first range and lasts for a first preset time, it is determined that the electronic tag chip is in a disconnected state from the configuration device; the first range includes: the voltage of the configuration channel pin is less than a first reference voltage value or greater than a second reference voltage value;

[0013] When the electronic tag chip is in a disconnected state from the configuration device, if it is detected that the voltage of the configuration channel pin is within a second range and lasts for a second preset time, it is determined that the electronic tag chip is in a reconnected state with the configuration device; the second range includes: the voltage of the configuration channel pin is not less than the first reference voltage value and not greater than the second reference voltage value.

[0014] In a second aspect, the present application provides a Ra resistance control circuit in an electronic tag cable. The Ra resistance control circuit in the electronic tag cable includes:

[0015] The Ra resistance control circuit in the electronic tag cable includes: at least one Ra resistance module, a control module, a communication module, a power supply detection module, and a connection detection module; the Ra resistance module includes: a Ra resistance, a switch, and a ground terminal;

[0016] A first end of at least one power supply pin in the electronic tag chip is sequentially connected to the ground terminal through the switch and the Ra resistance, and is connected to one end of the power supply detection module; a second end of the power supply pin is connected to a first end of a configuration channel pin in the electronic tag chip, a second end of the configuration channel pin is respectively connected to one end of the connection detection module and one end of the communication module, and a third end of the configuration channel pin is connected to a ground pin; the control module is respectively connected to the other end of the power supply detection module, the other end of the connection detection module, the other end of the communication module, and the switch; the electronic tag chip is mounted in the electronic tag cable;

[0017] The communication module is configured to: establish a connection with a configuration device;

[0018] The power supply detection module is configured to: detect the voltage of the power supply pin and output it to the control module; the connection detection module is configured to: detect the connection state between the electronic tag chip and the configuration device and output it to the control module;

[0019] The control module is configured to: when the electronic tag cable switches from a power-off state to a power-on Ra resistance weakening state, if the electronic tag chip and the configuration device are in a disconnected state, control the connection detection module to continuously perform a detection operation, and control the switch to close, so that the electronic tag cable switches from the power-on Ra resistance weakening state to a power-on Ra resistance normal state; the power-on Ra resistance normal state is the state where the Ra resistance is connected to the electronic tag cable.

[0020] In one embodiment, the control module is specifically configured to:

[0021] When the electronic tag cable is in the power-on Ra resistance normal state, if the electronic tag chip and the configuration device are in a reconnected state, control the connection detection module to continuously perform a detection operation, and control the switch to open, so that the electronic tag cable switches from the power-on Ra resistance normal state to a power-on Ra resistance weakening state;

[0022] When the electronic tag cable is in the normal power - on Ra resistance state, if the voltage of the power - supply pin is less than the preset power - off threshold value, control the switch to close, so that the electronic tag cable switches from the normal power - on Ra resistance state to the power - off state.

[0023] In one embodiment, the at least one power - supply pin includes a first pin and a second pin; the at least one Ra resistance module includes a first resistance module and a second resistance module;

[0024] The first end of the first pin is sequentially connected to the first resistor in the first resistance module, the first switch, and the first ground terminal. The first end of the first pin is also connected to one end of the power - supply detection module. The second end of the first pin is connected to the first end of the configuration channel pin;

[0025] The first end of the second pin is sequentially connected to the second resistor in the second resistance module, the second switch, and the second ground terminal. The first end of the second pin is also connected to one end of the power - supply detection module. The second end of the second pin is connected to the ground pin, and the third end of the second pin is connected to the third end of the first pin;

[0026] Both the first switch and the second switch are connected to the control module.

[0027] In one embodiment, the connection detection module includes: a first comparator, a second comparator, and an OR gate;

[0028] The first input terminal of the first comparator is used to connect to a first reference voltage value; the second end of the configuration channel pin is connected to the second input terminal of the first comparator and the first input terminal of the second comparator. The second input terminal of the second comparator is used to connect to a second reference voltage value; the output terminal of the first comparator is connected to the first input terminal of the OR gate, the output terminal of the second comparator is connected to the second input terminal of the OR gate, and the output terminal of the OR gate is connected to the control module; the first reference voltage value is less than the second reference voltage value.

[0029] In one embodiment, the connection detection module is specifically configured to:

[0030] If it is detected that the voltage of the configuration channel pin is within a first range and lasts for a first preset time, determine that the electronic tag chip and the configuration device are in a disconnected state; the first range includes: the voltage of the configuration channel pin is less than the first reference voltage value or greater than the second reference voltage value;

[0031] When the electronic tag chip is in a disconnected state from the configuration device, if it is detected that the voltage of the configuration channel pin is within a second range and lasts for a second preset time, it is determined that the electronic tag chip and the configuration device are in a reconnected state; the second range includes: the voltage of the configuration channel pin is not less than the first reference voltage value and not greater than the second reference voltage value.

[0032] In one embodiment, the control module is further configured to:

[0033] Generate a communication control instruction and send it to the communication module to establish communication between the electronic tag chip and the configuration device through the communication module;

[0034] Generate a first detection control instruction and send it to the power supply detection module to detect the voltage of the power supply pin through the power supply detection module;

[0035] Generate a second detection control instruction and send it to the connection detection module to detect the connection state between the electronic tag chip and the configuration device through the connection detection module;

[0036] Generate a switch control instruction and send it to the Ra resistor module to perform a disconnection or conduction operation through the Ra resistor module.

[0037] In a third aspect, the present application provides a chip, including the Ra resistor control circuit in the electronic tag cable as described in the second aspect above.

[0038] The embodiments of the present application provide a method for controlling the Ra resistance in an electronic tag cable, a control circuit and a chip. The method for controlling the Ra resistance includes: when the electronic tag cable switches from a power-off state to a power-on Ra resistance weakening state, if the connection detection module detects that the electronic tag chip and the configuration device are in a disconnected state, controlling the connection detection module to continuously perform detection operations, and controlling the electronic tag cable to switch from the power-on Ra resistance weakening state to the power-on Ra resistance normal state; the power-on Ra resistance normal state is the state where the Ra resistance is connected to the electronic tag cable. Compared with the prior art, when the electronic tag cable switches from the power-off state to the power-on Ra resistance weakening state and it is detected that the configuration device is removed from the connection with the electronic tag chip, the method can accurately identify the connection and disconnection between the electronic tag (E-marker) chip and the external configuration device by controlling the connection detection module to continuously perform the detection state. And since the power-on Ra resistance normal state for characterizing the connection of the Ra resistance to the electronic tag cable is set, the electronic tag cable is controlled to recover from the power-on Ra resistance weakening state to the power-on Ra resistance normal state, effectively solving the problem that the Ra resistance cannot return to normal in the prior art. By restoring the Ra resistance to the normal state, the problem of misjudgment of the cable type by the power supply device due to the weakening of the Ra resistance is avoided, and the charging power is not limited due to misjudgment, improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Other features, objects and advantages of the present application will become more apparent by reading the detailed description of the non-limiting embodiments with reference to the following drawings:

[0040] Figure 1 Schematic diagram of the state transition of the method for controlling the Ra resistance of the electronic tag cable in the related art provided by the embodiments of the present application;

[0041] Figure 2 Schematic diagram of the structure of the control circuit for the Ra resistance in the electronic tag cable provided by the embodiments of the present application;

[0042] Figure 3 Schematic diagram of the state transition in the control circuit for the Ra resistance in the electronic tag cable provided by the embodiments of the present application;

[0043] Figure 4 Schematic diagram of the structure of the control circuit for the Ra resistance in the electronic tag cable provided by another embodiment of the present application;

[0044] Figure 5 Schematic diagram of the internal circuit structure of the connection detection module provided by the embodiments of the present application;

[0045] Figure 6 Schematic diagram of the flow of the method for controlling the Ra resistance in the electronic tag cable provided by the embodiments of the present application.

[0046] Description of reference numerals:

[0047] Ra resistance module-10; first resistance module-11; second resistance module-12; control module-20; communication module-30; power supply detection module-40; connection detection module-50; first comparator-51; second comparator-52; OR gate-53; power supply pin-60; configuration channel pin-70; first pin-61; second pin-62. DETAILED DESCRIPTION

[0048] The present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It is also necessary to explain that, for ease of description, only the parts related to the invention are shown in the accompanying drawings.

[0049] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0050] It can be understood that in the Type-C interface system, the Configuration Channel (CC) pin is used for connection configuration and communication between devices, and the power supply pin can be understood as the Configuration Channel Power (VCONN) pin, which is used to power the E-marker chip. When the CC pin is disconnected, it means that the connection relationship between the devices has changed, and the charging device may be removed. According to the Type-C standard protocol specification, the power supply device of VCONN needs to turn off the VCONN power supply first, and then discharge the VCONN pin to make the VCONN pin voltage lower than the VCONN power-off threshold. Only after completing these operations can Rp or Rd be driven. When the VCONN pin voltage is lower than the power-off threshold value, the E-marker chip can detect the power-off signal, thereby returning to the power-off state from the previous power-on working state. In the power-off state, the Ra resistor on the VCONN pin will be restored from the weakened state previously used to reduce power consumption to the normal Ra resistance value, so that the subsequent device can be recognized and communicated normally when it is connected again.

[0051] However, for some power supply devices, they are not designed in accordance with the Type-C standard protocol specification. When the charging device is removed, the connection of the CC pin is disconnected, and these devices do not discharge the VCONN. Instead, they directly drive the VCONN pin of the E-marker cable with Rp, which results in the voltage of the VCONN pin not dropping below the power-off threshold. For the E-marker chip with low-power design, it determines whether to enter the power-off state by detecting whether the voltage of the VCONN pin is lower than the power-off threshold. Since the power supply device does not discharge, the E-marker chip cannot detect the power-off signal, so it cannot restore the Ra resistor from the weakened state to the normal state. When the charging device is connected again, the power supply device needs to detect the Ra resistor to determine the E-marker cable. Since the Ra resistor is still in the weakened state, the power supply device may not be able to detect the normal Ra resistor, thus misjudging the cable as a non-E-marker cable. In this case, the power supply device may limit the charging power to ensure safety, which will slow down the charging speed and affect the user experience.

[0052] Specifically, the Ra resistor control scheme in the electronic tag of the related technology is defined by the Type-C standard protocol specification. Please refer to Figure 1 as shown Figure 1 is a schematic diagram of the state transition of the control method of the Ra resistor of the electronic tag cable in the related technology provided by the embodiment of the present application. When the E-marker is not powered on, it is in the power-off state. At this time, there is a normal Ra resistor between the VCONN pin and GND. When the VCONN power supply device is connected and the VCONN power supply is turned on, after the VCONN detection module detects that the voltage of the VCONN pin is greater than the preset VCONN power-on threshold value and lasts for tRaWeaken time, it switches to the power-on Ra resistor weakened state. By disconnecting the Ra resistor switch or increasing the Ra resistor value, the impedance of the VCONN pin to GND is increased to reduce power consumption. In the power-on Ra resistor weakened state, if it is detected that the voltage of the VCONN pin is less than the preset VCONN power-off threshold value, it switches to the default power-off state, and at this time, the impedance of the VCONN pin to GND is restored to the normal Ra resistor.

[0053] Based on the above defects, the present application provides a method for controlling the Ra resistance in an electronic tag cable. Compared with the prior art, when the electronic tag cable switches from the power-off state to the power-on Ra resistance weakening state and it is detected that the configuration device is removed from the connection with the electronic tag chip, the connection detection module is controlled to continuously execute the detection state, which can accurately identify the connection and disconnection between the electronic tag (E-marker) chip and the external configuration device. And since there is a power-on Ra resistance normal state used to characterize the access of the Ra resistance to the electronic tag cable, the electronic tag cable is controlled to recover from the power-on Ra resistance weakening state to the power-on Ra resistance normal state, effectively solving the problem that the Ra resistance in the prior art cannot return to normal. By making the Ra resistance return to the normal state, the misjudgment problem of the cable type by the power supply device caused by the weakening of the Ra resistance is avoided, and the charging power will not be limited due to misjudgment, improving the user experience.

[0054] Please refer to Figure 2 as shown in Figure 2 FIG. is a schematic structural diagram of a circuit for controlling the Ra resistance in an electronic tag cable provided by an embodiment of the present application. The circuit for controlling the Ra resistance in the electronic tag cable includes: at least one Ra resistance module 10, a control module 20, a communication module 30, a power supply detection module 40, and a connection detection module 50; the Ra resistance module 10 includes: a Ra resistance, a switch, and a ground terminal; the first end of at least one power supply pin 60 in the electronic tag chip is sequentially connected to the ground terminal through the switch and the Ra resistance, and is connected to one end of the power supply detection module 40; the second end of the power supply pin 60 is connected to the first end of a configuration channel pin 70 in the electronic tag chip, the second end of the configuration channel pin 70 is respectively connected to one end of the connection detection module 50 and one end of the communication module 30, and the third end of the configuration channel pin 70 is connected to a ground pin; the control module 20 is respectively connected to the other end of the power supply detection module 40, the other end of the connection detection module 50, the other end of the communication module 30, and the switch; the electronic tag chip is mounted in the electronic tag cable.

[0055] The communication module 30 is used for: establishing communication with the configuration device; the power supply detection module 40 is used for: detecting the power supply pin voltage and outputting it to the control module 20; the connection detection module 50 is used for: detecting the connection state between the electronic tag chip and the configuration device and outputting it to the control module 20; the control module 20 is used for: when the electronic tag cable switches from the power-off state to the power-on Ra resistance weakening state, if the electronic tag chip and the configuration device are in a disconnected state, controlling the connection detection module to continuously execute the detection operation, and controlling the switch to close, so that the electronic tag cable switches from the power-on Ra resistance weakening state to the power-on Ra resistance normal state; the power-on Ra resistance normal state is the state where the Ra resistance is connected to the electronic tag cable.

[0056] It should be noted that the Ra resistance control circuit in the electronic tag cable provided by the embodiments of the present application can be applied to different chips, and the chip can include a USB Type-C interface system and a USB PD (Power Delivery) power transmission system.

[0057] The above Ra resistance module 10 is a basic feature module of the electronic tag (E-marker) chip, and it can include one, two or more. When the Ra resistance module 10 includes two, the structures of the respective Ra resistance modules 10 are the same. The Ra resistance module 10 includes: a Ra resistance, a switch and a ground terminal, and the Ra resistance is connected to the ground terminal through the switch. The Ra resistance in the Ra resistance module 10 affects the circuit in different states. When the electronic tag chip is in the power-off state, the Ra resistance has a specific resistance value to maintain certain electrical characteristics; while in the working state, the control module 20 will perform Weaken control on it according to the output results of other modules, that is, change the access situation of the Ra resistance to the power supply pin 60 through switch operations, such as disconnecting the switch to increase the resistance value, thereby reducing power consumption.

[0058] The above communication module 30 can be a Power Delivery (PD) communication module 30, which is a basic feature module in the electronic tag chip and is used to communicate with a configuration device, and the configuration device can be a power supply device or a charging device. The communication module 30 is also used to transmit and receive data, identify the information of the electronic tag cable, and feedback this information to the control module 20, and this information can include at least one of the following: the maximum current supported by the electronic tag cable, the power transmission ability, and the data transmission ability, etc. At the same time, it can also convey some information of the system to an external configuration device.

[0059] The above configuration channel pin 70 can be a CC (Configuration Channel) pin, and the CC pin is used for connection configuration and communication between the electronic tag chip and the configuration device. The power supply pin 60 can be a VCONN (ConfigurationChannel Power) pin, which is used to supply power to the electronic tag chip. The power supply pin 60 can be one or two, and each power supply pin 60 is connected to the ground terminal through a switch and a Ra resistance.

[0060] The above power supply detection module 40 can be a VCONN detection module, which is used to detect the voltage of the power supply pin, judge the power-on state of the power supply pin 60 according to the voltage of the power supply pin, obtain the first detection result and send it to the control module 20. Its power-on state includes whether the power supply pin 60 is successfully powered on. When it is detected that the voltage of the power supply pin reaches the power-on determination condition, it is confirmed that the power supply pin 60 is successfully powered on; when it is detected that the voltage of the power supply pin does not reach the power-on determination condition, it is confirmed that the power supply pin 60 is powered on failed. For example, the power-on determination condition can be greater than a preset power-on threshold value.

[0061] The above connection detection module 50 can be a CC detection module, which is used to detect the voltage of the configuration channel pin, analyze the voltage of the configuration channel pin, judge the connection state between the electronic tag chip and the power supply device and the charging device configured at both ends, obtain the second detection result and send it to the control module 20. This connection state includes, for example: whether the connection is connected, whether the connection is stable, etc. In this embodiment, by setting the connection detection module 50, it is possible to facilitate quickly understanding the connection status between the electronic tag chip and the configuration device, so as to perform corresponding control.

[0062] The above control module 20 has detection control, communication control and resistance control functions, and is used to generate communication control instructions and send them to the communication module 30 to establish a connection between the electronic tag chip and the configuration device through the communication module 30. Taking the communication module 30 as a PD communication module as an example, the control module 20 is used to control the PD communication module to perform PD communication with the power supply device or the charging device in the system and coordinate the information interaction between the devices.

[0063] It can be understood that when the control module 20 performs detection control, it controls the power supply detection module 40 to detect the power supply pin 60, and controls the connection detection module 50 to detect the connection state between the electronic tag chip and the charging device or the power supply device, so as to ensure that the states of these two key signals are accurately monitored. When the control module 20 performs resistance control, it controls the on / off of the switch of the Ra resistor module 10 according to the first detection result and the second detection result. For example, when it is detected that the power supply pin 60 is powered on and the device is normally connected, the switch operation is controlled to weaken the Ra resistor; when it is detected that the device is disconnected or the VCONN loses power, the switch operation is controlled to restore the normal state of the Ra resistor.

[0064] Specifically, taking the communication module 30 as a PD communication module, the power supply detection module 40 as a VCONN detection module, the connection detection module 50 as a CC detection module, the power supply pin 60 as a VCONN pin, and the configuration channel pin 70 as a CC pin as an example, the control module 20 controls the VCONN detection module and the CC detection module to start. The VCONN detection module is used to detect the voltage of the VCONN pin, and the CC detection module is used to detect the voltage of the CC pin. At the same time, the PD communication module is controlled to communicate with an external charging device or power supply device. When it is detected that the VCONN pin is powered on and the power supply device is normally connected, the switch operation in the Ra module is controlled to weaken the Ra resistor and change the state of the electronic tag chip; when it is detected that the device is disconnected or the VCONN pin loses power, the switch operation in the Ra module is controlled to restore the normal state of the Ra resistor.

[0065] Specifically, the control module 20 is configured to: when the electronic tag cable is in a power-off state and is connected to the configuration device, if the voltage of the power supply pin is greater than a preset power-on threshold value and lasts for a preset weakening time, control the connection detection module 50 to start the detection operation and control the switch to disconnect, so that the electronic tag cable switches from the power-off state to the power-on Ra resistor weakening state.

[0066] When the electronic tag cable is in the power-on Ra resistor weakening state, if the voltage of the power supply pin is less than a preset power-off threshold value, control the switch to close, so that the electronic tag cable switches from the power-on Ra resistor weakening state to the power-off state.

[0067] When the electronic tag cable is in the power-on Ra resistor weakening state, if the electronic tag chip is disconnected from the configuration device, control the connection detection module 50 to continuously perform the detection operation and control the switch to close, so that the electronic tag cable switches from the power-on Ra resistor weakening state to the power-on Ra resistor normal state.

[0068] It should be noted that the above-mentioned preset power-on threshold value, preset power-off threshold value, and preset weakening time are custom-set according to actual requirements. The above-mentioned power-on Ra resistor weakening state means that the electronic tag cable is powered on and the Ra resistor is in a weakened state. The above-mentioned power-on Ra resistor normal state means that the electronic tag cable is powered on and the Ra resistor is in a normal state, and the power-off state means that the electronic tag cable is powered on. Among them, the power-on of the electronic tag cable can be understood as being powered through the VCONN pin. When the Ra resistor is in the normal state, it is 1KΩ.

[0069] Specifically, taking the communication module 30 as a PD communication module, the power supply detection module 40 as a VCONN detection module, the connection detection module 50 as a CC detection module, the power supply pin 60 as a VCONN pin, and the configuration channel pin 70 as a CC pin as an example, the control module 20 controls the VCONN detection module and the CC detection module to turn on, detects the voltage of the VCONN pin through the VCONN detection module, and detects the voltage of the CC pin through the CC detection module. At the same time, it controls the PD communication module to communicate with an external charging device or power supply device. Please refer to Figure 3 as shown in Figure 3 This is a schematic diagram of the state transition in the Ra resistor control circuit of the electronic tag cable provided by the embodiment of the present application. When the electronic tag cable is not powered on, it is in a power-off state. At this time, the Ra resistor between the VCONN pin and the ground terminal GND is in a normal state. When the Ra resistor is in a normal state, its resistance value is 1KΩ. This is a default electrical connection state. The existence of this resistor ensures the basic electrical characteristics of the circuit when it is not powered on, providing a stable initial condition for subsequent power-on and other operations.

[0070] Taking the configuration device as a VCONN power supply device as an example, when the VCONN power supply device is connected and the VCONN pin power supply is turned on, the control module controls the VCONN detection module to perform a detection operation, continuously monitors the voltage of the VCONN pin through the VCONN detection module. When it is detected that the voltage of the VCONN pin is greater than a preset power-on threshold value, indicating that it is in a high voltage state at this time, and this high voltage state lasts for a preset weakening time tRaWeaken, the working state of the electronic tag cable will switch. At this time, the electronic tag cable switches from the power-off state to the power-on Ra resistor weakening state, controls the CC detection module to turn on the CC pin voltage detection, and disconnects the Ra resistor from the VCONN pin by controlling the switch in the Ra resistor module, thereby increasing the Ra resistor, which means that the impedance of the VCONN pin to the ground terminal GND increases. The purpose of this is to reduce power consumption because when the device has been powered on and is working normally, increasing the impedance can reduce unnecessary current consumption and improve energy utilization efficiency.

[0071] When the electronic tag cable is in the power-on Ra resistance weakening state, if the VCONN detection module detects that the voltage of the VCONN pin is less than the preset power-off threshold value, it indicates that it is in a low voltage state at this time, which means that the power supply state has changed, and it may be that the power supply device is disconnected or abnormal. At this time, the electronic tag cable will switch back to the default power-off state. During this switching process, the impedance of the VCONN pin connected to the ground terminal GND is restored from the weakening state to the normal Ra resistance, that is, by controlling the switch in the Ra resistance module to close, so that the Ra resistance is connected to the VCONN pin, and the resistance value of the Ra resistance is restored to the typical 1KΩ, so that the electronic tag cable returns to the initial power-off state to prepare for the next power-on and other operations.

[0072] When the electronic tag cable is in the power-on Ra resistance weakening state, the control module will control the CC detection module to continuously monitor the connection status between the electronic tag chip and the charging device or the power supply device. When it is detected that the electronic tag chip is in a disconnected state from the configuration device, this event becomes the trigger condition for the state transition. The CC pin in the electronic tag chip undertakes important functions such as device connection detection and role negotiation. The disconnected state means that the connection relationship between devices has changed, and it may be that the charging device or the power supply device has been removed. At this time, the working state of the cable needs to be adjusted accordingly. The electronic tag cable is switched from the power-on Ra resistance weakening state to the power-on Ra resistance normal state. It can be understood that once the disconnection of the CC is detected, the electronic tag cable will switch to the power-on Ra resistance normal state. Different from the previous power-on Ra resistance weakening state, at this time, instead of pursuing reducing power consumption by increasing the resistance, the state is adjusted to a state more suitable for the device to reconnect or perform other operations. In this embodiment, even if the electronic tag chip is disconnected from the configuration device, the CC detection function is still kept on because the CC connection state may change at any time and the device may reconnect. By continuously turning on the CC detection function through the connection detection module, new connection events can be captured in time so that the system can respond quickly, such as re-performing device identification, role negotiation and other operations.

[0073] During the process of switching the electronic tag cable to the power-on Ra resistance normal state, the impedance of the VCONN pin to GND needs to be restored from the weakening state to the normal Ra resistance, and the typical resistance value is 1KΩ. The way to achieve this operation is to control the switch in the previously disconnected Ra resistance module to close, so that the Ra resistance can be restored to the resistance state at the initial stage of power-on, providing suitable electrical conditions for the device to reconnect or perform other related operations. For example, when the device reconnects, the normal Ra resistance helps the device accurately identify the characteristics of the cable, so as to perform correct power distribution and data transmission configuration.

[0074] In this embodiment, by setting up a connection detection module, the connection and disconnection between the electronic tag cable and the configuration device can be accurately identified. According to the detection results, the Ra resistor of the VCONN pin of the electronic tag is controlled, effectively solving the problem that the VCONN power supply device drives Rp on the VCONN pin without discharging the VCONN after the CC is disconnected, resulting in the low-power E-marker chip being unable to restore the Ra resistor from the weakened state to the normal Ra resistor state. Moreover, the CC connection state is monitored. Once the CC is disconnected, it can quickly switch to the normal state of the powered-on Ra resistor and maintain the CC detection function. In this way, when the next device is connected, the cable can quickly adapt to the new device in a suitable electrical state, which helps to improve the stability and response speed of device connection and reduce the occurrence of connection anomalies or failures. At the same time, by dynamically adjusting the Ra resistor in this way, the electronic tag cable can better be compatible with various devices supporting the Type-C interface. Whether it is a power supply device or a charging device, during the connection and disconnection process, the cable can adjust its own state according to the actual situation to ensure that normal power transmission and data communication can be carried out for the connection with different devices.

[0075] The Ra resistance control circuit in the electronic tag cable provided by the embodiment of the present application includes: at least one Ra resistance module 10, a control module 20, a communication module 30, a power supply detection module 40, and a connection detection module 50. The Ra resistance module 10 includes a Ra resistance, a switch, and a grounding end. The first end of at least one power supply pin 60 in the electronic tag chip is sequentially connected to the grounding end through the switch and the Ra resistance, and is connected to one end of the power supply detection module 40; the second end of the power supply pin 60 is connected to the first end of the configuration channel pin 70 in the electronic tag chip. The second end of the configuration channel pin 70 is respectively connected to one end of the connection detection module 50 and one end of the communication module 30. The third end of the configuration channel pin 70 is connected to the grounding pin; the control module 20 is respectively connected to the other end of the power supply detection module 40, the other end of the connection detection module 50, the other end of the communication module 30, and the switch; the electronic tag chip is mounted in the electronic tag cable. Compared with the prior art, when the electronic tag cable switches from the power-off state to the power-on Ra resistance weakening state, and after detecting that the configuration device is removed from the connection with the electronic tag chip, the Ra resistance control circuit controls the connection detection module to continuously execute the detection state, which can accurately identify the connection and disconnection between the electronic tag (E-marker) chip and the external configuration device. And because the power-on Ra resistance normal state for characterizing the Ra resistance access to the electronic tag cable is set, the electronic tag cable is controlled to recover from the power-on Ra resistance weakening state to the power-on Ra resistance normal state, effectively solving the problem that the Ra resistance in the prior art cannot return to normal. By making the Ra resistance return to the normal state, the problem of misjudgment of the cable type by the power supply device due to the weakening of the Ra resistance is avoided, and the charging power will not be limited due to misjudgment, improving the user experience.

[0076] In one embodiment, the above control module 20 is further configured to:

[0077] When the electronic tag cable is in the power-on Ra resistance normal state, if the electronic tag chip and the configuration device are in a reconnection state, control the connection detection module 50 to continuously execute the detection operation, and control the switch to disconnect, so that the electronic tag cable switches from the power-on Ra resistance normal state to the power-on Ra resistance weakening state.

[0078] When the electronic tag cable is in the power-on Ra resistance normal state, if the voltage of the power supply pin is less than the preset power-off threshold value, control the switch to close, so that the electronic tag cable switches from the power-on Ra resistance normal state to the power-off state.

[0079] Specifically, when the electronic tag cable is in the normal power-on Ra resistance state, the control module 20 controls the CC detection module to continuously detect the connection status between the electronic tag chip and the configuration device. If the CC detection module detects that the electronic tag chip is reconnected to the configuration device, it will trigger a state switch. At this time, the electronic tag cable needs to switch from the normal power-on Ra resistance state to the weakened power-on Ra resistance state, and control the disconnection of the normal Ra resistance switch with a resistance value of 1KΩ. This will increase the impedance of the VCONN pin to the ground terminal GND. Under the condition of constant voltage, when the resistance increases, the power consumption decreases, thereby achieving the purpose of reducing power consumption. At the same time, keep the CC detection module of the control turned on to enable continuous monitoring of the device connection status and promptly respond to possible further changes.

[0080] When the electronic tag cable is in the normal power-on Ra resistance state, the VCONN detection module monitors the voltage of the VCONN pin in real time. When it is detected that the voltage of the VCONN pin is less than the preset power-off threshold value, it indicates that the power supply situation has changed, which may be that the power supply device has stopped supplying power or an abnormality has occurred. At this time, the system will respond and control the switch in the Ra resistance module to remain closed, that is, maintain the normal 1KΩ Ra resistance, so that the electronic tag cable switches from the normal power-on Ra resistance state to the default power-off state. In the power-off state, maintaining the Ra resistance in the normal state helps to maintain the specific electrical characteristics of the cable and prepares for the next power-on. At the same time, this state switch is a safety mechanism to ensure that when the power supply is abnormal, the cable can quickly return to a stable initial state and avoid damage to the cable and connected devices caused by abnormal power supply situations. For example, when a sudden power outage or charger failure causes a sudden drop in the output voltage, the electronic tag cable can promptly switch to the power-off state to protect itself and the devices connected to it.

[0081] In this embodiment, when the electronic tag chip is reconnected to the configuration device, the switch can be controlled to disconnect and immediately switch to the weakened power-on Ra resistance state that is most suitable for the device to work, ensuring stable power transmission and data communication of the device after connection. This fast adaptation ability enhances the stability of the device connection, reduces the occurrence of connection interruptions or abnormal situations, and improves the user experience. And whether it is a change in the CC connection state or a change in the VCONN pin voltage, the electronic tag cable can make corresponding state switches to adapt to various complex working scenarios. Whether the device is normally connected, disconnected, or powered off due to abnormal power supply, through reasonable resistance control and state switching, the compatibility and stability between the cable and the device can be ensured, and the adaptability of the entire system to different working environments can be improved.

[0082] In one of the embodiments, please refer to Figure 4 as shown Figure 4The figure is a schematic structural diagram of the Ra resistance control circuit in the electronic tag cable provided by the embodiment of the present application. The at least one power supply pin includes a first pin 61 and a second pin 62, and the at least one Ra resistance module includes a first resistance module 11 and a second resistance module 12.

[0083] The first end of the first pin 61 is sequentially connected to the first resistor, the first switch and the first ground terminal in the first resistance module 11. The first end of the first pin 61 is also connected to one end of the power supply detection module 40. The second end of the first pin 61 is connected to the first end of the configuration channel pin 70. The first end of the second pin 62 is sequentially connected to the second resistor, the second switch and the second ground terminal in the second resistance module 12. The first end of the second pin 62 is also connected to one end of the power supply detection module 40. The second end of the second pin 62 is connected to the ground pin, and the third end of the second pin 62 is connected to the third end of the first pin 61. The first switch and the second switch are both connected to the control module 20.

[0084] Taking the power supply pin as the VCONN pin, the configuration channel pin as the CC pin, the power supply detection module as the VCONN detection module, and the connection detection module as the CC detection module as an example, the above-mentioned first pin is the VCONN1 pin, and the second pin is the VCONN2 pin. The first end of the VCONN1 pin is sequentially connected to Ra, the first switch and the first VDD in the first resistance module. The second end of the VCONN1 pin is connected to the first end of the CC pin. The first end of the VCONN2 pin is sequentially connected to Ra, the second switch and the second VDD in the second resistance module. The second end of the VCONN2 pin, the CC pin are connected to the ground pin VDD. The VCONN detection module is respectively connected to the first end of the VCONN1 pin and the second end of the VCONN2 pin. The control module is also connected to the first switch and the second switch.

[0085] It should be noted that both the first resistance module and the second resistance module include Ra resistors, switches and ground terminals. Different power supply pins and different Ra resistance modules can correspond to different configuration devices. For example, taking the configuration devices including a charging device and a power supply device as an example, the VCONN1 pin is used to supply power to the power supply device, and the corresponding first resistance module is connected to the VCONN1 pin to achieve connection and disconnection with the power supply device; the VCONN2 pin is used to supply power to the charging device, and the corresponding first resistance module is connected to the VCONN1 pin to achieve connection and disconnection with the charging device.

[0086] The control module detects the voltage of the VCONN pin according to the VCONN detection module, compares the voltage of the VCONN pin with the preset power-on threshold value and the preset power-off threshold value, obtains the first detection result and outputs it to the control module, and controls the CC detection module to detect the voltage of the CC pin, obtains the second detection result according to the voltage of the CC pin, so as to judge the connection state between the electronic tag chip and the external charging device or power supply device, and according to the first detection result and the second detection result, controls the on-off of the first switch or the second switch, adjusts the access state of the Ra resistor and the power supply pin, and then appropriately changes the state of the electronic tag cable.

[0087] In this embodiment, by setting the first pin, the second pin, the first resistor module and the second resistor module, the communication between the electronic tag chip and various different configured devices including the charging device and the power supply device can be realized more comprehensively, which is convenient to more comprehensively control the corresponding switch according to the first detection result and the second detection result, realize the access state between the Ra resistor and the corresponding power supply pin of different configured devices, and then accurately change the state of the electronic tag cable.

[0088] In one of the embodiments, please refer to Figure 5 shown in Figure 5 is the circuit structure schematic diagram of the connection detection module provided by the embodiment of the present application. The connection detection module includes: a first comparator 51, a second comparator 52 and an OR gate 53;

[0089] The first input end of the first comparator 51 is used to connect to the first reference voltage value; the second end of the configuration channel pin is connected to the second input end of the first comparator 51 and the first input end of the second comparator 52, and the second input end of the second comparator 52 is used to connect to the second reference voltage value; the output end of the first comparator 51 is connected to the first input end of the OR gate 53, the output end of the second comparator 52 is connected to the second input end of the OR gate 53, and the output end of the OR gate 53 is connected to the control module.

[0090] It can be understood that the above first reference voltage value can be represented by Vth1, the second reference voltage value can be represented by Vth2, both Vth1 and Vth2 are custom-set according to actual needs, and the first reference voltage value Vth1 is less than the second reference voltage value Vth2.

[0091] The first input end of the above first comparator Comp1 can be the positive input end, the second input end can be the negative input end, the first input end of the second comparator Comp2 can be the positive input end, and the second input end can be the negative input end. The positive input end of the first comparator Comp1 is used to connect to Vth1, the second end of the CC pin is connected to the negative input end of the first comparator Comp1 and the positive input end of the second comparator Comp2, and the negative input end of the second comparator Comp2 is used to connect to Vth2.

[0092] Among them, the above connection detection module is specifically used for:

[0093] If it is detected that the voltage of the configuration channel pin is within the first range and lasts for the first preset time, it is determined that the second detection result is that the electronic tag chip and the configuration device are in a disconnected state; the first range includes: the voltage of the configuration channel pin is less than the first reference voltage value or greater than the second reference voltage value.

[0094] When the electronic tag chip and the configuration device are in a disconnected state, if it is detected that the voltage of the configuration channel pin is within the second range and lasts for the second preset time, it is determined that the second detection result is that the electronic tag chip and the configuration device are in a reconnected state; the second range includes: the voltage of the configuration channel pin is not less than the first reference voltage value and not greater than the second reference voltage value.

[0095] Among them, taking the configuration channel pin as the CC pin as an example, a normal connection of CC can be understood as that the electronic tag chip and the configuration device are in a connected state, and a disconnected connection of CC can be understood as that the electronic tag chip and the configuration device are in a disconnected state. The connection detection module detects the voltage of the CC pin in real time and sends it to the control module. When it is detected that the voltage of the CC pin is less than the first reference voltage value Vth1 and lasts for the first preset time, it is determined that the CC connection is disconnected; when it is detected that the voltage of the CC pin is greater than the second reference voltage value Vth2 and lasts for the first preset time, it is determined that the CC connection is disconnected.

[0096] When the CC connection is disconnected, the connection detection module detects the voltage of the CC pin in real time and sends it to the control module. When it is detected that the voltage of the CC pin is not less than the first reference voltage value Vth1 and not greater than the second reference voltage value Vth2 and lasts for the second preset time, it is determined that the CC is reconnected, that is, the electronic tag chip and the configuration device are in a reconnected state.

[0097] It should be noted that the above first preset time and second preset time can be custom-set according to actual needs. For example, the first preset time is 1 minute and the second preset time is 50s, and they can be adaptively adjusted.

[0098] In the embodiment of the present application, by setting a first comparator, a second comparator and an OR gate in the connection detection module, the voltage of the CC pin can be compared with Vth1 and Vth2 in a finer granularity, and an accurate judgment of whether the CC is connected or disconnected can be obtained, providing good data guiding information for the control of the switch in the subsequent Ra resistance module.

[0099] In one of the embodiments, the above control module is further used for:

[0100] Generate a communication control instruction and send it to the communication module to establish a connection between the electronic tag chip and the configuration device through the communication module.

[0101] Generate a first detection control instruction and send it to the power supply detection module to detect the voltage of the power supply pin through the power supply detection module.

[0102] Generate a second detection control instruction and send it to the connection detection module to detect the voltage of the configuration pin through the connection detection module.

[0103] Generate a switch control instruction and send it to the Ra resistor module to perform a disconnection or conduction operation through the Ra resistor module.

[0104] It should be noted that when the control module controls the communication module, it can generate a communication control instruction and send it to the communication module, so that the communication module receives and responds to the communication control instruction to establish a connection between the electronic tag chip and the charging device or the power supply device.

[0105] Taking the power supply detection module as the VCONN detection module and the connection detection module as the CC detection module as an example, when the control module controls the VCONN detection module, it can generate a first detection control instruction and send it to the VCONN detection module, so that the VCONN detection module receives and responds to the first detection control instruction, detects the corresponding power supply pin voltage through the VCONN1 pin or the VCONN2 pin to obtain the corresponding first detection result and outputs it to the control module. When the control module controls the CC detection module, it can generate a second detection control instruction and send it to the CC detection module, so that the CC detection module receives and responds to the second detection control instruction, detects the CC pin voltage through the CC pin to obtain the corresponding second detection result and outputs it to the control module.

[0106] When the control module controls the switch in the Ra resistor module, it can generate a switch control instruction and send it to the switch in the corresponding Ra resistor module, so that it receives and responds to the switch control instruction and performs the corresponding disconnection or conduction operation to adjust the access state of the Ra resistor in the corresponding Ra resistor module and the corresponding VCONN pin, thereby changing the state of the electronic tag cable. For example, when it is detected that any one of the devices connected to the electronic tag cable is removed, a switch control instruction is generated and sent to the corresponding switch, so that the Ra resistor on the VCONN pin of the electronic tag cable quickly recovers from the weakened state to the normal state, and when it is detected that an external device is reconnected, a corresponding switch control instruction is generated and sent to the switch, so that the Ra resistor can switch from the normal state to the weakened state to reduce the power consumption of the system.

[0107] In the embodiments of the present application, by sending a first detection control instruction to the power supply detection module and a second detection control instruction to the connection detection module, the detection and control of the power supply detection module and the connection detection module can be realized. Furthermore, through the CC connection detection, the charging device or the power supply device connected to the electronic tag cable can be effectively identified for access or removal. When any one of the devices connected to the electronic tag cable is removed, the Ra resistor on the VCONN pin of the electronic tag cable can quickly recover from the weakened state to the normal Ra resistor state, and when the device is reconnected, the Ra resistor can switch from the normal state to the weakened state, reducing the power consumption of the system and improving the compatibility of the E-marker cable application, and solving the problem that the E-marker cable cannot be recognized when some devices are plugged in again after being unplugged.

[0108] On the other hand, the embodiments of the present application provide a chip, which includes the Ra resistor control circuit in the electronic tag cable provided in the above embodiments.

[0109] Specifically, the above chip may include a Type-C chip or a USB PD (Power Delivery) power transmission chip for realizing functions such as data transmission and charging.

[0110] The chip provided in this embodiment includes the Ra resistor control circuit in the above electronic tag cable. When the electronic tag cable switches from the power-off state to the power-on Ra resistor weakened state and it is detected that the configured device is removed from the connection with the electronic tag chip, the Ra resistor control circuit in the electronic tag cable controls the connection detection module to continuously execute the detection state, which can accurately identify the connection and disconnection between the electronic tag (E-marker) chip and the external configured device. And because there is a normal state of the power-on Ra resistor used to represent the Ra resistor connected to the electronic tag cable, the electronic tag cable is controlled to recover from the power-on Ra resistor weakened state to the power-on Ra resistor normal state, effectively solving the problem that the Ra resistor cannot return to normal in the prior art. By making the Ra resistor return to the normal state, the problem of misjudgment of the cable type by the power supply device due to the weakening of the Ra resistor is avoided, and the charging power will not be limited due to misjudgment, improving the user experience.

[0111] On the other hand, the embodiments of the present application also provide a control method, which is applied to the Ra resistor control circuit in the electronic tag cable provided in the above embodiments. Figure 6 The following shows the schematic flowchart of the control method of the embodiments of the present application. As Figure 6 shown, the method includes:

[0112] S101. When the electronic tag cable switches from the power-off state to the power-on state with the Ra resistance weakened, if the connection detection module detects that the electronic tag chip is disconnected from the configuration device, control the connection detection module to continuously perform the detection operation.

[0113] S102. Control the electronic tag cable to switch from the power-on state with the Ra resistance weakened to the power-on state with the Ra resistance normal; the power-on state with the Ra resistance normal is the state where the Ra resistance is connected to the electronic tag cable.

[0114] Specifically, when the electronic tag cable is in the power-off state and connected to the configuration device, if the voltage of the power supply pin is greater than the preset power-on threshold value and lasts for the preset weakening time, control the connection detection module to start the detection operation and control the switch to disconnect, so that the electronic tag cable switches from the power-off state to the power-on state with the Ra resistance weakened.

[0115] When the electronic tag cable is in the power-on state with the Ra resistance weakened, if the voltage of the power supply pin is less than the preset power-off threshold value, control the switch to close, so that the electronic tag cable switches from the power-on state with the Ra resistance weakened to the power-off state.

[0116] When the electronic tag cable is in the power-on state with the Ra resistance weakened, if the electronic tag chip is disconnected from the configuration device, control the connection detection module to continuously perform the detection operation and control the switch to close, so that the electronic tag cable switches from the power-on state with the Ra resistance weakened to the power-on state with the Ra resistance normal.

[0117] Exemplarily, taking the communication module as the PD communication module, the power supply detection module as the VCONN detection module, the connection detection module as the CC detection module, the power supply pin as the VCONN pin, and the configuration channel pin as the CC pin as an example. The control module can send communication control instructions to the PD communication module to enable the PD communication module to establish a communication connection with an external configuration device, and send detection control instructions to the VCONN detection module to enable the VCONN detection module to receive and respond to the detection control instructions to detect the voltage of the VCONN pin.

[0118] When the electronic tag cable is not powered on, it is in the power-off state. At this time, the Ra resistance between the VCONN pin and the ground terminal GND is in the normal state, and its resistance value is 1KΩ. When the VCONN power supply device is connected and VCONN power supply is turned on through the VCONN pin, when the VCONN detection module detects that the voltage of the VCONN pin is greater than the preset power-on threshold value and lasts for the preset time tRaWeaken, control the CC detection module to start the voltage detection of the CC pin, generate a switch control instruction to control the switch in the Ra resistance module to disconnect, so that the Ra resistance is disconnected from the VCONN pin, and then the electronic tag cable switches from the power-off state to the power-on state with the Ra resistance weakened.

[0119] When the electronic tag cable is in the power-on Ra resistance weakening state, if the VCONN detection module detects that the voltage of the VCONN pin is less than the preset power-off threshold value, the switch in the Ra resistance module is controlled to close, so that the impedance of the CONN pin to GND is restored from the weakening state to the normal Ra resistance (the typical resistance value is 1KΩ), and then the electronic tag cable is switched to the default power-off state.

[0120] When the electronic tag cable is in the power-on Ra resistance weakening state, if the CC detection module detects that CC is disconnected, that is, when the charging device or the power supply device is removed, the CC detection module is controlled to continuously turn on the CC detection function, and the switch in the Ra resistance module is controlled to close, so that the electronic tag cable is switched from the power-on Ra resistance weakening state to the power-on Ra resistance normal state, and the power-on Ra resistance normal state is the state where the Ra resistance is connected to the electronic tag cable.

[0121] After controlling the electronic tag cable to be switched from the power-on Ra resistance weakening state to the power-on Ra resistance normal state, the method further includes:

[0122] When the electronic tag cable is in the power-on Ra resistance normal state, if the connection detection module detects that the electronic tag chip and the configuration device are in a reconnection state, the connection detection module is controlled to continuously perform the detection operation, and the electronic tag cable is controlled to be switched from the power-on Ra resistance normal state to the power-on Ra resistance weakening state.

[0123] When the electronic tag cable is in the power-on Ra resistance normal state, if the voltage of the power supply pin is less than the preset power-off threshold value, the electronic tag cable is controlled to be switched from the power-on Ra resistance normal state to the power-off state.

[0124] Specifically, when the electronic tag cable is in the power-on Ra resistance normal state, if it is detected through the CC detection module that the electronic tag chip and the configuration device are in a reconnection state, the CC detection module is controlled to continuously perform the detection operation, and the switch in the Ra resistance module is controlled to disconnect, so that the impedance of the VCONN pin to GND increases, and then the electronic tag cable is switched from the power-on Ra resistance normal state to the power-on Ra resistance weakening state. When the electronic tag cable is in the power-on Ra resistance normal state, if it is detected that the voltage of the VCONN pin is less than the preset power-off threshold value, the switch in the Ra resistance module is controlled to close, so that the electronic tag cable is switched from the power-on Ra resistance normal state to the power-off state.

[0125] In one embodiment, after the electronic tag cable of the present application is switched from the power-off state to the power-on Ra resistance weakening state, a specific implementation manner for detecting the connection state between the electronic tag chip and the configuration device is further provided. The method includes:

[0126] If it is detected that the voltage of the configuration channel pin in the electronic tag chip is within the first range and lasts for the first preset time, it is determined that the electronic tag chip and the configuration device are in a disconnected state; the first range includes: the voltage of the configuration channel pin is less than the first reference voltage value or greater than the second reference voltage value.

[0127] When the electronic tag chip and the configuration device are in a disconnected state, if it is detected that the voltage of the configuration channel pin is within the second range and lasts for the second preset time, it is determined that the electronic tag chip and the configuration device are in a reconnected state; the second range includes: the voltage of the configuration channel pin is not less than the first reference voltage value and not greater than the second reference voltage value.

[0128] Specifically, taking the configuration channel pin as the CC pin as an example, the connection detection module continuously detects the voltage of the CC pin. When it is detected that the voltage of the CC pin is less than the first reference voltage value Vth1 and lasts for the first preset time, it is determined that the electronic tag chip and the configuration device are in a disconnected state; when it is detected that the voltage of the CC pin is greater than the second reference voltage value Vth2 and lasts for the first preset time, it is determined that the electronic tag chip and the configuration device are in a disconnected state.

[0129] When the CC is disconnected, if it is detected that the voltage of the CC pin is not less than the first reference voltage value Vth1 and not greater than the second reference voltage value Vth2 and lasts for the second preset time, it is determined that the electronic tag chip and the configuration device are in a reconnected state.

[0130] The control method provided by the embodiment of the present application includes: when the electronic tag cable is switched from the power-off state to the power-on Ra resistance weakening state, if the connection detection module detects that the electronic tag chip and the configuration device are in a disconnected state, controlling the connection detection module to continuously perform the detection operation, and controlling the electronic tag cable to be switched from the power-on Ra resistance weakening state to the power-on Ra resistance normal state; the power-on Ra resistance normal state is the state where the Ra resistance is connected to the electronic tag cable. Compared with the prior art, this method can accurately identify the connection and disconnection between the electronic tag (E-marker) chip and the external configuration device by controlling the connection detection module to continuously perform the detection state when the electronic tag cable is switched from the power-off state to the power-on Ra resistance weakening state and it is detected that the configuration device is removed from the connection with the electronic tag chip. And because the power-on Ra resistance normal state for characterizing the connection of the Ra resistance to the electronic tag cable is set, the electronic tag cable is controlled to be restored from the power-on Ra resistance weakening state to the power-on Ra resistance normal state, effectively solving the problem that the Ra resistance cannot be restored to normal in the prior art. By restoring the Ra resistance to the normal state, the problem of misjudgment of the cable type by the power supply device due to the weakening of the Ra resistance is avoided, and the charging power will not be limited due to misjudgment, improving the user experience.

[0131] It should be noted that although the operations of the method of the present invention are described in a specific order in the accompanying drawings, this does not require or imply that these operations must be performed in that specific order, or that all the operations shown must be performed to achieve the desired result. On the contrary, the order of execution of the steps depicted in the flowchart can be changed. Additionally or alternatively, certain steps can be omitted, multiple steps can be combined into one step for execution, and / or one step can be decomposed into multiple steps for execution.

[0132] In summary, the embodiments of the present application provide a method for controlling the Ra resistance in an electronic tag cable, a control circuit, and a chip. The method for controlling the Ra resistance includes: when the electronic tag cable switches from a power-off state to a power-on Ra resistance weakening state, if the connection detection module detects that the electronic tag chip is in a disconnected state from the configuration device, controlling the connection detection module to continuously perform the detection operation, and controlling the electronic tag cable to switch from the power-on Ra resistance weakening state to the power-on Ra resistance normal state; the power-on Ra resistance normal state is the state where the Ra resistance is connected to the electronic tag cable. Compared with the prior art, this method can accurately identify the connection and disconnection between the electronic tag (E-marker) chip and the external configuration device by controlling the connection detection module to continuously perform the detection state when the electronic tag cable switches from the power-off state to the power-on Ra resistance weakening state and the configuration device is detected to be removed from the connection with the electronic tag chip. Moreover, since the power-on Ra resistance normal state for characterizing the connection of the Ra resistance to the electronic tag cable is set, the electronic tag cable is controlled to recover from the power-on Ra resistance weakening state to the power-on Ra resistance normal state, effectively solving the problem that the Ra resistance in the prior art cannot return to normal. By restoring the Ra resistance to the normal state, the problem of misjudgment of the cable type by the power supply device due to the weakening of the Ra resistance is avoided, and the charging power will not be limited due to misjudgment, improving the user experience.

[0133] The above description is only a preferred embodiment of the present application and an explanation of the applied technical principles. Those skilled in the art should understand that the scope of the invention involved in the present application is not limited to the technical solutions formed by the specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the inventive concept. For example, the technical solutions formed by mutually replacing the above features with the (but not limited to) technical features with similar functions disclosed in the present application.

Claims

1. A method for controlling Ra resistance in an electronic tag cable, characterized in that: The Ra resistance control method in the electronic tag cable includes: When the electronic tag cable switches from the power-off state to the power-on Ra resistance weakened state, if the connection detection module detects that the electronic tag chip and the configuration device are in a disconnected state, the connection detection module is controlled to continue to perform the detection operation, and the electronic tag cable is controlled to switch from the power-on Ra resistance weakened state to the power-on Ra resistance normal state; the power-on Ra resistance normal state is the state where the Ra resistance is connected to the electronic tag cable.

2. The method for controlling Ra resistance in an electronic label cable according to claim 1, characterized in that: After controlling the electronic label cable to switch from the power-on Ra resistance weakened state to the power-on Ra resistance normal state, the method further includes: When the electronic tag cable is in the normal power-on Ra resistance state, if the connection detection module detects that the electronic tag chip and the configuration device are in a reconnected state, the connection detection module is controlled to continue to perform the detection operation, and the electronic tag cable is controlled to switch from the normal power-on Ra resistance state to the weakened power-on Ra resistance state; When the electronic label cable is in the normal power-on resistance state Ra, if the voltage of the power supply pin is less than a preset power-off threshold value, the electronic label cable is controlled to switch from the normal power-on resistance state Ra to the power-off state.

3. The method for controlling Ra resistance in an electronic label cable according to claim 2, characterized in that: After the electronic tag cable is switched from a power-off state to a power-on Ra resistance weakened state, the method further includes: If it is detected that the configuration channel pin voltage in the electronic tag chip is in a first range and lasts for a first preset time, it is determined that the electronic tag chip and the configuration device are in a disconnected state; the first range includes: the configuration channel pin voltage is less than a first reference voltage value or greater than a second reference voltage value; When the electronic tag chip and the configuration device are in a disconnected state, if it is detected that the configuration channel pin voltage is in a second range and lasts for a second preset time, it is determined that the electronic tag chip and the configuration device are in a reconnected state; the second range includes: the configuration channel pin voltage is not less than the first reference voltage value and not greater than the second reference voltage value.

4. A Ra resistance control circuit in an electronic tag cable, characterized in that: The Ra resistance control circuit in the electronic tag cable includes: at least one Ra resistance module, a control module, a communication module, a power supply detection module and a connection detection module; the Ra resistance module includes: a Ra resistor, a switch and a ground terminal; The first end of at least one power supply pin in the electronic tag chip is connected to the ground end through the switch and the Ra resistor in sequence, and is connected to one end of the power supply detection module; the second end of the power supply pin is connected to the first end of the configuration channel pin in the electronic tag chip, the second end of the configuration channel pin is respectively connected to one end of the connection detection module and one end of the communication module, and the third end of the configuration channel pin is connected to the ground pin; the control module is respectively connected to the power supply detection module, the connection detection module, the communication module, and the switch; The communication module is used to: establish communication with the configuration device; The power supply detection module is used to: detect the voltage of the power supply pin and output it to the control module; The connection detection module is used to: detect the connection status between the electronic tag chip and the configuration device and output it to the control module; The control module is used to: when the electronic tag cable switches from a power-off state to a power-on Ra resistance weakened state, if the electronic tag chip is in a disconnected state from the configuration device, control the connection detection module to continuously perform the detection operation, and control the switch to close, so that the electronic tag cable switches from a power-on Ra resistance weakened state to a power-on Ra resistance normal state; the power-on Ra resistance normal state is the state where the Ra resistor is connected to the electronic tag cable.

5. The Ra resistance control circuit in the electronic label cable according to claim 4, characterized in that: The control module is also used for: When the electronic tag cable is in the normal power-on Ra resistance state, if the electronic tag chip is in the reconnected state with the configuration device, the connection detection module is controlled to continuously perform the detection operation, and the switch is controlled to be disconnected, so that the electronic tag cable is switched from the normal power-on Ra resistance state to the weakened power-on Ra resistance state; When the electronic label cable is in the normal power-on Ra resistance state, if the power supply pin voltage is less than a preset power-off threshold value, the switch is controlled to close so that the electronic label cable switches from the normal power-on Ra resistance state to the power-off state.

6. The Ra resistance control circuit in the electronic label cable according to claim 4, characterized in that: The at least one power supply pin includes a first pin and a second pin; the at least one Ra resistance module includes a first resistance module and a second resistance module; The first end of the first pin is connected to the first resistor, the first switch and the first ground terminal in the first resistor module in sequence, the first end of the first pin is also connected to one end of the power supply detection module, and the second end of the first pin is connected to the first end of the configuration channel pin; The first end of the second pin is connected to the second resistor, the second switch and the second ground terminal in the second resistor module in sequence, the first end of the second pin is also connected to one end of the power supply detection module, the second end of the second pin is connected to the ground pin, and the third end of the second pin is connected to the third end of the first pin; The first switch and the second switch are both connected to the control module.

7. The Ra resistance control circuit in the electronic label cable according to claim 4, characterized in that: The connection detection module includes: a first comparator, a second comparator and an OR gate; The first input terminal of the first comparator is used to connect a first reference voltage value; the second terminal of the configuration channel pin is connected to the second input terminal of the first comparator and the first input terminal of the second comparator, and the second input terminal of the second comparator is used to connect a second reference voltage value; the output terminal of the first comparator is connected to the first input terminal of the OR gate, the output terminal of the second comparator is connected to the second input terminal of the OR gate, and the output terminal of the OR gate is connected to the control module; the first reference voltage value is less than the second reference voltage value.

8. The Ra resistance control circuit in the electronic label cable according to claim 7, characterized in that: The connection detection module is specifically used for: If it is detected that the configuration channel pin voltage is in a first range and lasts for a first preset time, it is determined that the electronic tag chip and the configuration device are in a disconnected state; the first range includes: the configuration channel pin voltage is less than the first reference voltage value or greater than the second reference voltage value; When the electronic tag chip and the configuration device are in a disconnected state, if it is detected that the configuration channel pin voltage is in a second range and lasts for a second preset time, it is determined that the electronic tag chip and the configuration device are in a reconnected state; the second range includes: the configuration channel pin voltage is not less than the first reference voltage value and not greater than the second reference voltage value.

9. The Ra resistance control circuit in the electronic label cable according to claim 4, characterized in that: The control module is also used for: Generate a communication control instruction and send it to the communication module, so as to establish communication between the electronic tag chip and the configuration device through the communication module; Generate a first detection control instruction and send it to the power supply detection module, so as to detect the power supply pin voltage through the power supply detection module; Generate a second detection control instruction and send it to the connection detection module, so as to detect the connection status between the electronic tag chip and the configuration device through the connection detection module; A switch control instruction is generated and sent to the Ra resistor module, so as to perform a disconnection or conduction operation through the Ra resistor module.

10. A chip, characterized in that: The chip includes the Ra resistance control circuit in the electronic label cable as described in any one of claims 4 to 9.