Type-c interface control circuit, type-c interface and RTK device

CN224651852UActive Publication Date: 2026-08-18SHANGHAI HUACE NAVIGATION TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202521334294.1
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-06-26
Publication Date
2026-08-18
Estimated Expiration
2035-06-26

AI Technical Summary

Technical Problem

目前,相关技术中的TYPEC-PD双向控制电路需要占用Type-C接口的DP/DM引脚进行QC(QuickCharge)协议通讯,Type-C接口需要结合DP/DM路径切换、TYPEC输入电压识别等复杂电路进行使用,Type-C接口控制电路的电路复杂度较高

Benefits of technology

[0017]和/或,所述电源转换模块还包括稳压管;所述稳压管的负极与所述负载开关的输入引脚相连;所述稳压管的正极接地。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224651852U_ABST
    Figure CN224651852U_ABST
Patent Text Reader

Abstract

The application provides a TYPEC interface control circuit, a TYPEC interface and an RTK device, wherein the TYPEC interface control circuit comprises a PD controller and a processor; when an external device is inserted into the device, the processor reads register information of the PD controller through an I2C communication pin of the PD controller, judges a device type of an inserted device of the external device based on the register information, and enters a DEVICE mode when the device type is an external PC or an external power supply, and enters a HOST mode when the device type is a U disk or a test tool. The above scheme adopts a PD fast charging scheme with higher charging efficiency and better compatibility, judges the master-slave mode through a CC pin of the TYPEC interface, switches the DEVICE / HOST mode, and reduces the circuit complexity and the hardware cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of USB interface technology, and more specifically, to a TYPEC interface control circuit, a TYPEC interface, and an RTK device. Background Technology

[0002] The Type-C interface (full name: USB Type-C) is a new, miniaturized, reversible USB interface physical specification standard. Type-C interfaces can support data transfer rates up to 40Gbps and also support the USB PowerDelivery protocol, providing up to 240W of power output. Furthermore, Type-C can not only be used for USB data transfer and charging, but also for transmitting audio and video data.

[0003] A Type-C bidirectional control circuit refers to a host device establishing a physical connection with a peer device through a Type-C port and establishing data exchange between the devices via the PD protocol, enabling the devices to automatically switch between DEVICE and HOST modes. Currently, related technologies using Type-C-PD bidirectional control circuits require the use of the DP / DM pins of the Type-C interface for QC (QuickCharge) protocol communication. The Type-C interface needs to be used in conjunction with complex circuits such as DP / DM path switching and Type-C input voltage recognition, resulting in high circuit complexity for the Type-C interface control circuit. Utility Model Content

[0004] The purpose of this application is to provide a TYPEC interface control circuit, a TYPEC interface, and an RTK device to solve the above-mentioned technical problems.

[0005] In a first aspect, embodiments of this application provide a TYPEC interface control circuit, including: a PD controller and a processor, wherein: the CC pin of the PD controller is connected to the CC pin of an external device for transmitting role negotiation information; the power pin of the PD controller is connected to the power pin of the external device; the I2C communication pin of the PD controller is connected to the processor; an I2C communication path is provided between the processor and the PD controller, the I2C communication path is used to transmit register information of the PD controller, the register information including the role negotiation information, the role negotiation information being used to determine the device type of the device inserted on the external device.

[0006] In the implementation of the above scheme, a PD fast charging scheme with higher charging efficiency and better compatibility was adopted. On the one hand, master-slave mode determination is performed through the CC pin of the TYPEC interface, which can reduce circuit complexity and hardware cost. On the other hand, negotiation through the CC pin can decouple the fast charging function from the USB data transmission function, so that the fast charging function of the TYPEC interface and the USB data transmission function can be performed simultaneously, which is conducive to further reducing circuit complexity and hardware cost.

[0007] One implementation of the first aspect also includes: a buck-boost charging chip;

[0008] The input pin of the buck-boost charging chip is connected to the power pin of the external device;

[0009] The battery connection pin of the buck-boost charging chip is connected to the input pin of the built-in battery; the communication pin of the buck-boost charging chip is connected to the processor; when the communication pin of the buck-boost charging chip receives the battery charging enable signal sent by the processor, it supplies power to the built-in battery through the battery connection pin.

[0010] In the implementation of the above solution, the buck-boost charging chip can automatically adjust the charging mode (boost or buck) under different input voltage conditions to ensure the fastest possible battery charging, improve charging efficiency, and enhance the functionality and practicality of the TYPEC interface control circuit. Furthermore, the buck-boost charging chip can adapt to batteries of different capacities and types, meeting the battery requirements of devices in different usage scenarios, thus improving the versatility and flexibility of the TYPEC interface control circuit. Finally, the buck-boost charging chip typically has comprehensive protection functions, effectively preventing overcharging, over-discharging, overcurrent, and overheating of the battery, thereby improving the reliability and safety of the TYPEC interface control circuit.

[0011] In one implementation of the first aspect, a power conversion module is also included;

[0012] The system output pin of the buck-boost charging chip is connected to the input pin of the power conversion module; the output pin of the power conversion module is connected to the power pin of the external device; the enable pin of the power conversion module is connected to the processor; when the enable pin receives the external device power supply enable signal sent by the processor, the output pin of the power conversion module supplies power to the external device through the power pin of the external device.

[0013] In the implementation of the above scheme, the TYPEC interface control circuit can use the power conversion module to provide power support for various external devices, which is beneficial to improving the applicability of the above TYPEC interface control circuit; on the other hand, the power conversion module can directly use the power pins in the external device to supply power to the external device, which is beneficial to reducing the circuit complexity of the TYPEC interface control circuit.

[0014] In one implementation of the first aspect, the power conversion module includes a BUCK converter and a load switch, wherein:

[0015] The system output pin of the buck-boost charging chip is connected to the input pin of the BUCK converter.

[0016] The output pin of the BUCK converter is connected to the input pin of the load switch; the output pin of the load switch is connected to the power supply pin of the external device; the enable pin of the load switch is connected to the processor.

[0017] And / or, the power conversion module further includes a Zener diode; the negative terminal of the Zener diode is connected to the input pin of the load switch; the positive terminal of the Zener diode is grounded.

[0018] In the implementation of the above scheme, the power conversion module can achieve power conversion through a BUCK converter and a load switch. The BUCK converter can reduce the higher input voltage to a stable low output voltage. Combined with the load switch, the power supply path can be switched and the current adjusted according to the needs of external devices, which is conducive to achieving efficient power management. On the other hand, the BUCK converter can provide a stable voltage, and the load switch can provide a stable current, which helps to improve the reliability of the power supply to external devices by the above-mentioned TYPEC interface control circuit. In addition, the power conversion module can clamp the voltage by setting a Zener diode to prevent damage to the front-end circuit due to overvoltage, which helps to improve the safety of the above-mentioned TYPEC interface control circuit. On the other hand, the Zener diode can output a stable voltage to provide a reliable power supply to external devices and prevent damage to external devices due to abnormal voltage.

[0019] One implementation of the first aspect also includes: an analog switch;

[0020] The control input pin of the analog switch is connected to the processor; the common terminal of the analog switch is connected to the auxiliary signal pin of the external device; the normally closed interface terminal of the analog switch is connected to the auxiliary signal line; the normally open interface terminal of the analog switch is connected to the DUBUG serial port; when the control input pin receives the DEBUG enable signal sent by the processor, the analog switch disconnects the normally closed interface terminal and closes the normally open interface terminal.

[0021] In the implementation of the above scheme, after receiving the enable signal sent by the processor, the analog switch can quickly switch the SBU signal of the TYPEC interface to the DEBUG serial port mode. This eliminates the need to disassemble the device or connect an additional dedicated debugging interface when debugging is required, which improves the convenience and efficiency of DEBUG debugging. On the other hand, the switching function of the analog switch enables the device to be compatible with various external devices and interface standards. When data transmission with the PC is required, the SBU signal can be restored to the normal communication mode, and when debugging is required, it can be quickly switched to DEBUG mode. This improves the versatility and adaptability of the TYPEC interface control circuit 100. Furthermore, the analog switch enables flexible switching of signal paths, reducing the need for additional debugging interfaces or dedicated debugging circuits and simplifying the overall circuit design.

[0022] In one implementation of the first aspect, the TYPEC interface control circuit includes: a buck-boost charging chip, a signal conversion module, an analog button module, and a power on / off control chip, wherein;

[0023] The input pin of the signal conversion module is connected to the input power presence indicator pin of the buck-boost charging chip; the output pin of the signal conversion module is connected to the input pin of the analog button module; the power-on signal output pin of the analog button module is connected to the button switch pin of the power-on / off control chip; the power-on signal output pin of the power-on / off control chip outputs a power-on enable signal or a power-off enable signal.

[0024] In the implementation of the above solution, the device can automatically start after an external power source is plugged into the TYPEC interface, eliminating the need for manual power-on, which improves the user experience. On the other hand, in scenarios where the power button cannot be manually pressed, the self-starting function ensures that the device can automatically start working when the power source is connected, making the above TYPEC interface control circuit applicable to more application scenarios and improving the practicality of the TYPEC interface control circuit.

[0025] In one implementation of the first aspect, the analog button module includes a delay-off capacitor, one end of which is connected to the input terminal of the analog button module, and the other end of which is grounded.

[0026] In the implementation of the above scheme, the process of releasing the power button signal can be simulated by using a delayed shutdown capacitor, thereby achieving a complete simulation of pressing the power button, which is beneficial to improving the integrity of the self-starting function. On the other hand, the delayed shutdown function ensures that the duration of the button signal is long enough to avoid misoperation caused by the signal being too short or unstable, which is beneficial to improving the stability of the self-starting function.

[0027] In one implementation of the first aspect, the external device includes a TYPEC female connector.

[0028] In the implementation of the above scheme, the external device supports the TYPEC female connector, which has good compatibility and is conducive to improving the compatibility of the above TYPEC interface control circuit.

[0029] Secondly, embodiments of this application provide a TYPEC interface, including an external device and a TYPEC interface control circuit provided by the first aspect or any possible implementation of the first aspect.

[0030] Thirdly, embodiments of this application provide an RTK device, including a TYPEC interface provided by the second aspect or any possible implementation of the second aspect.

[0031] Other features and advantages of this application will be set forth in the following description and will be apparent in part from the description or may be learned by practicing embodiments of this application. The objectives and other advantages of this application may be realized and obtained by means of the structures particularly pointed out in the written description, claims, and drawings. Attached Figure Description

[0032] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments of this application will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0033] Figure 1 This is a schematic diagram of the structure of the TYPEC interface control circuit provided in the embodiments of this application;

[0034] Figure 2 This is a schematic diagram of the structure of the TYPEC female connector provided in the embodiments of this application;

[0035] Figure 3 This is a schematic diagram of the structure of the PD controller provided in the embodiments of this application;

[0036] Figure 4 This is a schematic diagram of the structure of the buck-boost charging chip provided in the embodiments of this application;

[0037] Figure 5 This is a schematic diagram of the BUCK converter provided in the embodiments of this application;

[0038] Figure 6 This is a schematic diagram of the structure of a load switch provided in an embodiment of this application;

[0039] Figure 7 This is a schematic diagram of the structure of the analog switch provided in the embodiments of this application;

[0040] Figure 8 This is a schematic diagram of the structure of the signal conversion module provided in an embodiment of this application;

[0041] Figure 9 This is a schematic diagram of the structure of the simulated button module provided in the embodiments of this application;

[0042] Figure 10 This is a schematic diagram of the power-on / off control chip provided in an embodiment of this application.

[0043] The numbers in the diagram are as follows:

[0044] 100. TYPEC interface control circuit; 110. PD control chip; 120. Processor; 200. TYPEC female connector. Detailed Implementation

[0045] The technical solutions of the embodiments of this application will be described below with reference to the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solutions of this application, and are therefore only examples, and should not be used to limit the scope of protection of this application. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs; the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit this application; the terms "comprising" and "having," and any variations thereof, in the specification, claims, and the foregoing description of the accompanying drawings of this application are intended to cover non-exclusive inclusion.

[0046] In the description of the embodiments of this application, technical terms such as "first" and "second" are used only to distinguish different objects and should not be construed as indicating or implying relative importance or implicitly specifying the number, specific order, or primary and secondary relationship of the indicated technical features. In the description of the embodiments of this application, "multiple" means two or more, unless otherwise explicitly defined.

[0047] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0048] In the description of the embodiments in this application, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " in this document generally indicates that the preceding and following related objects have an "or" relationship.

[0049] Currently, the working principle of mainstream TYPEC bidirectional control circuits in related technologies is similar to that of ordinary terminal devices. Most of them are based on the QC protocol to switch between DEVICE and HOST modes. When the host device is plugged into the PC, it can perform data copying operations after recognizing the drive letter; when the host device is plugged into a USB flash drive, it can perform firmware upgrade operations; when the host device is plugged into a TYPEC power supply, it can switch between slow charging and fast charging based on the QC protocol.

[0050] The working principle of a typical TYPEC bidirectional control circuit includes: realizing the bidirectional control function of TYPEC through circuit components such as power management chip, QC fast charging chip and power-on / off circuit. The power management chip is responsible for monitoring the battery status and controlling the input and output power. By reading the real-time status of each power source, it realizes intelligent path management of charging and discharging of TYPEC, built-in battery and system power supply while ensuring sufficient power supply to the system. The QC fast charging chip performs QC protocol handshake and negotiation through the DM / DP pin of TYPEC, which can meet the high power supply requirements.

[0051] The aforementioned bidirectional control circuit requires the DP / DM pin of the TYPEC interface for QC protocol communication, making it impossible to simultaneously perform fast charging and data copying functions during data transfer. Furthermore, it necessitates integration with complex circuitry for DP / DM path switching and TYPEC input voltage recognition, increasing circuit integration complexity and cost. During debugging, disassembly is typically required, necessitating a connection to a dedicated UART debugging serial port, increasing repair costs and time. Achieving debugging interaction with the device without disassembly relies on the USB protocol, further increasing software development workload.

[0052] Based on this, this application provides a TYPEC interface control circuit. This circuit adopts a PD (Power Delivery) fast charging solution with higher charging efficiency and better compatibility. On the one hand, master-slave mode determination is performed through the CC pin of the TYPEC interface, which helps to reduce circuit complexity and hardware cost. On the other hand, negotiation through the CC pin can decouple the fast charging function from the USB data transmission function, allowing the fast charging function of the TYPEC interface and the USB data transmission function to be performed simultaneously, which helps to further reduce circuit complexity and hardware cost.

[0053] Please see Figure 1 This application provides a TYPEC interface control circuit 100, including: a PD controller 110 and a processor 120, wherein:

[0054] The CC pin of the PD controller 110 is connected to the CC pin of the external device 200 for transmitting role negotiation information. The power pin of the PD controller 110 is connected to the power pin of the external device 200, and the I2C communication pin of the PD controller 110 is connected to the processor 120. An I2C communication path is established between the processor 120 and the PD controller 110. This I2C communication path is used to transmit register information from the PD controller 110, including role negotiation information. This role negotiation information is used to determine the device type of the inserted device in the external device 200.

[0055] For example, when an external device is plugged in, the processor 120 reads the register information of the PD controller 110 through the I2C communication pin of the PD controller 110, and determines the device type of the plugged external device 200 based on the role negotiation information in the register information. When the device type is an external PC or external power supply, it enters DEVICE mode, and when the device type is a USB flash drive or test fixture, it enters HOST mode.

[0056] For example, the processor 120 described above may be a processor of a host device.

[0057] Optionally, the aforementioned external device includes a TYPEC female connector 200.

[0058] The aforementioned TYPEC female connector 200 is officially called a USB Type-C female connector, and it is an important component of the USB Type-C interface. The TYPEC female connector 200 has 24 internal pins, each with a specific function. Please refer to... Figure 2 , Figure 2 The main pins included in the shown TYPEC female connector 200 include:

[0059] TYPEC_IN pin: The power line in the TYPEC female connector 200, mainly used to provide or receive voltages from 5V to a maximum of 48V (USB PD 3.1), with a maximum power of 240W;

[0060] CC1_CON and CC2_CON pins: These are configuration channels in the TYPC female connector 200. Their main functions include: insertion / removal detection, insertion direction detection, PD communication, cable attribute detection, and VCONN power control.

[0061] USB_DP_CON and USB_DM_CON pins are data lines in the TYPC female connector 200, mainly used to transmit bidirectional data signals.

[0062] The SSTX1P_CON and SSTX1N_CON pins, and the SSTX2P_CON and SSTX2N_CON pins: are two sets of TX differential pairs used to achieve high-speed data transmission;

[0063] SSRX1P_CON pin, SSRX1N_CON pin, SSRX2P_CON pin, and SSRX2N_CON pin: These are two sets of RX differential pairs used to achieve high-speed data reception.

[0064] SBU1_CON and SBU2_CON pins are auxiliary channels in the TYPEC female connector 200, used to support additional functions such as analog audio and video transmission.

[0065] GND pin: This is the ground wire in the TYPEC female connector 200.

[0066] In the above scheme, the external device supports the TYPEC female connector 200, which has good compatibility and is conducive to improving the compatibility of the TYPEC interface control circuit 100.

[0067] The aforementioned PD controller 110 refers to a TYPEC PD controller, primarily used to manage the power delivery (PD) function of the USB TYPEC interface. The functions of the PD controller 110 include:

[0068] (1) Power management function:

[0069] The PD controller 110 can control the power supply process of the Type-C interface. For example, when the host device is connected to an external power source, the PD controller 110 can negotiate the charging voltage and current. The PD controller 110 supports multiple voltage and current levels, such as common combinations like 5V / 3A, 9V / 2A, and 15V / 3A, thereby achieving fast charging. In this way, charging parameters can be flexibly adjusted according to the needs of the device and the capabilities of the charger.

[0070] In addition, the TYPEC interface is reversible and supports bidirectional power supply. The PD controller 110 can manage the input and output direction of the power supply, thus enabling the TYPEC interface to support bidirectional functionality. The PD controller 110 can detect whether the device is powered by itself or drawing power from other devices, and control the current flow to ensure proper power distribution.

[0071] (2) Communication function:

[0072] The PD controller 110 uses a specific protocol to communicate between devices. In the PD protocol of the TYPEC interface, devices negotiate power capabilities and requirements by sending and receiving specific signals. For example, when a laptop connects to a docking station via the TYPEC interface, the PD controller 110 can send the laptop's power capability information to the docking station and simultaneously receive feedback from the docking station regarding its power requirements. This communication mechanism enables devices to effectively coordinate power distribution, avoiding overload or insufficient power supply.

[0073] For example, the PD controller 110 in this application embodiment can be a PD controller of model HUSB311. HUSB311 is a high-performance, highly integrated USB Type-C PD controller, which is mainly used to implement USB Type-C port connection detection, orientation detection, power role negotiation (Source / Sink) and basic USB PD communication functions.

[0074] Please see Figure 3 Taking the TYPEC female connector 200 as an example, in this embodiment, the CC1_10 and CC1_11 pins of the PD controller 110 are connected to the CC1_CON pin of the TYPEC female connector 200, the CC2_1 and CC2_14 pins are connected to the CC3_CON pin of the TYPEC female connector 200, the VBUS pin is connected to the TYPEC_IN pin of the TYPEC female connector 200, and the SCL, SDA, and INT pins are connected to the processor 120. The SCL and SDA pins are used to implement I2C communication with the processor 120. The INT pin outputs an interrupt signal to remind the processor 120 to read the register information of the PD controller 110.

[0075] For example, the PD controller 110 can continuously monitor the CC1 and CC2 pins of the TYPEC interface to detect whether a device is inserted and its insertion direction (positive or negative). When a device is inserted, the PD controller 110 can determine whether the device is a power receiver or a power source based on the connection status and resistance value of the CC pin. For example, if a pull-down resistor Rd is detected on the other end of the device, it can be determined that the device is a Sink (power receiver); if a pull-up resistor Rp is detected, it can be determined that it is a Source (power source). When the PD controller 110 detects a device insertion, it sends an interrupt signal to the processor 120 through the interrupt pin, i.e., the INT pin, to inform the processor 120 that a device has been inserted. After receiving the interrupt signal, the processor 120 reads the register information inside the PD controller 110 through the I2C interface. The register information includes the detection result of the CC pin, device role negotiation information (Source / Sink), and device type information transmitted through the USB PD protocol. For example, the register may contain information such as the device's VID (Vendor ID) and PID (Product ID), which can help the processor 120 more accurately determine the type of the inserted device. The processor 120 can determine the specific type of the inserted device based on the read register information and a preset device type identification logic. For example, if the register information shows the device as a Sink, and the device type information transmitted via the PD protocol matches the characteristics of a USB flash drive, then it is determined that a USB flash drive has been inserted. If the register information shows the device as a Source, and the negotiated voltage and current match the power supply characteristics of a power bank, then it is determined that a power bank has been inserted. When a Host device (such as a PC) is detected, it is determined that a PC has been inserted based on the data negotiation information transmitted via the PD protocol. For test fixtures, there are usually specific identifiers or protocol information, which the CPU identifies to determine that a test fixture has been inserted.

[0076] The above-described scheme for processor 120 to determine the type of inserted device is only one optional implementation. It should be noted that the scheme for processor 120 to determine the type of inserted device by combining the register information of PD controller 110, or the above-described device type identification logic, is a relatively mature technology in the field. For specific implementation methods, please refer to relevant technologies. This application embodiment will not elaborate further.

[0077] When the TYPEC interface control circuit 100 identifies that the inserted device is an external power source such as a power bank, it can charge the device's built-in battery using the external power source. The following describes the solution for implementing the built-in battery charging function:

[0078] Optionally, the TYPEC interface control circuit 100 also includes a buck-boost charging chip. The input pin of the buck-boost charging chip is connected to the power supply pin of the external device; the battery connection pin of the buck-boost charging chip is connected to the input pin of the built-in battery; the communication pin of the buck-boost charging chip is connected to the processor; when the communication pin of the buck-boost charging chip receives a battery charging enable signal sent by the processor, it supplies power to the built-in battery through the battery connection pin.

[0079] The aforementioned buck-boost battery charger IC is a dedicated integrated circuit that integrates buck-boost topology power conversion circuitry and battery charging management functions. Its core function is to efficiently and intelligently manage the energy flow from the input power source to the rechargeable battery. This application embodiment can utilize the MP2762A buck-boost charger IC, a highly integrated buck-boost charger IC that integrates narrow-voltage DC (NVDC) power path management and USB On-the-Go (OTG) functionality. This chip has a wide charging input voltage range, supporting up to 21V. The chip has two operating modes during charging: Boost charging mode when the input voltage is below 5.75V, and Buck charging mode when the input voltage is above 8.5V. The MP2762A chip also integrates an I2C interface, allowing for flexible parameter configuration in charging and OTG modes. Configurable parameters include input current limit, input voltage limit, charging current, battery full charge voltage, and charging safety timer. It can also provide operating status through status and fault registers. To ensure safe operation, the MP2762A chip can limit the chip temperature to a preset range of 120°C. Other safety features include input overvoltage protection (OVP), battery overvoltage protection (OVP), overtemperature protection, battery temperature protection, and a configurable timer to prevent prolonged battery charging. The chip provides three analog output pins corresponding to system power supply (PSYS), input current (IAM), and battery current (IBM) to meet the IMVP8 specification. It also features a processor thermal indicator pin (PROCHOT) for controlling system power. Additionally, with the built-in battery present, the MP2762A chip includes an LDO circuit that provides output capability of 3.6V / 50mA for both internal controller and external pull-up connections.

[0080] The following explains the working principle of using a buck-boost charging chip to charge the built-in battery:

[0081] Please see Figure 4Taking the TYPEC female connector 200 as an example, the input pins IN1 and IN2 of the buck-boost charging chip are connected to the power pin TYPEC_IN of the TYPEC female connector 200. The battery connection pins BATT1 and BATT2 of the buck-boost charging chip are connected to the input pin VBAT of the built-in battery. The I2C communication pins SDA and SCL of the buck-boost charging chip are connected to the processor 120. After determining that the inserted device is an external power source, the processor 120 will send a battery charging enable signal to the buck-boost charging chip using the I2C communication pins. After receiving the battery charging enable signal, the buck-boost charging chip will quickly charge the built-in battery through the BATT1 and BATT2 pins.

[0082] In addition, it is understandable that the buck-boost charging chip can automatically adjust the charging mode (boost or buck) under different input voltage conditions, thereby achieving fast charging of the built-in battery.

[0083] The buck-boost charging chip in the above solution can automatically adjust the charging mode (boost or buck) under different input voltage conditions to ensure the fastest possible battery charging, improve charging efficiency, and enhance the functionality and practicality of the TYPEC interface control circuit 100. Furthermore, the buck-boost charging chip can adapt to batteries of different capacities and types, meeting the battery requirements of devices in different usage scenarios, thus improving the versatility and flexibility of the TYPEC interface control circuit 100. Moreover, buck-boost charging chips typically have comprehensive protection functions, effectively preventing overcharging, over-discharging, overcurrent, and overheating of the battery, thereby improving the reliability and safety of the TYPEC interface control circuit.

[0084] The TYPEC interface control circuit 100 described above can supply power to the USB flash drive after recognizing that the inserted device is a USB flash drive. The following is a description of the solution for supplying power to the USB flash drive:

[0085] Optionally, the TYPEC interface control circuit 100 further includes a power conversion module. The system output pin of the buck-boost charging chip is connected to the input pin of the power conversion module; the output pin of the power conversion module is connected to the power supply pin of the external device; the enable pin of the power conversion module is connected to the processor; when the enable pin receives an external device power supply enable signal sent by the processor 120, the output pin of the power conversion module supplies power to the external device through the power supply pin of the external device.

[0086] The aforementioned power conversion module can convert the input power voltage into a stable voltage required by the USB flash drive, and use the power pin TYPEC_IN of the external device to power external devices such as the USB flash drive.

[0087] The TYPEC interface control circuit 100 in the above scheme can provide power support for various external devices by utilizing the power conversion module, which is beneficial to improving the applicability of the TYPEC interface control circuit 100. On the other hand, the power conversion module can directly use the power pins in the external device to supply power to the external device, which is beneficial to reducing the circuit complexity of the TYPEC interface control circuit 100.

[0088] Optionally, the power conversion module includes a BUCK converter and a load switch, wherein: the system output pin of the buck-boost charging chip is connected to the input pin of the BUCK converter; the output pin of the BUCK converter is connected to the input pin of the load switch; the output pin of the load switch is connected to the power supply pin of the external device; and the enable pin of the load switch is connected to the processor.

[0089] The aforementioned Buck Converter is a DC-DC switching power supply circuit whose core function is to convert a higher input DC voltage into a lower output DC voltage, while achieving efficient power conversion. The aforementioned Load Switch is an integrated circuit used for precise on / off control; its core function is to safely and efficiently connect or disconnect the power path of downstream circuits.

[0090] Taking the TYPEC female connector 200 as an example, the working principle of the power conversion module to provide power to the external device is described below:

[0091] For example, to provide power to a USB flash drive inserted into a Type-C interface, please refer to [link / reference]. Figure 5 and Figure 6 The system output pin VCC_SYS of the buck-boost charging chip is connected to the input pin VIN of the BUCK converter. The output pin SW of the BUCK converter is connected to the input pin VIN of the load switch. The output pin VOUT of the load switch is connected to the power supply pin TYPEC_IN of the TYPEC socket 200. The enable pin EN of the load switch is connected to the processor 120.

[0092] When the external device is determined to be a USB flash drive, the output pin SW of the BUCK converter outputs the USB flash drive power supply voltage VCC5V0_USB to the input pin VIN of the load switch. After the load switch receives the external device power supply enable signal TYPEC5V_PWREN sent by the processor 120 on the enable pin EN, the power supply path is turned on. At this time, the output pin VOUT of the load switch outputs the power supply voltage to the external device through the power supply pin TYPEC_IN of the TYPEC female connector 200.

[0093] The power conversion module in the above scheme can achieve power conversion through a BUCK converter and a load switch. The BUCK converter can reduce the higher input voltage to a stable low output voltage. When paired with the load switch, the power supply path can be switched and the current adjusted according to the needs of external devices, which is conducive to achieving efficient power management. On the other hand, the BUCK converter can provide a stable voltage and the load switch can provide a stable current, which is conducive to improving the reliability of the power supply to external devices by the above-mentioned TYPEC interface control circuit 100.

[0094] Optionally, the power conversion module also includes a Zener diode; the negative terminal of the Zener diode is connected to the input pin of the load switch; the positive terminal of the Zener diode is grounded. For example, in this implementation, a 5V Zener diode D52 is connected in series with ground at the VCC5V0_USB terminal to prevent damage to the pre-amplifier circuitry during fast charging.

[0095] In the implementation of the above scheme, the power conversion module can clamp the voltage by setting a Zener diode to prevent damage to the front-end circuit due to overvoltage, which is beneficial to improving the safety of the above TYPEC interface control circuit 100. On the other hand, the Zener diode can output a stable voltage to provide reliable power to external devices and prevent damage to external devices due to abnormal voltage.

[0096] The TYPEC interface control circuit 100 in the above scheme also brings out the UART debug serial port through the TYPEC terminal to facilitate DEBUG debugging. The following is a description of the DEBUG debugging scheme implemented by the above TYPEC interface control circuit 100:

[0097] Optionally, the TYPEC interface control circuit 100 further includes an analog switch. The control input pin of the analog switch is connected to the processor 120; the common terminal of the analog switch is connected to the auxiliary signal pin of the external device; the normally closed interface terminal of the analog switch is connected to the auxiliary signal line; the normally open interface terminal of the analog switch is connected to the DUBUG serial port; when the control input pin receives the DEBUG enable signal sent by the processor, the analog switch opens the normally closed interface terminal and closes the normally open interface terminal.

[0098] The aforementioned analog switch is an electronic component used to control the on / off state of signals in a circuit. It can determine the signal transmission path based on the control signal.

[0099] Taking the TYPEC female connector 200 as an example, the working principle of the TYPEC interface control circuit 100 using an analog switch to implement DEBUG debugging is introduced below:

[0100] Please see Figure 7The control input pins IN3-4 of the analog switch are connected to the processor 120. The common terminals COM3 and COM4 of the analog switch are connected to the auxiliary signal pins SBU1_CON and SBU2_CON of the TYPEC female connector 200, respectively. The normally closed interface terminals NC3 and NC4 of the analog switch are connected to the auxiliary signal lines TYPEC0_SBU1 and TYPEC0_SBU2, respectively. The normally open interface terminals NO3 and NO4 of the analog switch are connected to the DEBUG serial port DEBUG_TX and DEBUG_RX, respectively.

[0101] SW_SBUSW_SBU is set to low level by default. When the DEBUG enable signal sent by the processor is received on the control input pins IN3-4, SW_SBU is set to high. The analog switch disconnects the normally closed interfaces NC3 and NC4 and connects to the normally open interfaces NO3 and NO4, thereby realizing the conversion from SBU serial port to DEBUG serial port. The test fixture can directly perform UART debugging through the TYPEC interface.

[0102] In the above scheme, the processor 120 can quickly switch the SBU signal of the TYPEC interface to DEBUG serial port mode by controlling the enable signal of the analog switch. This eliminates the need to disassemble the device or connect an additional dedicated debugging interface when debugging is required, thus improving the convenience and efficiency of DEBUG debugging. On the other hand, the switching function of the analog switch enables the device to be compatible with various external devices and interface standards. When data transmission with the PC is required, the SBU signal can be restored to the normal communication mode, and when debugging is required, it can be quickly switched to DEBUG mode. This improves the versatility and adaptability of the TYPEC interface control circuit 100. Furthermore, the analog switch enables flexible switching of signal paths, reducing the need for additional debugging interfaces or dedicated debugging circuits and simplifying the overall circuit design.

[0103] When the TYPEC interface control circuit 100 in the above scheme determines that the inserted device is a PC, it can also use the USB_DP_CON pin, USB_DM_CON pin, TX differential pair and RX differential pair in the TYPEC female connector 200 to realize high-speed data transmission with the PC, and output virtual USB flash drive and virtual network port on the PC to realize data interaction.

[0104] In the above solution, if the TYPEC interface control circuit 100 detects an external power supply when the device is not started, the device can be automatically started through the analog button module and the power on / off chip. The specific solution is as follows:

[0105] Optionally, the TYPEC interface control circuit 100 includes: a buck-boost charging chip, a signal conversion module, an analog button module, and a power-on / off control chip, wherein: the input pin of the signal conversion module is connected to the input power presence indicator pin of the buck-boost charging chip; the output pin of the signal conversion module is connected to the input pin of the analog button module; the power-on signal output pin of the analog button module is connected to the button switch pin of the power-on / off control chip; and the power-on / off signal output pin of the power-on / off control chip outputs a power-on enable signal or a power-off enable signal.

[0106] Taking the TYPEC female connector 200 as an example, the working principle of the TYPEC interface control circuit 100 to achieve device self-start is described below:

[0107] Please see Figure 8 The above signal conversion module can be adopted as follows: Figure 8 The first-stage MOS circuit shown has the gate of MOS transistor Q15 connected to the ACOK pin of the buck-boost charging chip. The drain of MOS transistor Q15 outputs the PG signal. When there is power input on the power pin TYPEC_IN in the TYPEC socket 200, ACOK is pulled low to AGND. Through the above-mentioned first-stage MOS transistor circuit, an inverted level PD signal can be output.

[0108] Please see Figure 9 When there is power input on the power pin TYPEC_IN in the TYPEC female connector 200, the PG signal outputs a high level to the button simulation module. At this time, the drain and source of Q9 are turned on, thereby applying a VBAT voltage to the source of Q130. The gate of Q130 is grounded. This VBAT voltage is synchronously transmitted to the source through the drain of Q130. By charging the two capacitors C1331 and C1333, the level is slowly generated. While protecting the safety of the subsequent circuit, Q7 is turned on, which in turn causes the KEY_POWER signal to change from a high level to a low level, thereby realizing the simulated operation of pressing the power button.

[0109] Please see Figure 10 After receiving the KEY_POWER signal, the BUTTON pin of the power-on control chip pulls the System_on-off power-on enable signal output by the power-on signal output pin high through internal logic. This allows the subsequent power supply circuit to be started using the System_on-off signal, enabling the device to start automatically when an external power supply is plugged into the TYPEC interface.

[0110] In the implementation of the above solution, the device can start automatically after an external power supply is plugged into the TYPEC interface, without the need for manual power-on, which is beneficial to improving the user experience. On the other hand, in scenarios where the power button cannot be pressed manually, the self-starting function ensures that the device can start working automatically when the power is connected, making the above TYPEC interface control circuit 100 applicable to more application scenarios and improving the practicality of the TYPEC interface control circuit 100.

[0111] Optionally, the aforementioned analog button module includes a delay-off capacitor, one end of which is connected to the input terminal of the analog button module, and the other end of which is grounded. This implementation example is as follows:

[0112] Please see Figure 9 The analog button module is equipped with a delay-off capacitor C1332. When the power supply output is turned on, Q10 discharges the delay-off capacitor C1332 to ground, thereby realizing the delayed shutdown of the analog button. After Q7 is turned off, the KEY_POWER signal returns to the high level, realizing the button release operation.

[0113] In the implementation of the above scheme, the process of releasing the power button signal can be simulated by using a delayed shutdown capacitor, thereby achieving a complete simulation of pressing the power button, which is beneficial to improving the integrity of the self-starting function. On the other hand, the delayed shutdown function ensures that the duration of the button signal is long enough to avoid misoperation caused by the signal being too short or unstable, which is beneficial to improving the stability of the self-starting function.

[0114] Based on the same concept, this application also provides a TYPEC interface, including an external device and the aforementioned TYPEC interface control circuit 100.

[0115] Based on the same concept, embodiments of this application also provide an RTK device, including at least one of the above-described TYPEC interfaces.

[0116] The aforementioned RTK (Real-time kinematic) is a real-time dynamic carrier phase differential technique. It's a method for processing the carrier phase observations of two measurement stations in real time, sending the carrier phase data acquired by the base station to the user receiver for differential calculation of coordinates. RTK is a new and commonly used satellite positioning measurement method. Previous static, rapid static, and dynamic measurements all required post-processing to achieve centimeter-level accuracy, while RTK can achieve centimeter-level positioning accuracy in real time in the field. It employs a dynamic real-time carrier phase differential method, representing a significant milestone in GPS applications. Its emergence has brought new measurement principles and methods to engineering layout, topographic mapping, and various control surveys, greatly improving operational efficiency. RTK equipment is a real-time kinematic positioning device utilizing RTK technology, a device that achieves high-precision positioning using Global Navigation Satellite System (GNSS) technology.

[0117] In the embodiments provided in this application, it should be understood that the disclosed circuit structure can be implemented in other ways. The circuit embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and there may be other division methods in actual implementation. Furthermore, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Additionally, the coupling or direct coupling or communication connection shown or discussed may be through some communication interface, or indirect coupling or communication connection between modules or units, and may be electrical, mechanical, or other forms.

[0118] Furthermore, the units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0119] Furthermore, the functional modules in the various embodiments of this application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.

[0120] The above are merely embodiments of this application and are not intended to limit the scope of protection of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application.

Claims

1. A TYPEC interface control circuit, characterized in that, include: PD controller and processor, wherein: The CC pin of the PD controller is connected to the CC pin of an external device for transmitting role negotiation information; The power pin of the PD controller is connected to the power pin of the external device; The I2C communication pin of the PD controller is connected to the processor; an I2C communication path is set between the processor and the PD controller, and the I2C communication path is used to transmit the register information of the PD controller. The register information includes the role negotiation information, which is used to determine the device type of the device inserted on the external device.

2. The TYPEC interface control circuit according to claim 1, characterized in that, Also includes: Buck-boost charging chip; The input pin of the buck-boost charging chip is connected to the power pin of the external device; The battery connection pin of the buck-boost charging chip is connected to the input pin of the built-in battery; the communication pin of the buck-boost charging chip is connected to the processor; when the communication pin of the buck-boost charging chip receives the battery charging enable signal sent by the processor, it supplies power to the built-in battery through the battery connection pin.

3. The TYPEC interface control circuit according to claim 2, characterized in that, Also includes: Power conversion module; The system output pin of the buck-boost charging chip is connected to the input pin of the power conversion module; the output pin of the power conversion module is connected to the power pin of the external device; the enable pin of the power conversion module is connected to the processor; when the enable pin receives the external device power supply enable signal sent by the processor, the output pin of the power conversion module supplies power to the external device through the power pin of the external device.

4. The TYPEC interface control circuit according to claim 3, characterized in that, The power conversion module includes a BUCK converter and a load switch, wherein: The system output pin of the buck-boost charging chip is connected to the input pin of the BUCK converter. The output pin of the BUCK converter is connected to the input pin of the load switch; the output pin of the load switch is connected to the power supply pin of the external device; the enable pin of the load switch is connected to the processor. And / or, the power conversion module further includes a Zener diode; the negative terminal of the Zener diode is connected to the input pin of the load switch; the positive terminal of the Zener diode is grounded.

5. The TYPEC interface control circuit according to claim 1, characterized in that, Also includes: Analog switch; The control input pin of the analog switch is connected to the processor; the common terminal of the analog switch is connected to the auxiliary signal pin of the external device; the normally closed interface terminal of the analog switch is connected to the auxiliary signal line; the normally open interface terminal of the analog switch is connected to the DUBUG serial port; when the control input pin receives the DEBUG enable signal sent by the processor, the analog switch disconnects the normally closed interface terminal and closes the normally open interface terminal.

6. The TYPEC interface control circuit according to any one of claims 1 to 5, characterized in that, The TYPEC interface control circuit includes: a buck-boost charging chip, a signal conversion module, an analog button module, and a power on / off control chip, wherein; The input pin of the signal conversion module is connected to the input power presence indicator pin of the buck-boost charging chip; the output pin of the signal conversion module is connected to the input pin of the analog button module; the power-on signal output pin of the analog button module is connected to the button switch pin of the power-on / off control chip; the power-on signal output pin of the power-on / off control chip outputs a power-on enable signal or a power-off enable signal.

7. The TYPEC interface control circuit according to claim 6, characterized in that, The analog button module includes a delay-off capacitor, one end of which is connected to the input terminal of the analog button module, and the other end of which is grounded.

8. The TYPEC interface control circuit according to any one of claims 1 to 5, characterized in that, The external device includes a TYPEC female connector.

9. A TYPEC interface, characterized in that, include: External devices and the TYPEC interface control circuit as described in any one of claims 1 to 8.

10. An RTK device, characterized in that, include: At least one TYPEC interface as described in claim 9.