Adapting circuit of type-c interface, microphone, recorder and control method

CN122387897BActive Publication Date: 2026-10-20APUTURE IMAGING IND CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202610847096.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-06-12
Publication Date
2026-10-20
Estimated Expiration
2046-06-12

AI Technical Summary

Technical Problem

[0003]专用充电控制器方案的主机兼容性不足,容易造成功能失效

Benefits of technology

响应于模式切换指令,基于读卡器模式描述符向主机设备进行枚举,以使主机设备加载读卡器模式对应的驱动程序;

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122387897B_ABST
    Figure CN122387897B_ABST
Patent Text Reader

Abstract

The application provides a TYPE-C interface adaptation circuit, a microphone, a recorder and a control method. The TYPE-C interface adaptation circuit is provided with a microcontroller and a charging controller, and is additionally provided with a first switch module and a second switch module controlled by the microcontroller. Under the control of the microcontroller, the first switch module can communicate the data transmission end of the microcontroller or the data transmission end of the charging controller with the data transmission end of the TYPE-C interface, and the second switch module can communicate the channel configuration end of the pull-down resistance module or the charging controller with the channel configuration end of the TYPE-C interface. Finally, based on the switching of the hardware channel, the charging and data transmission based on the TYPE-C interface are realized respectively. On the one hand, the host of the application has high compatibility and is not prone to function failure. On the other hand, the application does not need the microcontroller to realize a complete charging protocol stack, and has low development complexity.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of peripheral interface technology, specifically to a TYPE-C interface adapter circuit, microphone, recorder, and control method. Background Technology

[0002] The Type-C interface is a universal standard interface based on the USB protocol, supporting reversible insertion, fast charging, and data transfer, including audio and video transmission. Current technologies typically employ dedicated charging controllers or microcontroller-based analog charging solutions to achieve both fast charging and data transfer capabilities.

[0003] Dedicated charging controller solutions suffer from insufficient host compatibility, which can easily lead to functional failures. Microcontroller-based analog charging solutions, on the other hand, require the microcontroller to implement a complete charging protocol stack, resulting in extremely high development complexity. Summary of the Invention

[0004] In view of the shortcomings of the existing technology, the present invention provides a TYPE-C interface adapter circuit, microphone, recorder and control method.

[0005] In one embodiment, the present invention provides an adapter circuit for a TYPE-C interface, the adapter circuit for the TYPE-C interface including a charging controller, a microcontroller, a first switch module, a second switch module, and a pull-down resistor module; The common terminal of the first switch module is used to electrically connect to the data transmission terminal of the TYPE-C interface, the first access terminal of the first switch module is electrically connected to the data transmission terminal of the microcontroller, and the second access terminal of the first switch module is electrically connected to the data transmission terminal of the charging controller. The common terminal of the second switch module is used to electrically connect to the channel configuration terminal of the TYPE-C interface, the first access terminal of the second switch module is electrically connected to the pull-down resistor module, and the second access terminal of the second switch module is electrically connected to the channel configuration terminal of the charging controller. The output terminal of the microcontroller is electrically connected to the controlled terminal of the first switch module and the controlled terminal of the second switch module, respectively, for controlling the common terminal of the first switch module to connect with the first access terminal or the second access terminal of the first switch module, and for controlling the common terminal of the second switch module to connect with the first access terminal or the second access terminal of the second switch module.

[0006] In one embodiment, the first switching module includes a double-pole double-throw analog switch; The positive common terminal of the double-pole double-throw analog switch is used to electrically connect to the positive data transmission terminal of the TYPE-C interface, and the negative common terminal of the double-pole double-throw analog switch is used to electrically connect to the negative data transmission terminal of the TYPE-C interface. The first positive terminal of the double-pole double-throw analog switch is electrically connected to the positive data transmission terminal of the microcontroller, and the first negative terminal of the double-pole double-throw analog switch is electrically connected to the negative data transmission terminal of the microcontroller. The second positive terminal of the double-pole double-throw analog switch is electrically connected to the positive data transmission terminal of the charging controller, and the second negative terminal of the double-pole double-throw analog switch is electrically connected to the negative data transmission terminal of the charging controller. The controlled terminal of the double-pole double-throw analog switch is electrically connected to the first output terminal of the microcontroller.

[0007] In one embodiment, the second switch module includes a first single-pole double-throw analog switch and a second single-pole double-throw analog switch, and the pull-down resistor module includes a first pull-down resistor and a second pull-down resistor. The common terminal of the first single-pole double-throw analog switch is used to be electrically connected to the first channel configuration terminal of the TYPE-C interface, the first access terminal of the first single-pole double-throw analog switch is electrically connected to the first pull-down resistor, and the second access terminal of the first single-pole double-throw analog switch is electrically connected to the first channel configuration terminal of the charging controller. The common terminal of the second single-pole double-throw analog switch is used to electrically connect to the second channel configuration terminal of the TYPE-C interface, the first access terminal of the second single-pole double-throw analog switch is electrically connected to the second pull-down resistor, and the second access terminal of the second single-pole double-throw analog switch is electrically connected to the second channel configuration terminal of the charging controller. The controlled terminal of the first single-pole double-throw analog switch is electrically connected to the second output terminal of the microcontroller, and the controlled terminal of the second single-pole double-throw analog switch is electrically connected to the third output terminal of the microcontroller.

[0008] In one embodiment, the adapter circuit for the TYPE-C interface further includes a first power supply processing module; The input terminal of the first power supply processing module is used to connect to the internal battery, and the output terminal of the first power supply processing module is connected to the power supply terminal of the first switch module, the power supply terminal of the second switch module and the power supply terminal of the microcontroller, respectively, to output the first power supply voltage.

[0009] In one embodiment, the adapter circuit for the TYPE-C interface further includes a second power supply processing module; The input terminal of the second power supply processing module is used to electrically connect to the power terminal of the TYPE-C interface, and the output terminal of the second power supply processing module is electrically connected to the power terminal of the first switch module, the power terminal of the second switch module and the power terminal of the microcontroller, respectively, for outputting the second power supply voltage. The first power supply processing module is also used to stop outputting the first power supply voltage when the second power supply processing module outputs the second power supply voltage.

[0010] Secondly, in one embodiment, the present invention provides a microphone, the microphone including a microphone body and an adapter circuit for a TYPE-C interface as described in any of the above embodiments disposed on the microphone body.

[0011] Thirdly, in one embodiment, the present invention provides a recorder, the recorder including a recorder body and an adapter circuit for a TYPE-C interface as described in any of the above embodiments disposed on the recorder body.

[0012] Fourthly, in one embodiment, the present invention provides a control method based on a TYPE-C interface, which is applied to a microphone or a recorder in any of the above embodiments; the control method based on a TYPE-C interface includes the following steps executed by a microcontroller: After power-on, the first switch module and the second switch module are both in the first switch state, so that the first switch module connects the data transmission terminal of the TYPE-C interface to the data transmission terminal of the microcontroller, and the second switch module connects the channel configuration terminal of the TYPE-C interface to the pull-down resistor module. Detect the device type of the target device connected via the TYPE-C interface; If the device type indicates that the target device is a host device, then the first switch module and the second switch module are controlled to maintain the first switch state. If the device type indicates that the target device is a charging device, then the first switch module is controlled to switch to the second switch state and the second switch module is controlled to switch to the second switch state, so that the first switch module connects the data transmission terminal of the TYPE-C interface and the data transmission terminal of the charging controller, and the second switch module connects the channel configuration terminal of the TYPE-C interface and the channel configuration terminal block of the charging controller.

[0013] In one embodiment, after the steps of controlling the first switch module to maintain the first switch state and the second switch module to maintain the first switch state, the control method based on the TYPE-C interface further includes the following steps executed by the microcontroller: The host device is enumerated based on the audio mode descriptor so that the host device can load the driver corresponding to the audio mode. Data is transferred with the host device in audio mode.

[0014] In one embodiment, after the step of data transmission with the host device in audio mode, the control method based on the TYPE-C interface further includes the following steps performed by the microcontroller: In response to the mode switching command, the host device is enumerated based on the card reader mode descriptor so that the host device loads the driver corresponding to the card reader mode; Data is transferred with the host device in card reader mode.

[0015] By using the aforementioned TYPE-C interface adapter circuit, microphone, recorder, and control method, a microcontroller and a charging controller are configured simultaneously, and a first switch module and a second switch module controlled by the microcontroller are added. Under the control of the microcontroller, the first switch module can connect the data transmission terminal of the microcontroller or the data transmission terminal of the charging controller to the data transmission terminal of the TYPE-C interface, and the second switch module can connect the pull-down resistor module or the channel configuration terminal of the charging controller to the channel configuration terminal of the TYPE-C interface. Ultimately, based on the switching of hardware channels, charging and data transmission based on the TYPE-C interface are realized respectively. On the one hand, the host compatibility of this invention is high, and it is not easy to cause functional failure; on the other hand, this invention does not require the microcontroller to implement a complete charging protocol stack, and the development complexity is low. Attached Figure Description

[0016] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0017] Figure 1 This is a schematic diagram of the structure of the adapter circuit for the TYPE-C interface in one embodiment of the present invention; Figure 2 This is a schematic diagram of the charging controller and the first switch module in one embodiment of the present invention; Figure 3 This is a schematic diagram of the specific circuit of the first single-pole double-throw analog switch in the second switch module of one embodiment of the present invention; Figure 4 This is a schematic diagram of the specific circuit of the second single-pole double-throw analog switch in the second switch module of one embodiment of the present invention; Figure 5 A schematic diagram of the structure of the adapter circuit for the TYPE-C interface in one embodiment of the present invention further includes a first power supply processing module and a second power supply processing module; Figure 6 This is a schematic diagram of the second power supply processing module in one embodiment of the present invention. Detailed Implementation

[0018] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0019] In the description of this invention, it should be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," and "outer," etc., indicating orientation or positional relationships based on the orientation or positional relationships shown in the accompanying drawings, are only for the convenience of describing the invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the invention. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include one or more of the stated features. In the description of this application, "a plurality of" means two or more, unless otherwise explicitly specified. In this application, the term "exemplary" is used to mean "used as an example, illustration, or description." Any embodiment described as "exemplary" in this application is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is provided to enable any person skilled in the art to implement and use the invention. In the following description, details are set forth for purposes of explanation. It should be understood that those skilled in the art will recognize that the invention can be implemented without using these specific details. In other instances, well-known structures and processes will not be described in detail to avoid obscuring the description of the invention with unnecessary detail. Therefore, the invention is not intended to be limited to the embodiments shown, but is consistent with the broadest scope of the principles and features disclosed herein.

[0020] Firstly, such as Figure 1 As shown, in one embodiment, the present invention provides a TYPE-C interface adapter circuit 100, which includes a charging controller 140, a microcontroller 130, a first switch module 110, a second switch module 120, and a pull-down resistor module 150.

[0021] The common terminal of the first switch module 110 is used to electrically connect to the data transmission terminal of the TYPE-C interface J1A, the first access terminal of the first switch module 110 is electrically connected to the data transmission terminal of the microcontroller 130, and the second access terminal of the first switch module 110 is electrically connected to the data transmission terminal of the charging controller 140.

[0022] When the first switch module 110 is in the first switch state, its common terminal is connected to the first access terminal. At this time, the data transmission terminal of the TYPE-C interface J1A is connected to the data transmission terminal of the microcontroller 130, and the data signal D is transmitted between the TYPE-C interface J1A and the microcontroller 130.

[0023] When the first switch module 110 is in the second switch state, its common terminal is connected to the second access terminal. At this time, the data transmission terminal of the TYPE-C interface J1A is connected to the data transmission terminal of the charging controller 140, and the data signal D is transmitted between the TYPE-C interface J1A and the charging controller 140.

[0024] The common terminal of the second switch module 120 is used to electrically connect to the channel configuration terminal of the TYPE-C interface J1A, the first access terminal of the second switch module 120 is electrically connected to the pull-down resistor module 150, and the second access terminal of the second switch module 120 is electrically connected to the channel configuration terminal of the charging controller 140.

[0025] When the second switch module 120 is in the first switch state, its common terminal is connected to the first access terminal. At this time, the channel configuration terminal of the TYPE-C interface J1A is connected to the pull-down resistor module 150, and the channel signal CC is set to the pull-down state.

[0026] When the second switch module 120 is in the second switch state, its common terminal is connected to the second access terminal. At this time, the channel configuration terminal of the TYPE-C interface J1A is connected to the channel configuration terminal of the charging controller 140, and the channel signal CC is transmitted between the TYPE-C interface J1A and the charging controller 140.

[0027] The output terminal of the microcontroller 130 is connected to the controlled terminal of the first switch module 110 to output a data switch control signal D_CTR. The output terminal of the microcontroller 130 is also electrically connected to the controlled terminal of the second switch module 120 to output a channel switch control signal C_CTR. The microcontroller 130 is used to control the switching state of the first switch module 110 and the second switch module 120.

[0028] The microcontroller 130 can control the switching states of the first switch module 110 and the second switch module 120 according to actual needs. For example, it can control the first switch module 110 and the second switch module 120 to be in the first switch state respectively, thereby connecting the data transmission terminal of the TYPE-C interface J1A with the data transmission terminal of the microcontroller 130 and connecting the channel configuration terminal of the TYPE-C interface J1A with the pull-down resistor module 150, which conforms to the hardware configuration for data transmission and thus reliably realizes the data transmission function. Alternatively, it can control the first switch module 110 and the second switch module 120 to be in the second switch state respectively, thereby connecting the data transmission terminal of the TYPE-C interface J1A with the data transmission terminal of the charging controller 140 and connecting the channel configuration terminal of the TYPE-C interface J1A with the channel configuration terminal of the charging controller 140, which conforms to the hardware configuration for charging and thus reliably realizes the charging function.

[0029] Through the aforementioned TYPE-C interface adapter circuit 100, a microcontroller 130 and a charging controller 140 are configured simultaneously, and a first switch module 110 and a second switch module 120 controlled by the microcontroller 130 are added. Under the control of the microcontroller 130, the first switch module 110 can connect the data transmission terminal of the microcontroller 130 or the data transmission terminal of the charging controller 140 to the data transmission terminal of the TYPE-C interface J1A, and the second switch module 120 can connect the pull-down resistor module 150 or the channel configuration terminal of the charging controller 140 to the channel configuration terminal of the TYPE-C interface J1A. Finally, based on the switching of hardware channels, charging and data transmission based on the TYPE-C interface J1A are realized respectively. On the one hand, the host compatibility of the present invention is high, and it is not easy to cause functional failure. On the other hand, the present invention does not require the microcontroller 130 to implement a complete charging protocol stack, and the development complexity is low.

[0030] like Figure 1 and Figure 2 As shown, in one embodiment, the first switch module 110 includes a double-pole double-throw analog switch U3, and the charging controller 140 includes a charging control chip U2.

[0031] The positive common terminal (pin 8) of the double-pole double-throw analog switch U3 is used to electrically connect to the positive data transmission terminal (pin A6 or pin B6) of the TYPE-C interface J1A, and the negative common terminal (pin 7) of the double-pole double-throw analog switch U3 is used to electrically connect to the negative data transmission terminal (pin A7 or pin B7) of the TYPE-C interface J1A.

[0032] The first positive terminal (pin 1) of the double-pole double-throw analog switch U3 is electrically connected to the positive data transmission terminal of the microcontroller 130, and the first negative terminal (pin 2) of the double-pole double-throw analog switch U3 is electrically connected to the negative data transmission terminal of the microcontroller 130, so as to realize the transmission of data signals (CI_D1+ and CI_D1-) between the double-pole double-throw analog switch U3 and the microcontroller 130.

[0033] The second positive terminal (pin 3) of the double-pole double-throw analog switch U3 is electrically connected to the positive data transmission terminal (pin 2) of the charging control chip U2, and the second negative terminal (pin 4) of the double-pole double-throw analog switch U3 is electrically connected to the negative data transmission terminal (pin 3) of the charging control chip U2.

[0034] The controlled terminal (pin 9) of the double-pole double-throw analog switch U3 is electrically connected to the first output terminal of the microcontroller 130 to receive the data switch control signal D_CTR.

[0035] When the microcontroller 130 outputs a low-level data switch control signal D_CTR, the double-pole double-throw analog switch U3 is in the first switching state, with its positive common terminal (pin 8) connected to the first positive input terminal (pin 1) and its negative common terminal (pin 7) connected to the first negative input terminal (pin 2). In this state, the microcontroller 130 acts as the main body for data transmission. When the microcontroller 130 outputs a high-level data switch control signal D_CTR, the double-pole double-throw analog switch U3 is in the second switching state, with its positive common terminal (pin 8) connected to the second positive input terminal (pin 3) and its negative common terminal (pin 7) connected to the second negative input terminal (pin 4). In this state, the charging control chip U2 acts as the main body for data transmission.

[0036] like Figure 1 , Figure 2 , Figure 3 and Figure 4 As shown, in one embodiment, the second switch module 120 includes a first single-pole double-throw analog switch U4 and a second single-pole double-throw analog switch U5, the pull-down resistor module 150 includes a first pull-down resistor R16 and a second pull-down resistor R18, and the charging controller 140 includes a charging control chip U2.

[0037] The common terminal (pin 4) of the first single-pole double-throw analog switch U4 is electrically connected to the first channel configuration terminal (pin A5) of the TYPE-C interface J1A to realize the transmission of channel signal CC1 between the first single-pole double-throw analog switch U4 and the TYPE-C interface J1A. The first access terminal (pin 3) of the first single-pole double-throw analog switch U4 is electrically connected to the first pull-down resistor R16. The second access terminal (pin 1) of the first single-pole double-throw analog switch U4 is electrically connected to the first channel configuration terminal (pin 4) of the charging control chip U2 to realize the transmission of channel signal 238_CC1 between the first single-pole double-throw analog switch U4 and the charging control chip U2.

[0038] The common terminal (pin 4) of the second single-pole double-throw analog switch U5 is electrically connected to the second channel configuration terminal (pin B5) of the TYPE-C interface J1A to realize the transmission of channel signal CC2 between the second single-pole double-throw analog switch U5 and the TYPE-C interface J1A. The first access terminal (pin 3) of the second single-pole double-throw analog switch U5 is electrically connected to the second pull-down resistor R18. The second access terminal (pin 1) of the second single-pole double-throw analog switch U5 is electrically connected to the second channel configuration terminal (pin 5) of the charging control chip U2 to realize the transmission of channel signal 238_CC2 between the second single-pole double-throw analog switch U5 and the charging control chip U2.

[0039] The controlled terminal (pin 6) of the first single-pole double-throw analog switch U4 is electrically connected to the second output terminal of the microcontroller 130 to receive the first channel switch control signal C_CTR1. The controlled terminal (pin 6) of the second single-pole double-throw analog switch U5 is electrically connected to the third output terminal of the microcontroller 130 to receive the second channel switch control signal C_CTR2.

[0040] When the microcontroller 130 outputs a low-level first channel switch control signal C_CTR1 and a low-level second channel switch control signal C_CTR2, both the first single-pole double-throw analog switch U4 and the second single-pole double-throw analog switch U5 are in the first switching state, and their common terminal (pin 4) is connected to the first access terminal (pin 3). At this time, an effective pull-down is provided to ensure the reliability of data transmission by the microcontroller 130. When the microcontroller 130 outputs a high-level first channel switch control signal C_CTR1 and a high-level second channel switch control signal C_CTR2, both the first single-pole double-throw analog switch U4 and the second single-pole double-throw analog switch U5 are in the second switching state, and their common terminal (pin 4) is connected to the second access terminal (pin 1). At this time, charging negotiation between the TYPE-C interface J1A and the charging control chip U2 is realized.

[0041] like Figure 5As shown, in one embodiment, the TYPE-C interface adapter circuit 100 further includes a first power supply processing module 160.

[0042] The input terminal of the first power supply processing module 160 is used to be electrically connected to the internal battery 170. The output terminal of the first power supply processing module 160 is electrically connected to the power supply terminal of the first switch module 110, the power supply terminal of the second switch module 120 and the power supply terminal of the microcontroller 130, respectively, and is used to output the first power supply voltage VCC1.

[0043] When the TYPE-C interface J1A is connected to the host device, the host device usually only interacts with the adapter circuit 100 with the TYPE-C interface in this embodiment, and cannot provide effective power. Therefore, in order to ensure the reliability of the interaction, the first switch module 110, the second switch module 120 and the microcontroller 130 are powered by the internal battery 170.

[0044] Specifically, the first power supply processing module 160 processes the battery voltage VBAT output by the internal battery 170 to meet the power supply requirements of the first switch module 110, the second switch module 120, and the microcontroller 130. It is understood that the power supply requirements of the first switch module 110, the second switch module 120, and the microcontroller 130 can be the same or different. When the power supply requirements are the same, the first power supply processing module 160 only needs to output a first supply voltage VCC1 of one amplitude; when the power supply requirements are different, the first power supply processing module 160 needs to output first supply voltages VCC1 of different amplitudes respectively.

[0045] like Figure 5 As shown, in one embodiment, the TYPE-C interface adapter circuit 100 further includes a second power supply processing module 180.

[0046] The input terminal of the second power supply processing module 180 is used to electrically connect to the power supply terminal of the TYPE-C interface J1A. The output terminal of the second power supply processing module 180 is electrically connected to the power supply terminal of the first switch module 110, the power supply terminal of the second switch module 120 and the power supply terminal of the microcontroller 130, respectively, and is used to output the second power supply voltage VCC2.

[0047] When the TYPE-C interface J1A is connected to the charging device, the charging device is used to charge the internal battery 170, thereby providing effective power supply. Therefore, in order to reduce the consumption of the internal battery 170, the first switch module 110, the second switch module 120 and the microcontroller 130 can be powered by the charging device.

[0048] Specifically, the second power supply processing module 180 is used to process the interface power supply voltage VBUS input from the TYPE-C interface J1A of the connected charging device. For details, please refer to the first power supply processing module 160 mentioned above.

[0049] The first power supply processing module 160 is also used to stop outputting the first power supply voltage VCC1 when the second power supply processing module 180 outputs the second power supply voltage VCC2.

[0050] Specifically, in order to achieve a reliable switch from battery power supply to interface power supply, the amplitude of the second power supply voltage VCC2 can be made slightly higher than the amplitude of the first power supply voltage VCC1, and a corresponding anti-backflow unit is configured, so that when the second power supply processing module 180 outputs the second power supply voltage VCC2, the first power supply processing module 160 automatically stops outputting the first power supply voltage VCC1.

[0051] In other embodiments, the first power supply processing module 160 and the second power supply processing module 180 may also be controlled by a microcontroller 130. The microcontroller 130 may control the second power supply processing module 180 to start working and the first power supply processing module 160 to stop working after detecting an interface power supply voltage VBUS input.

[0052] like Figure 2 , Figure 5 and Figure 6 As shown, in one embodiment, the second power supply processing module 180 includes a switching power supply chip U6.

[0053] The interface power supply voltage VBUS input by the TYPE-C interface J1A is transmitted to the first switch U1A and the second switch U1B. The charging control chip U2 can control the switching state (on or off) of the first switch U1A and the second switch U1B, thereby outputting the charging power supply voltage VBUS_OUT through the first switch U1A and the second switch U1B.

[0054] In this circuit, the input terminal (pin 2) and enable terminal (pin 6) of the switching power supply chip U6 are respectively connected to the charging supply voltage VBUS_OUT. The switching power supply chip U6 internally processes the charging supply voltage VBUS_OUT, thereby outputting a second supply voltage VCC2 of 3.2V through its output terminal (pin 3). This 3.2V can be used to power the circuit. Figure 2 , Figure 3 and Figure 4 The double-pole double-throw analog switch U3, the first single-pole double-throw analog switch U4, and the second single-pole double-throw analog switch U5 are powered by the double-pole double-throw analog switch U3.

[0055] The charging supply voltage VBUS_OUT can be output to the internal battery 170 through the corresponding charging processing module. The interface supply voltage VBUS is determined by negotiation between the charging control chip U2 and the connected charging device. A resistor R10 can be configured in advance at pin 8 of the charging control chip U2. Different resistance values ​​of resistor R10 correspond to different interface supply voltages VBUS.

[0056] Secondly, in one embodiment, the present invention provides a microphone, referring to... Figure 1 The microphone includes a microphone body and an adapter circuit 100 with a TYPE-C interface as described in any of the above embodiments, disposed on the microphone body.

[0057] Through the TYPE-C interface adapter circuit 100 included in the microphone, a microcontroller 130 and a charging controller 140 are configured, and a first switch module 110 and a second switch module 120 controlled by the microcontroller 130 are added. Under the control of the microcontroller 130, the first switch module 110 can connect the data transmission terminal of the microcontroller 130 or the data transmission terminal of the charging controller 140 to the data transmission terminal of the TYPE-C interface J1A, and the second switch module 120 can connect the pull-down resistor module 150 or the channel configuration terminal of the charging controller 140 to the channel configuration terminal of the TYPE-C interface J1A. Finally, based on the switching of hardware channels, charging and data transmission based on the TYPE-C interface J1A are realized respectively. On the one hand, the host compatibility of the present invention is high and it is not easy to cause functional failure. On the other hand, the present invention does not require the microcontroller 130 to implement a complete charging protocol stack, and the development complexity is low.

[0058] Thirdly, in one embodiment, the present invention provides a tape recorder, referring to... Figure 1 The recorder includes a recorder body and an adapter circuit 100 with a TYPE-C interface as described in any of the above embodiments, disposed on the recorder body.

[0059] The tape recorder includes a TYPE-C interface adapter circuit 100, which is configured with a microcontroller 130 and a charging controller 140. A first switch module 110 and a second switch module 120, controlled by the microcontroller 130, are also added. Under the control of the microcontroller 130, the first switch module 110 connects the data transmission terminal of the microcontroller 130 or the charging controller 140 to the data transmission terminal of the TYPE-C interface J1A. The second switch module 120 connects the pull-down resistor module 150 or the channel configuration terminal of the charging controller 140 to the channel configuration terminal of the TYPE-C interface J1A. Ultimately, based on the switching of hardware channels, charging and data transmission via the TYPE-C interface J1A are achieved. On the one hand, the present invention has high host compatibility and is less prone to functional failure; on the other hand, the present invention does not require the microcontroller 130 to implement a complete charging protocol stack, resulting in low development complexity.

[0060] Fourthly, in one embodiment, the present invention provides a control method based on a TYPE-C interface, which is applied to the microphone or the recorder in any of the above embodiments; see also Figure 1 The control method based on the TYPE-C interface includes the following steps executed by the microcontroller 130: After power-on, the first switch module 110 and the second switch module 120 are controlled to be in the first switch state, so that the first switch module 110 is connected to the data transmission terminal of the TYPE-C interface J1A and the data transmission terminal of the microcontroller 130, and the second switch module 120 is connected to the channel configuration terminal of the TYPE-C interface J1A and the pull-down resistor module 150.

[0061] In this embodiment, the data transmission function is implemented by default, thereby establishing a connection relationship with the microcontroller 130 as the core.

[0062] Detect the device type of the target device connected via the TYPE-C interface J1A.

[0063] The microcontroller 130 can interact with the target device through the data transmission terminal after the target device is connected, thereby confirming its device type.

[0064] If the device type indicates that the target device is a host device, then the first switch module 110 and the second switch module 120 are controlled to maintain the first switch state.

[0065] Since the current connection relationship corresponds to the data transmission function, if the target device is a host device, the current connection relationship matches the current functional mode that needs to be implemented, so there is no need to change the connection relationship and the existing state can be maintained.

[0066] If the device type indicates that the target device is a charging device, then the first switch module 110 and the second switch module 120 are switched to the second switch state, so that the first switch module 110 connects the data transmission terminal of the TYPE-C interface J1A and the data transmission terminal of the charging controller 140, and the second switch module 120 connects the channel configuration terminal of the TYPE-C interface J1A and the channel configuration terminal block of the charging controller 140.

[0067] Since the current connection relationship corresponds to the data transmission function, if the target device is a charging device, the current connection relationship does not match the current functional mode that needs to be implemented, and the connection relationship needs to be changed to switch from the first switch state to the second switch state.

[0068] The TYPE-C interface adapter circuit 100 used in the above-described control method based on the TYPE-C interface is configured with a microcontroller 130 and a charging controller 140, and a first switch module 110 and a second switch module 120 controlled by the microcontroller 130 are added. Under the control of the microcontroller 130, the first switch module 110 can connect the data transmission terminal of the microcontroller 130 or the data transmission terminal of the charging controller 140 to the data transmission terminal of the TYPE-C interface J1A, and the second switch module 120 can connect the pull-down resistor module 150 or the channel configuration terminal of the charging controller 140 to the channel configuration terminal of the TYPE-C interface J1A. Finally, based on the switching of hardware channels, charging and data transmission based on the TYPE-C interface J1A are realized respectively. On the one hand, the host compatibility of the present invention is high and it is not easy to cause functional failure; on the other hand, the present invention does not require the microcontroller 130 to implement a complete charging protocol stack, and the development complexity is low.

[0069] In one embodiment, refer to Figure 1 After the steps of controlling the first switch module 110 to maintain the first switch state and the second switch module 120 to maintain the first switch state, the control method based on the TYPE-C interface further includes the following steps executed by the microcontroller 130: The host device is enumerated based on the audio mode descriptor so that the host device can load the driver corresponding to the audio mode. Data is transferred with the host device in audio mode.

[0070] In this embodiment, the control method based on the TYPE-C interface is applied to a microphone or recorder, thus serving as a sound receiving device and enabling audio output. To ensure the reliability of the audio output, the host device needs to load the driver corresponding to the audio mode. Therefore, after recognizing the host device, enumeration can be performed to send an audio mode descriptor, allowing the host device to be aware of the microphone or recorder's audio output requirements.

[0071] In one embodiment, refer to Figure 1 Following the step of data transmission with the host device in audio mode, the control method based on the TYPE-C interface also includes the following steps executed by the microcontroller 130: In response to the mode switching command, the host device is enumerated based on the card reader mode descriptor so that the host device loads the driver corresponding to the card reader mode; Data is transferred with the host device in card reader mode.

[0072] As mentioned in the above embodiments, the microphone or recorder can function as a sound receiving device and output audio. In this embodiment, it can also function as a storage device and upload / store data. To ensure the reliability of the storage / upload, the host device needs to load the driver corresponding to the card reader mode. Therefore, after recognizing the host device, enumeration can be performed to send the card reader mode descriptor, so that the host device is aware of the microphone or recorder's storage / upload requirements.

[0073] It is understood that this embodiment defaults to audio output mode, so the user needs to input the corresponding mode switching command (which can be achieved through a button or touch screen electrically connected to the microcontroller 130) to switch modes.

[0074] Similarly, when the user inputs the corresponding mode switching command again, the microcontroller 130 can enumerate the audio mode from the host device again.

[0075] It should be added that, as mentioned in the above embodiments, the microcontroller 130 can interact with the target device through the data transmission terminal after the target device is connected, thereby confirming its device type. Specifically, in this embodiment, the microcontroller 130 can enumerate the target device after it is connected. If the enumeration is successful, it indicates that the target device is a host device; if the enumeration fails, it indicates that the target device is a charging device.

[0076] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the detailed descriptions of other embodiments above, which will not be repeated here.

[0077] The above provides a detailed description of the TYPE-C interface adapter circuit, microphone, recorder, and control method provided by the present invention. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.

[0078] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

Claims

1. A TYPE-C interface adapter circuit (100), characterized in that, The TYPE-C interface adapter circuit (100) includes a charging controller (140), a microcontroller (130), a first switch module (110), a second switch module (120), and a pull-down resistor module (150). The common terminal of the first switch module (110) is used to be electrically connected to the data transmission terminal of the TYPE-C interface (J1A), the first access terminal of the first switch module (110) is electrically connected to the data transmission terminal of the microcontroller (130), and the second access terminal of the first switch module (110) is electrically connected to the data transmission terminal of the charging controller (140). The common terminal of the second switch module (120) is used to be electrically connected to the channel configuration terminal of the TYPE-C interface (J1A), the first access terminal of the second switch module (120) is electrically connected to the pull-down resistor module (150), and the second access terminal of the second switch module (120) is electrically connected to the channel configuration terminal of the charging controller (140). The output terminal of the microcontroller (130) is electrically connected to the controlled terminal of the first switch module (110) and the controlled terminal of the second switch module (120), respectively, for controlling the common terminal of the first switch module (110) to connect with the first access terminal or the second access terminal of the first switch module (110), and for controlling the common terminal of the second switch module (120) to connect with the first access terminal or the second access terminal of the second switch module (120); The second switch module (120) includes a first single-pole double-throw analog switch and a second single-pole double-throw analog switch, and the pull-down resistor module (150) includes a first pull-down resistor and a second pull-down resistor; The common terminal of the first single-pole double-throw analog switch is used to be electrically connected to the first channel configuration terminal of the TYPE-C interface (J1A), the first access terminal of the first single-pole double-throw analog switch is electrically connected to the first pull-down resistor, and the second access terminal of the first single-pole double-throw analog switch is electrically connected to the first channel configuration terminal of the charging controller (140). The common terminal of the second single-pole double-throw analog switch is used to be electrically connected to the second channel configuration terminal of the TYPE-C interface (J1A), the first access terminal of the second single-pole double-throw analog switch is electrically connected to the second pull-down resistor, and the second access terminal of the second single-pole double-throw analog switch is electrically connected to the second channel configuration terminal of the charging controller (140). The controlled terminal of the first single-pole double-throw analog switch is electrically connected to the second output terminal of the microcontroller (130), and the controlled terminal of the second single-pole double-throw analog switch is electrically connected to the third output terminal of the microcontroller (130).

2. The adapter circuit (100) for the TYPE-C interface according to claim 1, characterized in that, The first switch module (110) includes a double-pole double-throw analog switch; The positive common terminal of the double-pole double-throw analog switch is used to be electrically connected to the positive data transmission terminal of the TYPE-C interface (J1A), and the negative common terminal of the double-pole double-throw analog switch is used to be electrically connected to the negative data transmission terminal of the TYPE-C interface (J1A). The first positive terminal of the double-pole double-throw analog switch is electrically connected to the positive data transmission terminal of the microcontroller (130), and the first negative terminal of the double-pole double-throw analog switch is electrically connected to the negative data transmission terminal of the microcontroller (130). The second positive terminal of the double-pole double-throw analog switch is electrically connected to the positive data transmission terminal of the charging controller (140), and the second negative terminal of the double-pole double-throw analog switch is electrically connected to the negative data transmission terminal of the charging controller (140). The controlled terminal of the double-pole double-throw analog switch is electrically connected to the first output terminal of the microcontroller (130).

3. The adapter circuit (100) for the TYPE-C interface according to claim 1, characterized in that, The TYPE-C interface adapter circuit (100) also includes a first power supply processing module (160). The input terminal of the first power supply processing module (160) is used to be electrically connected to the internal battery (170), and the output terminal of the first power supply processing module (160) is electrically connected to the power supply terminal of the first switch module (110), the power supply terminal of the second switch module (120) and the power supply terminal of the microcontroller (130) respectively, for outputting the first power supply voltage.

4. The adapter circuit (100) for the TYPE-C interface according to claim 3, characterized in that, The TYPE-C interface adapter circuit (100) also includes a second power supply processing module (180). The input terminal of the second power supply processing module (180) is used to be electrically connected to the power supply terminal of the TYPE-C interface (J1A), and the output terminal of the second power supply processing module (180) is electrically connected to the power supply terminal of the first switch module (110), the power supply terminal of the second switch module (120) and the power supply terminal of the microcontroller (130) respectively, for outputting a second power supply voltage; The first power supply processing module (160) is also used to stop outputting the first power supply voltage when the second power supply processing module (180) outputs the second power supply voltage.

5. A microphone, characterized in that, The microphone includes a microphone body and an adapter circuit (100) for a TYPE-C interface as described in any one of claims 1 to 4 disposed on the microphone body.

6. A tape recorder, characterized in that, The recorder includes a recorder body and an adapter circuit (100) for a TYPE-C interface as described in any one of claims 1 to 4 disposed on the recorder body.

7. A control method based on a TYPE-C interface, characterized in that, The control method based on the TYPE-C interface is applied to the microphone of claim 5 or the recorder of claim 6; the control method based on the TYPE-C interface includes the following steps executed by the microcontroller (130): After power-on, the first switch module (110) and the second switch module (120) are controlled to be in the first switch state, so that the first switch module (110) connects the data transmission terminal of the TYPE-C interface (J1A) and the data transmission terminal of the microcontroller (130), and the second switch module (120) connects the channel configuration terminal of the TYPE-C interface (J1A) and the pull-down resistor module (150). Detect the device type of the target device connected to the TYPE-C interface (J1A); If the device type indicates that the target device is a host device, then the first switch module (110) and the second switch module (120) are controlled to maintain the first switch state. If the device type indicates that the target device is a charging device, then the first switch module (110) and the second switch module (120) are switched to the second switch state, so that the first switch module (110) connects the data transmission terminal of the TYPE-C interface (J1A) and the data transmission terminal of the charging controller (140), and the second switch module (120) connects the channel configuration terminal of the TYPE-C interface (J1A) and the channel configuration terminal of the charging controller (140).

8. The control method based on the TYPE-C interface according to claim 7, characterized in that, After the steps of controlling the first switch module (110) to maintain the first switch state and the second switch module (120) to maintain the first switch state, the control method based on the TYPE-C interface further includes the following steps executed by the microcontroller (130): Enumerate the host device based on the audio mode descriptor so that the host device loads the driver corresponding to the audio mode; Data is transmitted with the host device in audio mode.

9. The control method based on the TYPE-C interface according to claim 8, characterized in that, Following the step of transmitting data with the host device in audio mode, the control method based on the TYPE-C interface further includes the following steps executed by the microcontroller (130): In response to a mode switching command, the host device is enumerated based on the card reader mode descriptor so that the host device loads the driver corresponding to the card reader mode; Data is transmitted with the host device in card reader mode.

Citation Information

Patent Citations

  • Interface expansion device for USB quick charging and data communication

    CN119127762A

  • Charging circuit, electronic device, charging system, and reverse charging method

    WO2024027208A1