Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
COIL DRIVING IN WIRELESS CHARGING SYSTEM
Document Type and Number:
WIPO Patent Application WO/2020/214366
Kind Code:
A1
Abstract:
A wireless charging system is configured to charge one or more receiver devices simultaneously. The wireless charging system includes multiple coils that may be driven independently based on a feedback system with one or more feedback channels. A coil drive circuit receives an input of a pulse width modulation (PWM) signal and outputs the coil driving signal to a corresponding coil. One of the feedback channels may be a voltage and/or current measurement of coil driving signals from the coils that are indicative of receiver device presences on the wireless charging system. Another of the feedback channels may be demodulated communication signals from the one or more receiver devices. The wireless charging system may use a machine learning algorithm to detect the one or more receiver devices and select which of the multiple coils to activate for charging the multiple coils.

Inventors:
ABAJIAN WILLIAM PAUL (US)
LAFFITTE JULES MARIE XAVIER (US)
MACDONALD JOHN (US)
NATARAJAN VISWAJIT (US)
SARLI CHRISTOPHER WILLIAM (US)
SHI LIXIN (US)
VANDER PLOEG JAKE LEE (US)
ZHU XIAOPING (US)
MEKKITTIKUL MARK HUAN (US)
Application Number:
PCT/US2020/024738
Publication Date:
October 22, 2020
Filing Date:
March 25, 2020
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
PI INC (US)
International Classes:
H01F27/28; H02J50/12
Foreign References:
US20150002087A12015-01-01
US20070085720A12007-04-19
US20070120543A12007-05-31
Attorney, Agent or Firm:
PATEL, Rajiv P. et al. (US)
Download PDF:
Claims:
WHAT IS CLAIMED IS:

1. A non-transitory computer readable storage medium comprising stored instructions to drive a coil of a charging system, the instructions when executed causing a microcontroller to:

determine target characteristics of a coil driving signal;

select a frequency and a duty cycle associated with a pulse width modulation (PWM) signal based on the target characteristics; and

generate the PWM signal based on the selected frequency and duty cycle to provide the generated PWM signal as an input to a half-bridge inverter, wherein the half-bridge inverter is configured to generate the coil driving signal and to provide the generated coil driving signal to the coil.

2. The computer readable storage medium of claim 1, wherein the target characteristics include a target frequency, a target amplitude, and a target phase.

3. The computer readable storage medium of claim 1, wherein the duty cycle is

determined based on a difference in a delay time of a rising edge of the PWM signal and a delay time of a falling edge of the PWM signal.

4. The computer readable storage medium of claim 3, wherein the duty cycle is further determined based on a target frequency of the coil driving signal.

5. The computer readable storage medium of claim 1, wherein the instructions to

generate the PWM signal further comprises instructions to:

determine the duty cycle;

compare the determined duty cycle to a predetermined threshold; and

update, responsive to the duty cycle being smaller than the predetermined threshold, the frequency to be a fraction of the frequency.

6. A non-transitory computer readable storage medium comprising stored instructions to drive a coil of a charging system, the instructions when executed causing a microcontroller to:

determine target characteristics of a coil driving signal;

generate a first pulse width modulation (PWM) signal based on a frequency and a duty cycle determined based on the target characteristics; and generate a second PWM signal based on the frequency and the duty cycle to provide the generated first PWM signal to a first half-bridge inverter and the generated second PWM signal to a second half-bridge inverter,

wherein the first half-bridge inverter and the second half-bridge inverter are configured to generate the coil driving signal and to provide the generated coil driving signal to the coil.

7. The computer readable storage of claim 6, wherein the duty cycle of the first PWM signal and the duty cycle of the second PWM signal are 50%.

8. The computer readable storage of claim 6, wherein the first PWM signal leads the second PWM signal by a phase offset.

9. The computer readable storage of claim 8, wherein the phase offset is based on a on a difference in a delay time of a rising edge of the first PWM signal and a delay time of a falling edge of the first PWM signal.

10. A coil drive circuit of a wireless charging system, the coil drive circuit comprising: a coil driver configured to receive a PWM signal and generate a sinusoidal coil

driving signal; and

a load switch connected to the coil driver, the load switch comprising:

a first transistor and a second transistor connected in series with a first coil; and

a third transistor and a fourth transistor connected in series with a second coil, wherein the load switch provides the coil driving signal to one of the first coil and the second coil based on a first gate driving signal and a second gate driving signal.

11. The coil drive circuit of claim 10, wherein the first transistor and the second transistor are simultaneously controlled by the first gate driving signal, and the third transistor and the fourth transistor are simultaneously controlled by the second gate driving signal.

12. The coil drive circuit of claim 10, wherein when the first gate driving signal is on, the second gate driving signal is off, and when the second driving signal is on, the first gate driving signal is off.

13. The coil drive circuit of claim 10, wherein while the first gate driving signal is on, the second gate driving signal is off, and while the second driving signal is on, the first gate driving signal is off.

14. The coil drive circuit of claim 10, wherein at most one of the first coil and the second coil is driven at a time.

15. The coil drive circuit of claim 10, wherein the coil driver includes a half-bridge

inverter.

16. The coil drive circuit of claim 10, wherein the coil driver includes a full-bridge

inverter.

17. The coil drive circuit of claim 10, wherein the first coil and the second coil are

overlapping.

18. A non-transitory computer readable storage medium comprising stored instructions to measure an amplitude and a phase of a signal of a coil driven at an operating frequency in a wireless charging system, the instructions when executed causing a microcontroller to:

select a first integer value and a second integer value, wherein the first integer value and the second integer value are coprime integers;

determine a ratio between the first integer value and the second integer value;

select a sampling frequency for sampling the signal, wherein a ratio between the sampling frequency and the operating frequency is same as the ratio between the first integer value and the second integer value;

sample the signal based on the selected sampling frequency to collect a plurality of signal samples;

calculate a value representative of the plurality of signal samples using a discrete

Fourier transform (DFT) performed based in part on the first integer value and the second integer value; and

determine the amplitude and the phase of the signal based on the Fourier value.

19. The computer readable storage medium of claim 18, wherein the signal is a voltage across the coil or a current through the coil.

20. The computer readable storage medium of claim 18, further comprising instructions to transmit the signal to an op-amp circuit, the op-amp circuit configured to modify the signal to be in a predetermined range compatible with an analog-to-digital converter used to sample the signal.

21. The computer readable storage medium of claim 18, wherein a number of samples in the plurality of signal samples corresponds to a multiple of the first integer.

22. The computer readable storage medium of claim 18, wherein a number of samples in the plurality of signal samples is less than the first integer.

23. The computer readable storage medium of claim 18, wherein the amplitude is a root mean square of a magnitude of the value.

24. The computer readable storage medium of claim 18, further comprising instructions to modify an amplitude of the signal to be within a predetermined range for the sampling prior to sampling the signal based on the selected sampling frequency.

25. A wireless charging system comprising:

a coil driven by a signal at an operating frequency to wirelessly transfer power to a receiver device;

a coil measurement circuit configured to measure an amplitude and a phase of the signal of the coil; and

a microcontroller configured to:

select a first integer value and a second integer value, wherein the first integer value and the second integer value are coprime integers;

determine a ratio between the first integer value and the second integer value; select a sampling frequency of the coil measurement circuit for sampling the signal, wherein a ratio between the sampling frequency and the operating frequency is same as the ratio between the first integer value and the second integer value;

receive, from the coil measurement circuit, a plurality of signal samples

collected by sampling the signal at the selected sampling frequency; calculate a value representative of the plurality of signal samples using a

discrete Fourier transform (DFT) performed based in part on the first integer value and the second integer value; and determine the amplitude and the phase of the signal based on the Fourier value.

26. The wireless charging system of claim 25, wherein the signal is a voltage across the coil or a current through the coil.

27. The wireless charging system of claim 25, wherein the signal is received by an op- amp circuit, the op-amp circuit configured to modify the signal to be in a predetermined range compatible with an analog-to-digital converter used to sample the signal.

28. The wireless charging system of claim 25, wherein a number of samples in the plurality of signal samples corresponds to a multiple of the first integer.

29. The wireless charging system of claim 25, wherein a number of samples in the plurality of signal samples is less than the first integer.

30. The wireless charging system of claim 25, wherein the amplitude is a root mean square of a magnitude of the value.

31. A demodulation circuit of a wireless charging system for demodulating a signal from a receiver device comprising:

a first scaling module configured to modify an amplitude of the signal;

a rectification module configured to rectify the signal from the first scaling module; a second scaling module, the second scaling module including a plurality of stages, wherein each stage is configured to modify the amplitude of the rectified signal; and

a comparator module configured to determine a state of the signal by comparing the amplitude of the signal from the second scaling module to a threshold value, wherein the signal corresponds to a first state when the amplitude is less than or equal to the threshold value and the signal corresponds to a second state when the amplitude is greater than the threshold value.

32. The demodulation circuit of claim 31, further comprising:

an integrator configured to determine an average amplitude of the rectified signal.

33. The demodulation circuit of claim 32, further comprising:

a controller configured to determine a gain for the first scaling module and for each stage of the second scaling module based in part on the average amplitude determined by the integrator.

34. The demodulation circuit of claim 31, further comprising:

a low pass filter configured to remove frequency above a cut-off frequency

associated with the low pass filter from the rectified signal.

35. The demodulation circuit of claim 31, wherein the signal is determined based on a current through a coil of the wireless charging system.

36. A wireless charging system comprising:

a coil configured to transmit power to a receiver device;

a demodulation circuit of a wireless charging system for demodulating the signal from the receiver device comprising:

a first scaling module configured to modify an amplitude of the signal,

a rectification module configured to rectify the signal from the first scaling module, a second scaling module, the second scaling module including a plurality of stages, wherein each stage is configured to modify the amplitude of the rectified signal, and

a comparator module configured to determine a state of the signal by comparing the amplitude of the signal from the second scaling module to a threshold value, wherein the signal corresponds to a first state when the amplitude is less than or equal to the threshold value and the signal corresponds to a second state when the amplitude is greater than the threshold value; and

a microcontroller configured to determine a byte representative of the demodulated signal from the demodulation circuit.

37. The wireless charging system of claim 36, wherein the signal is according to Qi protocol.

38. The wireless charging system of claim 36, wherein the signal is determined based on a current through the coil of the wireless charging system.

39. The wireless charging system of claim 36, wherein the demodulation circuit further comprises:

a controller configured to determine a gain for the first scaling module and for each stage of the second scaling module.

40. A method of demodulating a signal from a receiver device, comprising:

receiving the signal from the receiver device using a coil of a wireless charging

system;

applying a first gain to the signal;

responsive to applying the first gain, performing a rectification on the signal;

applying a second gain to the rectified signal;

responsive to applying the second gain, comparing the signal to a predetermined value to determine whether the signal is at a high level or at a low level; determining a byte representative of the signal based on the comparison, wherein a value of each bit in the byte is based on a number of transitions between the high level and the low level, wherein the bit corresponds to a predetermined time period; and

transmitting the byte to a controller of the wireless charging system configured to drive the coil for charging the receiver device.

41. The method of claim 40, wherein the signal is according to Qi protocol.

42. The method of claim 40, where in receiving the signal from the receiver device using a coil comprises measuring a current through the coil.

43. The method of claim 42, wherein the current through the coil is a function of a

receiver load of the wireless charging system.

44. The method of claim 40, wherein the first gain and the second gain are determined by the controller based in part on an average amplitude of the signal.

45. The method of claim 44, wherein the average amplitude is determined by an

integrator circuit.

46. The method of claim 40, wherein determining the byte representative further

comprises:

for each bit corresponding to a predetermined time period of the signal: determining the number of transitions based on a number of times the signal changes from the high level to the low level or from the low level to the high level,

responsive to determining that the number of transitions is one, decoding a zero for the bit, and

responsive to determining that the number of transitions is two, decoding a one for the bit.

47. The method of claim 46, wherein responsive to determining that the number

transitions is greater than two, updating the number of transitions by subtracting an even number of transitions with a spacing of less than a threshold duration.

48. The method of claim 47, wherein responsive to the updated number of transitions being greater than two, flagging the bit as an undecodable bit.

49. The method of claim 40, wherein the byte includes a parity bit, the parity bit

configured to ensure that a parity of the byte adds up to odd.

50. The method of claim 40, wherein the byte is one of a plurality of bytes of a packet, the packet including a checksum.

51. A computer-implemented method of training a machine-learned model configured to detect one or more receiver devices on a charging surface of a wireless charging system and output a subset from a plurality of coils of the wireless charging system for charging the one or more receiver devices comprising:

obtaining a training data set of desired charging configurations, the training data set includes a plurality of input data vectors associated with signals from the plurality of coils of the wireless charging system and a corresponding plurality of desired charging configurations that includes subsets of coils to be activated; and

training a set of parameters of the machine-learned model using the training data set of desired charging configurations, the training comprising repeatedly performing iterations of:

determining an estimated charging configuration by applying the machine- learned model with a set of parameters to an input data vector from the training data set, determining a difference between the estimated charging configuration and the desired charging configuration associated with the input data vector, and

updating the set of parameters of the machine-learned model to reduce the difference between the estimated charging configuration and the desired charging configuration associated with the input data vector.

52. The computer-implemented method of claim 51, wherein the signals from the

plurality of coils of the wireless charging system are based on a position of one or more receiver devices on the wireless charging system.

53. The computer-implemented method of claim 51, wherein the data vector is a

concatenation of data from each of the plurality of coils of the wireless charging system.

54. The computer-implemented method of claim 53, wherein the data vector includes a percentage of amplitude change in a current signal of each of the plurality of coils.

55. The computer-implemented method of claim 53, wherein the data vectors includes a phase change in a current signal of each of the plurality of coils.

56. The computer-implemented method of claim 51, wherein the plurality of coils of the wireless charging system are arranged in an array such that adjacent coils in the array overlap each other.

57. The computer-implemented method of claim 56, wherein a distance between a first coil and a second coil adjacent to the first coil is equal to an outer radius of the first coil and the second coil.

58. A non-transitory computer-readable storage medium storing computer program

instructions executable to perform operations for training a machine-learned model configured to detect one or more receiver devices on a charging surface of a wireless charging system and output a subset from a plurality of coils of the wireless charging system for charging the one or more receiver devices, the operations comprising: obtaining a training data set of desired charging configurations, the training data set includes a plurality of input data vectors associated with signals from the plurality of coils of the wireless charging system and a corresponding plurality of desired charging configurations that includes subsets of coils to be activated; and

training a set of parameters of the machine-learned model using the training data set of desired charging configurations, the training comprising repeatedly performing iterations of:

determining an estimated charging configuration by applying the machine- learned model with the set of parameters to an input data vector from the training data set,

determining a difference between the estimated charging configuration and the desired charging configuration associated with the input data vector, and

updating the set of parameters of the machine-learned model to reduce the difference between the estimated charging configuration and the desired charging configuration associated with the input data vector.

59. The computer-readable storage medium of claim 58, wherein the signals from the plurality of coils of the wireless charging system are based on a position of one or more receiver devices on the wireless charging system.

60. The computer-readable storage medium of claim 58, wherein the data vector is a

concatenation of data from each of the plurality of coils of the wireless charging system.

61. The computer-readable storage medium of claim 60, wherein the data vector includes a percentage of amplitude change in a current signal of each of the plurality coils.

62. The computer-readable storage medium of claim 60, wherein the data vectors includes a phase change in a current signal of each of the plurality of coils.

63. The computer-readable storage medium of claim 58, wherein the plurality of coils of the wireless charging system are arranged in an array such that adjacent coils in the array overlap each other.

64. The computer-readable storage medium of claim 63, wherein a distance between a first coil and a second coil adjacent to the first coil is equal to an outer radius of the first coil and the second coil.

65. A system comprising:

a processor; and

a non-transitory computer-readable medium comprising computer program

instructions that when executed by the processor of an online system causes the processor to perform steps comprising:

obtaining a training data set of desired charging configurations, the training data set includes a plurality of input data vectors associated with signals from the plurality of coils of the wireless charging system and a corresponding plurality of desired charging configurations that includes subsets of coils to be activated; and

training a set of parameters of the machine-learned model using the training data set of desired charging configurations, the training comprising repeatedly performing iterations of:

determining an estimated charging configuration by applying the

machine-learned model with the set of parameters to an input data vector from the training data set,

determining a difference between the estimated charging configuration and the desired charging configuration associated with the input data vector, and

updating the set of parameters of the machine-learned model to reduce the difference between the estimated charging configuration and the desired charging configuration associated with the input data vector.

66. The system of claim 65, wherein the signals from the plurality of coils of the wireless charging system are based on a position of one or more receiver devices on the wireless charging system.

67. The system of claim 65, wherein the data vector is a concatenation of data from each of the plurality of coils of the wireless charging system.

68. The system of claim 67, wherein the data vector includes a percentage of amplitude change in a current signal of each of the plurality of coils.

69. The system of claim 67, wherein the data vectors includes a phase change in a current signal of each of the plurality of coils.

70. The system of claim 67, wherein resonant frequencies of the plurality of coils of the wireless charging system are selected to minimize mutual coupling between coils.

Description:
COIL DRIVING IN WIRELESS CHARGING SYSTEM

CROSS-REFERENCE TO RELATED APPLICATIONS

[0001] The present application claims the benefit of U.S. Patent Application No.

16/777,763, which was filed January 30, 2020, U.S. Patent Application No. 16/777,768, which was filed January 30, 2020, U.S. Patent Application No. 17/777,777, which was filed January 30, 2020, U.S. Patent Application No. 16/777,780, which was filed January 30, 2020, and U.S. Provisional Patent Application No. 62/834,919, which was filed April 16, 2019. All of the above applications are hereby incorporated by reference in its entirety.

TECHNICAL FIELD

[0002] The disclosure relates to wireless charging systems, and more particularly to multi-coil wireless charging systems.

BACKGROUND

[0003] With growing popularity of wireless devices, efficient wireless charging system for simultaneously charging a variety of wireless devices (e.g., cellphone, tablet, speaker, watch, headphones, IoT device) is useful. Having a single wireless charging system that can simultaneously charge multiple devices eliminates the inconvenience of managing multiple chargers.

[0004] A wireless charging system may be configured to charge multiple wireless devices simultaneously. The wireless charging system may include a charging surface on which wireless devices are placed to be charged. The wireless charging system may provide high degree of flexibility in the positioning of the devices on the charging surface by allowing devices to be placed at any location on the charging surface instead of restricting it to a specific location. However, because devices may be placed at different locations on the charging surface, it is challenging to determine how to drive the wireless charging system efficiently for all possible device placements. Additionally, some users cover their devices with protective cases or attach accessories such as phone stands or card holders to the back of their devices, which increases the distance between the charging suface of the wireless charging system and the receiver coils in the devices. Inductive charging used by wireless charging systems is based on distance between transmission coils and receiver coils, and the increase in distance between the transmission coils and the receiver coils adds another challenge for wireless charging systems because the coupling between the coils grows weaker with distance. SUMMARY

[0005] A wireless charging system with multiple transmission coils allows for simultaneous charging of receiver devices by independently controlling each of the multiple transmission coils. The multiple transmission coils may be arranged in an array within the wireless charging system and each coil may be independently controlled by a coil drive system that outputs a driving signal to the coil. The driving signal may be selected based on target characteristics of the coil determined using a feedback system that includes one or more feedback channels. In some embodiment, a first feedback channel may be high precision measurements of voltage across the coils or current through the coils, and a second feedback channel may be communication signals from the receiver devices. Based on the first feedback channel and the second feedback channel, the wireless charging system determines how to drive a subset of the transmission coils for charging one or more receiver devices on the wireless charging system. The wireless charging system may detect the one or more receiver devices to be charged and select the subset of transmission coils for charging the detected one or more receiver devices, for example, using a machine learning algorithm.

BRIEF DESCRIPTION OF THE DRAWINGS

[0006] Figure (FIG.) 1 is a system diagram of a wireless charging system, in accordance with an embodiment.

[0007] FIG. 2 is a system diagram of a microcontroller and a coil driving module of FIG. 1, in accordance with an embodiment.

[0008] FIG. 3 A is a first example of a coil drive circuit, in accordance with an

embodiment.

[0009] FIG. 3B is a second example of a coil drive circuit including a load switch, in accordance with an embodiment.

[0010] FIG. 4 is a third example of a coil drive circuit, in accordance with an

embodiment.

[0011] FIG. 5 is a flowchart illustrating a process of driving a coil, in accordance with an embodiment.

[0012] FIG. 6 is is an example of a coil measurement circuit, in accordance with an embodiment.

[0013] FIG. 7 is a flowchart illustrating a process of performing digital processing on samples of a signal from a coil, in accordance with an embodiment. [0014] FIG. 8 is an example encoding of a communication signal in a receiver device, in accordance with an embodiment.

[0015] FIG. 9 is a block diagram of a circuit for demodulating a signal from a receiver device, in accordance with an embodiment.

[0016] FIG. 10 is a flowchart illustrating a process of demodulating a signal from a receiver device, in accordance with an embodiment.

[0017] FIG. 11 is an example layout of multiple coils in a wireless charging system, in accordance with an embodiment.

[0018] FIG. 12 is a block diagram of a pulse width modulation (PWM) control system, in accordance with an embodiment.

[0019] FIG. 13 illustrates an example process of deploying a classification model for receiver device detection, in accordance with an embodiment.

[0020] FIG. 14 illustrate a flowchart illustrating a process of training a machine-learned model, in accordance with an embodiment.

[0021] The figures depict various embodiments for purposes of illustration only. One skilled in the art will readily recognize from the following discussion that alternative embodiments of the structures and methods illustrated herein may be employed without departing from the principles described herein.

DETAILED DESCRIPTION

[0022] The language used in the specification has been principally selected for readability and instructional purposes, and it may not have been selected to delineate or circumscribe the patent rights. It is therefore intended that the scope of the patent rights be limited not by this detailed description, but rather by any claims that issue on an application based hereon.

Accordingly, the disclosure of the embodiments is intended to be illustrative, but not limiting, of the scope of the patent rights, which is set forth in the following claims.

CONFIGURATION OVERVIEW

[0023] A wireless charging system for charging one or more receiver devices includes a plurality of coils, where each coil is driven independently. Each coil receives a coil driving signal from a coil drive circuit, and the coil driving signal is generated based on target characteristics such as a target frequency, a target amplitude, and a target phase. Based on the target characteristics, a frequency and a duty cycle is determined for a pulse width modulation (PWM) that is provided as an input to a circuit that generates the coil driving signal as an output to a coil. The circuit may include a half-bridge inverter or a full-bridge inverter.

[0024] The wireless charging system may use a first feedback channel in detecting receiver devices. One of the feedback channels may be based on measurements of a signal in a coil of the plurality of coils made using an analog to digital converter (ADC). The sampling speed and digital Fourier transform size for the measurements is selected to avoid collisions of harmonic signals.

[0025] Another of the feedback channels may be demodulated communication signals from receiver devices being charged by the wireless charging system. The communication signals may be according to Qi standards. The current in the coils of the wireless charging system is a function of receiver load in the receiver devices, and the receiver devices encode the communication signals by varying the receiver load (e.g., by turning a switch that changes the receiver load ON and OFF). The wireless charging system analyzes the current in the coils of the wireless charging systems and demodulates the communication signals based on changes in the current. The wireless charging system further performs error correction on the demodulated communication signals for improving accuracy.

[0026] The wireless charging system detects one or more receiver devices and determines which subset of the plurality of coils to activate for charging the detected one or more receiver devices. The wireless charging system may use a machine learning algorithm to determine the subset of coils. The machine learning algorithm receives an input data vector based on signals from the plurality of coils and identifies a charging configuration based on the input data vector. The charging configuration identifies the subset of coils to be used in charging the one or more receiver devices.

OVERVIEW OF WIRELESS CHARGING SYSTEM

[0027] Referring now to Figure (FIG.) 1, shown is a system diagram of a wireless charging system 100 in accordance with an example embodiment. The wireless charging system 100 includes an AC/DC adaptor 105 that is connected to a power management module 110. The AC/DC adaptor 105 is connected to an external power source 155 (e.g., wall plug) and converts alternating current (AC) from the external power source 155 into direct current (DC) for powering modules in the wireless charging system 100. Using the DC output from the AC/DC adaptor 105, the power management module 110 supplies power to a WiFi module 115, user interface (UI) module 120, a thermal control module 125, a microcontroller 130, a coil driving module 135, a universal serial bus (USB) module 140 of the wireless charging system 100, and a storage 145. It is noted that in alternative

embodiments, different and/or additional components may be included in the system.

[0028] The WiFi module 115 connects with a data cloud for additional control and analytical functionalities that may not be performed by a less sophisticated microcontroller 130 that has limited computing power. The WiFi module 115 may include a WiFi controller that manages communication between the microcontroller 130 and the cloud. The WiFi module 115 may connect to the cloud via a WiFi antenna.

[0029] The UI module 120 manages interactions between a user and the wireless charging system 100 by receiving signals from a user and sending the signals to the microcontroller 130 and receiving signals from the microcontroller 130 and sending the signals to the user. The UI module 120 may include input hardware such as a button, a switch, a microphone, a touch interface, and the like that the user may interact with to provide input to the microcontroller 130. The wireless charging system 100 may also include output hardware such as LEDs, a speaker, a display screen, and the like to communicate a message to the user. For example, the UI module 120 may cause a light emitting diode (LED) to be in a state to flash or remain in a green light when charge is complete for a device connected to the wireless charging system 100, be in a state to flash or remain in a red light when charging, and be in a state to blink rapidly in a red light when there is an error.

[0030] The thermal control module 125 monitors temperature of the wireless charging system 100 to ensure safe operating conditions for the wireless charging system 100. The thermal control module 125 may include temperature monitoring sensors such as thermistors to determine when a temperature of the wireless charging system 100 exceeds a threshold that represents a safe temperature for the wireless charging system 100. The thermistors may be connected to the microcontroller 130, and the microcontroller 130 determines the temperature of the wireless charging system 100 based on resistance in the thermistors. The thermal control module 125 may include a fan controlled by the microcontroller 130. When the microcontroller 130 determines that the temperature exceeds the threshold, the

microcontroller 130 may activate the fan until the temperature returns to below the safe threshold.

[0031] The microcontroller 130 may be configured to automatically control the WiFi module 115, UI module 120, the thermal control module 125, the coil driving module 135, and the USB module 140. The microcontroller 130 may be an integrated circuit chip with one or more central processing units (CPUs), memory, and input/output ports that provides instructions to its connected modules. The microcontroller 130 can be any controller or processor for executing program instructions which include states. The instructions may be stored in a machine-readable medium. The instructions may also reside, completely or at least partially, within a memory within the microcontroller 130 or stored in a cloud and transmitted to the microcontroller 130 over a network.

[0032] The coil driving module 135 includes a coil that charges a receiver device 150A using wireless power transfer and a control system for the coil. The coil driving module 135 measures voltage and current signals in the coil to detect the receiver device 150A that is on a charging surface of the wireless charging system 100 and provides the voltage and current signals to the microcontroller 130. The microcontroller 130 determines how to control the coil for effectively transferring power to the detected receiver device 150A based on the received signals. The coil driving module 135 and the microcontroller 130 operate as a dynamic feedback system for charging the receiver device 150A. The interaction between the coil driving module 135 and the controller 130 is described in detail below with respect to FIG. 2. Although not shown in FIG. 1, the wireless charging system 100 may include a plurality of coils for wirelessly charging one or more devices. In some embodiments, there may be a separate coil driving module 135 for each of the plurality of coils. In other embodiments, there may be a coil driving module 135 that controls one or more coils.

[0033] The USB module 140 includes USB-standard circuits to deliver power to a receiver device 150B using one or more USB cables. In addition to wirelessly charging devices, the USB module 140 allows the wireless charging system 100 to charge additional devices that may not be compatible with wireless power transfer or when there is a maximum number of devices on the charging surface of the wireless power transfer method. The USB module 140 may include a data line for data transfer, e.g., firmware updated for the wireless charging system 140.

[0034] The storage 145 includes a machine-readable medium on which is stored instructions embodying any one or more of the methodologies or functions described herein. The instructions (e.g., software) may also reside, completely or at least partially, within a memory in the microcontroller 130 or within a cloud and transmitted over a network. The term“machine-readable medium” can include a single medium or multiple media (e.g., a centralized database, or associated caches and servers) able to store instructions. The term “machine-readable medium” should also be taken to include any medium that is capable of storing instructions for execution by a machine and can cause the machine to perform any one or more of the methodologies disclosed herein. EXAMPLE MICROCONTROLLER AND COIL DRIVING MODULE

[0035] FIG. 2 is a system diagram of a microcontroller 130 and a coil driving module 135 of FIG. 1, in accordance with an example embodiment. Although FIG. 2 focuses on interactions between the microcontroller 130 and the coil driving module 135, the

microcontroller 130 is connected to additional modules and controls the additional modules as shown in FIG. 1. Additionally, FIG. 2 only shows an interaction between one coil driving module 135 and the microcontroller 130. However, the wireless charging system 100 may include an array of coils, and each coil in the array may be driven by a different coil driving module 135. The plurality of coil driving modules 135 are controlled by the microcontroller 130. In alternative embodiments, different and/or additional components may be included in the microcontroller 130 and/or the coil driving module 135 and more than one receiver device 150A may be connected to the coil driving modules 135.

[0036] The microcontroller 130 includes a pulse width modulation (PWM) controller system 205, a PWM generator 210, a first analog to digital converter (ADC) 215, and a second ADC 220. The microcontroller 130 is connected to the coil driving module 135 that includes a coil drive circuit 225, a coil 230, a coil measurement circuit 235, and

communication demodulation circuit 240. Based on positions of the receiver devices 150A on the charging surface of the wireless charging system 100, the microcontroller 130 selects a subset of coils 230 to send driving signals to. The selected subset of coils 230 are supplied with a PWM signal to wirelessly charge the receiver devices 150A using inductive charging. The microcontroller 130 and the coil driving module 135 form a feedback control system for selecting a particular subset of coils 230 in the wireless charging system 100 and providing signals to the selected coils 230. In alternative embodiments, the PWM controller system 205 and the ADCs (e.g., first ADC 215 and the second ADC 220) may be external to the microcontroller 130 and are controlled by the microcontroller 130.

[0037] The coil drive circuit 225 receives a PWM waveform from the PWM generator 210 and generates a voltage signal for driving the coil 230. The coil measurement circuit 235 measures amplitudes and phases of voltage and a current in the coil 230 and the

measurements are provided to a first ADC converter 215 of the microcontroller 130 and fed into the PWM control system 205 as an input to a control algorithm that determines how to select a PWM signal to be generated by the PWM generator 210.

[0038] The coil driving module 135 also includes a communication demodulation circuit 240 that demodulates signals from the receiver device 150A by analyzing changes in current running through the coil 230. The current in the coil 230 is a function of load in the receiver device 150A, and the load varies based on communication signal. By monitoring the change in current in the coil 230, the communication signal from the receiver device 150A can be demodulated. The communication demodulation circuit 240 receives the current from the coil 230 for demodulation and the demodulated signal is sent to the second ADC 220. Once the ADC 220 converts the demodulated signal in alternating current (AC) form into direct current (DC) form, the demodulated signal is provided as an input to the PWM control system 205 for driving the coils 230 to use in charging the receiver device 150A. In other embodiments, the communication demodulation circuit 240 may analyze changes in voltage across the coil 230 instead of current or in addition to current.

EXAMPLE COIL DRIVE CIRCUIT

[0039] The coil drive circuit 225 is connected to the PWM generator 210 that supplies a PWM waveform to the coil drive circuit 225. Given a target operating frequency f op , a target RMS voltage amplitude V, and a target phase Q, the coil drive circuit 225 outputs a voltage waveform Vres to the coil 230. The coil drive circuit 225 may be a DC to AC inverter that outputs the sinusoidal voltage waveform Vres used by the coil 230 for generating power for charging the receiver device 150A. The coil drive circuit 225 receives a DC power source Vdd from the power management module 110.

[0040] One possible approach for implementing the coil drive circuit 225 is to use a two- stage inverter design. A first stage may be a DC to DC converter that determines the amplitude V of the voltage waveform Vres, and a second stage may be a DC to AC inverter for controlling the frequency f op. However, this approach requires a complex circuit structure, which can be expensive for implementing. Instead, simpler circuit structures such as a half-bridge inverter or a full-bridge inverter may be used instead to reduce the circuit complexity and cost. Despite using simpler circuit structures, the coil drive circuit 225 may achieve a same range and flexibility of control as using the two-stage inverter design by selecting the appropriate control signals. The half-bridge inverter approach is described below with respect to FIGS. 3 A and 3B, and the full-bridge inverter approach is described with respect to FIG. 4.

[0041] FIG. 3 A is a first example of a coil drive circuit 225, in accordance with an embodiment. The coil drive circuit 225 includes a half-bridge driver 360 that controls a first transistor 350A and a second transistor 350B. The coil drive circuit 225 may be a half-bridge inverter that includes a buffer 330 connected to a first deadtime control circuit 310A that connects to a gate driver 320. The PWM waveform is passed through the buffer 330 and the first deadtime control system 310A and provided to the gate driver 320 as a first input. The coil drive circuit 225 also includes an inverter 340 connected to a second deadtime control system 310B that connects to the gate driver 320. The PWM waveform is passed through the buffer 330 and the second deadtime control circuit 310B and provided to the gate driver 320 as a second input. The gate driver 320 provides a first gate signal to the first transitor 350A and a second gate signal to the second transistor 350B.

[0042] The PWM waveform is a discrete signal that switches between an on state and an off state at a frequency f pw m, and a proportion of a time that the PWM waveform is at the on state and a time that the PWM waveform is at the off state during a period is controlled by a duty cycle q pw m. To control the output voltage waveform Vres for driving the coil 230, the frequency f pw m, the duty cycle q pw m, and the phase cp pwm of the PWM waveform that is provided to the coil drive circuit 225 is selected based on target characteristics of the voltage waveform Vres. The target characteristics may include the target operating frequency f op , the target RMS voltage amplitude V, and the target phase Q.

[0043] In some embodiments, the frequency of the PWM waveform f pw m is set to be

fpw M = fo p (Equation 1) and the duty cycle q pw m of the PWM waveform is set to be (Equation 2) where x dr is the delay time of the rising edge of the output waveform, and r d f is the delay time of the falling edge.

[0044] The phase of the center of the PWM waveform <p pwm is set to be the target phase Q of Vres, or the phase of the rising edge of the PWM waveform is set to be

(Equation 3)

[0045] In some embodiments, when the target frequency f op is high, a duration of turn-on time (e.g., time at which the PWM waveform is at the on state) is too short for the coil control circuit 225 if the frequency of the PWM waveform f pwm is set to be equal to the target frequency f op . To effectively charge the receiver device 150A, frequency of the PWM waveform f pw m is set to be a fraction of the target frequency f op , such that the frequency of the PWM waveform f pw m is equal to the target frequency f op divided by an integer n (i.e., the target frequency f op is a harmonic frequency of† PWM )· Setting the frequency of the PWM waveform f pw m to be a lower frequency value increases the duration of turn-on time and improves the performance of the coil control circuit 225 by providing a higher resolution in controlling the target RMS voltage amplitude V of Vres. Additionally, there are lower switching losses from the first transitor 350A and the second transistor 350B.

[0046] To determine whether to set the frequency of the PWM waveform to be equal to the target frequency f op or to be equal to a fraction of the target frequency, the PWM control system 205 may first calculate the duty cycle p Pwm according to Equation 2. The calculated duty cycle p Pwm is compared to a predetermined threshold value, and if the calculated duty cycle r| P wm is smaller than the threshold value, the PWM control system 205 determines that the frequency of the PWM waveform f pw m should be a fraction of the target frequency f op . The predetermined threshold value may be determined by implementation limitations and other design requirements, for example, the minimum turn-on time of the gate driver 320, or limit on electromagnetic radiations as narrow pulses generate higher harmonic components. In some embodiments, the maximum frequency of the target frequency f op may be a second harmonic of the target frequency f op.

[0047] The target frequency f op is selected to be the n-th harmonic of f PWM when the following condition is satisfied:

[0048] When f op is the n- th harmonic, such that

fpw M n = f op (Equation 5) the duty cycle h pwm n is set to be (Equation 6)

[0049] The phase of the center of the PWM waveform f pw m n is set to be the target phase Q of Vres, or the phase of the rising edge of the PWM waveform f pw m n is set to be (Equation 7)

[0050] When the value of ?7 pW m_n is small, for example, when y- is less than 0.4, ?7p Wm n can be approximated as h pwm n ~ Vpwm- Otherwise, the approximation does not hold, and to use a high harmonic frequency as the target frequency f op of Vres to drive the coil 230, the duty cycle h r n7h has to be increased. This prevents the target frequency from f op from being arbitrarily high. [0051] FIG. 3B is a second example of a coil drive circuit including a load switch, in accordance with an embodiment. In the first example discussed with respect to FIG. 3 A, each coil drive circuit 225 drives a single coil. However, because the wireless charging system 100 drives a subset of coils 230 at a given time instead of driving all of the coils 230 at the same time, a coil drive circuit 225 may configured to drive a plurality of coils 230 using a load switch. The load switch may allow the coil drive circuit 225 to switch between driving different coils 230 connected to the coil drive circuit 225. For example, the wireless charging system 100 may include M coils 230, but only N coils 230 may be turned on at any given time, where N<M. Given these conditions, a cross-bar system may be created between the coil drive circuits 225 and the coils 230. The load switch may be added to pairs of drivers and coils, wherever appropriate.

[0052] In the wireless charging system 100, there are a plurality of coils 230 for charging a plurality of receiver devices 150A. Depending on parameters such as a number of detected receiver devices 150A and positions of the detected receiver devices 150A, the wireless charging system 100 drives a particular subset of coils 230 for charging the detected receiver devices 150A. When the plurality of coils 230 are arranged to overlap each other or arranged to be in proximity to each other within the wireless charging system 100, there can be unwanted induced current due to cross-talk between neighboring coils, which can lead to lowered efficiency due to undesirable power loss as well as inaccurate communication signals. For example, the wireless charging system 100 may detect a receiver device and select a first coil for charging the detected device. When the wireless charging system 100 drives the first coil, current through the first coil may induce current in a neighboring second coil that is not intended to be driven for charging the detected device. In some embodiments, to avoid the unwanted cross-talk, induced current may be suppressed using a load switch that turns off coils that are not being driven by a coil drive circuit 225. The addition of the load switch can improve efficiency and accuracy in communication signal detection.

[0053] In the second example shown in FIG. 3B, the coil drive circuit 225 includes a load switch 370 that drives a first coil 230A and a second coil 230B. In some embodiments, the first coil 230 A and the second coil 230B may be overlapping. In some embodiments, the first coil 230A and the second coil 230B may be concentric coils with different diameters.

Depending on the position of the receiver device 150A on the charging surface of the wireless charging system 100, coils of different diameters may be selected for charging the receiver device 150A to optimize power delivery efficiency. In the embodiment shown in FIG. 3B, there are two coils connected to the coil drive circuit 225, but in other embodiments, there may be more than two coils. The half-bridge driver 360 receives a PWM waveform from the PWM generator 210 and controls the first transistor 350 A and the second transistor 350B. The load switch 370 is connected to a node between the first transistor 350A and the second transistor 350B. The load switch 370 introduces back to back transistors in series between the node and the coils 230A and 230B, which effectively blocks induced current from flowing through a coil that is not being driven.

[0054] The load switch 370 includes a third transistor 372A and a fourth transistor 372B connected to the first coil 230A and includes a fifth transistor 372C and a sixth transistor 372D connected to the second coil 230B. The third transistor 372A and the fourth transistor 372B connected to the first coil 230A are in a first branch of the load switch 370, and the fifth transistor 372C and the sixth transistor 372D connected to the second coil 230B are in a second branch parallel to the first branch. The third transistor 372A and the fourth transistor 372B are connected to a first gate driving signal Gl, and the fifth transistor 372C and the sixth transistor 372D are connected to a second gate driving signal G2. Although not shown in Fig. 3B, the first gate driving signal Gl and the second gate driving signal G2 may be generated by the microcontroller 130 and provided to the respective transistors. The first gate driving signal Gl and the second gate driving signal G2 are generated such that when one of the driving signals is on, the other driving signal is off. Although both of the driving signals may be off at the same time, both of the driving signals cannot be on at the same time.

[0055] In some embodiments, the first coil 230A is connected in series with a first capacitor CA, and the combination of the first coil 230 A and the first capacitor CA forms a LC filter. The first coil 230 A and the first capacitor CA are selected such that the resonant frequency of the LC filter is similar to (e.g., within 10% of) or equal to a switching frequency of the first transistor 350A and the second transistor 350B. When the resonant frequency condition is met, an AC current is produced in the first coil 230A and the first capacitor CA, and the AC current generates a magnetic field when passing through the first coil 230 A. Similarly, the second coil 230B may be connected in series with a second capacitor CA, and the combination of the components may be selected such that their resonant frequency is similar to or equal to the switching frequency of the first transistor 350A and the second transistor 350B.

[0056] FIG. 4 is a third example of a coil drive circuit 225, in accordance with an embodiment. In the third example, the coil drive circuit 225 is a full-bridge inverter that includes a first half-bridge 410 and a second half-bridge 420. The first half-bridge 410 and the second half-bridge 420 receive a DC power source Vdd from the power management module 110. Although not shown, similar to the second example, the coil drive circuit 225 including the full-bridge inverter may include a load switch and be configured to drive more than one coil.

[0057] The first half-bridge 410 receives PWM waveform A and the second half-bridge 420 receives PWM waveform B. PWM waveform A and PWM waveform B are generated by the PWM generator 210 based on instructions from the PWM control system 205. The duty cycles of both PWM waveform A and PWM waveform B may be set to be 50%. PWM waveform A and PWM waveform B may have a phase offset of a degrees in between, such that PWM waveform A leads PWM waveform B by a degree, or vice versa. Across the first half-bridge 410 and the second half-bridge 420, the coil drive circuit 225 outputs the voltage waveform Vres.

[0058] To control the target operating frequency f op , the target amplitude V, and the target phase Q of the output voltage wave form Vres, the frequency of PWM waveform A and PWM waveform B may be set to be equal to the target operating frequency f op according to Equation 1. The phase offset of a between PWM waveform A and PWM waveform B is set to

a = 2 arcsin (Equation 8)

where x dr is the delay time of the rising edge of the voltage waveform Vres, and r d f is the delay time of the falling edge of the voltage waveform Vres. The phase of the rising edge of LH PWM to be (Equation 9)

[0059] FIG. 5 is a flowchart illustrating a process 500 of driving a coil, in accordance with an example embodiment. The coil is in a wireless charging system that provides wireless power tranfer to a receiver device. To drive the coil, the wirelesss charging system determines 510 target characteristics of a coil driving signal. The wireless charging system selects 520 a frequency and a duty cycle associated with a pulse width modulation (PWM) signal based on the target characteristics. Based on the selected frequency and duty cycle, the wireless charging system generates 530 the PWM signal. The generated PWM signal is provided 540 as an input to a half-bridge inverter, the half-bridge inverter configured to generate the coil driving signal. The generated coil driving signal is provided 550 to the coil. EXAMPLE FEEDBACK SYSTEM

[0060] As shown in FIG. 2, the feedback system between the microcontroller 130 and the coil driving module 135 includes two feedback channels. In a first feedback channel, measurements from the coil measurement circuit 235 is provided to the first ADC 215. The first feedback channel is discussed in detail with respect to FIGS. 6 and 7. In a second feedback channel, communication signal from the receiver device 150A is determined by the communication demodulation circuit 240 and provided to the second ADC 220. The communication signal may be according to a communication protocol such as the Qi standard. The second feedback channel is discussed in detail with respect to FIGS. 8-10. Signals from the first ADC 215 and the second ADC 220 are used by the PWM control system 205 to generate a PWM signal in the PWM generator 210 used to drive coils 230 that charge the receiver devices 150A.

EXAMPLE HIGH-PRECISION MEASUREMENT SYSTEM

[0061] The wireless charging system 100 measures amplitudes and phases of voltage across and current going through the coils 230 and uses the measurements as the first feedback channel. When a receiver device 150A is placed in close proximity of the coils 230, the receiver device 150A loads the coils 230 and causes a change in the voltages and currents of the coils 230. By monitoring the change in the voltages and the currents of the coils 230, the wireless charging system 100 can detect and track the receiver device 150A. The wireless charging system 100 may make measurements of the amplitude and phase of the voltage and current at predetermined intervals (e.g., every 50ms) and use the change in the measurements of the coils 230 to detect the presence of one or more receiver devices 150A. As described with respect to FIGS. 12-14, the measurements may be provided as an input to a machine learning algorithm to determine a number of receiver devices 150A, a position of the receiver devices 150A on the charging surface of the wireless charging system 100, and a subset of coils in the wireless charging system 100 to activate to charge the detected receiver devices 150A. Once the subset of coils to activate is determined, the PWM control system 205 may determine how to drive the subset of coils such that the detected receiver devices 150A may charge the identified receiver devices 150A efficiently.

[0062] To reduce costs of manufacturing the wireless charging system 100, a low speed ADC (e.g., the first ADC 215) may be used. However, the AC signals in the coils 230 may be high speed signals, and the low speed ADC may not be able to obtain sufficient samples needed to collect accurate measurements. When there may not be enough samples per period due to undersampling in the time domain, there is aliasing in the frequency domain that causes multiple frequency components to overlap on top of each other. When there is aliasing, it may be impossible to separate the different frequency components and accurately reconstruct the overlapping frequency components. However, because the operating frequency f op of the coils 230 are known, a digial signal selection algorithm may be used to select an ADC sampling speed f s and a discrete Fourier transform (DFT) size N to avoid collisions of harmonic signals. This allows the microcontroller 130 to make high-precision measurements of signals in the coils 230 despite limitations in the ADC.

[0063] FIG. 6 is is an example of a coil measurement circuit 235, in accordance with an example embodiment. The coil measurement circuit 235 translates the input voltage Vin from the coil 230 into an output voltage Vout that is compatible with the first ADC 215. The coil measurement circuit 235 filters, biases, and scales the input voltage Vin for the first ADC 215. The output voltage Vout is then provided as input to the first ADC 215 to be sampled.

[0064] In some embodiments, the coil measurement circuit 235 includes an operational amplifier (op-amp) 605 that is connected to the input voltage Vin as an inverting input (-) through a first resistor Rl. The coil measurement circuit 235 includes an active low pass filter that is implemented by connecting a second resistor R2 and a first capacitor Cl in parallel across the inverting input and the output voltage Vout. The non-inverting input (+) is connected to ground through a first resistor Rl and connected to a reference voltage Vref through a parallel network of a second voltage R2 and a first capacitor Cl. At the output of the op-amp 605, a third resistor R3 and a second capacitor C2 are connected in series. The output voltage Vout is measured across the second capacitor C2.

[0065] The following equation represents the output voltage Vout at frequency w,

(Equation 10)

If w is far below the cut-off frequency of the low pass filter, the output voltage Vout may be approximated as,

(Equation 11)

[0066] The coil measurement circuit 235 provides the output voltage Vout to the first ADC 215. The first ADC 215 samples the output voltage Vout and converts the analog signal to a digital signal. [0067] For the following embodiments of the digial signal selection algorithm, the relationship between the sampling frequency f s and the operating frequency f op of the coil 230 is defined as

where gcd (a, b) = 1 (Equation 12)

Because the clock of the first ADC 215 and the clock of the PWM control system 205 used to generate the signal in the coil 230 are from a same crystal or oscillator driving the

f

microcontroller 130, the relationship of— is a rational number. Then, the DFT size N is fop selected to be a multiple of b. When the DFT size N is not a multiple of b, the operating frequency f op does not have an integer index after performing the DFT. After performing the DFT, the k-th harmonic of the operating frequency f op collides with k+b, k+2b, ... k+nb, where n is an integer value greater or equal to 1.

[0068] In a first embodiment, the sampling frequency f s of the first ADC 215 is selected out of all the discrete sampling speed options of the first ADC 215. The sampling frequency f s is defined by: f s = argmax j b; where gcd( (Equation 13)

where gcd is a function representing the greatest common divisor of two integers.

[0069] By choosing the sampling frequency f s according to Equation 13, the operating frequency f op of the coil 230 collides with harmonics with indices as large as possible with intensities as small as possible. This results in minimal distortion to the operating frequency fo P .

[0070] After selecting the sampling frequency f s , a DFT size of N is selected to be the biggest multiple of b that is allowed by memory size and computational power of the microcontroller 130 used for performing the DFT. Based on the selected DFT size N, the first ADC 215 samples the output voltage Vout and collects N samples (a 0 , a 1 ... , < - ! }· [0071] The Fourier value c is determined by performing DFT on the N samples (Equation 14)

The RMS amplitude and phase of the output voltage Vout are calculated:

V RMS = 2 I c I (Equation 15) q = zc (Equation 16)

[0072] The first embodiment discussed above requires the DFT size N to be a multiple of b , which can be impractical as b can be a large value that exceeds a maximum DFT size limited by memory size and computational power of the microcontroller 130.

[0073] In a second embodiment of the digial signal selection algorithm, the DFT size N is selected to be less than b. However, when the DFT size N is less than b, the digital signal selection algorithm is sensitive to windowing effect and can result in spectral leakage.

Therefore, the DFT size N is selected to be less than a maximum DFT size Nmax of the first ADC 215 while minimizing the windowing effect.

[0074] First, a frequency index k is defined by: (Equation 18)

The frequency index k may be an integer or a non-integer.

[0075] When the frequency index & is a non-integer value, the frequency spectrum is convolved with a sine function. The sine function is zero at each integer point and reaches local maxima at halfway between adjacent integers (e.g., an integer plus 0.5), and to minimize windowing effect when performing the DFT, the fractional part of k kfrac needs to be minimized. The fractional part of k kfrac is defined by:

0.5

0.5 ( Ec l uatlon 19 )

The smallest k^ rac of ^ is achieved when aN º 1 ( mod b )

2

and the second smallest kfrac of - is achieved when aN º 2 (mod b )

and the i-th smallest kfrac of - b is achieved when aN º i (mod b )

Therefore, the DFT size N that is less than the maximum DFT size Nmax is selected to minimize kfrac. Given the DFT size N, the sampling frequency f s is selected from all discrete sampling speed options based on the following: f s = argmax ( (¾g * dWl)) ; ~ a = jC «here ged (a. b) = 1 ] (Equation 20) [0076] The first ADC 215 is used to perform a sampling of the output voltage Vout and collect N samples {a 0 , a 1 ... , a N-1 }. The Fourier value c, the RMS amplitude VRMS , and the phase Q are determined based on Equations 14, 15, and 16, respectively.

[0077] In a third embodiment, an ADC parameter A is calculated for selecting the sampling frequency f s of the first ADC 215. For each possible sampling frequency f s of the first ADC 215, the following is determined:

where gcd (a, b) = 1 (Equation 12)

If b is less than maximum DFT size N max , the DFT size N is set to

N = N max - (N max mod b ) (Equation 21)

Otherwise, if b is greater or equal to the maximum DFT size Nmax, the DFT size N is calculated by determining the inverse of a modulo b. First, the value of Ni is determined by:

N ± = a -1 mod b (Equation 22)

[0078] Starting with integer i = 1, iterations of the following is performed by incrementing i.

Ni = iN- mod b (Equation 23)

If Ni < N max , the DFT size N is set to Nmax, and the loop is broken. Otherwise, i is incremented, and the Niis recalculated for the new i value. Based on the determined N, the ADC parameter A is calculated by:

A =— gcd—(—a,gcd( ;—W,fc—)) (Equation 24) J

[0079] The operating frequency f op collides with harmonics 1+A, 1+2A, 1+3 A... The sampling frequency f s is determined such that A is maximized from all possible ADC parameter A calculated above. After selecting the sampling frequency/ s , a discrete Fourier transform (DFT) size of N is selected to be the biggest multiple of b that is allowed. Based on the selected DFT size N, the first ADC 215 samples the output voltage Vout and collects N samples (a 0 , a lt ... , a«-i} · The Fourier value c, the RMS amplitude VRMS, and the phase Q are determined based on Equations 14, 15, and 16, respectively.

[0080] FIG. 7 is a flowchart illustrating a process of performing digital processing on samples of a signal from a coil, in accordance with an embodiment. A wireless charging system measures an amplitude and a phase of a signal of a coil driven at an operating frequency. The wireless charging system selects 710 a first integer value and a second integer value, where the first integer value and the second integer value are coprime integers. Based on the first integer value and the second integer value, the wireless charging system determines 720 a ratio between the first integer value and the second integer value. The wireless charging system selects 730 a sampling frequency for sampling the signal, where a ratio between the sampling frequency and the operating frequency is same as the ratio between the first integer value and the second integer value. After selecting the sampling frequency, the wireless charging system samples 740 the signal at the selected sampling frequency.

EXAMPLE COMMUNICATION SIGNAL DEMODULATION SYSTEM

[0081] The wireless charging system 100 demodulates communication signals from the receiver device 150A using the communication demodulation circuit 240. In some embodiments, the receiver device 150A communicates with the wireless charging system 100 according to Qi communication protocol. The communication demodulation circuit 240 allows the wireless charging system 100 to demodulate the communication signals despite noisy conditions and interferences from multiple receiver devices 150A being connected to the wireless charging system 100. Because the wireless charging system 100 may charge multiple receiver devices at the same time, accurate communication signal detection for each of the receiver devices is important for effectively charging the receiver devices 150A. The communication signal may encode characteristics of the receiver devices such as a state of charge in a battery, power required to successfully charge the receiver device, amount of power being received at the receiver device, erroneous state of the receiver, and cell voltage of the battery. The communication signal is provided to the PWM control system 205 as a feedback channel such that the PWM control system 205 may drive the coils 230 for charging the receiver devices 150A.

[0082] FIG. 8 is an example encoding of a communication signal in a receiver device, in accordance with an example embodiment. The receiver device 150A includes a switch that changes the load of the receiver device 150A depending on which state the switch is at (e.g., ON state or OFF state). Since the current in the coil 230 of the wireless charging system 100 is a function of the load of the receiver device 150A, the switch state of the receiver device 150A may be determined by analyzing the current in the coil 230. Communication signal can be transmitted by the receiver device 150A by encoding a message into a sequence of ON/OFF patterns using the switch. From the wireless charging system 100, the

communication signal can be decoded by determining how the current in the coil 230 changes and mapping the changes to ON/OFF patterns. [0083] The Qi communication protocol involves encoding zeros and ones using the state of the switch. Each clock period corresponds to a bit, and a number of transistions in the switch state during a clock period indicates the value of the bit. When there is one transition during a clock period, a bit corresponding to the clock period is encoded with a value of zero. Alternatively, when there are two transitions during the clock period, the bit is encoded with a value of one.

[0084] The activity in the receiver device 150A is synchronized according to a clock signal. The clock signal oscillates between a high state and a low state during each clock period. In some embodiments, each clock period corresponds to a duration of 0.5ms. In other example embodiments, each clock period corresponds to a different time duration. The clock signal may be a square wave with a 50% duty cycle such that the clock signal is at the high state during 50% of a duration of each clock period.

[0085] The receiver device 150A encodes a plurality of bits into a communication signal that is synchronized with the clock signal. The receiver device 150A varies the state of the load switch between the ON state and the OFF state for encoding the bits. For example, during clock period A, the communication signal changes from the OFF state to the ON state at the beginning of the clock period and changes from the ON state to the OFF state at the middle of the clock period. Therefore, during clock period A, there is a total of two transitions, and the bit corresponding to the clock period A is encoded with a value of 1. During clock period B, the communication signal changes from the OFF state to the ON state at the beginning of the clock period and does not change during a remaining duration of the clock period. Since there is only one transition during clock period B, the bit corresponding to the clock period B is encoded with a value of 0. During clock period C, the

communication signal changes from the ON state to the OFF state at the beginning of the clock period and changes from the OFF state to the ON state at the middle of the clock period. Since there are two transitions, the bit corresponding to the clock period C is encoded with a value of 1. The receiver device encodes the bits for each of the subsequent clock periods (e.g., clock periods D, E, F, and so on) according to the example encoding scheme described above.

[0086] FIG. 9 is a block diagram of a circuit for demodulating a signal from a receiver device 150A, in accordance with an embodiment. The receiver device 150A communicates with the wireless charging system 100 per Qi communication specification. Typical Qi communication demodulation methods rely on a charger with a fixed location for placing a receiver device such that the relative location between a pair of receiver device and a coil does not vary. Given the fixed location, a transfer function specific to the fixed location is applied to the received communication signal for decoding. However, the wireless charging system 100 allows charging of multiple receiver devices 150A which can cause

communication signal distortion due to the different communication signals overlapping with each other. Additionally, the wireless charging system 100 allows the receiver devices 150A to be placed freely within a charging surface which can lead to poor alignment between the receiver devices 150A and the coils 130. Therefore, using typical Qi communication demodulation methods to decode the communication signals can result in inaccurate results.

[0087] The communication demodulation circuit 240 receives a coil current from the coil 230 that is coupled to the receiver device 150A. The communication demodulation circuit 240 demodulates the communication signal transmitted by the receiver device 150A from the coil current. Once the communication signal is demodulated, the communication signal may be used by the microcontroller 130 for charging the receiver device 150A. In some embodiments, the communication demodulation circuit 240 includes an initial stage scaling module 910, a peak detection and rectification module 920, a multi-stage scaling and low pass filter module 930, a compator module 940, an integrator 950, and a controller 960.

[0088] The coil current includes two waves: a power supply wave for providing charging current to the receiver device 150A and a carrier wave including the Qi communication signal from the receiver device 150A. Because the carrier wave portion of the coil current carries the communication signal, it is useful to isolate the communication signals for

communication demodulation. The power supply wave is significantly greater in amplitude compared to the carrier wave, and the communication demodulation circuit 240 performs a scaling operation separately for the power supply wave and the carrier wave. The

communication demodulation circuit 240 may scale the power supply wave first using the initial stage scaling module 910 and pass the resulting signal to the peak detection and rectification module 920 to remove the power supply wave portion from the coil current such that further stages in the communication demodulation circuit 240 may focus on the carrier wave portion carrying the communication signal.

[0089] The communication demodulation circuit 240 may find the signal envelope at 2kHz to recover the communication signal since the frequency of the communication signal from the receiver device 150A carrier wave is 2kHz. After determining the envelope, the communication demodulation circuit 240 filters and scales the signal before passing the signal through a comparator to digitize the signal into a high state or a low state. Once the digital signal is determined, number of transitions during each of the clock periods can be determined to determine the communication signal.

[0090] The communication demodulation circuit 240 passes the coil current through the stage scaling module 910 that scales the amplitude of the coil current to be within a predetermined range. In particular, the stage scaling module 910 may scale the amplitude of the coil current to be appropriate for functions of the peak detection and rectification module 920. The stage scaling module 910 may use a differential circuit to adjust the midpoint of the coil current and the amplitude of the coil current. The gain used by the stage scaling module 910 is provided by the controller 960.

[0091] Once the stage scaling module 910 scales the coil current, the peak detection and rectification module 920 identifies peaks in the coil current and rectifies the coil current. The hysteresis of the peak detection and rectification module 920 is set such that the power supply wave is removed from the coil current and the carrier wave that carries the communication signals remains. After rectifying the wave in the coil current, the peak detection and rectification module 920 may filter out the DC bias to ensure that the signal is AC coupled.

[0092] The rectified coil current is then passed to a multi-stage scaling and low pass filter module 930. The multi-stage scaling and low pass filter module 930 further scales the coil current that was scaled by the initial stage scaling module 910. The coil signal that is passed to the multi-stage scaling and low pass filter module 930 is representative of the carrier wave, and the multi-stage scaling and low pass filter module 930 scales the carrier wave portion of the coil signal. Each of the scaling stages may have a configurable gain set by the controller 960. Because the amplitude of the coil is dynamic, it is difficult to select a fixed-gain without the risk of either saturating the op-amp in the initial stage scaling module 910 or the multi stage scaling and low pass filter module 930 by exceeding its limits or missing small amplitudes. Therefore, instead of using a fixed-gain, the gain is dynamically determined by the controller 960. The rectified coil current is also passed to the integrator 950 that determines an average amplitude of the coil current. The average amplitude of the coil current is used as an input by the controller 960 that determines a gain for the stage scaling module 910 and the different stages in the multi-stage scaling and low pass filter module 930.

[0093] The multi-stage scaling and low pass filter module 930 also passes the coil current through a low pass filter to filter out high frequency signals above a threshold frequency to extract the communication signal from the coil current. In the coil current, the power supply wave may have a higher frequency compared to the carrier wave carrying the communication signal. For example, the power supply wave may correspond to a frequency of 100-150 kHz that is greater than the frequency of the communication signal at 2kHz. The power supply wave gets filtered out by the low pass filter with a cut-off frequency of 10 kHz and the multi stage scaling and low pass filter module 930 outputs a signal that represents just the communication signal generated by the receiver device 150A.

[0094] The comparator module 940 compares the signal output from the multi-stage scaling and low pass filter module 930 to a comparison value to digitize the communication signal included in the coil current. The comparator module 940 determines when the amplitude of the signal is below or equal to a comparison value and assigns a value of zero that represents a low state and when the amplitude of the signal is greater than the

comparison value assigns a value of one that represents a high state. In some embodiments, the functions of the comparator module 940 may be performed by the second ADC 220 of the microcontroller 130, and the communication demodulation circuit 240 does not include the comparator module 940.

EXAMPLE FOR ERROR CORRECTION

[0095] In a conventional Qi standard signal processing procedure, a number of transition is determined for each clock period to determine a bit value of either a zero or a one. A conventional method for addressing errors in communication systems is to use an error correction code. However, because there is no such error correction code in Qi

communication protocol, if there is an error in the decoding attempt while decoding a packet from a receiver device 150A using a typical Qi communication demodulation methods, the decoding of the packet fails and the packet is unrecoverable.

[0096] In some example embodiments, a parity bit may be added at the end of a byte (e.g., 8 bits) of communication signals by a receiver device 150A, to ensure that the byte has an odd number of l’s. When a packet including a plurality is transmitted by the receiver device 150A to the wireless charging device 100, there is a checksum at the end of each packet that is a bit-wise XOR of all the bytes in the packet. At the beginning of a packet, there is a header byte that identifies a type of packet. There is a finite selection of possible header bytes, and each header byte corresponds to a different type of packet.

[0097] The communication demodulation circuit 240 analyzes the coil current in the coil 230 and determines whether the communication signal from the receiver device 150A is at a low state or a high state at a given time. The communication signal is provided to the PWM control system 205 for decoding after passing through the communication demodulation circuit 240 and the second ADC 220. However, because of faulty hardware in the wireless charging system 100, noise in the wireless communication channel betwee the receiver device 150A and the wireless charging system 100, or interference between multiple receiver devices on the wireless charging system 100, spurious transitions may be introduced into the signal. To avoid being unable to recover packets, the microcontroller 130 may perform may perform error correction when decoding the communication signal from the signal output from the communication demodulation circuit 240

[0098] In some embodiments, the spurious transitions can be detected when the microcontroller 130 decodes the bits in the transmission packets. When there are more than two transitions (e.g., the maximum number according to Qi protocol) in a single clock period, it means that there must be spurious transitions due to noise and interference. Therefore, error correction is required to remove the effects of the spurious transitions. If there are more than two transitions detected, an even number of transitions with a spacing of less than a threshold duration is removed. The threshold duration may be selected by observing spacings of spurious transitions and set to maximize error correction accuracy without introducing false positives. After removing the even number of transitions with spacing of less than a threshold duration, the corresponding bit is decoded with a value of 0 if there is one transition remaining and the corresponding bit is decoded with a value of 1 if there are two transitions remaining.

[0099] In some embodiments, the bit correction method may fail if even after removing an even number of transitions with a spacing of less than a threshold value, there is a number of transitions greater than 1. For each clock period in which the bit correction method fails, its corresponding bit is flagged as undecodable. After flagging a bit as being undecodable, the microcontroller 130 continues to decode subsequent bits that can be decoded and flag the bits that are undecodable.

[0100] After applying the decoding algorithm, there is a sequence of 0’s, l’s, and undecodable bits for a packet, where the packet includes one or more bytes. An error correction algorithm may be applied to the sequence of decoded bits. The error correction algorithm may first use parity bits for recovering one or more undecodable bits at the byte level. As discussed above, there may be a parity bit at the end of each byte to ensure that there is an odd number of l’s in the byte. The error correction algorithm may recover as many undecodable bits as possible using the parity bit within a byte. For example, in a particular byte, if only one bit is flagged as being undecodable, the undecodable bit may be recovered using the parity bit. However, if there is more than one bit that is undecodable in a byte, the undecodable bits cannot be recovered using the parity bit. In this case, the undecodable bit is recovered at the packet level.

[0101] Each bit B (undecodable and decodable) corresponds to a byte index (e.g., i) within a packet and a bit index (e.g., j) within the byte. A bit B at the j-th bit of the i-th byte may be denoted as By. Positions of a first bit may be denoted as (ii, j i), a second bit as (12, j2), a third bit as (13, j3) and so forth such that the position of an m-th bit is denoted as (im, jm). Since there are N bytes in a packet, i may be 0, 1, 2, ... , N-l . In each byte there are 8 bits, so j may be 0, 1, 2, ... , 7. For each byte in a packet, there is a parity bit: Po, Pi, P2... PN-I. There is also a checksum byte in the packet that represents a result of bit-wise XOR of all of the bytes in the packet such that the checksum byte includes a bit for each index Co, Ci, C2... C7.

[0102] In some embodiments, some undecodable bits may recovered at the packet level using the checksum byte. As long as a pair of undecodable bits at (i a , ja) and (ib, jb) satisfy the condition of j a ¹ jb, the undecodable bits may be recovered. That is, if the undecodable bits do not have the same bit index j within its respective byte, the bits may be decoded according to the following algorithm. For each undecodable bit at (i a , j a ), the bit Biajb is set to

(Equation 25)

Once all of the undecodable bits that can be recovered is set to a value, the parity bit test and the checksum byte tests are performed. If all of the bits are consistent according to these tests, the PWM control system 205 determines that decoding has succeeded. If there is only one checksum bit Q and one parity bit Pi that are inconsistent, the bit By is inverted (e.g., 0 to 1 or 1 to 0). If there are more than one checksum error and one parity bit error, the decoding algorithm fails. When the decoding algorithm fails, the corresponding packet may be dropped.

[0103] FIG. 10 is a flowchart illustrating a process of demodulating a signal from a receiver device, in accordance with an example embodiment. The wireless charging system receives 1010 the signal from the receive device using a coil. The wireless charging system applies 1020 a first gain to the signal. Responsive to applying the first gain, the wireless charging system performs 1030 a rectification on the signal. After the signal is rectified, the wireless charging system applies 1040 a second gain to the rectified signal. Responsive to applying the second gain, the wireless charging system compares 1050 the signal to a predetermined value to determine whether the signal is at a high level or at a low level. The wireless charging system determines 1060 a byte representation of the current signal based on the comparison. The wireless charging system transmits 1070 the byte to a controller of the wireless charging system configured to drive the coil for charging the receiver device.

RECEIVER DEVICE DETECTION AND COIL SELECTION

[0104] FIG. 11 is an example layout 1100 of multiple coils in a wireless charging system, in accordance with an embodiment. In the example layout 1100, there are four overlapping coils that can be activated to charge multiple receiver devices 150A. In the example shown in FIG. 11, there are four coils, a first coil 1110, a second coil 1120, a third coil 1130, and a fourth coil 1140, that may be arranged in a horizontal plane. The layout 1100 can charge two receiver devices 150A simultaneously by activating different subsets of the coils depending on the positions of the receiver devices 150A. In other embodiments, there may be fewer or additional coils in the array of coils, relative position of overlapping coils may be different, size of the coils may vary. Based on the configuration of the coils in the wireless charging system, the wireless charging system may charge a different number of receiver devices 150A at a given time.

[0105] In some embodiments, each of the first coil 1110, the second coil 1120, the third coil 1130, and the fourth coil 1140 has an outer radius Rl. The outer radius R1 of the coils may be selected to be large enough to charge receiver devices 150A within a threshold distance from the surface of the wireless charging system 100, but not so large that the metallic components of the receiver devices 150A become overheated during charging due to eddy currents.

[0106] Each of the first coil 1110, the second coil 1120, the third coil 1130, and the fourth coil 1140 has an inner radius R2 that is smaller than the outer radius Rl . The inner radius R2 is selected such that it is large enough to ensure sufficiently large quality factor of the coils yet small enough such that there are enough loops in the coils to create sufficient field at the receiver devices 150A for charging efficiently.

[0107] In some embodiments, the first coil 1110, the second coil 1120, the third coil 1130, and the fourth coil 1140 are made of Litz wire with enough strands to mitigate loss due to skin effects and proximity effects and enough aggregate cross-sectional area to carry driving current during charging. However, the wires cannot be too thick because it can reduce the number of loops in the coils and cause weaker field at the receiver devices 150A. For each of the coils, the leads of the coils may be twisted with each other, which could reduce noise due to electromagnetic interference. [0108] In some embodiments, a relative spacing between two adjacent coils is equal to the outer radius Rl. For example, as shown in FIG. 11, the distance between an outermost loop of the first coil 1110 and an outermost loop of the second coil 1120 is the same as the outer radius Rl . When the spacing between two adjacent coils is equal to the outer radius Rl, the field at the intersection of the two coils is strong enough to deliver designated power to a receiver device 150A when the receiver device 150A is positioned at the intersection. If two adjacent coils are disposed farther apart such that the relative spacing is greater than the outer radius Rl, there can be a region on the charging surface of the wireless charging system 100 with a lower field intensity than what is required for charging the receiver device 150A. Additionally, when two adjacent coils are spaced apart at a distance equal to the outer radius Rl, mutual coupling between adjacent coils can be minimized.

[0109] Resonant frequencies of the coils are chosen such that two closest coils that can be turned on simultaneously during charging have different resonant frequencies that are far apart and not harmonic frequencies of each other. This reduces mutual coupling (or cross talk) between the coils, and even if there were residual mutual coupling, the effect of the mutual coupling is reduced.

[0110] In a typical way of identifying a receiver device 150A, a wireless charging system monitors current in a coil and determines that there is a receiver device on the wireless charging system once a change in the current is greater than a predefined threshold. More specifically, the wireless charging system may monitor one or more of current amplitude, current phase, offset of system resonant frequency, and quality factor and detect the receiver device based on change in the one or more factors. Responsive to determining that the change in the current is greater than the predefined threshold, the wireless charging system associates the coil to the detected receiver device.

[0111] However, this approach can have drawbacks in a wireless charging system with multiple coils. Since the multiple coils are coupled to each other, when a receiver device is placed on the wireless charging system, coils may erroneously be associated with the receiver device due to coupling with the coil that is most effective for power delivery to the receiver device. Activating incorrect subsets of coils can lead to lower charging efficiency and reliability in charging the receiver device. Additionally, it is difficult to determine a threshold value that is indicative of a receiver device given many factors that can affect the thresholds such as brand of the receiver device, model of the receiver device, battery level, distance between surface of the wireless charging system and the receiver device (e.g., due to thickness of protective receiver device cases or attachments to back of receiver device), and position of the receiver device with respect to the coils.

[0112] To avoid the threshold determination challenges, a supervised machine learning model may be used by the wireless charging system 100 to detect one or more receiver devices 150A and select a subset of coils for charging the devices based on the detection.

[0113] FIG. 12 is a block diagram of a pulse width modulation (PWM) control system, in accordance with an example embodiment. The PWM control system 205 includes a receiver detection module 1210, a training module 1220, a coil selection module 1230, a database of training data sets 1240, and a database of computer models 1250. In some embodiments, functionalities of one or more of the modules in the PWM control system 205 may be performed in a data cloud computing configuration or on a localized computer system configurations.

[0114] The receiver detection module 1210 receives signals from the coil measurement circuit 235 and signals from the communication demodulation circuit 240 and applies the trained computer models 1250 from the training module 1220 to the received signals to identify presence of receiver devices 150A.

[0115] In some embodiments, the receiver detection module 1210 uses a linear classifier such as a perceptron for each coil in the wireless charging system 100. The receive detection module 1210 receives an input data vector for each coil that is representative of a state of the coil. For each coil, a binary class is defined to determine whether a receiver device 150A is present on the wireless charging system 100 and the coil should be activated to charge the receiver device 150A or no receiver device 150A is present. The input data vectors provided to the classifier may be two dimensional vectors including a first dimension indicating a change in amplitude of current through the coil and a second dimension indicating a change in phase. The input data vectors may include other features such as voltage or may be represented in other ways. Both dimensions may be a signed (e.g., positive or negative) value. The output is a binary class where a first class indicates that a receiver device 150A is present on the wireless charging system 100 and the coil sould be activated to charge the receiver device 150A and a second class indicates that a receiver device 150A is not present.

[0116] In some embodiments, the receiver detection module 1210 uses a non-linear classifier such as a support vector machine (SVM) for each coil in the wireless charging system 100. Similar to the linear classifier discussed above, for each coil, a binary class may be defined such that a first class corresponds to a receiver present on the wireless charging system 100 to be charged by the coil and a second class corresponds to no receiver present on the wireless charging system 100. The data vectors provided to the classifier may be two dimensional vectors. A first dimension may be a change in amplitude of current through the coil represented as a percentage and a second dimension may be a change in phase in degrees. Both dimensions may be a signed (e.g., positive or negative) value. The output is a binary class where a first class indicates that a receiver device 150A is present on the wireless charging system 100 and the coil sould be activated to charge the receiver device 150A and a second class indicates that a receiver device 150A is not present.

[0117] In some embodiments, the receiver detection module 1210 uses a non-linear classifier such as a SVM for multiple coils. In comparison to having a different classifier for each of the multiple coils in the wireless charging system 100 and making a decision to activate the coils on a per-coil basis, a multi-coil classifier captures coupling between pairs of coils. This allows the wireless charging system 100 to consider the coils as a whole and select a subset of the coils using a more robust method compared to considering the coils individually and activating each of the coils that are identified by the individual classifiers.

[0118] In some embodiments, the wireless charging system 100 may be able to charge a maximum of two receiver devices 150A at the same time. In this case, the multi-coil classifier may be configured to identify a plurality of class types such as:

• No receiver device detected

• No previously detected receiver device and one new receiver device detected

• One previously detected receiver device and one new receiver device detected

• Two new receiver devices detected at the same time

In other embodiments, the wireless charging system 100 may be able to charge a greater number of receiver devices 150A and the multi-coil classifier has additional classes.

[0119] Each type of class may contain multiple classes that corresponds a number of receiver devices, position of the receiver devices, and when the receiver devices are brought onto the wireless charging system 100. For example, for a wireless charging system 100 that includes four coils (coil 1, coil 2, coil 3, and coil 4) that can charge a maximum of two devices with a constraints that adjacent coils cannot be activated at the same time has fourteen classes:

[0120] In some embodiments, the input data vector provided to the receiver detection module 1210 is a concatenation of data vectors from each of the plurality of coils in the wireless charging system 100. For each coil, a data vector may include a first dimension that represents a change in amplitude of current through the coil represented as a percentage and a second dimension that represents a change in phase in degrees. For example, the

concatenated data vector for the example with four coils has eight dimensions: change in current amplitude for coil 1, change in current phase for coil 1, change in current amplitude for coil 2, change in current phase for coil 2, change in current amplitude for coil 3, change in current phase for coil 3, change in current amplitude for coil 4, and change in current phase for coil 4. For coils that are already associated with a previously detected device, the data corresponding to these coils may automatically set to 0.

[0121] The training module 1220 trains the computer models 1250 using the training data sets 1240. The training data sets 1240 include pairs of input data vector and desired output of charging configuration. During the training process, the training module 1220 repeatedly updates a set of parameters for the computer models 1250 based on the provided pairs of input data vector and desired charging configuration. The training data sets 1240 may be labeled or annotated by human operators.

[0122] During training, the training module 1220 performs iterations of applying the computer models 1250 to a pair of input data vector and desired charging configuration.

Based on the computer models 1250, the training module 1220 determines an estimated charging configuration. The training module 1220 determines a difference between the estimated charging configuration and the desired charging configuration associated with the input data vector and updates the set of parameters of the computer models 1250 to reduce the difference.

[0123] The coil selection module 1230 selects one or more coils to activate to charge receiver devices detected by the receiver detection module 1210. After the receiver detection module 1210 determines the class, the coil selection module 1230 uses the identified class to determine which subset of the coils to drive for charging the detected one or more devices. The PWM control system 205 may use the subset information in combination with demodulated communication signal from the second ADC 220 to drive the subset of the coils.

[0124] FIG. 13 illustrates an example process of deploying a classification model for receiver device detection, in accordance with an embodiment. The example process shown in FIG. 13 corresponds to an embodiment in which a classifier used by the receiver detection module 1210 is a multi-coil classifier that determines a class based on states of all of the coils in the wireless charging system 100. The receiver detection module 1210 receives an input data vector that represents states of all of the coils (e.g., coil 1, coil 2... coil n) in the wireless charging system 100. In some embodiments, each coil corresponds to a data vector that includes two dimensions: change in amplitude of current through the coil and change in phase of current through the coil. The change in amplitude and the change in phase may be represented as percentages, absolute values, signed values, and such. Each coil may correspond to additional or different types of characteristics such as change in amplitude of voltage across a coil, change in phase in amplitude of voltage across a coil, and such.

[0125] For the multi-coil classifier, the input data vector may be a single vector that is a concatenation of all of the data vectors for all of the coils. The receiver detection module 1210 retrieves and applies computer models 1250 to classify the input data vector into a class (e.g., class 3). In one example, class 3 may correspond to a case in which a new receiver device detected on coil 2. Using the identified class, the coil selection module 1230 may select coil 2 to be activated for charging the newly detected receiver device.

[0126] In other embodiments, the receiver detection module 1210 may use a plurality of classifiers, each classifier corresponding to a coil. The receive detection module 1210 may receive a plurality of data vectors where each data vector is an input to one classifier with a binary class such as a perceptron or a SVM. The receiver detection module 1210 may output a class for each coil such that if there are n coils in the wireless charging system 100, the receiver detection module 1210 identifies n classes that each corresponds to a different coil. Based on the class, the coil selection module 1230 determines whether to activate the coils on a per-coil basis.

[0127] FIG. 14 illustrate a flowchart illustrating a process of training a machine-learned model, in accordance with an embodiment. The machine-learned model is configured to detect one or more receiver devices on a charging surface of a wireless charging system and output a subset from a plurality of coils in the wireless charging system for charging the one or more receiver devices. A computer obtains 1410 a training data set of desired charging configurations, the training data set includes a plurality of input data vectors associated with signals from the plurality of coils of the wireless charging system and a corresponding pluraltiy of desired charging configuration that includes subsets of coils to be activated. The computer trains 1420 a set of parameters of the machine-learned model using the training data set of desired charging configurations. During an iteration of the training process, the computer determines 1430 an estimated charging configuration by applying the machine- learned model with a set of parameters to an input data vector from the training data set. Based on the estimated charging configuration, the computer determines 1440 a difference between the estimated charging configuration and the desired charging configuration associated with the input data vector. The computer updates 1450 the set of parameters of the machine-learned model to reduce the difference.

ADDITIONAL CONFIGURATION CONSIDERATIONS

[0128] In an embodiment, a wireless charging system may use a simple circuit structure such as a half-bridge inverter or a full-bridge inverter in a coil drive circuit for driving a coil. The simple circuit structure in the coil drive circuit reduces circuit complexity and cost of the wireless charging system. Despite using a simple circuit structure, the wireless charging system may achieve a wide range and flexibility in generating coil drive signals by selecting the appropriate pulse width modulation (PWM) signals that is provided as an input to generate the coil drive signals.

[0129] In an embodiment, a wireless charging system may use a low-speed analog to digital converter (ADC) to measure high-speed signals from the coils. The ADC may have a maximum sampling speed that is lower than what is necessary to accurately measure high speed signals from the coils. However, using the digital processing methods discussed in the present disclosure, the wireless charging system may accurately reconstruct amplitude and phase of the high-speed signals despite the limitations of the ADC. [0130] In an embodiment, a wireless charging system may demodulate communication signals using a circuit with automatic gain control. Current through the coils in the wireless charging system is a function of load controlled by a switch in the receiver devices, and by decoding patterns in the current corresponding to ON/OFF patterns of the switch, the wireless charging system can recover communication signals from the receiver devices. Because the current through the coils is dynamic, the automatic gain control in the communication demodulation circuit improves decoding accuracy. Further, the wireless charging system may process the decoded signal for error correction at a bit-level and a packet-level.

[0131] In an embodiment, a wireless charging system may use machine learning to detect receiver devices on a charging surface of the wireless charging system and select a charging configuration. The wireless charging system may allow the receiver devices to be placed at any location within the charging surface. Because a various number of receiver devices may be charged and may be placed at different positions for different charging sessions, it is difficult to analytically model interactions between a plurality of coils in the wireless charging system and a plurality of receiver devices. However, using a machine learning model to identify an appropriate charging configuration allows for effective wireless power delivery to the receiver devices for different device placements.

[0132] Throughout this specification, plural instances may implement components, operations, or structures described as a single instance. Although individual operations of one or more methods are illustrated and described as separate operations, one or more of the individual operations may be performed concurrently, and nothing requires that the operations be performed in the order illustrated. Structures and functionality presented as separate components in example configurations may be implemented as a combined structure or component. Similarly, structures and functionality presented as a single component may be implemented as separate components. These and other variations, modifications, additions, and improvements fall within the scope of the subject matter herein.

[0133] As used herein any reference to“one embodiment” or“an embodiment” means that a particular element, feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment. The appearances of the phrase“in one embodiment” in various places in the specification are not necessarily all referring to the same embodiment.

[0134] Some embodiments may be described using the expression“coupled” and “connected” along with their derivatives. It should be understood that these terms are not intended as synonyms for each other. For example, some embodiments may be described using the term“connected” to indicate that two or more elements are in direct physical or electrical contact with each other. In another example, some embodiments may be described using the term“coupled” to indicate that two or more elements are in direct physical or electrical contact. The term“coupled,” however, may also mean that two or more elements are not in direct contact with each other, but yet still co-operate or interact with each other. The embodiments are not limited in this context.

[0135] As used herein, the terms“comprises,”“comprising,”“includes,”“incl uding,” “has,”“having” or any other variation thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, article, or apparatus that comprises a list of elements is not necessarily limited to only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Further, unless expressly stated to the contrary,“or” refers to an inclusive or and not to an exclusive or. For example, a condition A or B is satisfied by any one of the following: A is true (or present) and B is false (or not present), A is false (or not present) and B is true (or present), and both A and B are true (or present).

[0136] In addition, use of the“a” or“an” are employed to describe elements and components of the embodiments herein. This is done merely for convenience and to give a general sense of the invention. This description should be read to include one or at least one and the singular also includes the plural unless it is obvious that it is meant otherwise.

[0137] Upon reading this disclosure, those of skill in the art will appreciate still additional alternative structural and functional designs for a system and a process for wireless charging through the disclosed principles herein. Thus, while particular embodiments and applications have been illustrated and described, it is to be understood that the disclosed embodiments are not limited to the precise construction and components disclosed herein. Various modifications, changes and variations, which will be apparent to those skilled in the art, may be made in the arrangement, operation and details of the method and apparatus disclosed herein without departing from the spirit and scope defined in the appended claims.