Wireless fidelity module and electronic equipment
By introducing a detection module into the wireless fidelity module, the power supply of the abnormal front-end module is cut off to ensure that other front-end modules work normally, and the problem of wireless fidelity module failure caused by front-end module failure is solved.
Patent Information
- Application Number
- CN202411517103.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-28
- Publication Date
- 2025-01-21
AI Technical Summary
When a Wi-Fi front-end module (FEM) is burned, other FEMs cannot be powered on, resulting in the failure of the wireless fidelity module.
A wireless fidelity module is designed, which includes a wireless fidelity chip, multiple front-end modules and multiple detection modules. The detection module is arranged between the power end of the front-end module and the power supply, and is used to disconnect the power supply when the front-end module is abnormal and ensure that other front-end modules work normally.
When an front -end module is abnormal, other front -end modules can still work normally, avoiding the entire wireless foothills failed due to a single module failure.
Smart Images

Figure CN119340930A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of electronic equipment, and specifically relates to a wireless fidelity module and an electronic equipment. Background Art
[0002] Front-End Modules (FEM) are modules that integrate a series of RF front-end circuits (such as power amplifiers (PA), RF switches, low noise amplifiers (LNA), filters, and duplexers) in wireless fidelity (Wi-Fi) communications.
[0003] In the related art, the Wi-Fi module includes multiple FEMs, each of which supports one Wi-Fi communication channel. Due to certain reasons (such as overcurrent), the FEM may be burned. When a FEM is burned, the power supply is short-circuited to the ground, causing other FEMs to be unable to power on and work. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a wireless fidelity module and an electronic device, which can solve the problem that other FEMs cannot be powered on and work after one FEM is burned out.
[0005] In a first aspect, an embodiment of the present application provides a wireless fidelity module, including: a wireless fidelity chip, a plurality of front-end modules, and a plurality of detection modules;
[0006] Multiple front-end modules correspond to multiple detection modules one by one;
[0007] The first detection module is arranged between the power supply end of the first front-end module and the power supply, the first detection module is any one of the multiple detection modules, and the first front-end module is a front-end module corresponding to the first detection module; the first detection module is used to ensure that the other front-end modules except the first front-end module among the multiple front-end modules work normally when the first front-end module is abnormal;
[0008] The first signal end of the first front-end module is connected to one of the multiple signal ends of the Wi-Fi chip, and the second signal end of the first front-end module is connected to the antenna.
[0009] In a second aspect, an embodiment of the present application provides an electronic device, including:
[0010] The wireless fidelity module provided in the embodiments of the present application.
[0011] In the embodiment of the present application, the wireless fidelity module includes: a wireless fidelity chip, multiple front-end modules and multiple detection modules; the multiple front-end modules correspond to the multiple detection modules one by one; the first detection module is arranged between the power supply terminal of the first front-end module and the power supply, the first detection module is any one of the multiple detection modules, and the first front-end module is a front-end module corresponding to the first detection module; the first detection module is used to ensure that the other front-end modules except the first front-end module in the multiple front-end modules work normally when the first front-end module is abnormal; the first signal end of the first front-end module is connected to one of the multiple signal ends of the wireless fidelity chip, and the second signal end of the first front-end module is connected to the antenna. When a certain front-end module is abnormal, the other front-end modules can also work normally. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 This is a schematic diagram of the first structure of the wireless fidelity module provided in the embodiment of the present application;
[0013] Figure 2 This is a second structural diagram of the wireless fidelity module provided in an embodiment of the present application;
[0014] Figure 3 This is a third structural schematic diagram of the wireless fidelity module provided in the embodiment of the present application;
[0015] Figure 4 This is a fourth structural diagram of the wireless fidelity module provided in the embodiment of the present application;
[0016] Figure 5 This is a fifth structural diagram of the wireless fidelity module provided in the embodiment of the present application;
[0017] Figure 6 This is a schematic diagram of a first specific structure of a wireless fidelity module provided in an embodiment of the present application;
[0018] Figure 7 This is a sixth structural diagram of the wireless fidelity module provided in the embodiment of the present application;
[0019] Figure 8 This is a seventh structural diagram of the wireless fidelity module provided in the embodiment of the present application;
[0020] Fig. 9 This is an eighth structural diagram of the wireless fidelity module provided in the embodiment of the present application;
[0021] Fig.10 This is a schematic diagram of a second specific structure of the wireless fidelity module provided in an embodiment of the present application;
[0022] Fig.11 This is a ninth structural diagram of the wireless fidelity module provided in the embodiment of the present application;
[0023] Fig.12 This is a tenth structural diagram of the wireless fidelity module provided in the embodiment of the present application;
[0024] Fig.13 This is an eleventh structural diagram of the wireless fidelity module provided in the embodiment of the present application;
[0025] Fig.14 This is a third specific structural diagram of the wireless fidelity module provided in the embodiment of the present application;
[0026] Fig.15 It is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application. DETAILED DESCRIPTION
[0027] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0028] The terms "first", "second", etc. in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0029] The wireless fidelity module and electronic device provided in the embodiments of the present application are described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0030] The wireless fidelity module provided in the embodiment of the present application includes: a wireless fidelity chip, multiple front-end modules and multiple detection modules; the multiple front-end modules and the multiple detection modules correspond to each other one by one; the first detection module is arranged between the power supply end of the first front-end module and the power supply, the first detection module is any one of the multiple detection modules, and the first front-end module is a front-end module corresponding to the first detection module; the first detection module is used to ensure that the other front-end modules except the first front-end module in the multiple front-end modules work normally when the first front-end module is abnormal; the first signal end of the first front-end module is connected to one of the multiple signal ends of the wireless fidelity chip, and the second signal end of the first front-end module is connected to the antenna.
[0031] In the embodiment of the present application, when one front-end module is abnormal, other front-end modules can also work normally.
[0032] like Figure 1 As shown, Figure 1 1 is a schematic diagram of the first structure of the wireless fidelity module provided in the embodiment of the present application. Figure 1 In the embodiment, the Wi-Fi module 100 includes: a Wi-Fi chip 101, N front-end modules 102 and N detection modules 103, wherein N is a positive integer greater than or equal to 2.
[0033] The i-th detection module 103 is disposed between the power supply terminal Vcc of the i-th front-end module 102 corresponding to the i-th detection module 103 and the power supply 104. The first signal terminal of the i-th front-end module 102 is connected to the i-th signal terminal of the Wi-Fi chip 101, and the second signal terminal of the i-th front-end module 102 is connected to the i-th antenna 105. i is a positive integer not greater than N.
[0034] When the i-th front-end module 102 is abnormal, the i-th detection module 103 can ensure that the other front-end modules among the N front-end modules except the i-th front-end module 102 operate normally.
[0035] In some possible implementations of the embodiments of the present application, the wireless fidelity chip includes multiple general purpose input and output (GPIO) groups, and the multiple GPIO groups correspond to multiple detection modules one by one; the first detection module includes: a first switch and a comparator; the first end of the first switch is electrically connected to the power supply end of the first front-end module and the first input end of the comparator respectively; the second end of the first switch is electrically connected to the power supply; the control end of the first switch is electrically connected to the output end of the comparator and the first GPIO included in the first GPIO group respectively; the first GPIO group is the GPIO group corresponding to the first detection module; the second input end of the comparator is grounded; when the output end of the comparator outputs a low level, the first switch is disconnected; when the output end of the comparator outputs a high level, the first switch is turned on.
[0036] like Figure 2 As shown, Figure 2 1 is a schematic diagram of the second structure of the wireless fidelity module provided in the embodiment of the present application. Figure 2 In the embodiment, the detection module 103 includes a first switch 1031 and a comparator 1032 .
[0037] The first end of the first switch 1031 is electrically connected to the power supply terminal Vcc of the front-end module 102 and the first input terminal of the comparator 1032, respectively, and the second end of the first switch 1031 is electrically connected to the power supply 104; the control end of the first switch 1031 is electrically connected to the output end of the comparator 1032 and GPIO1 in the GPIO group corresponding to the detection module 103, respectively; the second end of the comparator 1032 is grounded.
[0038] When the Wi-Fi module 100 is powered on, the Wi-Fi chip 101 outputs a high level through GPIO1, and the first switch 1031 is turned on. When the front-end module 102 works normally, the comparator 1032 outputs a high level to keep the first switch 1031 turned on. When the front-end module 102 is abnormal (for example, the front-end module is burned out, and the power supply terminal Vcc of the front-end module is short-circuited to the ground), the comparator 1032 outputs a low level, the first switch 1031 is turned off, and the power supply path from the power supply 104 to the front-end module 102 is disconnected, and the power supply 104 no longer supplies power to the front-end module 102.
[0039] In the embodiment of the present application, by disconnecting the power supply path from the power supply to the front-end module where the abnormality occurs, it is possible to ensure that other front-end modules among the multiple front-end modules except the front-end module where the abnormality occurs operate normally.
[0040] In some possible implementations of the embodiments of the present application, the first detection module also includes: a second switch; the first end of the second switch is electrically connected to the second end of the first switch; the second end of the second switch is electrically connected to the power supply; the control end of the second switch is electrically connected to the second GPIO included in the first GPIO group; when the wireless fidelity chip determines through the first GPIO that the output end of the comparator outputs a low level more times than the first number, the wireless fidelity chip controls the second switch to disconnect through the second GPIO.
[0041] like Figure 3 As shown, Figure 3 is a third structural diagram of the wireless fidelity module provided in the embodiment of the present application. Figure 3 In the embodiment, the detection module 103 includes a first switch 1031 , a second switch 1033 and a comparator 1032 .
[0042] The first end of the first switch 1031 is electrically connected to the power supply terminal Vcc of the front-end module 102 and the first input terminal of the comparator 1032, respectively; the second end of the first switch 1031 is electrically connected to the first end of the second switch 1033, and the second end of the second switch 1033 is electrically connected to the power supply 104; the control end of the first switch 1031 is electrically connected to the output end of the comparator 1032 and GPIO1 in the GPIO group corresponding to the detection module 103, respectively; the second end of the comparator 1032 is grounded; and the control end of the second switch 1033 is electrically connected to GPIO2 in the GPIO group.
[0043] When the Wi-Fi module 100 is powered on, the Wi-Fi chip 101 outputs a high level through GPIO1 and GPIO2, and the first switch 1031 and the second switch 1033 are turned on. When the front-end module 102 is working normally, the comparator 1032 outputs a high level to keep the first switch 1031 turned on. When the front-end module 102 is abnormal (for example, the front-end module is burned out, and the power supply terminal Vcc of the front-end module is short-circuited to the ground), the comparator 1032 outputs a low level, the first switch 1031 is turned off, the Wi-Fi chip 101 detects that the comparator 1032 outputs a low level through GPIO1, the Wi-Fi chip 101 outputs a low level through GPIO2, the second switch 1033 is turned off, the power supply path from the power supply 104 to the front-end module 102 is disconnected, and the power supply 104 no longer supplies power to the front-end module 102.
[0044] After the second switch 1033 is turned off for a period of time, the Wi-Fi chip 101 outputs a high level through GPIO1 and GPIO2, and the first switch 1031 and the second switch 1033 are turned on. If the comparator 1032 still outputs a low level at this time, the first switch 1031 is turned off, the Wi-Fi chip 101 detects that the comparator 1032 outputs a low level through GPIO1, the Wi-Fi chip 101 outputs a low level through GPIO2, the second switch 1033 is turned off, the power supply path from the power supply 104 to the front-end module 102 is disconnected, and the power supply 104 no longer supplies power to the front-end module 102. If the comparator 1032 outputs a high level, the first switch 1031 is kept turned on, and the front-end module 102 works normally.
[0045] When the Wi-Fi chip 101 detects through GPIO1 that the comparator 1032 outputs a low level for a number greater than the first number, it indicates that the front-end module 102 is irreversibly damaged. At this time, the Wi-Fi chip 101 continuously outputs a low level through GPIO2, and the second switch 1033 is continuously disconnected, and the front-end module 102 is no longer powered.
[0046] In an embodiment of the present application, by detecting the level of the comparator output, when the level of the comparator output is low for multiple times, it indicates that the front-end module is damaged and cannot be recovered. At this time, the power supply path from the power supply to the front-end module is continuously disconnected, and the power supply no longer supplies power to the front-end module, thereby reducing misjudgment of the front-end module.
[0047] In some possible implementations of the embodiments of the present application, the first detection module further includes: a first voltage stabilizing unit; two ends of the first voltage stabilizing unit are electrically connected to the output end of the comparator and the ground respectively.
[0048] like Figure 4 As shown, Figure 4 FIG. 4 is a fourth structural diagram of the wireless fidelity module provided in the embodiment of the present application. In FIG. 4 , the detection module 103 includes a first switch 1031 , a comparator 1032 and a first voltage stabilizing unit 1034 .
[0049] The first end of the first switch 1031 is electrically connected to the power supply terminal Vcc of the front-end module 102 and the first input terminal of the comparator 1032, respectively, and the second end of the first switch 1031 is electrically connected to the power supply 104; the control end of the first switch 1031 is electrically connected to the output end of the comparator 1032, the first end of the first voltage stabilizing unit 1034, and GPIO1 in the GPIO group corresponding to the detection module 103; the second end of the comparator 1032 is grounded; and the second end of the first voltage stabilizing unit 1034 is grounded.
[0050] When the Wi-Fi module 100 is powered on, the Wi-Fi chip 101 outputs a high level through GPIO1 and GPIO2, and the first switch 1031 and the second switch 1033 are turned on. When the front-end module 102 is working normally, the comparator 1032 outputs a high level to keep the first switch 1031 turned on. When the front-end module 102 is abnormal (for example, the front-end module is burned out, and the power supply terminal Vcc of the front-end module is short-circuited to the ground), the comparator 1032 outputs a low level, the first switch 1031 is turned off, the Wi-Fi chip 101 detects that the comparator 1032 outputs a low level through GPIO1, the Wi-Fi chip 101 outputs a low level through GPIO2, the second switch 1033 is turned off, the power supply path from the power supply 104 to the front-end module 102 is disconnected, and the power supply 104 no longer supplies power to the front-end module 102.
[0051] In some possible implementations of the embodiments of the present application, the first voltage stabilizing unit 1034 is used to stabilize the voltage at the control end of the first switch 1031 to prevent the pulse voltage at the control end of the first switch 1031 from damaging the first switch 1031 .
[0052] In the embodiment of the present application, the voltage stabilizing unit can prevent the switch from being damaged, thereby ensuring the normal operation of the front-end module.
[0053] In some possible implementations of the embodiments of the present application, the first detection module further includes: a first resistor; the first resistor is arranged between the second input terminal of the comparator and the ground.
[0054] like Figure 5 As shown, Figure 5 is a fifth structural diagram of the wireless fidelity module provided in the embodiment of the present application. Figure 5 In the embodiment, the detection module 103 includes a first switch 1031 , a comparator 1032 and a resistor R1 .
[0055] The first end of the first switch 1031 is electrically connected to the power supply terminal Vcc of the front-end module 102 and the first input terminal of the comparator 1032, respectively, and the second end of the first switch 1031 is electrically connected to the power supply 104; the control end of the first switch 1031 is electrically connected to the output end of the comparator 1032 and the GPIO1 in the GPIO group corresponding to the detection module 103, respectively; the second end of the comparator 1032 is electrically connected to one end of the resistor R1, and the other end of the resistor R1 is grounded.
[0056] When the Wi-Fi module 100 is powered on, the Wi-Fi chip 101 outputs a high level through GPIO1 and GPIO2, and the first switch 1031 and the second switch 1033 are turned on. When the front-end module 102 is working normally, the comparator 1032 outputs a high level to keep the first switch 1031 turned on. When the front-end module 102 is abnormal (for example, the front-end module is burned out, and the power supply terminal Vcc of the front-end module is short-circuited to the ground), the comparator 1032 outputs a low level, the first switch 1031 is turned off, the Wi-Fi chip 101 detects that the comparator 1032 outputs a low level through GPIO1, the Wi-Fi chip 101 outputs a low level through GPIO2, the second switch 1033 is turned off, the power supply path from the power supply 104 to the front-end module 102 is disconnected, and the power supply 104 no longer supplies power to the front-end module 102.
[0057] In some possible implementations of the embodiment of the present application, the resistor R1 is used to stabilize the level of the second input terminal of the comparator 1032 .
[0058] Figure 6 1 is a schematic diagram of the first specific structure of the wireless fidelity module provided in the embodiment of the present application. Figure 6 In the embodiment, the detection module 103 includes a first switch 1031, a comparator 1032, a second switch 1033, a first voltage stabilizing unit 1034 and a resistor R1.
[0059] The first end of the first switch 1031 is electrically connected to the power supply terminal Vcc of the front-end module 102 and the first input terminal of the comparator 1032, respectively; the second end of the first switch 1031 is electrically connected to the first end of the second switch 1033; the control end of the first switch 1031 is electrically connected to the output end of the comparator 1032, the first end of the first voltage stabilizing unit 1034, and GPIO1 in the GPIO group corresponding to the detection module 103, respectively; the second end of the second switch 1033 is electrically connected to the power supply 104; the control end of the second switch 1033 is electrically connected to GPIO2 in the GPIO group; the second input end of the comparator 1032 is electrically connected to the first end of the resistor R1; the second end of the resistor R1 and the second end of the first voltage stabilizing unit 1034 are grounded.
[0060] When the Wi-Fi module 100 is powered on, the Wi-Fi chip 101 outputs a high level through GPIO1 and GPIO2, and the first switch 1031 and the second switch 1033 are turned on. When the front-end module 102 is working normally, the comparator 1032 outputs a high level to keep the first switch 1031 turned on. When the front-end module 102 is abnormal (for example, the front-end module is burned out, and the power supply terminal Vcc of the front-end module is short-circuited to the ground), the comparator 1032 outputs a low level, the first switch 1031 is turned off, the Wi-Fi chip 101 detects that the comparator 1032 outputs a low level through GPIO1, the Wi-Fi chip 101 outputs a low level through GPIO2, the second switch 1033 is turned off, the power supply path from the power supply 104 to the front-end module 102 is disconnected, and the power supply 104 no longer supplies power to the front-end module 102.
[0061] After the second switch 1033 is turned off for a period of time, the Wi-Fi chip 101 outputs a high level through GPIO1 and GPIO2, and the first switch 1031 and the second switch 1033 are turned on. If the comparator 1032 still outputs a low level at this time, the first switch 1031 is turned off, the Wi-Fi chip 101 detects that the comparator 1032 outputs a low level through GPIO1, the Wi-Fi chip 101 outputs a low level through GPIO2, the second switch 1033 is turned off, the power supply path from the power supply 104 to the front-end module 102 is disconnected, and the power supply 104 no longer supplies power to the front-end module 102. If the comparator 1032 outputs a high level, the first switch 1031 is kept turned on, and the front-end module 102 works normally.
[0062] When the Wi-Fi chip 101 detects through GPIO1 that the comparator 1032 outputs a low level for a number greater than the first number, it indicates that the front-end module 102 is irreversibly damaged. At this time, the Wi-Fi chip 101 continuously outputs a low level through GPIO2, and the second switch 1033 is continuously disconnected, and the front-end module 102 is no longer powered.
[0063] In some possible implementations of the embodiments of the present application, the first detection module includes: a third switch, a second resistor, a differential voltage amplifier and a single-pole double-throw switch; the first end of the third switch is electrically connected to the power supply end of the first front-end module; the second end of the third switch is respectively connected to the first end of the second resistor and the first input end of the differential voltage amplifier; the control end of the third switch is electrically connected to the second fixed end of the single-pole double-throw switch; the second end of the second resistor is respectively electrically connected to the second input end of the differential voltage amplifier and the first fixed end of the single-pole double-throw switch; the output end of the differential voltage amplifier is electrically connected to the control end of the single-pole double-throw switch; the moving end of the single-pole double-throw switch is connected to the power supply; when the output end of the differential voltage amplifier outputs a high level, the moving end of the single-pole double-throw switch is connected to the second fixed end of the single-pole double-throw switch, and the third switch is disconnected; when the output end of the differential voltage amplifier outputs a low level, the moving end of the single-pole double-throw switch is connected to the first fixed end of the single-pole double-throw switch, and the third switch is turned on.
[0064] like Figure 7 As shown, Figure 7 6 is a schematic diagram of the structure of the wireless fidelity module provided in the embodiment of the present application. Figure 7 In the embodiment, the detection module 103 includes: a third switch 1035 , a resistor R2 , a differential voltage amplifier 1036 and a single-pole double-throw switch 1037 .
[0065] The first end of the third switch 1035 is electrically connected to the power supply terminal Vcc of the front-end module 102; the second end of the third switch 1035 is respectively connected to the first end of the resistor R2 and the first input end of the differential amplifier 1036; the control end of the third switch 1035 is electrically connected to the second fixed end P2 of the single-pole double-throw switch 1037; the second end of the resistor R2 is respectively electrically connected to the second input end of the differential amplifier 1036 and the first fixed end P1 of the single-pole double-throw switch 1037; the output end of the differential amplifier 1036 is electrically connected to the control end of the single-pole double-throw switch 1037; the moving end P3 of the single-pole double-throw switch 1037 is connected to the power supply 104.
[0066] In the initial state, the moving end P3 of the single-pole double-throw switch 1037 is connected to the first fixed end P1 of the single-pole double-throw switch 1037. When the Wi-Fi module 100 is powered on, the control end of the third switch 1035 is at a low level, and the third switch 1035 is turned on. When the front-end module 102 is normal, the voltage difference across the resistor R2 is normal, and the differential amplifier 1036 outputs a low level, keeping the moving end P3 of the single-pole double-throw switch 1037 and the first fixed end P1 of the single-pole double-throw switch 1037 connected. When the front-end module 102 is abnormal (for example, the front-end module is burned out, and the power supply end Vcc of the front-end module is short-circuited to the ground), the voltage difference across the resistor R2 increases, the differential amplifier 1036 outputs a high level, the moving end P3 of the single-pole double-throw switch 1037 is connected to the second fixed end P2 of the single-pole double-throw switch 1037, the control end of the third switch 1035 is at a high level, and the third switch 1035 is turned off. At this time, the third switch 1035 is disconnected, the active end P3 of the single-pole double-throw switch 1037 and the first fixed end P1 of the single-pole double-throw switch 1037 are also not conductive, the power supply path from the power supply 104 to the front-end module 102 is disconnected, and the power supply 104 no longer supplies power to the front-end module 102.
[0067] In the embodiment of the present application, by disconnecting the power supply path from the power supply to the front-end module where the abnormality occurs, it is possible to ensure that other front-end modules among the multiple front-end modules except the front-end module where the abnormality occurs operate normally.
[0068] In some possible implementations of the embodiments of the present application, the wireless fidelity chip includes multiple GPIOs, and the multiple GPIOs correspond to multiple detection modules one by one; the first detection module also includes: a fourth switch; a first end of the fourth switch is electrically connected to a power supply; a second end of the fourth switch is electrically connected to a control end of a single-pole double-throw switch and the GPIO corresponding to the first detection module, respectively; the control end of the fourth switch is electrically connected to an output end of a differential voltage amplifier; when the output end of the differential voltage amplifier outputs a high level more than a second number of times, the wireless fidelity chip controls the moving end of the single-pole double-throw switch and the second fixed end of the single-pole double-throw switch to be continuously turned on through the GPIO corresponding to the first detection module, and the third switch is continuously turned off.
[0069] like Figure 8 As shown, Figure 8 is a seventh structural diagram of the wireless fidelity module provided in the embodiment of the present application. Figure 8 In the embodiment, the detection module 103 includes: a third switch 1035 , a resistor R2 , a differential voltage amplifier 1036 , a single-pole double-throw switch 1037 and a fourth switch 1038 .
[0070] The first end of the third switch 1035 is electrically connected to the power supply terminal Vcc of the front-end module 102; the second end of the third switch 1035 is respectively connected to the first end of the resistor R2 and the first input end of the differential amplifier 1036; the control end of the third switch 1035 is electrically connected to the second fixed end P2 of the single-pole double-throw switch 1037; the second end of the resistor R2 is respectively electrically connected to the second input end of the differential amplifier 1036 and the first fixed end P1 of the single-pole double-throw switch 1037; the output end of the differential amplifier 1036 is electrically connected to the control end of the fourth switch 1038, and the control end of the single-pole double-throw switch 1037 is respectively electrically connected to the first end of the fourth switch 1038 and the GPIO corresponding to the detection module 103; the second end of the fourth switch 1038 and the active end P3 of the single-pole double-throw switch 1037 are connected to the power supply 104.
[0071] When the Wi-Fi module 100 is powered on, the GPIO outputs a low level, the control end of the SPDT switch 1037 is at a low level, the moving end P3 of the SPDT switch 1037 is connected to the first fixed end P1 of the SPDT switch 1037, the control end of the third switch 1035 is at a low level, and the third switch 1035 is turned on. When the front-end module 102 is normal, the voltage difference across the resistor R2 is normal, the differential amplifier 1036 outputs a low level, the fourth switch 1038 is disconnected, the control end of the SPDT switch 1037 is at a low level, the moving end P3 of the SPDT switch 1037 is kept connected to the first fixed end P1 of the SPDT switch 1037, and the third switch 1035 is turned on. When the front-end module 102 is abnormal (for example, the front-end module is burned out, and the power supply terminal Vcc of the front-end module is short-circuited to the ground), the voltage difference across the resistor R2 increases, the differential amplifier 1036 outputs a high level, the control terminal of the fourth switch 1038 is at a high level, the fourth switch 1038 is turned on, the control terminal of the single-pole double-throw switch 1037 is at a high level, the moving terminal P3 of the single-pole double-throw switch 1037 is turned on with the second fixed terminal P2 of the single-pole double-throw switch 1037, the control terminal of the third switch 1035 is at a high level, and the third switch 1035 is turned off. At this time, the third switch 1035 is turned off, the moving terminal P3 of the single-pole double-throw switch 1037 is also turned off with the first fixed terminal P1 of the single-pole double-throw switch 1037, the power supply path from the power supply 104 to the front-end module 102 is disconnected, and the power supply 104 no longer supplies power to the front-end module 102.
[0072] After a period of time, the voltage difference across the resistor R2 returns to normal, the differential amplifier 1036 outputs a low level, the fourth switch 1038 is turned off, the control end of the single-pole double-throw switch 1037 is at a low level, the moving end P3 of the single-pole double-throw switch 1037 is connected to the first fixed end P1 of the single-pole double-throw switch 1037, the third switch 1035 is turned on, the power supply path from the power supply 104 to the front-end module 102 is turned on, and the power supply 104 supplies power to the front-end module 102. When the front-end module 102 is abnormal, the differential amplifier 1036 outputs a high level, the fourth switch 1038 is turned on, the moving end P3 of the single-pole double-throw switch 1037 is connected to the second fixed end P2 of the single-pole double-throw switch 1037, the third switch 1035 is turned off, the power supply path from the power supply 104 to the front-end module 102 is disconnected, and the power supply 104 no longer supplies power to the front-end module 102. After a period of time, the voltage difference across the resistor R2 returns to normal, and the differential voltage amplifier 1036 outputs a low level again, and the cycle continues.
[0073] The Wi-Fi chip 101 detects the level of the control end of the single-pole double-throw switch 1037 through the GPIO. When the Wi-Fi chip 101 detects that the level of the control end of the single-pole double-throw switch 1037 is at a high level for a number of times greater than a second number, the Wi-Fi chip 101 continuously outputs a high level through the GPIO, controls the active end P3 of the single-pole double-throw switch 1037 and the second fixed end P2 of the single-pole double-throw switch 1037 to be continuously turned on, and the third switch 1035 is continuously turned off.
[0074] In an embodiment of the present application, by detecting the level of the control end of the single-pole double-throw switch, when the level of the control end of the single-pole double-throw switch is high for multiple times, it indicates that the front-end module is damaged and cannot be recovered. At this time, the power supply path from the power supply to the front-end module is continuously disconnected, and the power supply no longer supplies power to the front-end module, thereby reducing misjudgment of the front-end module.
[0075] In some possible implementations of the embodiments of the present application, the first detection module further includes: a second voltage stabilizing unit; two ends of the second voltage stabilizing unit are electrically connected to the output end of the differential voltage amplifier and the ground respectively.
[0076] like Fig. 9 As shown, Fig. 9 8 is a schematic diagram of the eighth structure of the wireless fidelity module provided in the embodiment of the present application. Fig. 9 In the embodiment, the detection module 103 includes: a third switch 1035 , a resistor R2 , a differential voltage amplifier 1036 , a single-pole double-throw switch 1037 and a second voltage stabilizing unit 1039 .
[0077] The first end of the third switch 1035 is electrically connected to the power supply terminal Vcc of the front-end module 102; the second end of the third switch 1035 is respectively connected to the first end of the resistor R2 and the first input end of the differential amplifier 1036; the control end of the third switch 1035 is electrically connected to the second fixed end P2 of the single-pole double-throw switch 1037; the second end of the resistor R2 is respectively electrically connected to the second input end of the differential amplifier 1036 and the first fixed end P1 of the single-pole double-throw switch 1037; the output end of the differential amplifier 1036 is respectively electrically connected to the first end of the second voltage stabilizing unit 1039 and the control end of the single-pole double-throw switch 1037; the second end of the second voltage stabilizing unit 1039 is grounded; the active end P3 of the single-pole double-throw switch 1037 is connected to the power supply 104.
[0078] In the initial state, the moving end P3 of the single-pole double-throw switch 1037 is connected to the first fixed end P1 of the single-pole double-throw switch 1037. When the Wi-Fi module 100 is powered on, the control end of the third switch 1035 is at a low level, and the third switch 1035 is turned on. When the front-end module 102 is normal, the voltage difference across the resistor R2 is normal, and the differential amplifier 1036 outputs a low level, keeping the moving end P3 of the single-pole double-throw switch 1037 and the first fixed end P1 of the single-pole double-throw switch 1037 connected. When the front-end module 102 is abnormal (for example, the front-end module is burned out, and the power supply end Vcc of the front-end module is short-circuited to the ground), the voltage difference across the resistor R2 increases, the differential amplifier 1036 outputs a high level, the moving end P3 of the single-pole double-throw switch 1037 is connected to the second fixed end P2 of the single-pole double-throw switch 1037, the control end of the third switch 1035 is at a high level, and the third switch 1035 is turned off. At this time, the third switch 1035 is disconnected, the active end P3 of the single-pole double-throw switch 1037 and the first fixed end P1 of the single-pole double-throw switch 1037 are also not conductive, the power supply path from the power supply 104 to the front-end module 102 is disconnected, and the power supply 104 no longer supplies power to the front-end module 102.
[0079] In the embodiment of the present application, the voltage stabilizing unit can prevent the switch from being damaged, thereby ensuring the normal operation of the front-end module.
[0080] Fig.10 1 is a schematic diagram of a second specific structure of the wireless fidelity module provided in the embodiment of the present application. Fig.10 In the embodiment, the detection module 103 includes: a third switch 1035 , a resistor R2 , a differential amplifier 1036 , a single-pole double-throw switch 1037 , a fourth switch 1038 and a second voltage stabilizing unit 1039 .
[0081] The first end of the third switch 1035 is electrically connected to the power supply terminal Vcc of the front-end module 102; the second end of the third switch 1035 is respectively connected to the first end of the resistor R2 and the first input end of the differential amplifier 1036; the control end of the third switch 1035 is electrically connected to the second fixed end P2 of the single-pole double-throw switch 1037; the second end of the resistor R2 is respectively electrically connected to the second input end of the differential amplifier 1036 and the first fixed end P1 of the single-pole double-throw switch 1037; the output end of the differential amplifier 1036 is respectively electrically connected to the first end of the second voltage stabilizing unit 1039 and the control end of the fourth switch 1038, and the control end of the single-pole double-throw switch 1037 is respectively electrically connected to the first end of the fourth switch 1038 and the GPIO corresponding to the detection module 103; the second end of the fourth switch 1038 and the active end P3 of the single-pole double-throw switch 1037 are connected to the power supply 104; the second end of the second voltage stabilizing unit 1039 is grounded.
[0082] When the Wi-Fi module 100 is powered on, the GPIO outputs a low level, the control end of the SPDT switch 1037 is at a low level, the moving end P3 of the SPDT switch 1037 is connected to the first fixed end P1 of the SPDT switch 1037, the control end of the third switch 1035 is at a low level, and the third switch 1035 is turned on. When the front-end module 102 is normal, the voltage difference across the resistor R2 is normal, the differential amplifier 1036 outputs a low level, the fourth switch 1038 is disconnected, the control end of the SPDT switch 1037 is at a low level, the moving end P3 of the SPDT switch 1037 is kept connected to the first fixed end P1 of the SPDT switch 1037, and the third switch 1035 is turned on. When the front-end module 102 is abnormal (for example, the front-end module is burned out, and the power supply terminal Vcc of the front-end module is short-circuited to the ground), the voltage difference across the resistor R2 increases, the differential amplifier 1036 outputs a high level, the control terminal of the fourth switch 1038 is at a high level, the fourth switch 1038 is turned on, the control terminal of the single-pole double-throw switch 1037 is at a high level, the moving terminal P3 of the single-pole double-throw switch 1037 is turned on with the second fixed terminal P2 of the single-pole double-throw switch 1037, the control terminal of the third switch 1035 is at a high level, and the third switch 1035 is turned off. At this time, the third switch 1035 is turned off, the moving terminal P3 of the single-pole double-throw switch 1037 is also turned off with the first fixed terminal P1 of the single-pole double-throw switch 1037, the power supply path from the power supply 104 to the front-end module 102 is disconnected, and the power supply 104 no longer supplies power to the front-end module 102.
[0083] After a period of time, the voltage difference across the resistor R2 returns to normal, the differential amplifier 1036 outputs a low level, the fourth switch 1038 is turned off, the control end of the single-pole double-throw switch 1037 is at a low level, the moving end P3 of the single-pole double-throw switch 1037 is connected to the first fixed end P1 of the single-pole double-throw switch 1037, the third switch 1035 is turned on, the power supply path from the power supply 104 to the front-end module 102 is turned on, and the power supply 104 supplies power to the front-end module 102. When the front-end module 102 is abnormal, the differential amplifier 1036 outputs a high level, the fourth switch 1038 is turned on, the moving end P3 of the single-pole double-throw switch 1037 is connected to the second fixed end P2 of the single-pole double-throw switch 1037, the third switch 1035 is turned off, the power supply path from the power supply 104 to the front-end module 102 is disconnected, and the power supply 104 no longer supplies power to the front-end module 102. After a period of time, the voltage difference across the resistor R2 returns to normal, and the differential voltage amplifier 1036 outputs a low level again, and the cycle continues.
[0084] The Wi-Fi chip 101 detects the level of the control end of the single-pole double-throw switch 1037 through the GPIO. When the Wi-Fi chip 101 detects that the level of the control end of the single-pole double-throw switch 1037 is at a high level for a number of times greater than a second number, the Wi-Fi chip 101 continuously outputs a high level through the GPIO, controls the active end P3 of the single-pole double-throw switch 1037 and the second fixed end P2 of the single-pole double-throw switch 1037 to be continuously turned on, and the third switch 1035 is continuously turned off.
[0085] In an embodiment of the present application, by detecting the level of the control end of the single-pole double-throw switch, when the level of the control end of the single-pole double-throw switch is high for multiple times, it indicates that the front-end module is damaged and cannot be recovered. At this time, the power supply path from the power supply to the front-end module is continuously disconnected, and the power supply no longer supplies power to the front-end module, thereby reducing misjudgment of the front-end module.
[0086] It should be noted that, in the embodiment of the present application, the third switch is turned on when its control terminal is at a low level, and is turned off when it is at a high level; the fourth switch is turned on when its control terminal is at a high level, and is turned off when it is at a low level.
[0087] In some possible implementations of the embodiments of the present application, the wireless fidelity chip includes multiple general purpose input and output port GPIO groups, and the multiple GPIO groups correspond to multiple detection modules one by one; the first detection module includes: a fifth switch, a sixth switch, a seventh switch and a differential amplifier; the first end of the fifth switch is electrically connected to the power supply end of the first front-end module and the first input end of the differential amplifier respectively; the second end of the fifth switch is electrically connected to the control end of the fifth switch, the first end of the sixth switch, the first end of the seventh switch and the control end of the seventh switch respectively; the second end of the sixth switch is electrically connected to the power supply; the control end of the sixth switch is electrically connected to the output end of the differential amplifier and the third GPIO included in the second GPIO group respectively; the second GPIO group is the GPIO group corresponding to the first detection module; the second end of the seventh switch is electrically connected to the second input end of the differential amplifier; when the output end of the differential amplifier outputs a high level, the sixth switch is disconnected; when the output end of the differential amplifier outputs a low level, the sixth switch is turned on.
[0088] like Fig.11 As shown, Fig.11 1 is a ninth structural diagram of the wireless fidelity module provided in the embodiment of the present application. Fig.11 In the embodiment, the detection module 103 includes a fifth switch 1040 , a sixth switch 1041 , a seventh switch 1042 and a differential amplifier 1043 .
[0089] The first end of the fifth switch 1040 is electrically connected to the power supply terminal Vcc of the front-end module 102 and the first input terminal of the differential amplifier 1043 respectively; the second end of the fifth switch 1040 is electrically connected to the control terminal of the fifth switch 1040, the first end of the sixth switch 1041, the first end of the seventh switch 1042 and the control end of the seventh switch 1042 respectively; the second end of the sixth switch 1041 is electrically connected to the power supply 104; the control end of the sixth switch 1041 is electrically connected to the output terminal of the differential amplifier 1043 and the GPIO3 included in the GPIO group corresponding to the detection module 103; the second end of the seventh switch 1042 is electrically connected to the second input terminal of the differential amplifier 1043.
[0090] When the Wi-Fi module 100 is powered on, the Wi-Fi chip 101 outputs a low level through GPIO3, and the sixth switch 1041 is turned on. After the sixth switch 1041 is turned on, the control end of the fifth switch 1040 and the control end of the seventh switch 1042 are high levels, the fifth switch 1040 and the seventh switch 1042 are turned on, the front-end module 102 is powered on and works, the differential amplifier 1043 samples the voltage across the fifth switch 1040, and calculates the current flowing through the fifth switch 1040 according to the voltage across the fifth switch 1040. When the current flowing through the fifth switch 1040 is small, the differential amplifier 1043 outputs a low level, keeps the sixth switch 1041 turned on, and the front-end module 102 works normally. When the front-end module 102 is abnormal (for example, the front-end module is burned out, and the power supply terminal Vcc of the front-end module is short-circuited to the ground), the differential amplifier 1043 detects that the current flowing through the fifth switch 1040 is large, the differential amplifier 1043 outputs a high level, the sixth switch 1041 is disconnected, and then the fifth switch 1040 and the seventh switch 1042 are disconnected, the power supply path from the power supply 104 to the front-end module 102 is disconnected, and the power supply 104 no longer supplies power to the front-end module 102.
[0091] In the embodiment of the present application, by disconnecting the power supply path from the power supply to the front-end module where the abnormality occurs, it is possible to ensure that other front-end modules among the multiple front-end modules except the front-end module where the abnormality occurs operate normally.
[0092] In some possible implementations of the embodiments of the present application, the first detection module also includes: an eighth switch and a ninth switch; the first end of the eighth switch is electrically connected to the second end of the sixth switch; the second end of the eighth switch is electrically connected to the first end of the ninth switch, the control end of the ninth switch, the control end of the sixth switch and the third GPIO respectively; the control end of the eighth switch is electrically connected to the input end of the differential amplifier and the fourth GPIO included in the second GPIO group respectively; when the wireless fidelity chip determines through the fourth GPIO that the output end of the differential amplifier outputs a high level for a number of times greater than the third number, the wireless fidelity chip controls the sixth switch to be continuously disconnected through the third GPIO.
[0093] like Fig.12 As shown, Fig.12 1 is a tenth structural diagram of the wireless fidelity module provided in the embodiment of the present application. Fig.12 In the embodiment, the detection module 103 includes a fifth switch 1040 , a sixth switch 1041 , a seventh switch 1042 , a differential amplifier 1043 , an eighth switch 1044 and a ninth switch 1045 .
[0094] The first end of the fifth switch 1040 is electrically connected to the power supply terminal Vcc of the front-end module 102 and the first input end of the differential amplifier 1043 respectively; the second end of the fifth switch 1040 is electrically connected to the control end of the fifth switch 1040, the first end of the sixth switch 1041, the first end of the seventh switch 1042 and the control end of the seventh switch 1042 respectively; the second end of the sixth switch 1041 is electrically connected to the power supply 104; the second end of the seventh switch 1042 is electrically connected to the first end of the eighth switch 1044; the output end of the differential amplifier 1043 is electrically connected to the control end of the eighth switch 1044 and the GPIO3 included in the GPIO group corresponding to the detection module 103 respectively; the second end of the eighth switch 1044 is electrically connected to the first end of the ninth switch 1045, the control end of the ninth switch, the control end of the sixth switch and the GPIO4 included in the GPIO group respectively; the second end of the ninth switch 1045 is grounded.
[0095] When the Wi-Fi module 100 is powered on, the Wi-Fi chip 101 outputs a low level through GPIO4, and the sixth switch 1041 is turned on. After the sixth switch 1041 is turned on, the control end of the fifth switch 1040 and the control end of the seventh switch 1042 are high levels, the fifth switch 1040 and the seventh switch 1042 are turned on, and the front-end module 102 is powered on and works.
[0096] The differential amplifier 1043 samples the voltage across the fifth switch 1040, and calculates the current flowing through the fifth switch 1040 according to the voltage across the fifth switch 1040. When the current flowing through the fifth switch 1040 is small, the differential amplifier 1043 outputs a low level, keeps the sixth switch 1041 turned on, and the front-end module 102 works normally. When the front-end module 102 is abnormal (for example, the front-end module is burned out, and the power supply terminal Vcc of the front-end module is short-circuited to the ground), the differential amplifier 1043 detects that the current flowing through the fifth switch 1040 is large, the differential amplifier 1043 outputs a high level, the control end of the eighth switch 1044 is a high level, the eighth switch 1044 is turned on, the control end of the ninth switch 1045 and the control end of the sixth switch 1041 are high levels, the ninth switch 1045 is turned on, and the sixth switch 1041 is turned off. Then, the fifth switch 1040 and the seventh switch 1042 are turned off, the power supply path from the power supply 104 to the front-end module 102 is disconnected, and the power supply 104 no longer supplies power to the front-end module 102. After the fifth switch 1040 and the seventh switch 1042 are disconnected, the differential amplifier 1043 outputs a low level, the control end of the eighth switch 1044 is at a low level, and the eighth switch 1044 is disconnected; after the eighth switch 1044 is disconnected, the control end of the ninth switch 1045 and the control end of the sixth switch 1041 are at a low level, the ninth switch 1045 is disconnected, and the sixth switch 1041 is turned on; after the sixth switch 1041 is turned on, the control end of the fifth switch 1040 and the control end of the seventh switch 1042 are at a high level, the fifth switch 1040 and the seventh switch 1042 are turned on, and the front-end module 102 is powered on again, and the cycle continues.
[0097] The wireless fidelity chip 101 detects the level output by the differential amplifier 1043 through GPIO3. When the wireless fidelity chip 101 detects through GPIO3 that the differential amplifier 1043 outputs a high level for more than the third time, it indicates that the front-end module 102 is irreversibly damaged. At this time, the wireless fidelity chip 101 continuously outputs a high level through GPIO4, and the sixth switch 1041 is continuously disconnected, and the front-end module 102 is no longer powered.
[0098] In an embodiment of the present application, by detecting the level of the differential amplifier output, when the level of the differential amplifier output is high for multiple times, it indicates that the front-end module is damaged and cannot be recovered. At this time, the power supply path from the power supply to the front-end module is continuously disconnected, and the power supply no longer supplies power to the front-end module, thereby reducing misjudgment of the front-end module.
[0099] In some possible implementations of the embodiments of the present application, the first detection module also includes: a third voltage stabilizing unit; the first end of the third voltage stabilizing unit is electrically connected to the second end of the fifth switch, the control end of the fifth switch, the first end of the sixth switch, the first end of the seventh switch and the control end of the seventh switch respectively; the second end of the third voltage stabilizing unit is grounded.
[0100] like Fig.13 As shown, Fig.13 This is the eleventh structural diagram of the wireless fidelity module provided in the embodiment of the present application. Fig.13 In the embodiment, the detection module 103 includes a fifth switch 1040 , a sixth switch 1041 , a seventh switch 1042 , a differential amplifier 1043 and a third voltage stabilizing unit 1046 .
[0101] The first end of the fifth switch 1040 is electrically connected to the power supply terminal Vcc of the front-end module 102 and the first input terminal of the differential amplifier 1043 respectively; the second end of the fifth switch 1040 is electrically connected to the control end of the fifth switch 1040, the first end of the sixth switch 1041, the first end of the seventh switch 1042, the control end of the seventh switch 1042 and the first end of the third voltage stabilizing unit 1046 respectively; the second end of the sixth switch 1041 is electrically connected to the power supply 104; the control end of the sixth switch 1041 is electrically connected to the output end of the differential amplifier 1043 and the GPIO3 included in the GPIO group corresponding to the detection module 103; the second end of the seventh switch 1042 is electrically connected to the second input end of the differential amplifier 1043; and the second end of the third voltage stabilizing unit 1046 is grounded.
[0102] When the Wi-Fi module 100 is powered on, the Wi-Fi chip 101 outputs a low level through GPIO3, and the sixth switch 1041 is turned on. After the sixth switch 1041 is turned on, the control end of the fifth switch 1040 and the control end of the seventh switch 1042 are high levels, the fifth switch 1040 and the seventh switch 1042 are turned on, the front-end module 102 is powered on and works, the differential amplifier 1043 samples the voltage across the fifth switch 1040, and calculates the current flowing through the fifth switch 1040 according to the voltage across the fifth switch 1040. When the current flowing through the fifth switch 1040 is small, the differential amplifier 1043 outputs a low level, keeps the sixth switch 1041 turned on, and the front-end module 102 works normally. When the front-end module 102 is abnormal (for example, the front-end module is burned out, and the power supply terminal Vcc of the front-end module is short-circuited to the ground), the differential amplifier 1043 detects that the current flowing through the fifth switch 1040 is large, the differential amplifier 1043 outputs a high level, the sixth switch 1041 is disconnected, and then the fifth switch 1040 and the seventh switch 1042 are disconnected, the power supply path from the power supply 104 to the front-end module 102 is disconnected, and the power supply 104 no longer supplies power to the front-end module 102.
[0103] In the embodiment of the present application, the voltage stabilizing unit can prevent the switch from being damaged, thereby ensuring the normal operation of the front-end module.
[0104] Fig.14 is a third specific structural diagram of the wireless fidelity module provided in the embodiment of the present application. Fig.14 In the embodiment, the detection module 103 includes: a fifth switch 1040 , a sixth switch 1041 , a seventh switch 1042 , a differential amplifier 1043 , an eighth switch 1044 , a ninth switch 1045 and a third voltage stabilizing unit 1046 .
[0105] The first end of the fifth switch 1040 is electrically connected to the power supply terminal Vcc of the front-end module 102 and the first input end of the differential amplifier 1043 respectively; the second end of the fifth switch 1040 is electrically connected to the control end of the fifth switch 1040, the first end of the sixth switch 1041, the first end of the seventh switch 1042, the control end of the seventh switch 1042 and the first end of the third voltage stabilizing unit 1046 respectively; the second end of the sixth switch 1041 is electrically connected to the power supply 104; the second end of the seventh switch 1042 is electrically connected to the first end of the eighth switch 1044; the output end of the differential amplifier 1043 is electrically connected to the control end of the eighth switch 1044 and the GPIO3 included in the GPIO group corresponding to the detection module 103; the second end of the eighth switch 1044 is electrically connected to the first end of the ninth switch 1045, the control end of the ninth switch, the control end of the sixth switch and the GPIO4 included in the GPIO group; the second section of the third voltage stabilizing unit 1046 and the second end of the ninth switch 1045 are grounded.
[0106] When the Wi-Fi module 100 is powered on, the Wi-Fi chip 101 outputs a low level through GPIO4, and the sixth switch 1041 is turned on. After the sixth switch 1041 is turned on, the control end of the fifth switch 1040 and the control end of the seventh switch 1042 are high levels, the fifth switch 1040 and the seventh switch 1042 are turned on, and the front-end module 102 is powered on and works.
[0107] The differential amplifier 1043 samples the voltage across the fifth switch 1040, and calculates the current flowing through the fifth switch 1040 according to the voltage across the fifth switch 1040. When the current flowing through the fifth switch 1040 is small, the differential amplifier 1043 outputs a low level, keeps the sixth switch 1041 turned on, and the front-end module 102 works normally. When the front-end module 102 is abnormal (for example, the front-end module is burned out, and the power supply terminal Vcc of the front-end module is short-circuited to the ground), the differential amplifier 1043 detects that the current flowing through the fifth switch 1040 is large, the differential amplifier 1043 outputs a high level, the control end of the eighth switch 1044 is a high level, the eighth switch 1044 is turned on, the control end of the ninth switch 1045 and the control end of the sixth switch 1041 are high levels, the ninth switch 1045 is turned on, and the sixth switch 1041 is turned off. Then, the fifth switch 1040 and the seventh switch 1042 are turned off, the power supply path from the power supply 104 to the front-end module 102 is disconnected, and the power supply 104 no longer supplies power to the front-end module 102. After the fifth switch 1040 and the seventh switch 1042 are disconnected, the differential amplifier 1043 outputs a low level, the control end of the eighth switch 1044 is at a low level, and the eighth switch 1044 is disconnected; after the eighth switch 1044 is disconnected, the control end of the ninth switch 1045 and the control end of the sixth switch 1041 are at a low level, the ninth switch 1045 is disconnected, and the sixth switch 1041 is turned on; after the sixth switch 1041 is turned on, the control end of the fifth switch 1040 and the control end of the seventh switch 1042 are at a high level, the fifth switch 1040 and the seventh switch 1042 are turned on, and the front-end module 102 is powered on again, and the cycle continues.
[0108] The wireless fidelity chip 101 detects the level output by the differential amplifier 1043 through GPIO3. When the wireless fidelity chip 101 detects through GPIO3 that the differential amplifier 1043 outputs a high level for more than the third time, it indicates that the front-end module 102 is irreversibly damaged. At this time, the wireless fidelity chip 101 continuously outputs a high level through GPIO4, and the sixth switch 1041 is continuously disconnected, and the front-end module 102 is no longer powered.
[0109] In an embodiment of the present application, by detecting the level of the differential amplifier output, when the level of the differential amplifier is high for multiple times, it indicates that the front-end module is damaged and cannot be recovered. At this time, the power supply path from the power supply to the front-end module is continuously disconnected, and the power supply no longer supplies power to the front-end module, thereby reducing misjudgment of the front-end module.
[0110] It should be noted that, in this embodiment, the sixth switch is turned on when its control terminal is at a low level, and is turned off when it is at a high level; the fifth switch, the seventh switch, the eighth switch and the ninth switch are turned on when their respective control terminals are at a high level, and are turned off when they are at a low level.
[0111] In some possible implementations of the embodiments of the present application, the first to ninth switches in the embodiments of the present application include but are not limited to triodes, metal-oxide-semiconductor field-effect transistors (MOS transistors), and insulated gate bipolar transistors (IGBTs). The first to third voltage stabilizing units in the embodiments of the present application may be voltage stabilizing tubes.
[0112] In some possible implementations of the embodiments of the present application, the first number, the second number, and the third number in the embodiments of the present application can be set according to actual needs.
[0113] It should be noted that in order to clearly show the connection relationship between the detection module, the wireless fidelity chip and the front-end module, Figures 2 to 14 Only the connection relationship between one detection module and the wireless fidelity chip and the front-end module is shown, and the connection relationship between other detection modules and the wireless fidelity chip and the front-end module is not shown. The connection relationship between other detection modules and the wireless fidelity chip and the front-end module is the same as Figures 2 to 14 The connection relationship shown in is the same.
[0114] An embodiment of the present application provides an electronic device, including the wireless fidelity module provided by the embodiment of the present application.
[0115] The electronic device in the embodiment of the present application may be a terminal, or may be other devices other than a terminal. For example, the electronic device may be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (PDA), etc., and may also be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0116] The electronic device in the embodiment of the present application may be an electronic device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0117] Fig.15 It is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.
[0118] The electronic device 1500 includes but is not limited to: a radio frequency unit 1501, a network module 1502, an audio output unit 1503, an input unit 1504, a sensor 1505, a display unit 1506, a user input unit 1507, an interface unit 1508, a memory 1509, and a processor 1510 and other components.
[0119] Those skilled in the art will appreciate that the electronic device 1500 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1510 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.15 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0120] Among them, the radio frequency unit 1501 includes the wireless fidelity module provided in the embodiment of the present application.
[0121] It should be understood that in the embodiment of the present application, the input unit 1504 may include a graphics processor (Graphics Processing Unit, GPU) 15041 and a microphone 15042, and the graphics processor 15041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 1506 may include a display panel 15061, and the display panel 15061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1507 includes a touch panel 15071 and at least one of other input devices 15072. The touch panel 15071 is also called a touch screen. The touch panel 15071 may include two parts: a touch detection device and a touch controller. Other input devices 15072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0122] The memory 1509 can be used to store software programs and various data. The memory 1509 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 1509 may include a volatile memory or a non-volatile memory, or the memory 1509 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 1509 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0123] The processor 1510 may include one or more processing units; optionally, the processor 1510 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 1510.
[0124] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0125] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A wireless fidelity module, characterized in that: The wireless fidelity module includes: a wireless fidelity chip, a plurality of front-end modules and a plurality of detection modules; The multiple front-end modules correspond to the multiple detection modules one by one; The first detection module is arranged between the power supply end of the first front-end module and the power supply, the first detection module is any one of the multiple detection modules, and the first front-end module is a front-end module corresponding to the first detection module; the first detection module is used to ensure that the other front-end modules among the multiple front-end modules except the first front-end module work normally when the first front-end module is abnormal; The first signal end of the first front-end module is connected to one of the plurality of signal ends of the Wi-Fi chip, and the second signal end of the first front-end module is connected to an antenna.
2. The wireless fidelity module according to claim 1, characterized in that: The Wi-Fi chip includes a plurality of general purpose input and output port GPIO groups, and the plurality of GPIO groups correspond to the plurality of detection modules one by one; The first detection module includes: a first switch and a comparator; The first end of the first switch is electrically connected to the power supply end of the first front-end module and the first input end of the comparator respectively; The second end of the first switch is electrically connected to the power supply; The control end of the first switch is electrically connected to the output end of the comparator and the first GPIO included in the first GPIO group respectively; the first GPIO group is the GPIO group corresponding to the first detection module; The second input terminal of the comparator is grounded; When the output terminal of the comparator outputs a low level, the first switch is disconnected; When the output terminal of the comparator outputs a high level, the first switch is turned on.
3. The wireless fidelity module according to claim 2, characterized in that: The first detection module further includes: a second switch; The first end of the second switch is electrically connected to the second end of the first switch; The second end of the second switch is electrically connected to the power supply; The control end of the second switch is electrically connected to the second GPIO included in the first GPIO group; When the Wi-Fi chip determines through the first GPIO that the number of times that the output terminal of the comparator outputs a low level is greater than a first number, the Wi-Fi chip controls the second switch to be turned off through the second GPIO.
4. The wireless fidelity module according to claim 2, characterized in that: The first detection module further includes: a first voltage stabilizing unit; Two ends of the first voltage stabilizing unit are electrically connected to the output end of the comparator and the ground respectively.
5. The wireless fidelity module according to claim 2, characterized in that: The first detection module further includes: a first resistor; The first resistor is arranged between the second input terminal of the comparator and ground.
6. The wireless fidelity module according to claim 1, characterized in that: The first detection module includes: a third switch, a second resistor, a differential voltage amplifier and a single-pole double-throw switch; A first end of the third switch is electrically connected to a power supply end of the first front-end module; The second end of the third switch is connected to the first end of the second resistor and the first input end of the differential amplifier respectively; The control end of the third switch is electrically connected to the second fixed end of the single-pole double-throw switch; The second end of the second resistor is electrically connected to the second input end of the differential amplifier and the first fixed end of the single-pole double-throw switch respectively; The output end of the differential voltage amplifier is electrically connected to the control end of the single-pole double-throw switch; The moving end of the single-pole double-throw switch is electrically connected to the power supply; When the output terminal of the differential voltage amplifier outputs a high level, the moving end of the single-pole double-throw switch is connected to the second fixed end of the single-pole double-throw switch, and the third switch is disconnected; When the output terminal of the differential voltage amplifier outputs a low level, the moving end of the single-pole double-throw switch is connected to the first fixed end of the single-pole double-throw switch, and the third switch is turned on.
7. The wireless fidelity module according to claim 6, characterized in that: The wireless fidelity chip includes a plurality of general purpose input and output ports GPIO, and the plurality of GPIOs correspond to the plurality of detection modules one by one; The first detection module further includes: a fourth switch; A first end of the fourth switch is electrically connected to the power supply; The second end of the fourth switch is electrically connected to the control end of the single-pole double-throw switch and the GPIO corresponding to the first detection module respectively; The control end of the fourth switch is electrically connected to the output end of the differential voltage amplifier; When the output end of the differential voltage amplifier outputs a high level for a number of times greater than a second number, the wireless fidelity chip controls the moving end of the single-pole double-throw switch and the second fixed end of the single-pole double-throw switch to be continuously turned on through the GPIO corresponding to the first detection module, and the third switch is continuously turned off.
8. The wireless fidelity module according to claim 6, characterized in that: The first detection module further includes: a second voltage stabilizing unit; Two ends of the second voltage stabilizing unit are electrically connected to the output end of the differential amplifier and the ground respectively.
9. The wireless fidelity module according to claim 1, characterized in that: The Wi-Fi chip includes a plurality of general purpose input and output port GPIO groups, and the plurality of GPIO groups correspond to the plurality of detection modules one by one; The first detection module includes: a fifth switch, a sixth switch, a seventh switch and a differential amplifier; The first end of the fifth switch is electrically connected to the power supply end of the first front-end module and the first input end of the differential amplifier respectively; The second end of the fifth switch is electrically connected to the control end of the fifth switch, the first end of the sixth switch, the first end of the seventh switch and the control end of the seventh switch respectively; The second end of the sixth switch is electrically connected to the power supply; The control end of the sixth switch is electrically connected to the output end of the differential amplifier and the third GPIO included in the second GPIO group respectively; the second GPIO group is the GPIO group corresponding to the first detection module; The second end of the seventh switch is electrically connected to the second input end of the differential amplifier; When the output terminal of the differential amplifier outputs a high level, the sixth switch is turned off; When the output terminal of the differential amplifier outputs a low level, the sixth switch is turned on.
10. The wireless fidelity module according to claim 9, characterized in that: The first detection module further includes: an eighth switch and a ninth switch; The first end of the eighth switch is electrically connected to the second end of the sixth switch; The second end of the eighth switch is electrically connected to the first end of the ninth switch, the control end of the ninth switch, the control end of the sixth switch and the third GPIO respectively; The control end of the eighth switch is electrically connected to the input end of the differential amplifier and the fourth GPIO included in the second GPIO group respectively; When the Wi-Fi chip determines through the fourth GPIO that the number of times that the output terminal of the differential amplifier outputs a high level is greater than a third number, the Wi-Fi chip controls the sixth switch to be continuously turned off through the third GPIO.
11. The wireless fidelity module according to claim 9, characterized in that: The first detection module further includes: a third voltage stabilizing unit; The first end of the third voltage stabilizing unit is electrically connected to the second end of the fifth switch, the control end of the fifth switch, the first end of the sixth switch, the first end of the seventh switch and the control end of the seventh switch respectively; The second terminal of the third voltage stabilizing unit is grounded.
12. An electronic device, characterized in that: The electronic device comprises: The wireless fidelity module according to any one of claims 1 to 11.