Peripheral module, electronic equipment and system
Through the combination of power switching circuit and signal switching circuit, the Pogo-Pin interface realizes the forward and reverse plug-in function of the peripheral module under four contacts, solving the problem of too many contacts in the existing interface and reducing the interface volume and cost.
Patent Information
- Application Number
- CN202420046152.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-05
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2034-01-05
AI Technical Summary
When the existing Pogo-Pin interface realizes the forward and reverse plugging function of peripheral modules, there are too many contacts, resulting in large interface size and high cost.
By combining power switching circuit and signal switching circuit, the power supply and communication state of the peripheral module are switched through the control switch on and off, so that the Pogo-Pin interface can be realized with four contacts. Front and back insert function.
It reduces the number of contacts of the Pogo-Pin interface, reduces the size and cost of the interface, and ensures the forward and reverse plug-in function of the peripheral module.
Smart Images

Figure CN221977376U_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the technical field of electronic modules, and in particular to a peripheral module, an electronic device and a system. Background Art
[0002] The peripheral module of the electronic device can provide additional functions for the electronic device or enhance the performance of the electronic device. Usually, the electronic device and the peripheral module are connected using a pogo pin interface.
[0003] At present, when an electronic device is connected to a peripheral module, the Pogo-Pin interface usually uses 7 symmetrically distributed contacts to realize the forward and reverse plug-in function of the peripheral module. However, when the peripheral module is plugged forward or reverse, 4 contacts in the Pogo-Pin interface are used to realize the power supply and data transmission functions, and the remaining 3 contacts are idle. Therefore, the current Pogo-Pin interface has a large number of contacts, resulting in a large size and high cost of the Pogo-Pin interface. Utility Model Content
[0004] Embodiments of the present application provide a peripheral module, an electronic device, and a system for reducing the number of contacts of a Pogo-Pin interface between an electronic device and a peripheral module.
[0005] To achieve the above objectives, the embodiments of the present application adopt the following technical solutions:
[0006] In a first aspect, a peripheral module is provided, including a first interface, a power switching circuit, a signal switching circuit and a load module; the first interface includes a first contact, a second contact, a third contact and a fourth contact, and the load module includes a power pin, a ground pin, a first signal pin and a second signal pin; the power switching circuit is used to connect the first contact to the power pin, and to connect the fourth contact to the ground pin; the signal switching circuit is used to connect the second contact to the first signal pin, and to connect the third contact to the second signal pin; or, the power switching circuit is used to connect the first contact to the ground pin, and to connect the fourth contact to the power pin; the signal switching circuit is used to connect the second contact to the second signal pin, and to connect the third contact to the first signal pin.
[0007] The peripheral module provided in the embodiment of the present application realizes the switching of the power supply state through the power switching circuit, and realizes the switching of the communication state through the signal switching circuit. The power switching circuit and the signal switching circuit are combined to realize the self-adaptation of the forward or reverse insertion of the peripheral module, so that the Pogo-Pin interface can realize the forward and reverse insertion function of the peripheral module when using four contacts, thereby reducing the number of contacts of the Pogo-Pin interface, and reducing the volume and cost of the Pogo-Pin interface.
[0008] In a possible implementation of the first aspect, the power switching circuit includes a first switch, a second switch, a third switch, and a fourth switch; the control end of the first switch is connected to the fourth contact, the first controlled end of the first switch is connected to the power pin of the load module, and the second controlled end of the first switch is connected to the first contact; the control end of the second switch is connected to the first contact, the first controlled end of the second switch is connected to the power pin of the load module, and the second controlled end of the second switch is connected to the fourth contact; the control end of the third switch is connected to the fourth contact, the first controlled end of the third switch is connected to the ground pin of the load module, and the second controlled end of the third switch is connected to the first contact; the control end of the fourth switch is connected to the first contact, the first controlled end of the fourth switch is connected to the ground pin of the load module, and the second controlled end of the fourth switch is connected to the fourth contact.
[0009] In this implementation, the power switching circuit can realize the connection between the first contact and the fourth contact and the power pin and the ground pin of the load module.
[0010] In a possible implementation of the first aspect, when the first contact is connected to the power contact of the second interface of the electronic device and the fourth contact is connected to the ground contact of the second interface of the electronic device, the first switch is controlled to be turned on, the second switch is turned off, the third switch is turned off, and the fourth switch is turned on; when the first contact is connected to the ground contact of the second interface of the electronic device and the fourth contact is connected to the power contact of the second interface of the electronic device, the first switch is controlled to be turned off, the second switch is turned on, the third switch is turned on, and the fourth switch is turned off.
[0011] In this implementation, the power switching circuit switches the power supply state of the peripheral module by controlling the on or off of the first switch, the second switch, the third switch, and the fourth switch.
[0012] In a possible implementation manner of the first aspect, the first switch is a first P-channel metal oxide semiconductor field effect transistor (P-channel metal oxide semiconductor FET, PMOS tube), the gate of the first PMOS tube is the control end of the first switch, the source of the first PMOS tube is the first controlled end of the first switch, and the drain of the first PMOS tube is the second controlled end of the first switch; the second switch is a second PMOS tube, the gate of the second PMOS tube is the control end of the second switch, the source of the second PMOS tube is the first controlled end of the second switch, and the drain of the second PMOS tube is the second controlled end of the second switch; the third switch is a first N-channel metal oxide semiconductor field effect transistor (N-channel metal oxide semiconductor FET, NMOS tube), the gate of the first NMOS tube is the control end of the third switch, the source of the first NMOS tube is the first controlled end of the third switch, and the drain of the first NMOS tube is the second controlled end of the third switch; the fourth switch is a second NMOS tube, the gate of the second NMOS tube is the control end of the fourth switch, the source of the second NMOS tube is the first controlled end of the fourth switch, and the drain of the second NMOS tube is the second controlled end of the fourth switch.
[0013] In this implementation, the power switching circuit switches the power supply state of the peripheral module by controlling the conduction or shutdown of the first PMOS tube, the second PMOS tube, the first NMOS tube, and the second NMOS tube; at the same time, the first PMOS tube, the second PMOS tube, the first NMOS tube, and the second NMOS tube are also used to rectify the power supply.
[0014] In a possible implementation of the first aspect, the signal switching circuit includes a first single-pole double-throw switch and a second single-pole double-throw switch; the fixed end of the first single-pole double-throw switch is connected to the first signal pin of the load module, the first active end of the first single-pole double-throw switch is connected to the second contact, and the second active end of the first single-pole double-throw switch is connected to the third contact; the fixed end of the second single-pole double-throw switch is connected to the second signal pin of the load module, the first active end of the second single-pole double-throw switch is connected to the third contact, and the second active end of the second single-pole double-throw switch is connected to the second contact; the selection end of the first single-pole double-throw switch and the selection end of the second single-pole double-throw switch are connected to the fourth contact.
[0015] In this implementation, the signal switching circuit can realize the connection between the second contact and the third contact and the first signal pin and the second signal pin of the load module.
[0016] In a possible implementation of the first aspect, when the fourth contact is connected to the power contact of the second interface of the electronic device, the fixed end of the first single-pole double-throw switch is connected to the first active end of the first single-pole double-throw switch, and the fixed end of the second single-pole double-throw switch is connected to the first active end of the second single-pole double-throw switch; when the fourth contact is connected to the ground contact of the second interface of the electronic device, the fixed end of the first single-pole double-throw switch is connected to the second active end of the first single-pole double-throw switch, and the fixed end of the second single-pole double-throw switch is connected to the second active end of the second single-pole double-throw switch.
[0017] In this implementation, the signal switching circuit switches the communication state of the peripheral module by controlling the connection mode between the fixed end and the active end of the first single-pole double-throw switch and the second single-pole double-throw switch.
[0018] In a possible implementation manner of the first aspect, the first interface is a Pogo-Pin interface.
[0019] In a second aspect, an electronic device is provided, comprising a second interface, the second interface comprising a power contact, a first signal contact, a second signal contact and a ground contact; the power contact, the first signal contact, the second signal contact and the ground contact are used to connect to an external module such as the first aspect and any implementation method thereof.
[0020] In a possible implementation manner of the second aspect, the second interface is a Pogo-Pin interface.
[0021] In a third aspect, a system including a peripheral module is provided, including a peripheral module as in the first aspect and any implementation thereof and an electronic device as in the second aspect and any implementation thereof; the first contact in the peripheral module is used to connect a power contact of the electronic device, the second contact in the peripheral module is used to connect a first signal contact of the electronic device, the third contact in the peripheral module is used to connect a second signal contact of the electronic device, and the fourth contact in the peripheral module is used to connect a ground contact of the electronic device; or, the first contact in the peripheral module is used to connect a ground contact of the electronic device, the second contact in the peripheral module is used to connect a second signal contact of the electronic device, the third contact in the peripheral module is used to connect a first signal contact of the electronic device, and the fourth contact in the peripheral module is used to connect a power contact of the electronic device.
[0022] The technical effects of the second and third aspects refer to the technical effects of the first aspect and any of its implementation methods, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 This is a connection diagram of a peripheral module when being inserted into an electronic device in the forward direction in the prior art;
[0024] Figure 2A connection diagram of a peripheral module when reversely inserted into an electronic device in the prior art;
[0025] Figure 3 One of the structural schematic diagrams of a system including a peripheral module provided in an embodiment of the present application;
[0026] Figure 4 A second structural diagram of a system including a peripheral module provided in an embodiment of the present application;
[0027] Figure 5 A schematic diagram of the structure of a peripheral module provided in an embodiment of the present application;
[0028] Figure 6 A third structural diagram of a system including a peripheral module provided in an embodiment of the present application;
[0029] Figure 7 The fourth structural diagram of a system including a peripheral module provided in an embodiment of the present application. DETAILED DESCRIPTION
[0030] First, some concepts involved in this application are described.
[0031] The terms "first", "second", etc. involved in the embodiments of the present application are only used to distinguish features of the same type and cannot be understood as indicating relative importance, quantity, order, etc.
[0032] The terms "exemplary" or "for example" and the like in the embodiments of the present application are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of the terms "exemplary" or "for example" is intended to present the related concepts in a specific way.
[0033] The terms "coupling" and "connection" involved in the embodiments of the present application should be understood in a broad sense. For example, they may refer to a direct physical connection, or an indirect connection achieved through electronic devices, such as a connection achieved through resistors, inductors, capacitors or other electronic devices.
[0034] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0035] The peripheral module of an electronic device refers to an external hardware component connected to the electronic device. The component can be selected and configured according to the specific needs of the electronic device and can be used to expand or enhance the functions of the electronic device.
[0036] When an electronic device establishes a connection with a peripheral module, the connection interface directly affects the stability and reliability of the connection. Usually, the electronic device and the peripheral module use the Pogo-Pin interface to achieve the connection. The Pogo-Pin interface consists of three basic components: a needle shaft, a spring, and a needle tube. It is widely used in semiconductor devices and can be used as a connection interface for electronic products such as mobile phones, computers, and digital cameras. The Pogo-Pin interface has a relatively simple structure, is not easily affected by the external environment, and has strong durability; it is small and flexible, and can provide high-speed and reliable connections in a limited space.
[0037] Pogo-Pin interfaces usually have a forward and reverse plugging function, and users can perform forward and reverse plugging according to different needs, making the Pogo-Pin interface more convenient and flexible in device connection. In the prior art, Pogo-Pin interfaces usually use 7 symmetrically distributed contacts to realize the forward and reverse plugging function of the peripheral module.
[0038] like Figure 1 and Figure 2 As shown, the peripheral module 10 includes a first interface 101 and a load module 104. The first interface 101 is a Pogo-Pin interface, including a ground contact GND1, a signal contact D1+, a signal contact D1-, a power contact VCC1, a signal contact D2-, a signal contact D2+, and a ground contact GND2.
[0039] The load module 104 is a functional module of the peripheral module 10. The functional module can be customized and integrated according to the needs of the electronic device, and can provide a rich set of extended functions for the electronic device. For example, when the peripheral module 10 is a camera module, the load module 104 can be an image sensor and a peripheral circuit. The load module 104 includes a power pin VCC, a first signal pin D-, a second signal pin D+, and a ground pin GND.
[0040] In the peripheral module 10, the power contact VCC1 is connected to the power pin VCC of the load module 104, the signal contact D1- and the signal contact D2- are commonly connected to the first signal pin D- of the load module 104, the signal contact D1+ and the signal contact D2+ are commonly connected to the second signal pin D+ of the load module 104, and the ground contact GND1 and the ground contact GND2 are commonly connected to the ground pin GND of the load module 104.
[0041] The electronic device 20 includes a second interface 201, which is a Pogo-Pin interface including a power contact VCC3, a first signal contact D3-, a second signal contact D3+, and a ground contact GND3.
[0042] like Figure 1 As shown, when the peripheral module 10 is forwardly inserted into the electronic device 20, the power contact VCC3 of the electronic device 20 is connected to the power contact VCC1 of the peripheral module 10, and the ground contact GND3 of the electronic device 20 is connected to the ground contact GND1 of the peripheral module 10, so that the electronic device 20 supplies power to the load module 104 through the power contact VCC3 of the electronic device 20, the power contact VCC1 of the peripheral module 10, the ground contact GND3 of the electronic device 20, and the ground contact GND1 of the peripheral module 10; the first signal contact D3- of the electronic device 20 is connected to the signal contact D1- of the peripheral module 10, and the second signal contact D3+ of the electronic device 20 is connected to the signal contact D1+ of the peripheral module 10, so that the electronic device 20 transmits signals with the load module 104 through the first signal contact D3- of the electronic device 20, the signal contact D1- of the peripheral module 10, the second signal contact D3+ of the electronic device 20, and the signal contact D1+ of the peripheral module 10. Therefore, when the peripheral module 10 is forwardly inserted into the electronic device 20 , the ground contact GND2 , the signal contact D2+, and the signal contact D2 − of the peripheral module 10 are in an idle state.
[0043] like Figure 2 As shown, when the peripheral module 10 is reversely inserted into the electronic device 20, the power contact VCC3 of the electronic device 20 is connected to the power contact VCC1 of the peripheral module 10, and the ground contact GND3 of the electronic device 20 is connected to the ground contact GND2 of the peripheral module 10, so that the electronic device 20 supplies power to the load module 104 through the power contact VCC3 of the electronic device 20, the power contact VCC1 of the peripheral module 10, the ground contact GND3 of the electronic device 20, and the ground contact GND2 of the peripheral module 10; the first signal contact D3- of the electronic device 20 is connected to the signal contact D2- of the peripheral module 10, and the second signal contact D3+ of the electronic device 20 is connected to the signal contact D2+ of the peripheral module 10, so that the electronic device 20 transmits signals with the load module 104 through the first signal contact D3- of the electronic device 20, the signal contact D2- of the peripheral module 10, the second signal contact D3+ of the electronic device 20, and the signal contact D2+ of the peripheral module 10. Therefore, when the peripheral module 10 is reversely inserted into the electronic device 20 , the ground contact GND1 , the signal contact D1+, and the signal contact D1 − of the peripheral module 10 are in an idle state.
[0044] Therefore, in the current solution, the number of contacts of the Pogo-Pin interface of the peripheral module 10 is relatively large, resulting in a larger volume and higher cost of the Pogo-Pin interface.
[0045] To solve the above problems, the Pogo-Pin interface in the embodiment of the present application uses 4 contacts to realize the forward and reverse insertion function of the peripheral module. Figure 3 As shown, an embodiment of the present application provides a system including a peripheral module, the system including a peripheral module 10 and an electronic device 20. The peripheral module 10 includes a first interface 101, the first interface 101 includes a first contact P1, a second contact P2, a third contact P3 and a fourth contact P4. The electronic device 20 includes a second interface 201, the second interface 201 includes a power contact VCC3, a first signal contact D3-, a second signal contact D3+ and a ground contact GND3.
[0046] When the peripheral module 10 is inserted into the electronic device 20 forwardly or reversely through the first interface 101 and the second interface 201, the peripheral module 10 can provide additional functions for the electronic device 20 or enhance the performance of the electronic device. For example, the camera module is used to take photos or videos, which can enhance the visual function of the electronic device; the fingerprint recognition module is used for identity authentication and encryption, which can improve the security of the electronic device; the sensor module is used to monitor environmental parameters, such as temperature, humidity, light, etc., which can enhance the environmental perception ability of the electronic device; the wireless communication module is used to connect to the Internet or other devices, which can enhance the communication ability of the electronic device, etc.
[0047] like Figure 4 As shown, in a possible implementation, the electronic device 20 is a laptop computer, and the peripheral module 10 is a camera module with forward and reverse plug-in functions. In this implementation, the main interface (i.e., the second interface 201) of the Pogo-Pin interface is applied to the laptop computer, and the slave interface (i.e., the first interface 101) is applied to the camera module. The camera module can be installed or removed according to actual needs. For example, the camera module can be installed above the laptop computer display screen. When the camera module is inserted into the laptop computer forward ( Figure 4 When the camera module is inserted into the notebook computer ( Figure 4 When the back side (the back of the display screen) is on, it can be used to capture images or videos of the back side (the back of the display screen).
[0048] Figure 5 A schematic structural diagram of a peripheral module 10 provided in an embodiment of the present application is shown. In addition to a first interface 101 and a load module 104 , the peripheral module 10 also includes a power switching circuit 102 and a signal switching circuit 103 .
[0049] The power switching circuit 102 is used to switch the power supply state of the peripheral module 10. The power switching circuit 102 includes a first switch K1, a second switch K2, a third switch K3, and a fourth switch K4. Among them, the control end N11 of the first switch K1 is connected to the fourth contact P4, the first controlled end N12 of the first switch K1 is connected to the power pin VCC of the load module 104, and the second controlled end N13 of the first switch K1 is connected to the first contact P1; the control end N21 of the second switch K2 is connected to the first contact P1, the first controlled end N22 of the second switch K2 is connected to the power pin VCC of the load module 104, and the second controlled end N23 of the second switch K2 is connected to the fourth contact P4; the control end N31 of the third switch K3 is connected to the fourth contact P4, the first controlled end N32 of the third switch K3 is connected to the ground pin GND of the load module 104, and the second controlled end N33 of the third switch K3 is connected to the first contact P1; the control end N41 of the fourth switch K4 is connected to the first contact P1, the first controlled end N42 of the fourth switch K4 is connected to the ground pin GND of the load module 104, and the second controlled end N43 of the fourth switch K4 is connected to the fourth contact P4.
[0050] When the peripheral module 10 is inserted into the electronic device in the forward direction, the power switching circuit 102 switches to the first power supply state, that is, the first switch K1 is turned on, the second switch K2 is turned off, the third switch K3 is turned off, and the fourth switch K4 is turned on. At this time, the first contact P1 is connected to the power pin VCC of the load module 104, and the fourth contact P4 is connected to the ground pin GND of the load module 104; when the peripheral module 10 is inserted into the electronic device in the reverse direction, the power switching circuit 102 switches to the second power supply state, that is, the first switch K1 is turned off, the second switch K2 is turned on, the third switch K3 is turned on, and the fourth switch K4 is turned off. At this time, the first contact P1 is connected to the ground pin GND of the load module 104, and the fourth contact P4 is connected to the power pin VCC of the load module 104.
[0051] The first switch K1, the second switch K2, the third switch K3, and the fourth switch K4 may be bipolar junction transistors (BJT), field effect transistors (FET), or load switches, etc. Exemplarily, when the first switch K1, the second switch K2, the third switch K3, and the fourth switch K4 are field effect transistors, the first switch K1 is a first PMOS transistor, the gate of the first PMOS transistor is the control terminal N11 of the first switch K1, the source of the first PMOS transistor is the first controlled terminal N12 of the first switch K1, and the drain of the first PMOS transistor is the second controlled terminal N13 of the first switch K1; the second switch K2 is a second PMOS transistor, the gate of the second PMOS transistor is the control terminal N21 of the second switch K2, the source of the second PMOS transistor is the first controlled terminal N22 of the second switch K2, and the drain of the second PMOS transistor is the second controlled terminal N14 of the first switch K1. The drain of the S tube is the second controlled terminal N23 of the second switch K2; the third switch K3 is a first NMOS tube, the gate of the first NMOS tube is the control terminal N31 of the third switch K3, the source of the first NMOS tube is the first controlled terminal N32 of the third switch K3, and the drain of the first NMOS tube is the second controlled terminal N33 of the third switch K3; the fourth switch K4 is a second NMOS tube, the gate of the second NMOS tube is the control terminal N41 of the fourth switch K4, the source of the second NMOS tube is the first controlled terminal N42 of the fourth switch K4, and the drain of the second NMOS tube is the second controlled terminal N43 of the fourth switch K4.
[0052] The signal switching circuit 103 is used to switch the communication state of the peripheral module 10. The signal switching circuit 103 includes a first single-pole double-throw switch M1 and a second single-pole double-throw switch M2. Among them, the fixed end T11 of the first single-pole double-throw switch M1 is connected to the first signal pin D- of the load module 104, the first active end T12 of the first single-pole double-throw switch M1 is connected to the second contact P2, and the second active end T13 of the first single-pole double-throw switch M1 is connected to the third contact P3; the fixed end T21 of the second single-pole double-throw switch M2 is connected to the second signal pin D+ of the load module 104, the first active end T22 of the second single-pole double-throw switch M2 is connected to the third contact P3, and the second active end T23 of the second single-pole double-throw switch M2 is connected to the second contact P2. The selection end T14 of the first single-pole double-throw switch M1 and the selection end T24 of the second single-pole double-throw switch M2 are connected to the fourth contact P4, and a current limiting resistor R is coupled between the two selection ends and the fourth contact P4 to prevent excessive current from damaging the first single-pole double-throw switch M1 and the second single-pole double-throw switch M2.
[0053] The first single-pole double-throw switch M1 and the second single-pole double-throw switch M2 switch the communication state according to the level of the strobe end. When the input of the strobe end T14 of the first single-pole double-throw switch M1 and the strobe end T24 of the second single-pole double-throw switch M2 is low level, the signal switching circuit 103 switches to the first communication state, that is, the fixed end T11 of the first single-pole double-throw switch M1 is connected to the first active end T12 of the first single-pole double-throw switch M1, and the fixed end T21 of the second single-pole double-throw switch M2 is connected to the first active end T22 of the second single-pole double-throw switch M2. At this time, the second contact P2 is connected to the first signal pin D- of the load module 104, and the third contact P3 is connected to the second signal pin D+ of the load module 104. When the input of the enable terminal T14 of the first single-pole double-throw switch M1 and the enable terminal T24 of the second single-pole double-throw switch M2 is high level, the signal switching circuit 103 switches to the second communication state, that is, the fixed terminal T11 of the first single-pole double-throw switch M1 is connected to the second active terminal T13 of the first single-pole double-throw switch M1, and the fixed terminal T21 of the second single-pole double-throw switch M2 is connected to the second active terminal T23 of the second single-pole double-throw switch M2. At this time, the second contact P2 is connected to the second signal pin D+ of the load module 104, and the third contact P3 is connected to the first signal pin D- of the load module 104.
[0054] like Figure 6 As shown, when the peripheral module 10 is forwardly inserted into the electronic device 20, the first contact P1 is connected to the power contact VCC3 of the electronic device 20, the second contact P2 is connected to the first signal contact D3- of the electronic device 20, the third contact P3 is connected to the second signal contact D3+ of the electronic device 20, and the fourth contact P4 is connected to the ground contact GND3 of the electronic device 20. The electronic device 20 is connected to the first contact P1 and the fourth contact P4 of the first interface 101 through the power contact VCC3 and the ground contact GND3, respectively, and is connected to the power pin VCC and the ground pin GND of the load module 104 through the power switching circuit 102, respectively, to supply power to the load module 104. The electronic device 20 is connected to the second contact P2 and the third contact P3 of the first interface 101 through the first signal contact D3- and the second signal contact D3+, respectively, and is connected to the first signal pin D- and the second signal pin D+ of the load module 104 through the signal switching circuit 103, and performs signal transmission with the load module 104.
[0055] When the first switch K1 is a first PMOS transistor, the second switch K2 is a second PMOS transistor, the third switch K3 is a first NMOS transistor, and the fourth switch K4 is a second NMOS transistor: the first contact P1 is connected to the power contact VCC3 of the electronic device 20, the drain of the first PMOS transistor is at a high level, and due to the presence of the parasitic diode, the source of the first PMOS transistor is at a high level; the fourth contact P4 is connected to the ground contact GND3 of the electronic device 20, and the gate of the first PMOS transistor is at a low level; the gate-source voltage Vgs of the first PMOS transistor is <0, the first PMOS transistor is turned on, and the power switching circuit 102 connects the first contact P1 to the power pin VCC. The gate of the second NMOS transistor is at a high level, the source of the second NMOS transistor is at a low level, the gate-source voltage Vgs>0, the second NMOS transistor is turned on, and the power switching circuit 102 connects the fourth contact P4 to the ground pin GND. The gate of the second PMOS transistor is at a high level, the source of the second PMOS transistor is at a high level, the gate-source voltage Vgs=0, and the second PMOS transistor is turned off. The gate of the first NMOS tube is at a low level, the source of the first NMOS tube is at a low level, the gate-source voltage Vgs=0, and the first NMOS tube is turned off.
[0056] Since the fourth contact point P4 is connected to the ground contact point GND3 of the electronic device 20, the gate terminal T14 of the first single-pole double-throw switch M1 and the gate terminal T24 of the second single-pole double-throw switch M2 are input to a low level, and the signal switching circuit 103 switches to the first communication state. At this time, the signal switching circuit 103 connects the second contact point P2 to the first signal pin D-, and connects the third contact point P3 to the second signal pin D+.
[0057] comprehensive Figure 6 In the switching process shown, when the peripheral module 10 is forwardly inserted into the electronic device 20, by switching the power switching circuit 102 to the first power supply state and switching the signal switching circuit 103 to the first communication state, the power contact VCC3, the first signal contact D3-, the second signal contact D3+, and the ground contact GND3 of the electronic device 20 are correctly connected with the power pin VCC, the first signal pin D-, the second signal pin D+, and the ground pin GND of the load module 104 respectively.
[0058] like Figure 7As shown, when the peripheral module 10 is reversely inserted into the electronic device 20, the first contact P1 is connected to the ground contact GND3 of the electronic device 20, the second contact P2 is connected to the second signal contact D3+ of the electronic device 20, the third contact P3 is connected to the first signal contact D3- of the electronic device 20, and the fourth contact P4 is connected to the power contact VCC3 of the electronic device 20. The electronic device 20 is connected to the fourth contact P4 and the first contact P1 of the first interface 101 through the power contact VCC3 and the ground contact GND3, respectively, and is connected to the power pin VCC and the ground pin GND of the load module 104 through the power switching circuit 102, and supplies power to the load module 104. The electronic device 20 is connected to the third contact P3 and the second contact P2 of the first interface 101 through the first signal contact D3- and the second signal contact D3+, respectively, and is connected to the first signal pin D- and the second signal pin D+ of the load module 104 through the signal switching circuit 103, and performs signal transmission with the load module 104.
[0059] When the first switch K1 is a first PMOS transistor, the second switch K2 is a second PMOS transistor, the third switch K3 is a first NMOS transistor, and the fourth switch K4 is a second NMOS transistor: the fourth contact P4 is connected to the power contact VCC3 of the electronic device 20, the drain of the second PMOS transistor is at a high level, and due to the presence of the parasitic diode, the source of the second PMOS transistor is at a high level; the first contact P1 is connected to the ground contact GND3 of the electronic device 20, and the gate of the second PMOS transistor is at a low level; the gate-source voltage Vgs of the second PMOS transistor is <0, the second PMOS transistor is turned on, and the power switching circuit 102 connects the fourth contact P4 to the power pin VCC. The gate of the first NMOS transistor is at a high level, the source of the first NMOS transistor is at a low level, the gate-source voltage Vgs>0, the first NMOS transistor is turned on, and the power switching circuit 102 connects the first contact P1 to the ground pin GND. The gate of the first PMOS transistor is at a high level, the source of the first PMOS transistor is at a high level, the gate-source voltage Vgs=0, and the first PMOS transistor is turned off. The gate of the second NMOS tube is at a low level, the source of the second NMOS tube is at a low level, the gate-source voltage Vgs=0, and the second NMOS tube is turned off.
[0060] Since the fourth contact point P4 is connected to the power contact point VCC3 of the electronic device 20, the gate terminal T14 of the first single-pole double-throw switch M1 and the gate terminal T24 of the second single-pole double-throw switch M2 are input to a high level, and the signal switching circuit 103 switches to the second communication state. At this time, the signal switching circuit 103 conducts the third contact point P3 with the first signal pin D-, and conducts the second contact point P2 with the second signal pin D+.
[0061] comprehensive Figure 7In the switching process shown, when the peripheral module 10 is reversely inserted into the electronic device 20, the power switching circuit 102 is switched to the second power supply state and the signal switching circuit 103 is switched to the second communication state, so that the power contact, the first signal contact D3-, the second signal contact D3+, and the ground contact GND3 of the electronic device 20 are correctly connected with the power pin VCC, the first signal pin D-, the second signal pin D+, and the ground pin GND of the load module 104 respectively.
[0062] The peripheral module provided in the embodiment of the present application realizes the switching of the power supply state through the power switching circuit, and realizes the switching of the communication state through the signal switching circuit. The power switching circuit and the signal switching circuit are combined to realize the self-adaptation of the forward or reverse insertion of the peripheral module, so that the Pogo-Pin interface can realize the forward and reverse insertion function of the peripheral module when using four contacts, thereby reducing the number of contacts of the Pogo-Pin interface, and reducing the volume and cost of the Pogo-Pin interface.
Claims
1. A peripheral module, characterized in that: It includes a first interface, a power switching circuit, a signal switching circuit and a load module; the first interface includes a first contact, a second contact, a third contact and a fourth contact, and the load module includes a power pin, a ground pin, a first signal pin and a second signal pin; The power switching circuit is used to connect the first contact to the power pin and connect the fourth contact to the ground pin; the signal switching circuit is used to connect the second contact to the first signal pin and connect the third contact to the second signal pin; or, The power switching circuit is used to connect the first contact to the ground pin and the fourth contact to the power pin; the signal switching circuit is used to connect the second contact to the second signal pin and the third contact to the first signal pin.
2. The module according to claim 1, characterized in that: The power switching circuit includes a first switch, a second switch, a third switch, and a fourth switch; The control end of the first switch is connected to the fourth contact, the first controlled end of the first switch is connected to the power pin of the load module, and the second controlled end of the first switch is connected to the first contact; The control end of the second switch is connected to the first contact, the first controlled end of the second switch is connected to the power pin of the load module, and the second controlled end of the second switch is connected to the fourth contact; The control end of the third switch is connected to the fourth contact, the first controlled end of the third switch is connected to the ground pin of the load module, and the second controlled end of the third switch is connected to the first contact; The control end of the fourth switch is connected to the first contact, the first controlled end of the fourth switch is connected to the ground pin of the load module, and the second controlled end of the fourth switch is connected to the fourth contact.
3. The module according to claim 2, characterized in that: When the first contact is connected to the power contact of the second interface of the electronic device and the fourth contact is connected to the ground contact of the second interface of the electronic device, the first switch is controlled to be turned on, the second switch is turned off, the third switch is turned off, and the fourth switch is turned on; When the first contact is connected to the ground contact of the second interface of the electronic device and the fourth contact is connected to the power contact of the second interface of the electronic device, the first switch is controlled to be turned off, the second switch is turned on, the third switch is turned on, and the fourth switch is turned off.
4. The module according to claim 3, characterized in that: The first switch is a first PMOS tube, the gate of the first PMOS tube is the control end of the first switch, the source of the first PMOS tube is the first controlled end of the first switch, and the drain of the first PMOS tube is the second controlled end of the first switch; The second switch is a second PMOS tube, the gate of the second PMOS tube is the control end of the second switch, the source of the second PMOS tube is the first controlled end of the second switch, and the drain of the second PMOS tube is the second controlled end of the second switch; The third switch is a first NMOS transistor, the gate of the first NMOS transistor is the control end of the third switch, the source of the first NMOS transistor is the first controlled end of the third switch, and the drain of the first NMOS transistor is the second controlled end of the third switch; The fourth switch is a second NMOS tube, the gate of the second NMOS tube is the control end of the fourth switch, the source of the second NMOS tube is the first controlled end of the fourth switch, and the drain of the second NMOS tube is the second controlled end of the fourth switch.
5. The module according to any one of claims 1 to 4, characterized in that: The signal switching circuit includes a first single-pole double-throw switch and a second single-pole double-throw switch; The fixed end of the first single-pole double-throw switch is connected to the first signal pin of the load module, the first movable end of the first single-pole double-throw switch is connected to the second contact, and the second movable end of the first single-pole double-throw switch is connected to the third contact; The fixed end of the second single-pole double-throw switch is connected to the second signal pin of the load module, the first movable end of the second single-pole double-throw switch is connected to the third contact, and the second movable end of the second single-pole double-throw switch is connected to the second contact; The gate end of the first single-pole double-throw switch and the gate end of the second single-pole double-throw switch are connected to the fourth contact.
6. The module according to claim 5, characterized in that: When the fourth contact is connected to the power contact of the second interface of the electronic device, the fixed end of the first single-pole double-throw switch is connected to the first movable end of the first single-pole double-throw switch, and the fixed end of the second single-pole double-throw switch is connected to the first movable end of the second single-pole double-throw switch; When the fourth contact is connected to the ground contact of the second interface of the electronic device, the fixed end of the first single-pole double-throw switch is connected to the second active end of the first single-pole double-throw switch, and the fixed end of the second single-pole double-throw switch is connected to the second active end of the second single-pole double-throw switch.
7. The module according to claim 6, characterized in that: The first interface is a Pogo-Pin interface.
8. An electronic device, characterized in that: It includes a second interface, which includes a power contact, a first signal contact, a second signal contact and a ground contact; the power contact, the first signal contact, the second signal contact and the ground contact are used to connect to the peripheral module as described in any one of claims 1-7.
9. The electronic device according to claim 8, characterized in that: The second interface is a Pogo-Pin interface.
10. A system, characterized in that: Comprising the peripheral module according to any one of claims 1 to 7 and the electronic device according to claim 8 or 9; The first contact in the peripheral module is used to connect the power contact of the electronic device, the second contact in the peripheral module is used to connect the first signal contact of the electronic device, the third contact in the peripheral module is used to connect the second signal contact of the electronic device, and the fourth contact in the peripheral module is used to connect the ground contact of the electronic device; or, The first contact in the peripheral module is used to connect the ground contact of the electronic device, the second contact in the peripheral module is used to connect the second signal contact of the electronic device, the third contact in the peripheral module is used to connect the first signal contact of the electronic device, and the fourth contact in the peripheral module is used to connect the power contact of the electronic device.
