Electronic device and control method
By sharing hardware in electronic devices and adding a small number of components, wireless charging and RFID card reading are shared, which solves the problem of difficulty in integrating RFID card reading functions in electronic devices and enriches device functions without increasing the size.
Patent Information
- Application Number
- CN202111095322.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-17
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2041-09-17
AI Technical Summary
It is difficult for existing electronic devices to integrate RFID card reading function, mainly because the layout area of the RFID circuit is large, and the volume of the electronic devices is already very small and the space is limited.
By sharing some hardware in electronic devices that support wireless charging, the RFID card reading function can be integrated with only a few additional components. Specific implementation methods include using microcontrollers, wireless charging circuits, antenna modules and matching circuits, and using components such as H-bridge drive circuits and envelope detection circuits to achieve the sharing of wireless charging and RFID card reading.
In the case of almost not affecting the volume of electronic equipment, the RFID card reading function was successfully integrated, which enriched the function of electronic equipment, while maintaining efficient wireless charging capabilities.
Smart Images

Figure CN113708512B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of electronic technology, and in particular, to an electronic device and a control method. Background Art
[0002] 125K low-frequency radio frequency identification (RFID) technology is a near-field communication identification technology with a carrier frequency of 125K-135K Hz. It is widely used in access control due to its low cost and fast identification. Wireless charging technology is a wireless energy transmission technology based on a carrier frequency of 110K-190K Hz. In order to achieve correct energy transmission, it is also accompanied by communication technology.
[0003] In the process of implementing this application, the inventors found that there are at least the following problems in the prior art: the layout area of the RFID circuit is relatively large, however, as users have higher and higher requirements for the portability of electronic devices, the volume of existing electronic devices is getting smaller and smaller, and the space is limited. Therefore, it is difficult to integrate the RFID card reading function into existing electronic devices. Summary of the invention
[0004] The embodiments of the present application provide an electronic device and a control method, which can solve the problem that it is difficult to integrate an RFID card reading function into an electronic device.
[0005] To solve the above problems, this application is implemented as follows:
[0006] In a first aspect, an embodiment of the present application provides an electronic device, including a microcontroller, a wireless charging circuit, an antenna module and a matching circuit, wherein the matching circuit includes a wireless charging resonant capacitor and an envelope detection circuit; the wireless charging circuit includes a microcontroller unit, a demodulation circuit and an H-bridge driving circuit; wherein:
[0007] The H-bridge driving circuit comprises a first half-bridge driving circuit and a second half-bridge driving circuit, wherein the first ends of the first half-bridge driving circuit and the second half-bridge driving circuit are both electrically connected to the power supply end, and the second ends are both grounded, and the first half-bridge driving circuit is electrically connected to the second half-bridge driving circuit via the antenna module and the wireless charging resonant capacitor in sequence; the microcontroller unit is electrically connected to the microcontroller, the demodulation circuit, the first half-bridge driving circuit and the second half-bridge driving circuit respectively, and the H-bridge driving circuit is used to drive the antenna module to operate in a wireless charging transmission mode or an RFID card reading mode;
[0008] The envelope detection circuit is electrically connected to the demodulation circuit and a first point respectively, and the first point is a common point between the wireless charging resonant capacitor and the antenna module.
[0009] In a second aspect, an embodiment of the present application further provides a control method, which is applied to the electronic device as described in the first aspect, and the method includes:
[0010] Determining a first operating mode of the electronic device, where the first operating mode is a wireless charging transmission mode or an RFID card reading mode;
[0011] According to the first working mode, the working state of the electronic device is controlled.
[0012] In the embodiment of the present application, by sharing some hardware, only a small number of components need to be added to integrate the RFID card reading function into the electronic device that supports the wireless charging function, thereby enriching the functions of the electronic device without almost affecting the volume of the electronic device. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments of the present application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0014] Figure 1 It is one of the structural diagrams of the electronic device provided in the embodiment of the present application;
[0015] Figure 2 This is the second structural diagram of the electronic device provided in the embodiment of the present application;
[0016] Figure 3 This is the third structural diagram of the electronic device provided in the embodiment of the present application;
[0017] Figure 4 This is the fourth structural diagram of the electronic device provided in the embodiment of the present application;
[0018] Figure 5 It is one of the flow charts of the control method provided in the embodiment of the present application;
[0019] Figure 6 This is the second flowchart of the control method provided in the embodiment of the present application. DETAILED DESCRIPTION
[0020] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions 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.
[0021] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, 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.
[0022] The electronic device provided by the embodiment of the present application is described in detail below through some embodiments and their application scenarios in combination with the accompanying drawings.
[0023] In the embodiments of the present application, Figure 1 As shown, the electronic device may include a microcontroller 10 , a wireless charging circuit 20 , an antenna module 30 and a matching circuit 40 .
[0024] The matching circuit 40 may include, but is not limited to, a wireless charging resonant capacitor 41 and an envelope detection circuit 42. In practical applications, the number of the wireless charging resonant capacitor 41 may be one or more, which may be determined according to actual needs, and the present embodiment of the application does not limit this.
[0025] The wireless charging circuit 20 may include a micro control unit 21 , a demodulation circuit 22 and an H-bridge driving circuit 23 .
[0026] Furthermore, the H-bridge drive circuit 23 may include a first half-bridge drive circuit 231 and a second half-bridge drive circuit 232, the first ends of the first half-bridge drive circuit 231 and the second half-bridge drive circuit 232 are electrically connected to the power supply end (VCC), the second ends are grounded, and the first half-bridge drive circuit 231 is electrically connected to the second half-bridge drive circuit 232 via the antenna module 30 and the wireless charging resonant capacitor 41.
[0027] The micro control unit 21 is electrically connected to the micro controller 10 , the demodulation circuit 22 , the first half-bridge driving circuit 231 and the second half-bridge driving circuit 232 , respectively.
[0028] The envelope detection circuit 42 is electrically connected to the demodulation circuit 22 and a first point (marked as A in the figure) respectively. The first point is a common point between the wireless charging resonant capacitor 41 and the antenna module 30 .
[0029] In a specific implementation, the wireless charging circuit 20 may be an integrated circuit (IC). In this case, the wireless charging circuit 20 may be referred to as a wireless charging IC. Of course, in other implementations, the wireless charging circuit 20 may not be integrated, which may be determined according to actual conditions, and the present application embodiment does not limit this.
[0030] The H-bridge drive circuit 23 is used to drive the antenna module 30 to operate in a wireless charging transmission mode or an RFID card reader mode. In a specific implementation, the antenna module 30 may include at least one coil, and the H-bridge drive circuit 23 may be used to drive some or all of the coils in the antenna module to oscillate, so as to achieve reverse wireless charging or RFID card reading. Therefore, the H-bridge drive circuit may also be referred to as a coil drive circuit or an H-bridge coil drive circuit. In a specific implementation, in one implementation, the H-bridge drive circuit 23 may drive the coil to oscillate through a half-bridge drive circuit, in which case the H-bridge drive circuit 23 may be regarded as being in a half-bridge drive mode. In another implementation, the H-bridge drive circuit 23 may realize coil drive through two half-bridge drive circuits, in which case the H-bridge drive circuit 23 may be regarded as being in an H-bridge drive mode.
[0031] The envelope detection circuit 42 can be used to filter out the carrier and retain the baseband signal. The demodulation circuit 22 can be used to demodulate the baseband signal to obtain the charging power expected by the charging receiving device or the card number of the RFID card. The envelope detection circuit 42 and the demodulation circuit 22 can be used to: determine the transmission power of the antenna module 30, the transmission power is determined based on the charging power expected by the charging receiving device; determine the card number of the RFID card. It should be noted that in the embodiment of the present application, the RFID card can be a physical RFID card or an analog RFID card.
[0032] The microcontroller 10 can be used to realize the overall control of the electronic device, store the recognized card number, and send the card number through wireless communication or Universal Serial Bus (USB) connection.
[0033] In the embodiment of the present application, the working mode of the electronic device includes at least a wireless charging transmission mode and an RFID card reading mode. In some embodiments, the working mode of the electronic device may also include a wireless charging receiving mode and / or an RFID card simulation mode. In practical applications, the electronic device may be a wireless charging base, a mobile power bank with wireless charging, a Bluetooth headset box with reverse wireless charging, and the like.
[0034] When the electronic device is in the wireless charging transmission mode, the electronic device is equivalent to a wireless charging transmission device and can perform the following operations: drive the coil in the antenna module to oscillate to achieve reverse wireless charging; determine the transmission power of the antenna module through the envelope detection circuit and the demodulation circuit.
[0035] When the electronic device is in the RFID card reader mode, the electronic device is equivalent to an RFID card reader and can perform the following operations: drive the coil in the antenna module to oscillate to realize the card reading function; determine the card number of the RFID card through the envelope detection circuit and the demodulation circuit.
[0036] For the wireless charging transmission mode (or RFID card reading mode), it can be implemented in the following ways: Figure 1 As shown, the H-bridge driving circuit 23 can drive the coil of the antenna module 30 to oscillate, radiate outward, and transmit a carrier signal; after the wireless charging receiving device (or RFID card) receives the carrier signal, it starts load modulation, so that the amplitude of the carrier changes, and a carrier signal with a load modulation signal is formed at one end of the coil close to the resonant capacitor to achieve energy reception (or card number transmission). The carrier with the load modulation signal is transmitted to the envelope detection circuit 42, which filters out the carrier, retains the baseband signal, and transmits the baseband signal to the demodulation circuit 22. The demodulation circuit 22 is used to demodulate the baseband signal to obtain the charging power (or the card number of the RFID card) expected by the charging receiving device.
[0037] It can be seen that in the embodiments of the present application, by sharing some hardware, only a small number of components need to be added to integrate the RFID card reading function into the electronic device that supports the wireless charging function, thereby enriching the functions of the electronic device without almost affecting the volume of the electronic device.
[0038] In the embodiment of the present application, the wireless charging function and the RFID card reading function can be implemented by sharing at least one of the following: a wireless charging circuit; a coil; a matching circuit. The specific description is as follows:
[0039] Implementation Method 1
[0040] Alternatively, if Figure 2 As shown, the antenna module 30 includes a first coil 31, a first end of the first coil 31 is electrically connected to the first half-bridge drive circuit 231, and a second end of the first coil 31 is electrically connected to the second half-bridge drive circuit 232 via a wireless charging resonant capacitor 41; wherein the first point is a common point between the wireless charging resonant capacitor 41 and the second end of the first coil 31.
[0041] In the first embodiment, the wireless charging circuit, the coil and the matching circuit are completely shared, so that the electronic device supports the wireless charging transmission mode and the RFID card reading mode.
[0042] 1) For wireless charging transmission mode
[0043] The H-bridge driving circuit 23 can drive the first coil 31 to oscillate and emit energy through the H-bridge driving mode, and the charging receiving device extracts energy through load modulation, so that the oscillation voltage of the first coil 31 changes.
[0044] In this case, the envelope detection circuit 42 and the demodulation circuit 22 can obtain the charging power expected by the charging receiving device after demodulating the load modulation signal, and then trigger the electronic device to adjust the transmission power of the antenna module 30.
[0045] In specific implementation, the microcontroller 10 can control the first half-bridge drive circuit 231 and the second half-bridge drive circuit 232 to be connected to and grounded alternately with the power supply terminal at a preset frequency through the microcontroller unit 21, that is, at the same time, one of the first half-bridge drive circuit 231 and the second half-bridge drive circuit 232 is connected to the power supply terminal but not grounded, and the other half-bridge drive circuit is not connected to the power supply terminal but grounded. For example, the first half-bridge drive circuit 231 can be controlled to be connected to the power supply terminal and the second half-bridge drive circuit 232 can be grounded; then, the first half-bridge drive circuit 231 can be controlled to be grounded and the second half-bridge drive circuit 232 can be controlled to be connected to the power supply terminal.
[0046] When the first half-bridge drive circuit 231 is connected to the power supply end and the second half-bridge drive circuit 232 is grounded, the power supply end of the first half-bridge drive circuit 231, the first coil 31, the wireless charging resonant capacitor 41 and the ground of the second half-bridge drive circuit 232 form a path, and the current flows from the power supply end connected to the first half-bridge drive circuit 231 to the ground of the second half-bridge drive circuit 232, forming a forward current.
[0047] When the first half-bridge drive circuit 231 is grounded and the second half-bridge drive circuit 232 is connected to the power supply end, the ground of the first half-bridge drive circuit 231, the first coil 31, the wireless charging resonant capacitor 41 and the power supply end of the second half-bridge drive circuit 232 form a path, and the current flows from the power supply end connected to the second half-bridge drive circuit 232 to the ground of the first half-bridge drive circuit 231, forming a reverse current.
[0048] Since the first half-bridge driving circuit 231 and the second half-bridge driving circuit 232 are alternately connected to the power supply terminal and grounded at a preset frequency, a reciprocating oscillating current is formed. The reciprocating oscillating current forms a resonant boost on the first coil 31, transmitting energy to the wireless charging receiving device.
[0049] 2) For RFID card reader mode
[0050] The H-bridge driving circuit 23 can drive the first coil 31 to oscillate and emit energy through the H-bridge driving mode. The RFID card tag obtains energy and starts after approaching the coil, and extracts energy through load modulation, so that the oscillation voltage of the first coil 31 changes.
[0051] In this case, the envelope detection circuit 42 and the demodulation circuit 22 can obtain the card number of the RFID card after demodulating the load modulation signal. The card number can be transmitted to the microcontroller 10 for record and storage, and the microcontroller 10 can transmit it to the mobile phone terminal through the wireless charging communication function or USB connection.
[0052] In implementation mode one, the implementation principle of the RFID card reading mode is similar to the implementation principle of the wireless charging transmission mode. The microcontroller 10 can control the first half-bridge drive circuit 231 and the second half-bridge drive circuit 232 through the microcontroller unit 21 to alternately connect to and ground the power supply end at a preset frequency. The specific implementation can be found in the above-mentioned related description, which will not be repeated here.
[0053] Implementation Method 2
[0054] Alternatively, if Figure 3 As shown, the matching circuit 40 further includes a gating switch 43, a radio frequency identification RFID resonant capacitor 44 and a first switch 45, and the first switch 45 is electrically connected to the micro control unit 21;
[0055] The antenna module 30 includes a second coil 32, and the second coil 32 includes a driving common (COM) terminal, a wireless power charge (WPC) terminal and an RFID terminal, wherein the WPC terminal is located between the driving common terminal and the RFID terminal; the driving common terminal is electrically connected to the first half-bridge driving circuit 231, the wireless charging WPC terminal is electrically connected to the second half-bridge driving circuit 232 via the wireless charging resonant capacitor 41, and the RFID terminal is grounded in turn via the RFID resonant capacitor 44 and the first switch 45;
[0056] The envelope detection circuit 42 is electrically connected to the first point and the second point (denoted as B in the figure) respectively through the selection switch 43. In this embodiment, the first point is the common point between the wireless charging resonant capacitor 41 and the WPC end, and the second point is the RFID resonant capacitor 44 electrically connected to the RFID end.
[0057] In the second embodiment, the portion between the driving COM end and the WPC end of the second coil 32 can be equivalent to the wireless charging coil, and the portion between the driving COM end and the RFID end of the second coil 32 can be equivalent to the RFID identification coil. It can be seen that in order to enable the electronic device to realize the RFID identification technology and the wireless charging technology, the electronic device shares part of the coil.
[0058] Since the RFID identification technology and the wireless charging technology share some coils, in order to avoid mutual interference between the wireless charging technology and the RFID identification technology, an RFID resonant capacitor 44 and a first switch 45 are added.
[0059] In addition, a gating switch is added to enable the envelope detection circuit 42 and the demodulation circuit 22 to respectively demodulate the load modulation signal under different technologies. In specific implementation, the gating switch 43 can connect the envelope detection circuit 42 and the first point. At this time, the envelope detection circuit 42 and the demodulation circuit 22 are used to determine the charging power expected by the wireless charging receiving device. The gating switch 43 can also connect the envelope detection circuit 42 and the second point. At this time, the envelope detection circuit 42 and the demodulation circuit 22 are used to determine the card number of the RFID card.
[0060] It can be seen that in the second embodiment, by completely sharing the wireless charging circuit and partially sharing the matching circuit and the coil, the electronic device supports the wireless charging transmission mode and the RFID card reading mode.
[0061] 1) For wireless charging transmission mode
[0062] Since the RFID identification technology and the wireless charging technology share some coils, in order to prevent the RFID identification function from affecting the wireless charging function, the RFID end of the second coil 32 cannot be grounded, and therefore the first switch 45 can be turned off.
[0063] The H-bridge driving circuit 23 can drive the partial oscillation between the driving COM terminal and the WPC terminal of the second coil 32 and emit energy through the H-bridge driving mode. The charging receiving device extracts energy through load modulation, so that the partial oscillation voltage between the driving COM terminal and the WPC terminal of the second coil 32 changes. In this case, the driving method of the H-bridge driving circuit 23 is the same as the driving method of the H-bridge driving circuit 23 in the wireless charging transmission mode of the first implementation mode. For details, please refer to the above-mentioned related description, which will not be repeated here.
[0064] The selection switch 43 can connect the envelope detection circuit 42 and the first point, so that the envelope detection circuit 42 and the demodulation circuit 22 can obtain the charging power expected by the charging receiving device after demodulating the load modulation signal, and then trigger the electronic device to adjust the transmission power of the antenna module 30.
[0065] 2) For RFID card reader mode
[0066] Since the RFID identification technology and the wireless charging technology share some coils, in order to avoid the influence of the wireless charging function on the RFID identification function, the WPC end of the second coil 32 should be suspended. Therefore, the second half-bridge drive control circuit 232 can be controlled to be in a disconnected state.
[0067] The H-bridge driving circuit 23 can drive the partial oscillation between the driving COM end and the RFID end of the second coil 32 and emit energy through the first half-bridge driving control circuit 231. The RFID card tag obtains energy and starts after approaching the coil, and extracts energy through load modulation, so that the partial oscillation voltage between the driving COM end and the RFID end of the second coil 32 changes. In this case, the H-bridge driving circuit 23 is in the half-bridge driving mode. To ensure that the RFID resonant capacitor 44 can be grounded, the first switch 45 is turned on.
[0068] In specific implementation, the microcontroller 10 can control the first half-bridge driving circuit 231 to be connected to the power supply end or to be grounded alternately at a preset frequency through the microcontroller unit 21, that is, at the same time, the first half-bridge driving circuit 231 is connected to the power supply end or to the ground. For example, the first half-bridge driving circuit 231 can be controlled to be connected to the power supply end but not to the ground; then, the first half-bridge driving circuit 231 can be controlled to be grounded but not to be connected to the power supply end.
[0069] When the first half-bridge drive circuit 231 is connected to the power supply end but not to the ground, the power supply ground of the first half-bridge drive circuit 231, the part between the drive COM end and the RFID end of the second coil 32, the RFID resonant capacitor 44 and the ground form a path, and the current flows from the power supply end connected to the first half-bridge drive circuit 231 to the ground, forming a forward current.
[0070] When the first half-bridge drive circuit 231 is grounded but not connected to the power supply end, the RFID resonant capacitor 44, the portion between the drive COM end and the RFID end of the second coil 32, and the ground of the first half-bridge drive circuit 231 form a path, and the current flows from the RFID resonant capacitor 44 to the ground of the first half-bridge drive circuit 231, forming a reverse current.
[0071] Since the first half-bridge driving circuit 231 is alternately connected to the power supply end or grounded at a preset frequency, a reciprocating oscillating current is formed. The reciprocating oscillating current forms a resonant boost in the portion between the driving COM end and the RFID end of the second coil 32, thereby transmitting energy to the RFID card.
[0072] The selection switch 43 can connect the envelope detection circuit 42 and the second point. In this case, the envelope detection circuit 42 and the demodulation circuit 22 can obtain the card number of the RFID card after demodulating the load modulation signal. The card number can be transmitted to the microcontroller 10 for record and storage, and the microcontroller 10 can transmit it to the mobile phone terminal through the communication function of wireless charging or USB connection.
[0073] Implementation Method 3
[0074] Alternatively, if Figure 4As shown, the matching circuit 40 further includes a gating switch 43 and an RFID resonant capacitor 44; the antenna module 30 includes a wireless charging coil 33 and an RFID coil 34;
[0075] The first end of the wireless charging coil 33 is electrically connected to the first half-bridge driving circuit 231, and the second end of the wireless charging coil 33 is electrically connected to the second half-bridge driving circuit 232 via the wireless charging resonant capacitor 41;
[0076] The first end of the RFID coil 34 is electrically connected to the first half-bridge driving circuit 231, and the second end of the RFID coil is electrically connected to the second half-bridge driving circuit 232 via the RFID resonant capacitor 44;
[0077] The envelope detection circuit 42 is electrically connected to a first point and a second point respectively. The first point is a common point between the wireless charging resonant capacitor 41 and the second end of the wireless charging coil 31 , and the second point is a common point between the RFID resonant capacitor 44 and the second end of the RFID coil 34 .
[0078] In the third embodiment, the wireless charging coil 33 and the RFID coil 34 are designed completely independently, and an RFID resonant capacitor 44 is added. In order to enable the envelope detection circuit 42 and the demodulation circuit 22 to respectively realize the demodulation of the load modulation signal under different technologies, a gating switch 43 is added. In specific implementation, the gating switch 43 can connect the envelope detection circuit 42 and the first point. At this time, the envelope detection circuit 42 and the demodulation circuit 22 are used to determine the charging power expected by the wireless charging receiving device. The gating switch 43 can also connect the envelope detection circuit 42 and the second point. At this time, the envelope detection circuit 42 and the demodulation circuit 22 are used to determine the card number of the RFID card.
[0079] It can be seen that in implementation mode three, the wireless charging coil 33 and the RFID coil 34 are designed completely independently, the wireless charging circuit is shared, the resonant capacitor in the matching circuit is designed independently, and the envelope detection circuit 42 is shared by the selection switch 43, so that the electronic device supports the wireless charging transmission mode and the RFID card reading mode.
[0080] 1) For wireless charging transmission mode
[0081] The H-bridge driving circuit 23 can drive the wireless charging coil 33 to oscillate and emit energy through the H-bridge driving mode, and the charging receiving device extracts energy through load modulation, so that the oscillation voltage of the wireless charging coil 33 changes. In this case, the driving method of the H-bridge driving circuit 23 is the same as the driving method of the H-bridge driving circuit 23 in the wireless charging transmitting mode of the first embodiment. For details, please refer to the above-mentioned related description, which will not be repeated here.
[0082] The selection switch 43 can connect the envelope detection circuit 42 and the first point, so that the envelope detection circuit 42 and the demodulation circuit 22 can obtain the charging power expected by the charging receiving device after demodulating the load modulation signal, and then trigger the electronic device to adjust the transmission power of the antenna module 30.
[0083] 2) For RFID card reader mode
[0084] Since the resistance of the wireless charging coil 33 is smaller than that of the RFID coil 34, in order to prevent the current from flowing directly to the wireless charging coil 33 and causing the wireless charging coil 33 to affect the RFID recognition performance, the second half-bridge drive control circuit 232 can be controlled to be disconnected from the power supply terminal but grounded.
[0085] The H-bridge driving circuit 23 can drive the RFID coil 34 to oscillate and emit energy through the first half-bridge driving control circuit 231. The RFID card tag obtains energy and starts after approaching the coil, and extracts energy through load modulation, so that the oscillation voltage of the RFID coil 34 changes. In this case, the H-bridge driving circuit 23 is in the half-bridge driving mode.
[0086] In specific implementation, the microcontroller 10 can control the first half-bridge driving circuit 231 to be alternately connected to or grounded with the power supply terminal according to a preset frequency through the micro control unit 21. The specific implementation can be referred to the above related description and will not be repeated here.
[0087] The selection switch 43 can connect the envelope detection circuit 42 and the second point. In this case, the envelope detection circuit 42 and the demodulation circuit 22 can obtain the card number of the RFID card after demodulating the load modulation signal. The card number can be transmitted to the microcontroller 10 for record and storage, and the microcontroller 10 can transmit it to the mobile phone terminal through the communication function of wireless charging or USB connection.
[0088] In the embodiment of the present application, optionally, Figures 2 to 4 As shown, the first half-bridge driving circuit 231 may include a first field effect MOS transistor 2311 and a second MOS transistor 2312, and the second half-bridge driving circuit 232 may include a third MOS transistor 2321 and a fourth MOS transistor 2322. The first MOS transistor 2311 and the third MOS transistor 2321 may be P-type MOS transistors, and the second MOS transistor 2312 and the fourth MOS transistor 2322 may be N-type MOS transistors.
[0089] The gates of the first MOS tube 2311, the second MOS tube 2312, the third MOS tube 2321 and the fourth MOS tube 2322 are all electrically connected to the micro control unit 21; the sources of the first MOS tube 2311 and the third MOS tube 2321 are all electrically connected to the power supply terminal; the drain of the first MOS tube 2311 is electrically connected to the drain of the second MOS tube 2312, and the drain of the third MOS tube 2321 is electrically connected to the drain of the fourth MOS tube 2322; the sources of the second MOS tube 2312 and the fourth MOS tube 2322 are all grounded;
[0090] The fourth point and the fifth point are both electrically connected to the antenna module 30 , the fourth point is a common point between the drain of the first MOS tube 2311 and the drain of the second MOS tube 2312 , and the fifth point is a common point between the drain of the third MOS tube 2321 and the drain of the fourth MOS tube 2322 .
[0091] When the first half-bridge driving circuit 231 is connected to the power supply terminal but not grounded, the first MOS transistor 2311 can be turned on and the second MOS transistor 2312 can be turned off. When the first half-bridge driving circuit 231 is not connected to the power supply terminal but grounded, the first MOS transistor 2311 can be turned off and the second MOS transistor 2312 can be turned on. When the first half-bridge driving circuit 231 is in the disconnected state, the first MOS transistor 2311 and the second MOS transistor 2312 can be turned off.
[0092] When the second half-bridge driving circuit 232 is connected to the power supply terminal but not grounded, the third MOS transistor 2321 can be turned on and the fourth MOS transistor 2322 can be turned off. When the second half-bridge driving circuit 232 is not connected to the power supply terminal but grounded, the third MOS transistor 2321 can be turned off and the fourth MOS transistor 2322 can be turned on. When the second half-bridge driving circuit 232 is in the disconnected state, the third MOS transistor 2321 and the fourth MOS transistor 2322 can be turned off.
[0093] It should be noted that, in some implementations, the half-bridge drive circuit may also be formed by other switches, which may be determined according to actual conditions, and the present application embodiment does not limit this. Figure 3 The first switch 45 in the embodiment is also a MOS tube, but in other implementations, the first switch 45 may also be a switch in other forms, such as a single-pole double-throw switch.
[0094] See also Figure 5 , Figure 5 This is one of the flow charts of the control method provided in the embodiment of the present application. Figure 5 As shown, the control method may include the following steps:
[0095] Step 501: Determine a first operating mode of the electronic device, where the first operating mode is a wireless charging transmission mode or an RFID card reading mode.
[0096] In a specific implementation, the electronic device can communicate with the receiving device to determine its own working mode.
[0097] Step 502: Control the working state of the electronic device according to the first working mode.
[0098] It can be understood that the working state of the electronic device can enable the electronic device to implement the function corresponding to the first working mode.
[0099] In the control method of this embodiment, the working mode of the electronic device includes a wireless charging transmission mode and an RFID card reading mode, so that the electronic device can realize the wireless charging function and the RFID card reading function, enriching the functions of the electronic device.
[0100] Optionally, the first half-bridge driving circuit includes the first MOS transistor and the second MOS transistor, and the second half-bridge driving circuit includes the third MOS transistor and the fourth MOS transistor.
[0101] Optionally, the first working mode is an RFID card reading mode;
[0102] The controlling the working state of the electronic device according to the first working mode includes:
[0103] In the case where the antenna module includes the first coil, the first target MOS transistor and the second target MOS transistor are alternately turned on and off according to a preset frequency, the first target MOS transistor includes the first MOS transistor and the fourth MOS transistor, and the second target MOS transistor includes the second MOS transistor and the third MOS transistor;
[0104] In the case where the antenna module includes the second coil, the first MOS transistor and the second MOS transistor are alternately turned on and off according to a preset frequency, the first switch is turned on, the third MOS transistor and the fourth MOS transistor are turned off, and the selection switch is controlled to turn on the second point and the envelope detection circuit;
[0105] When the antenna module includes the wireless charging antenna and the RFID coil, the first MOS tube and the second MOS tube are alternately turned on and off according to a preset frequency, the fourth MOS tube is turned on, and the third MOS tube is turned off, and the selection switch is controlled to turn on the second point and the envelope detection circuit.
[0106] Optionally, the first working mode is a wireless charging transmission mode;
[0107] The controlling the working state of the electronic device according to the first working mode includes:
[0108] In the case where the antenna module includes the first coil, the first target MOS transistor and the second target MOS transistor are alternately turned on and off according to a preset frequency;
[0109] When the antenna module includes the second coil, the first target MOS transistor and the second target MOS transistor are alternately turned on and off at a preset frequency, the first switch is turned off, and the selection switch is controlled to turn on the first point and the envelope detection circuit.
[0110] In the case where the antenna module includes the wireless charging antenna and the RFID coil, the first target MOS transistor and the second target MOS transistor are alternately turned on and off according to a preset frequency, and the gate switch is controlled to turn on the first point and the envelope detection circuit;
[0111] The first target MOS transistor includes the first MOS transistor and the fourth MOS transistor, and the second target MOS transistor includes the second MOS transistor and the third MOS transistor.
[0112] Optionally, the first working mode is an RFID card reading mode, and the card number of the device to be charged is identified as a first card number through the first working mode;
[0113] After controlling the working state of the electronic device according to the first working mode, the method further includes:
[0114] Determining whether the first card number is a legitimate charging card number;
[0115] When the first card number is a legitimate charging card number, the electronic device is controlled to switch to a wireless charging transmission mode.
[0116] In this optional implementation, the electronic device only allows wireless charging of charging receiving devices with legal charging card numbers. When the charging receiving device expects to be charged through the electronic device of this application, the electronic device can first identify the card number of the charging receiving device, and then determine whether the card number is a legal charging card number. If so, it can switch to the wireless charging transmission mode to wirelessly charge the device. Otherwise, it can give up wireless charging of the device, thereby improving the safety of charging.
[0117] It should be noted that when the first working mode is the wireless charging transmission mode or the RFID card reading mode, the working status of each component of the electronic device can refer to the above-mentioned related description, which will not be repeated here.
[0118] The various optional implementation modes introduced in the embodiments of the present application may be implemented in combination with each other or may be implemented separately if they do not conflict with each other, and the embodiments of the present application are not limited to this.
[0119] For ease of understanding, the following examples are provided:
[0120] This application integrates a card reading function on an electronic device that supports wireless charging transmission function by sharing some hardware, and automatically saves the card number after reading the card, and transmits it to terminal devices such as mobile phones through wireless charging, wired USB, Bluetooth or NFC; the electronic device includes but is not limited to wireless charging bases, mobile power banks with wireless charging, Bluetooth headset boxes with reverse wireless charging and other devices.
[0121] Specific innovations:
[0122] (1) Share some or all of the wireless charging hardware to achieve both wireless charging and 125K RFID card reading functions; the shared hardware is not limited to IC, antenna, matching circuit, etc.;
[0123] (2) Multiple functions can be realized through a single IC;
[0124] (3) External shared circuits can be implemented in a variety of ways to improve performance and achieve non-interference.
[0125] The electronic device mainly includes five parts: microcontroller, coil drive circuit, coil antenna, envelope detection circuit and demodulation circuit.
[0126] The microcontroller realizes functions such as overall system control, card number storage, and USB connection;
[0127] The coil driving circuit is responsible for the oscillation driving of the coil;
[0128] The coil antenna is responsible for transmitting field strength and receiving signals;
[0129] The envelope detection circuit realizes the filtering of the carrier and the retention of the baseband signal;
[0130] The demodulation circuit is responsible for decoding the signal.
[0131] In specific implementation, there are multiple embodiments according to the difference in hardware used to realize the two functions of wireless charging and RFID card reading, which are described in detail as follows:
[0132] Embodiment 1: Wireless charging hardware is completely shared.
[0133] like Figure 2 As shown, this is an implementation example in which the wireless charging IC (i.e., wireless charging circuit), coil antenna, envelope detection circuit, demodulation circuit and other hardware are completely shared.
[0134] The coil drive structure in the wireless charging IC is an H-bridge drive, which consists of two P-MOS and two N-MOS. Figure 2 The first MOS tube 2311, the second MOS tube 2312, the third MOS tube 2321 and the fourth MOS tube 2322 in the embodiment.
[0135] One end of the coil antenna is connected to the driving MOS of the first half-bridge driving circuit, and the other end is connected to the driving MOS of the second half-bridge driving circuit after passing through the resonant capacitor. After being driven by the H-bridge driving circuit, it will oscillate with the resonant capacitor and radiate outward; the receiving device (such as a card, a wireless charging receiving device) receives the energy.
[0136] The envelope detection and demodulation circuit is a function of the wireless charging transmitter itself. It is designed to receive the protocol information informed by the other party, such as charging power, etc. In this application, it can be used as the load modulation reception of the card; the input end of the envelope detection circuit needs to be connected to the common point of the coil and the resonant capacitor to receive the load modulation signal.
[0137] The electronic device has two working modes:
[0138] ① Wireless charging transmission mode: The coil drive module is driven in H-bridge driving mode, the driving coil (equivalent to the wireless charging coil or antenna) oscillates and emits energy, and the corresponding receiving device extracts energy through load modulation, causing the oscillation voltage of the transmitting coil to change. At this time, the "including detection circuit" and "internal demodulation circuit" realize the demodulation of the load modulation signal and send the corresponding power according to the needs of the other party;
[0139] The first MOS tube to the fourth MOS tube will be turned on alternately at a specific driving frequency, specifically as follows: the first MOS tube and the fourth MOS tube will be turned on at the same time, and the second MOS tube and the third MOS tube will be turned off, forming a forward current; then the second MOS tube and the third MOS tube will be turned on at the same time, and the first MOS tube and the fourth MOS tube will be turned off, forming a reverse current; the reciprocating oscillating current will form a resonant boost on the coil and transmit energy to the other device.
[0140] ②125K low-frequency RFID card reading mode: Similar to the aforementioned ① wireless charging transmission mode, the coil driving module drives the coil (equivalent to the 125K low-frequency RFID coil or antenna) to oscillate. The RFID card tag gets energy and starts when it approaches the coil, and extracts energy through load modulation, causing the oscillation voltage of the transmitting coil to change. At this time, the "including detection circuit" and the "internal demodulation circuit" realize the demodulation of the load modulation signal, and the card number information of the nearby RFID card tag is obtained. After the card number is recorded and saved by the MCU, it can be transmitted to the mobile phone through the wireless charging communication function or USB connection.
[0141] The first MOS tube to the fourth MOS tube will be turned on alternately at a specific driving frequency, specifically as follows: the first MOS tube and the fourth MOS tube will be turned on at the same time, and the second MOS tube and the third MOS tube will be turned off, forming a forward current; then the second MOS tube and the third MOS tube will be turned on at the same time, and the first MOS tube and the fourth MOS tube will be turned off, forming a reverse current; the reciprocating oscillating current will form a resonant boost on the coil, transmitting energy to the other device;
[0142] Embodiment 2: Wireless charging circuit is shared and antenna is mixed design.
[0143] like Figure 3 As shown, the wireless charging IC, envelope detection, demodulation and other hardware are shared, but a partially shared wireless charging antenna, i.e. a hybrid antenna, is used for design;
[0144] The coil drive structure in the wireless charging IC is an H-bridge drive, which consists of two P-MOS and two N-MOS. Figure 3 The first MOS tube 2311, the second MOS tube 2312, the third MOS tube 2321 and the fourth MOS tube 2322 in the embodiment.
[0145] The hybrid coil antenna has three taps, namely the driving COM end, the WPC end, and the RFID end; the winding COM end is connected to the driving MOS, the WPC end is the middle tap, and is connected to the driving MOS after passing through the resonant capacitor, and the RFID end is connected to the 125K resonant capacitor and then the first switch is grounded; after being driven by the H-bridge driving circuit, it will form an oscillation with the resonant capacitor and radiate outward; the receiving device (such as a card, a wireless charging receiving device) receives energy;
[0146] The envelope detection and demodulation circuit is a function of the wireless charging transmitter itself. It is designed to receive the protocol information informed by the other party, such as charging power, etc. In this application, it can be used as the load modulation reception of the card; the input end of the envelope detection circuit needs to be connected to the common point of the coil and the resonant capacitor to receive the load modulation signal, and the selection switch must be switched to the corresponding path.
[0147] The electronic device has two working modes:
[0148] ① Wireless charging transmission mode: The coil drive module is driven in H-bridge drive mode, driving the wireless charging antenna to oscillate and emit energy. The corresponding receiving device extracts energy through load modulation, causing the oscillation voltage of the transmitting coil to change. At this time, the "including detection circuit" and "internal demodulation circuit" realize the demodulation of the load modulation signal and send the corresponding power according to the needs of the other party.
[0149] The first MOS tube to the fourth MOS tube will be turned on alternately at a specific driving frequency, as follows: the first MOS tube and the fourth MOS tube will be turned on at the same time, and the second MOS tube and the third MOS tube will be turned off, forming a forward current; then the second MOS tube and the third MOS tube will be turned on at the same time, and the first MOS tube and the fourth MOS tube will be turned off, forming a reverse current; the reciprocating oscillating current will form a resonant boost on the coil to transmit energy to the other device; in order not to affect the wireless charging function, the first switch for grounding the RFID resonant capacitor should be in the off state at this time; the strobe switch control GPIO should switch the strobe switch to the wireless charging end, that is, the antenna WPC end.
[0150] ②125K low-frequency RFID card reading mode: Similar to the aforementioned ① wireless charging transmission mode, the coil driver module drives the 125K low-frequency RFID antenna to oscillate. The RFID card tag gets energy and starts when it approaches the coil, and extracts energy through load modulation, causing the oscillation voltage of the transmitting coil to change. At this time, the "including detection circuit" and the "internal demodulation circuit" realize the demodulation of the load modulation signal, and obtain the card number information of the nearby RFID card tag. After the card number is recorded and saved by the MCU, it can be transmitted to the mobile phone terminal through the wireless charging communication function or USB connection.
[0151] The first MOS tube and the second MOS tube will be turned on alternately at a specific driving frequency, and the fifth MOS tube needs to be turned on continuously to ensure that the resonant capacitor can be grounded; to prevent the WPC end of the middle tap of the coil from affecting the RFID performance, it is necessary to ensure that the third MOS tube and the fourth MOS tube are in the off state; it is in half-bridge drive mode, and the enable switch needs to be switched to the RFID end.
[0152] Embodiment 3: The wireless charging circuit is shared and the antenna is designed independently.
[0153] like Figure 4 As shown, the wireless charging IC, envelope detection, demodulation and other hardware are shared, and the antenna is designed completely independently.
[0154] The coil drive structure in the wireless charging IC is an H-bridge drive, which consists of two P-MOS and two N-MOS. Figure 4 The first MOS tube 2311, the second MOS tube 2312, the third MOS tube 2321 and the fourth MOS tube 2322 in the embodiment.
[0155] The electronic device is equipped with two independent coil antennas. One end of the first half-bridge drive circuit is connected to one end of the two coils at the same time, and the other two ports are respectively the WPC end and the RFID end. The WPC coil end is connected to the second half-bridge drive circuit (i.e., the third MOS tube and the fourth MOS tube) after passing through the wireless charging resonant capacitor, and the RFID end is connected to the 125K resonant capacitor (i.e., the RFID resonant capacitor) and then connected to the driving MOS second half-bridge drive circuit (i.e., the third MOS tube and the fourth MOS tube); after being driven by the H-bridge drive circuit, it will form oscillation with the resonant capacitor and radiate outward; the receiving device (such as a card, a wireless charging receiving device) receives energy.
[0156] The envelope detection and demodulation circuit is a function of the wireless charging transmitter itself, which is designed to receive the protocol information informed by the other party, such as charging power, etc. In this application, it can be used as the load modulation reception of the card; the input end of the envelope detection circuit needs to be connected to the common point of the coil and the resonant capacitor to receive the load modulation signal. And the selection switch must be switched to the corresponding path.
[0157] The electronic device has two working modes:
[0158] ③ Wireless charging transmission mode: The coil drive module is driven in H-bridge driving mode, driving the wireless charging antenna to oscillate and emit energy. The corresponding receiving device extracts energy through load modulation, causing the oscillation voltage of the transmitting coil to change. At this time, the "including detection circuit" and "internal demodulation circuit" realize the demodulation of the load modulation signal and send the corresponding power according to the needs of the other party;
[0159] The first MOS tube to the fourth MOS tube will be turned on alternately at a specific driving frequency, as follows: the first MOS tube and the fourth MOS tube will be turned on at the same time, and the second MOS tube and the third MOS tube will be turned off, forming a forward current; then the second MOS tube and the third MOS tube will be turned on at the same time, and the first MOS tube and the fourth MOS tube will be turned off, forming a reverse current; the reciprocating oscillating current will form a resonant boost on the coil and transmit energy to the other device; in order not to affect the wireless charging function, the selection switch must be switched to the wireless charging path.
[0160] ④125K low-frequency RFID card reading mode: Similar to the aforementioned ① wireless charging transmission mode, the coil driver module drives the 125K low-frequency RFID antenna to oscillate. The RFID card tag gets energy and starts when it approaches the coil, and extracts energy through load modulation, causing the oscillation voltage of the transmitting coil to change. At this time, the "including detection circuit" and the "internal demodulation circuit" realize the demodulation of the load modulation signal, and obtain the card number information of the nearby RFID card tag. After the card number is recorded and saved by the MCU, it can be transmitted to the mobile phone terminal through the wireless charging communication function or USB connection.
[0161] The first MOS tube and the second MOS tube will be turned on alternately at a specific driving frequency. MOS tube ④ needs to be turned on continuously to ensure that the resonant capacitor can be grounded. To prevent the WPC end of the middle tap of the coil from affecting the RFID performance, it is necessary to ensure that ③ is in the off state. And the selection switch needs to be switched to the RFID card reading circuit.
[0162] Embodiment 4: Identify the exclusive mobile phone through RFID card reader and enable the personalized function.
[0163] After the device has the RFID card reading function, it can realize more interactions between terminals that support RFID card numbers such as mobile phones and the charging base, and use the RFID card number to transparently transmit with the wireless charging base to improve security.
[0164] For easier understanding, see Figure 6 .
[0165] like Figure 6 As shown, the control method may include the following steps:
[0166] Step 601: The wireless charging IC drives one end of the MOS tube to ground, and the wireless charging IC drives the two end MOS tubes to drive the coil at a frequency of 125KHz to read the card number.
[0167] Step 602: Determine whether the read card number is a private protocol exclusive card number (ie, a legal charging card number).
[0168] If so, execute step 603; otherwise, execute step 604.
[0169] Step 603: Determine whether to charge according to a specific power.
[0170] If so, execute step 604; otherwise, execute step 601.
[0171] Step 604: Transmit the read card number to the microcontroller.
[0172] Step 605: The microcontroller sends the card number to the mobile phone via the USB cable.
[0173] The present invention can realize wireless charging and 125K RFID technology simultaneously by sharing the wireless charging hardware of the wireless charging base, and only a small amount of external hardware is needed; through corresponding circuit design optimization, the two functions can share part of the hardware without affecting each other; through hybrid antenna design, the antenna volume can be minimized and the cost can be optimized.
[0174] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.
Claims
1. An electronic device, characterized in that: It includes a microcontroller, a wireless charging circuit, an antenna module and a matching circuit; the matching circuit includes a wireless charging resonant capacitor and an envelope detection circuit; the wireless charging circuit includes a microcontroller unit, a demodulation circuit and an H-bridge driving circuit; wherein: The H-bridge driving circuit includes a first half-bridge driving circuit and a second half-bridge driving circuit, wherein the first ends of the first half-bridge driving circuit and the second half-bridge driving circuit are both electrically connected to the power supply end, and the second ends are both grounded, and the first half-bridge driving circuit is electrically connected to the second half-bridge driving circuit via the antenna module and the wireless charging resonant capacitor in sequence, and the H-bridge driving circuit is used to drive the antenna module to operate in a wireless charging transmission mode or an RFID card reading mode; The micro control unit is electrically connected to the micro controller, the demodulation circuit, the first half-bridge driving circuit and the second half-bridge driving circuit respectively; The envelope detection circuit is electrically connected to the demodulation circuit and a first point respectively, and the first point is a common point between the wireless charging resonant capacitor and the antenna module.
2. The electronic device according to claim 1, characterized in that: The antenna module includes a first coil, a first end of the first coil is electrically connected to the first half-bridge drive circuit, and a second end of the first coil is electrically connected to the second half-bridge drive circuit via the wireless charging resonant capacitor; The first point is a common point between the wireless charging resonant capacitor and the second end of the first coil.
3. The electronic device according to claim 1, characterized in that: The matching circuit further includes a gating switch, a radio frequency identification RFID resonant capacitor and a first switch, wherein the first switch is electrically connected to the micro control unit; The antenna module includes a second coil, the second coil includes a driving common end, a wireless charging WPC end and an RFID end, and the WPC end is located between the driving common end and the RFID end; The driving common end is electrically connected to the first half-bridge driving circuit, the wireless charging WPC end is electrically connected to the second half-bridge driving circuit via the wireless charging resonant capacitor, and the RFID end is grounded via the RFID resonant capacitor and the first switch in sequence; The envelope detection circuit is electrically connected to the first point and the second point respectively via the selection switch, the first point is a common point between the wireless charging resonant capacitor and the WPC end, and the second point is an electrical connection between the RFID resonant capacitor and the RFID end.
4. The electronic device according to claim 1, characterized in that: The matching circuit further includes a gating switch and an RFID resonant capacitor; the antenna module includes a wireless charging coil and an RFID coil; Wherein, the first end of the wireless charging coil is electrically connected to the first half-bridge driving circuit, and the second end of the wireless charging coil is electrically connected to the second half-bridge driving circuit via the wireless charging resonant capacitor; The first end of the RFID coil is electrically connected to the first half-bridge drive circuit, and the second end of the RFID coil is electrically connected to the second half-bridge drive circuit via the RFID resonant capacitor; The envelope detection circuit is electrically connected to the first point and the second point respectively, the first point is a common point between the wireless charging resonant capacitor and the second end of the wireless charging coil, and the second point is a common point between the RFID resonant capacitor and the second end of the RFID coil.
5. The electronic device according to any one of claims 1 to 4, characterized in that: The first half-bridge driving circuit includes a first MOS tube and a second MOS tube, the second half-bridge driving circuit includes a third MOS tube and a fourth MOS tube, the first MOS tube and the third MOS tube are P-type MOS tubes, and the second MOS tube and the fourth MOS tube are N-type MOS tubes; The gate electrodes of the first MOS tube, the second MOS tube, the third MOS tube and the fourth MOS tube are all electrically connected to the micro control unit; the source electrodes of the first MOS tube and the third MOS tube are all electrically connected to the power supply terminal; the drain electrode of the first MOS tube is electrically connected to the drain electrode of the second MOS tube, and the drain electrode of the third MOS tube is electrically connected to the drain electrode of the fourth MOS tube; the source electrodes of the second MOS tube and the fourth MOS tube are both grounded; The fourth point and the fifth point are both electrically connected to the antenna module, the fourth point is a common point between the drain of the first MOS tube and the drain of the second MOS tube, and the fifth point is a common point between the drain of the third MOS tube and the drain of the fourth MOS tube.
6. The electronic device according to any one of claims 1 to 4, characterized in that: The working modes of the electronic device include: wireless charging transmission mode and RFID card reading mode.
7. The electronic device according to any one of claims 1 to 4, characterized in that: The envelope detection circuit and the demodulation circuit are used to: determine the transmission power of the antenna module; and determine the card number of the RFID card.
8. A control method, characterized in that: Applied to the electronic device according to any one of claims 1 to 7, the method comprises: Determining a first operating mode of the electronic device, where the first operating mode is a wireless charging transmission mode or an RFID card reading mode; According to the first working mode, the working state of the electronic device is controlled.
9. The control method according to claim 8, characterized in that: The first half-bridge driving circuit includes a first MOS transistor and a second MOS transistor, and the second half-bridge driving circuit includes a third MOS transistor and a fourth MOS transistor.
10. The method according to claim 9, characterized in that The matching circuit further includes a gating switch, a radio frequency identification RFID resonant capacitor and a first switch, and the first operating mode is an RFID card reading mode; The controlling the working state of the electronic device according to the first working mode includes: In the case where the antenna module includes a first coil, a first target MOS transistor and a second target MOS transistor are alternately turned on and off according to a preset frequency, the first target MOS transistor includes the first MOS transistor and the fourth MOS transistor, and the second target MOS transistor includes the second MOS transistor and the third MOS transistor; In the case where the antenna module includes a second coil, the first MOS transistor and the second MOS transistor are alternately turned on and off according to a preset frequency, the first switch is turned on, the third MOS transistor and the fourth MOS transistor are turned off, and the selection switch is controlled to turn on the second point and the envelope detection circuit; In the case where the antenna module includes a wireless charging coil and an RFID coil, the first MOS transistor and the second MOS transistor are alternately turned on and off according to a preset frequency, the fourth MOS transistor is turned on, the third MOS transistor is turned off, and the gate switch is controlled to turn on the second point and the envelope detection circuit; The second point is a common point between the RFID resonant capacitor and the second end of the RFID coil.
11. The method according to claim 9, characterized in that The matching circuit further includes a gating switch, a radio frequency identification RFID resonant capacitor and a first switch, and the first operating mode is a wireless charging transmission mode; The controlling the working state of the electronic device according to the first working mode includes: In the case where the antenna module includes a first coil, the first target MOS transistor and the second target MOS transistor are alternately turned on and off according to a preset frequency; In the case where the antenna module includes a second coil, the first target MOS transistor and the second target MOS transistor are alternately turned on and off according to a preset frequency, the first switch is turned off, and the selection switch is controlled to turn on the first point and the envelope detection circuit; In the case where the antenna module includes a wireless charging coil and an RFID coil, the first target MOS transistor and the second target MOS transistor are alternately turned on and off according to a preset frequency, and the gate switch is controlled to turn on the first point and the envelope detection circuit; The first target MOS transistor includes the first MOS transistor and the fourth MOS transistor, and the second target MOS transistor includes the second MOS transistor and the third MOS transistor.
12. The method according to any one of claims 8 to 11, characterized in that The first working mode is an RFID card reading mode, and the card number of the device to be charged is identified as a first card number through the first working mode; After controlling the working state of the electronic device according to the first working mode, the method further includes: Determining whether the first card number is a legitimate charging card number; When the first card number is a legal charging card number, the electronic device is controlled to switch to a wireless charging transmission mode.
Citation Information
Patent Citations
Battery and battery circuit module
CN102082449A
Half-half-bridge pulse width modulation low power magnetic secure transmission systems
CN111464200A