ASK signal demodulation method, device, wireless charging transmitter and storage medium
By using multiple virtual channels to determine the ASK signal voltage level and verify the target data packet, the signal instability problem caused by dynamic load and position uncertainty in the wireless charging system is solved, and the demodulation efficiency and charging stability are improved.
Patent Information
- Application Number
- CN202410419343.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-08
- Publication Date
- 2025-10-03
- Estimated Expiration
- 2044-04-08
AI Technical Summary
In wireless charging systems, the dynamic load of electronic devices and the uncertainty of the TX and RX terminal positions make ASK signal demodulation more difficult, resulting in unstable signals and affecting charging stability.
The voltage level of the ASK signal is determined through multiple virtual channels, and the target data packet is verified. If the verification passes, the data is transmitted and the channel is reset to avoid signal instability caused by dynamic current and position uncertainty.
The efficiency and accuracy of ASK signal demodulation are improved, and the stability of wireless charging of electronic devices is enhanced.
Smart Images

Figure CN119135492B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of wireless charging technology, and in particular to an ASK signal demodulation method and device, a wireless charging transmitter, and a storage medium. Background Art
[0002] Wireless charging is becoming increasingly popular in electronic devices such as smartphones and tablets. In a wireless charging system, the wireless charging transmitter (TX) is the energy transmitter, which emits energy in the form of a magnetic field. The wireless charging receiver (RX) is the energy receiver, which converts the magnetic field energy into electrical energy to power the electronic device.
[0003] In a wireless charging system, the RX end provides feedback to the TX end to control the energy transmitted by the TX, thereby safely powering electronic devices. In a wireless charging system based on the Wireless Power Consortium (WPC) standard, also known as the Qi standard, the feedback between the RX end and the TX end is achieved through amplitude shift keying (ASK). This ASK method uses low-frequency ASK encoding (using a low-frequency ASK signal) to modulate the amplitude of the carrier (such as the power transmission signal). This ASK method requires ASK signal modulation on the RX end and ASK signal demodulation on the TX end.
[0004] However, in actual application scenarios, on the one hand, the current inside an electronic device may be dynamic when charging, which means that for the TX end, the electronic device is equivalent to a dynamic load. When this dynamic load exists and the RX end is modulating the ASK signal, the signal sensed by the TX end is a superposition of the dynamic carrier signal and the ASK signal. In other words, the dynamic information of the load is superimposed on the ASK signal, resulting in the ASK signal no longer being a clean modulated signal, which in turn increases the difficulty of demodulating the ASK signal on the TX end. On the other hand, due to the relative uncertainty of the position between the RX end and the TX end, the ASK signal on the TX end is unstable, which in turn leads to unstable wireless charging of the electronic device. Summary of the Invention
[0005] The ASK signal demodulation method, device, wireless charging transmitter, and storage medium provided in the embodiments of the present application can solve at least some of the defects in the prior art.
[0006] In the first aspect, an embodiment of the present application provides a demodulation method for an ASK signal. The method includes: obtaining a target data packet, wherein the target data packet has multiple ASK signals, each ASK signal having a corresponding duration; based on the duration of each ASK signal and multiple virtual channels, determining the output result of each ASK signal in each virtual channel; wherein the output result of each virtual channel is used to indicate that the voltage level of the corresponding ASK signal is a first voltage value or a second voltage value, and each virtual channel has a preset duration range, and the preset duration range corresponds to the output result; according to the output result of each ASK signal in each virtual channel, determining the demodulation result of the target data packet in each virtual channel; when the demodulation result of any virtual channel indicates that the target data of the target data packet is demodulated, verifying the target data to obtain a verification result; if the verification result indicates that the target data verification is passed, transmitting the target data to the next wireless charging execution step, and resetting the multiple virtual channels.
[0007] Optionally, the preset duration range includes: a first preset duration range and a second preset duration range; wherein, the first preset duration range is used to indicate that the duration is less than or equal to the preset duration; and the second preset duration range is used to indicate that the duration is greater than the preset duration.
[0008] Optionally, the preset duration range includes: a first preset duration range and a second preset duration range; wherein, the first preset duration range is used to indicate that the duration is less than the preset duration; the second preset duration range is used to indicate that the duration is greater than or equal to the preset duration.
[0009] Optionally, the output result corresponding to each ASK signal within the first preset time range indicates that the voltage level of the corresponding ASK signal is a first voltage value.
[0010] Optionally, the output result corresponding to each ASK signal within the second preset time range indicates that the voltage level of the corresponding ASK signal is a second voltage value.
[0011] Optionally, the first voltage value is greater than the second voltage value.
[0012] Optionally, the target data includes: header information, data frame and checksum; the checking of the target data to obtain a check result includes: generating a check value based on the header information and the data frame; if the check value is consistent with the checksum, it is determined that the target data has passed the check and a first check result is obtained; if the check value is inconsistent with the checksum, it is determined that the target data has failed the check and a second check result is obtained.
[0013] In a second aspect, an embodiment of the present application provides a demodulation device for an ASK signal. The demodulation device for an ASK signal includes: an acquisition module for acquiring a target data packet, wherein the target data packet has multiple ASK signals, each ASK signal having a corresponding duration; a first determination module for determining the output result of each ASK signal in each virtual channel based on the duration of each ASK signal and multiple virtual channels; wherein the output result of each virtual channel is used to indicate that the voltage level of the corresponding ASK signal is a first voltage value or a second voltage value, and each virtual channel has a preset duration range, and the preset duration range corresponds to the output result; a second determination module for determining the demodulation result of the target data packet in each virtual channel according to the output result of each ASK signal in each virtual channel; a verification module for verifying the target data when the demodulation result of any virtual channel indicates that the target data of the target data packet is demodulated to obtain a verification result; and a transmission reset module for transmitting the target data to the next wireless charging execution step and resetting the multiple virtual channels if the verification result indicates that the target data verification has passed.
[0014] In a third aspect, embodiments of the present application provide a wireless charging transmitter. The wireless charging transmitter includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the above-mentioned ASK signal demodulation method.
[0015] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enables the computer to execute the above-mentioned ASK signal demodulation method.
[0016] At least one advantageous aspect of the ASK signal demodulation method provided in an embodiment of the present application is: determining the voltage level of each ASK signal in a target data packet through multiple virtual channels, and then verifying the target data of the target data packet demodulated from any virtual channel. If the verification passes, the target data is transmitted to the next wireless charging execution step, and multiple virtual channels are reset, thereby avoiding the problem of dynamic information of the load being superimposed on the ASK signal due to the dynamic current inside the electronic device during charging, and the problem of instability of the ASK signal at the TX end due to the relative uncertainty of the position between the RX end and the TX end, thereby improving the efficiency and accuracy of ASK signal demodulation and improving the stability of the electronic device during wireless charging. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] One or more embodiments are exemplarily illustrated by pictures in the corresponding drawings. These exemplifications do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings are represented as similar elements. Unless otherwise stated, the figures in the drawings do not constitute proportional limitations.
[0018] Figure 1 A schematic diagram of an application scenario provided in an embodiment of the present application;
[0019] Figure 2 A schematic diagram of the composition of bytes provided in an embodiment of the present application;
[0020] Figure 3 A schematic diagram of the structure of a bit provided in an embodiment of the present application;
[0021] Figure 4 A flowchart of a method for demodulating an ASK signal provided in an embodiment of the present application;
[0022] Figure 5 A flowchart of a method for demodulating an ASK signal provided in another embodiment of the present application;
[0023] Figure 6 Functional block diagram of multiple virtual channels provided in an embodiment of the present application;
[0024] Figure 7 This is a functional block diagram of an ASK signal demodulation device provided in an embodiment of the present application;
[0025] Figure 8 This is a functional block diagram of an ASK signal demodulation device provided by another embodiment of the present application;
[0026] Figure 9 A schematic diagram of a wireless charging transmitter provided in an embodiment of the present application. DETAILED DESCRIPTION
[0027] For ease of understanding of the present invention, the present invention will be described in more detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that when an element is described as being "fixed to" another element, it can be directly on the other element, or there can be one or more centered elements therebetween. When an element is described as being "connected to" another element, it can be directly connected to the other element, or there can be one or more centered elements therebetween. The orientation or positional relationship indicated by the terms "upper", "lower", "inner", "outer", "bottom" etc. used in this specification is based on the orientation or positional relationship shown in the accompanying drawings, and is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", "third", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.
[0028] Unless otherwise defined, all technical and scientific terms used in this specification have the same meanings as those commonly understood by those skilled in the art to which this invention belongs. The terms used in this specification and in the description of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" as used in this specification includes any and all combinations of one or more of the relevant listed items.
[0029] In addition, the technical features involved in different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0030] Figure 1 Schematic diagram of the application scenario provided by the embodiment of this application. Figure 1 As shown, in a wireless charging scenario, a wireless charging transmitter (TX) performs wireless charging for a smartphone, wherein a wireless charging receiver (RX) is built into the smartphone.
[0031] Currently, there are four main types of wireless charging methods: (1) magnetic coupling through electromagnetic induction; (2) magnetic resonance through near-field resonance of electromagnetic waves; (3) electric field coupling through energy transmission through electric fields; and (4) microwave transmission through electromagnetic wave radiation.
[0032] The fundamental principle of wireless charging is Faraday's law of electromagnetic induction. When an alternating current passes through a coil, it generates a changing magnetic field. When the magnetic flux of a closed coil changes, an induced electromotive force (EMF) is generated, generating an induced current in the coil. For example, in the case of wireless mobile phone charging, the charging base (wireless charging transmitter) and the back of the phone each have a coil. The charging base converts the current into a continuously changing magnetic field through the coils. The magnetic flux in the coil on the back of the phone also changes due to the base's constantly changing magnetic field, generating an induced electromotive force (EMF), which in turn generates an induced current, which is then converted into direct current for charging.
[0033] The Qi wireless charging protocol is an interconnection standard for short-range (40mm, 1.6 inches) low-power wireless inductive power transmission developed by the Wireless Power Consortium (WPC). Its main purpose is to provide convenient and universal wireless charging for smartphones and other portable electronic devices.
[0034] The target data demodulated from the ASK signal's data packet consists of four parts: a preamble, a header, a message frame, and a checksum. The preamble is a set of pulses consisting of all 1s, which allows the wireless charging transmitter to synchronize input data and accurately detect the start bit of the header. The header contains one byte, composed of a combination of 0s and 1s, to indicate the type of data packet. The data frame contains 1 to 27 bytes, composed of a combination of 0s and 1s, to store the data packet. The checksum contains one byte, which is provided to the wireless charging transmitter to determine whether the data packet is correct. It is understood that each byte is composed of different bits.
[0035] like Figure 2 As shown, Figure 2 This is a diagram illustrating the composition of bytes in an embodiment of the present application. The wireless charging receiver (RX) uses an 11-bit asynchronous serial format to transmit data bytes. The data encoding format is: a start bit 0, 8 data bits (b0 to b7), a parity bit (if the data bits contain an even number of 1s, the parity bit is 1, otherwise it is zero), and a stop bit 1.
[0036] like Figure 3 As shown, Figure 3The following is a schematic diagram of the bit structure provided in an embodiment of the present application. Since the Qi wireless charging protocol specifies a clock frequency of 2 kilobits per second (Kbit / s), the transmission time of each bit is approximately 500 microseconds (us). Data 1 is a high level of 250us followed by a low level of 250us, or a low level of 250us followed by a high level of 250us, and data 0 is a high level of 500us or a low level of 500us.
[0037] However, in practical applications, the internal current of an electronic device may be dynamic during charging, representing a dynamic load to the TX end. When this dynamic load is present and the RX end is modulating an ASK signal, the signal sensed by the TX end is a superposition of the dynamic carrier signal and the ASK signal. This means that the dynamic information of the load is superimposed on the ASK signal, rendering the ASK signal no longer a clean modulated signal, which in turn increases the difficulty of demodulating the ASK signal at the TX end. Furthermore, due to the relative uncertainty in the position between the RX and TX ends, the ASK signal at the TX end is unstable. Consequently, data 1 may not be the standard 250µs, and data 0 may not be the standard 500µs. Instead, the actual values may fall within a range of approximately 250µs and 500µs. Consequently, the thresholds of the ASK signals sampled by the TX end do not meet the standard thresholds specified by the Qi wireless charging protocol. For example, data 1 may be a high level of 150µs followed by a low level of 200µs, while data 0 may be distorted to a high level of 400µs or a low level of 600µs. Consequently, the thresholds become bandwidth-dependent rather than fixed.
[0038] Currently, the existing solutions are as follows: Method 1: Update the threshold in real time in software to adapt to complex application environments; Method 2: Implement multi-channel unpacking through hardware circuits; Method 3: Add fuzzy segments, and the actual value represented by the fuzzy segment is determined by the context.
[0039] However, method 1 requires constant updating of the threshold according to the actual scenario, resulting in low demodulation efficiency for ASK signals. Method 2 uses a hardware circuit, which increases the complexity and design cost of the demodulation circuit. Method 3 uses an ambiguous segment, which easily makes it impossible to determine whether the ambiguous segment is data 1 or data 0, resulting in low demodulation efficiency for ASK signals. For example, if the duration of sampling a level signal is 375us, under the Qi wireless charging protocol, it is impossible to determine whether it is data 1 or data 0. First, the level signal is determined to be an intermediate state (i.e., an ambiguous segment), this intermediate state is saved, and then the depacketization process continues. Because the wireless charging system uses Manchester encoding, data 1 cannot appear alone and must appear in pairs. Therefore, if after decoding a data 0, an intermediate state is found before it, and an odd number of data 1s appear before the data 0, the interrupt state is the data 1. The interrupt state must be followed by an odd number of 1s to form an even number of 1s. However, if the number of data 1s between the intermediate state and the data 0 is 0, it is still impossible to determine whether the intermediate state is data 1 or data 0.
[0040] Therefore, the present application uses multiple virtual channels to determine the voltage level of each ASK signal in the target data packet, and then verifies the target data of the target data packet demodulated by any virtual channel. If the verification passes, the target data is transmitted to the next wireless charging execution step, and multiple virtual channels are reset, thereby avoiding the problem of dynamic information of the load being superimposed on the ASK signal due to the dynamic current inside the electronic device during charging, and the relative uncertainty of the position between the RX end and the TX end, which causes the ASK signal at the TX end to be unstable, thereby improving the efficiency and accuracy of ASK signal demodulation and improving the stability of the electronic device during wireless charging.
[0041] Figure 4 The flowchart of the demodulation method of the ASK signal provided in the embodiment of the present application is as follows. Figure 4 As shown, the demodulation method of the ASK signal includes the following steps:
[0042] S410 , obtaining a target data packet, where the target data packet has multiple ASK signals, and each ASK signal has a corresponding duration.
[0043] It should be noted that the duration corresponding to each ASK signal is used to indicate the duration for which the voltage level of each ASK signal is maintained. For example, the duration corresponding to one ASK signal is 200 us, or the duration corresponding to one ASK signal is 300 us.
[0044] S420 : Determine an output result of each ASK signal in each virtual channel based on the duration of each ASK signal and a plurality of virtual channels.
[0045] The output result of each virtual channel is used to indicate that the voltage level of the corresponding ASK signal is the first voltage value or the second voltage value. Each virtual channel has a preset duration range, and the preset duration range corresponds to the output result.
[0046] It should be noted that the first voltage value is greater than the second voltage value. For example, the first voltage value is 3.3 volts (V), corresponding to data 1, and the second voltage value is 0, corresponding to data 0.
[0047] S430 , determining a demodulation result of the target data packet in each virtual channel according to an output result of each ASK signal in each virtual channel.
[0048] For example, assuming that the target data packet has 10 ASK signals, and the output results of the 10 ASK signals in a certain virtual channel are: 1, 1, 1, 0, 0, 1, 1, 0, 1 and 0 respectively, then the demodulation result of the target data packet in the virtual channel indicates that the target data of the target data packet is demodulated, and the target data is: 1110011010.
[0049] S440 , when the demodulation result of any virtual channel indicates that target data of the target data packet is demodulated, verify the target data to obtain a verification result.
[0050] It should be noted that the embodiment of the present application verifies the target data in order to verify whether the target data is complete and correct.
[0051] S450: If the verification result indicates that the target data verification has passed, the target data is transmitted to the next wireless charging execution step, and the plurality of virtual channels are reset.
[0052] It should be noted that virtual channels require corresponding software state machines to implement corresponding execution steps. Therefore, resetting a virtual channel here is used to indicate resetting the corresponding software state machine. For example, if one virtual channel has demodulated the target data packet, while other virtual channels have not yet demodulated the data, all virtual channels must be reset to return to demodulation starting from the packet header.
[0053] At least one advantageous aspect of the ASK signal demodulation method provided in an embodiment of the present application is: determining the voltage level of each ASK signal in a target data packet through multiple virtual channels, and then verifying the target data of the target data packet demodulated from any virtual channel. If the verification passes, the target data is transmitted to the next wireless charging execution step, and multiple virtual channels are reset, thereby avoiding the problem of dynamic information of the load being superimposed on the ASK signal due to the dynamic current inside the electronic device during charging, and the problem of instability of the ASK signal at the TX end due to the relative uncertainty of the position between the RX end and the TX end, thereby improving the efficiency and accuracy of ASK signal demodulation and improving the stability of the electronic device during wireless charging.
[0054] Figure 5 This is a flow chart of a method for demodulating an ASK signal provided by another embodiment of the present application. Figure 5 As shown, the demodulation method of the ASK signal includes the following steps:
[0055] S510 , obtaining a target data packet, where the target data packet has multiple ASK signals, and each ASK signal has a corresponding duration.
[0056] S520 : Determine an output result of each ASK signal in each virtual channel based on the duration of each ASK signal and a plurality of virtual channels.
[0057] In some embodiments, the preset duration range includes: a first preset duration range and a second preset duration range; wherein the first preset duration range is used to indicate that the duration is less than or equal to the preset duration; the second preset duration range is used to indicate that the duration is greater than the preset duration.
[0058] It should be noted that the preset duration range of each virtual channel is different.
[0059] In some embodiments, the preset duration range includes: a first preset duration range and a second preset duration range; wherein the first preset duration range is used to indicate that the duration is less than the preset duration; the second preset duration range is used to indicate that the duration is greater than or equal to the preset duration.
[0060] As an example but not limitation, the preset duration may be 375us, an intermediate value between 250us and 500us, or any value between 250us and 375us, or any value between 375us and 500us, which is not limited here.
[0061] In some embodiments, the output result corresponding to each ASK signal within the first preset duration range indicates that the voltage level of the corresponding ASK signal is a first voltage value.
[0062] In some embodiments, the output result corresponding to each ASK signal within the second preset duration range indicates that the voltage level of the corresponding ASK signal is a second voltage value.
[0063] For example, the duration corresponding to an ASK signal is 250us, and the preset duration range of a virtual channel includes: a first preset duration range and a second preset duration range, wherein the first preset duration range is used to indicate that the duration is less than the preset duration 375us, and the second preset duration range is used to indicate that the duration is greater than or equal to the preset duration 375us. Then, the output result of the ASK signal on the virtual channel indicates that the voltage level of the ASK signal is the first voltage value, corresponding to data 1.
[0064] For example, Figure 6 As shown, Figure 6 This is a functional block diagram of multiple virtual channels provided in an embodiment of the present application. The multiple virtual channels are: a first virtual channel, a second virtual channel, and a third virtual channel. The preset duration corresponding to the first virtual channel is 270us, the preset duration corresponding to the second virtual channel is 375us, and the preset duration corresponding to the third virtual channel is 500us.
[0065] S530 : Determine the demodulation result of the target data packet in each virtual channel according to the output result of each ASK signal in each virtual channel.
[0066] S540: When the demodulation result of any virtual channel indicates that target data of the target data packet is demodulated, a check value is generated based on the packet header information and the data frame.
[0067] The target data includes packet header information, data frame and checksum.
[0068] As an example and not a limitation, the method for generating the verification value in the embodiment of the present application can be a checksum verification method, or other similar verification methods, which are not limited here.
[0069] S550: If the check value is consistent with the checksum, it is determined that the target data has passed the check, and a first check result is obtained.
[0070] S560: If the check value is inconsistent with the checksum, it is determined that the target data verification fails, and a second verification result is obtained.
[0071] S570: If the verification result indicates that the target data verification has passed, the target data is transmitted to the next wireless charging execution step, and the multiple virtual channels are reset.
[0072] At least one advantageous aspect of the ASK signal demodulation method provided in the embodiment of the present application is: determining the voltage level of each ASK signal in the target data packet through multiple virtual channels, and then demodulating the header information and data frame in the target data according to any virtual channel to generate a check value, and judging whether the target data has passed the check by the check value; if the check passes, the target data is transmitted to the next wireless charging execution step, and the multiple virtual channels are reset, thereby avoiding the problem of dynamic information of the load being superimposed on the ASK signal due to the dynamic current inside the electronic device during charging, and the relative uncertainty of the position between the RX end and the TX end, which causes the ASK signal at the TX end to be unstable, thereby improving the efficiency and accuracy of ASK signal demodulation and improving the stability of the electronic device during wireless charging.
[0073] Figure 7 This is a functional block diagram of the ASK signal demodulation device provided in the embodiment of the present application. Figure 7 As shown, the ASK signal demodulation device 700 may include:
[0074] An acquisition module 710 is configured to acquire a target data packet, where the target data packet has multiple ASK signals, each of which has a corresponding duration;
[0075] A first determining module 720 is configured to determine an output result of each ASK signal on each virtual channel based on the duration of each ASK signal and a plurality of virtual channels;
[0076] The output result of each virtual channel is used to indicate that the voltage level of the corresponding ASK signal is the first voltage value or the second voltage value, and each virtual channel has a preset duration range, and the preset duration range corresponds to the output result;
[0077] A second determining module 730 is configured to determine a demodulation result of the target data packet in each virtual channel according to an output result of each ASK signal in each virtual channel;
[0078] A verification module 740 is configured to verify the target data to obtain a verification result when the demodulation result of any virtual channel indicates that the target data of the target data packet is demodulated;
[0079] The transmission reset module 750 is configured to transmit the target data to the next wireless charging execution step and reset the multiple virtual channels if the verification result indicates that the target data has passed the verification.
[0080] At least one advantageous aspect of the ASK signal demodulation device provided in an embodiment of the present application is: determining the voltage level of each ASK signal in a target data packet through multiple virtual channels, and then verifying the target data of the target data packet demodulated from any virtual channel. If the verification passes, the target data is transmitted to the next wireless charging execution step, and multiple virtual channels are reset, thereby avoiding the problem of dynamic information of the load being superimposed on the ASK signal due to the dynamic current inside the electronic device during charging, and the problem of instability of the ASK signal at the TX end due to the relative uncertainty of the position between the RX end and the TX end, thereby improving the efficiency and accuracy of ASK signal demodulation and improving the stability of the electronic device during wireless charging.
[0081] Figure 8 This is a functional block diagram of an ASK signal demodulation device provided by another embodiment of the present application. Figure 8 As shown, the ASK signal demodulation device 700 may include:
[0082] An acquisition module 710 is configured to acquire a target data packet, where the target data packet has multiple ASK signals, each of which has a corresponding duration;
[0083] A first determining module 720 is configured to determine an output result of each ASK signal on each virtual channel based on the duration of each ASK signal and a plurality of virtual channels;
[0084] The output result of each virtual channel is used to indicate that the voltage level of the corresponding ASK signal is the first voltage value or the second voltage value, and each virtual channel has a preset duration range, and the preset duration range corresponds to the output result;
[0085] A second determining module 730 is configured to determine a demodulation result of the target data packet in each virtual channel according to an output result of each ASK signal in each virtual channel;
[0086] A verification module 740 is configured to verify the target data to obtain a verification result when the demodulation result of any virtual channel indicates that the target data of the target data packet is demodulated;
[0087] The transmission reset module 750 is configured to transmit the target data to the next wireless charging execution step and reset the multiple virtual channels if the verification result indicates that the target data has passed the verification.
[0088] Optionally, the preset duration range includes: a first preset duration range and a second preset duration range;
[0089] The first preset duration range is used to indicate that the duration is less than or equal to the preset duration;
[0090] The second preset duration range is used to indicate that the duration is greater than the preset duration.
[0091] Optionally, the preset duration range includes: a first preset duration range and a second preset duration range;
[0092] The first preset duration range is used to indicate that the duration is less than the preset duration;
[0093] The second preset duration range is used to indicate that the duration is greater than or equal to the preset duration.
[0094] Optionally, the output result corresponding to each ASK signal within the first preset time range indicates that the voltage level of the corresponding ASK signal is a first voltage value.
[0095] Optionally, the output result corresponding to each ASK signal within the second preset time range indicates that the voltage level of the corresponding ASK signal is a second voltage value.
[0096] Optionally, the first voltage value is greater than the second voltage value.
[0097] Optionally, the verification module 740 includes:
[0098] A generating unit 741 is configured to generate a check value based on the packet header information and the data frame;
[0099] A first determining unit 742 is configured to determine that the target data has passed verification if the verification value is consistent with the checksum, thereby obtaining a first verification result;
[0100] The second determining unit 743 is configured to determine that the target data verification fails if the verification value is inconsistent with the checksum, and obtain a second verification result.
[0101] At least one advantageous aspect of the ASK signal demodulation device provided in the embodiment of the present application is: determining the voltage level of each ASK signal in the target data packet through multiple virtual channels, and then demodulating the header information and data frame in the target data according to any virtual channel to generate a check value, and judging whether the target data has passed the check by the check value; if the check passes, the target data is transmitted to the next wireless charging execution step, and the multiple virtual channels are reset, thereby avoiding the problem of dynamic information of the load being superimposed on the ASK signal due to the dynamic current inside the electronic device during charging, and the relative uncertainty of the position between the RX end and the TX end, which causes the ASK signal at the TX end to be unstable, thereby improving the efficiency and accuracy of ASK signal demodulation and improving the stability of the electronic device during wireless charging.
[0102] It should be noted that, in the embodiments of the present application, the functional modules named by functionality are used as an example to describe in detail the method steps to be implemented by the device provided by the embodiments of the present application. Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working process of the device and module described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0103] Those skilled in the art may implement the described functionality using different methods for each specific application, but such implementations should not be considered beyond the scope of this application. The computer software may be stored in a computer-readable storage medium, and when executed, the program may include the processes of the embodiments of the above methods. The storage medium may be a magnetic disk, an optical disk, a read-only memory, or a random access memory.
[0104] Figure 9 A schematic diagram of a wireless charging transmitter provided in an embodiment of the present application is shown. The embodiment of the present application does not limit the specific implementation of the wireless charging transmitter.
[0105] like Figure 9 As shown, the wireless charging transmitter may include: a processor (processor) 902 , a communication interface (Communications Interface) 904 , a memory (memory) 906 , and a communication bus 908 .
[0106] Processor 902, communication interface 904, and memory 906 communicate with each other via communication bus 908. Communication interface 904 is used to communicate with other devices, such as clients or other server network elements. Processor 902 is used to execute program 910, which may specifically perform the steps described in the above-mentioned ASK signal demodulation method embodiment.
[0107] Specifically, the program 910 may include program codes, which include computer operating instructions, and may be used to enable the processor 902 to execute the ASK signal demodulation method in any of the above method embodiments.
[0108] In the embodiment of the present application, depending on the type of hardware used, the processor 902 can be a central processing unit (CPU), and the processor 902 can also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
[0109] The memory 906 is used to store the program 910. The memory 906 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory, a flash memory device, or other non-volatile solid-state memory device.
[0110] It has a program storage area and a data storage area, which are respectively used to store programs 910 and corresponding data information, such as non-volatile software programs, non-volatile computer executable programs and modules stored in the program storage area.
[0111] The present application also provides a computer-readable storage medium. The computer-readable storage medium may be a non-volatile computer-readable storage medium. The computer-readable storage medium stores a computer program.
[0112] When executed by a processor, the computer program implements one or more steps of the ASK signal demodulation method disclosed in the embodiments of the present application. The complete computer program product is embodied on one or more computer-readable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing the computer program disclosed in the embodiments of the present application.
[0113] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Under the concept of the present invention, the technical features in the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations in different aspects of the present invention as described above. For the sake of simplicity, they are not provided in detail. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in this field should understand that they can still modify the technical solutions described in the above embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A demodulation method for an ASK signal, characterized in that: include: Acquire a target data packet, wherein the target data packet has a plurality of ASK signals, and each ASK signal has a corresponding duration; Determine, based on the duration of each ASK signal and a plurality of virtual channels, an output result of each ASK signal in each virtual channel; wherein the output result of each virtual channel is used to indicate that the voltage level of the corresponding ASK signal is a first voltage value or a second voltage value, and each virtual channel has a preset duration range, and the preset duration range corresponds to the output result; Determine the demodulation result of the target data packet in each virtual channel according to the output result of each ASK signal in each virtual channel; When the demodulation result of any virtual channel indicates that the target data of the target data packet is demodulated, verifying the target data to obtain a verification result; If the verification result indicates that the target data passes the verification, the target data is transmitted to the next wireless charging execution step, and the multiple virtual channels are reset.
2. The method according to claim 1, characterized in that The preset duration range includes: a first preset duration range and a second preset duration range; The first preset duration range is used to indicate that the duration is less than or equal to the preset duration; The second preset duration range is used to indicate that the duration is greater than the preset duration.
3. The method according to claim 1, characterized in that The preset duration range includes: a first preset duration range and a second preset duration range; The first preset duration range is used to indicate that the duration is less than the preset duration; The second preset duration range is used to indicate that the duration is greater than or equal to the preset duration.
4. The method according to claim 2, characterized in that The output result corresponding to each ASK signal within the first preset time range indicates that the voltage level of the corresponding ASK signal is a first voltage value.
5. The method according to claim 2, characterized in that The output result corresponding to each ASK signal within the second preset time range indicates that the voltage level of the corresponding ASK signal is a second voltage value.
6. The method according to any one of claims 1 to 5, characterized in that The first voltage value is greater than the second voltage value.
7. The method according to claim 1, characterized in that The target data includes: packet header information, data frame and checksum; the target data is checked to obtain a check result, including: Generate a check value based on the packet header information and the data frame; If the check value is consistent with the checksum, it is determined that the target data has passed the check, and a first check result is obtained; If the check value is inconsistent with the checksum, it is determined that the target data fails the check, and a second check result is obtained.
8. A demodulation device for an ASK signal, characterized in that: include: An acquisition module is used to acquire a target data packet, wherein the target data packet has multiple ASK signals, and each ASK signal has a corresponding duration; A first determination module is configured to determine an output result of each ASK signal in each virtual channel based on the duration of each ASK signal and a plurality of virtual channels; wherein the output result of each virtual channel is used to indicate that the voltage level of the corresponding ASK signal is a first voltage value or a second voltage value, and each virtual channel has a preset duration range, and the preset duration range corresponds to the output result; A second determining module is used to determine the demodulation result of the target data packet in each virtual channel according to the output result of each ASK signal in each virtual channel; A verification module, configured to verify the target data to obtain a verification result when the demodulation result of any virtual channel indicates that the target data of the target data packet is demodulated; A transmission reset module is configured to transmit the target data to a next wireless charging execution step and reset the multiple virtual channels if the verification result indicates that the target data has passed verification.
9. A wireless charging transmitter, characterized in that: The wireless charging transmitter includes: at least one processor; and a memory communicatively connected to the at least one processor; The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the ASK signal demodulation method according to any one of claims 1 to 7.
10. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions are executed by a processor, the ASK signal demodulation method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
ASK signal filtering method and equipment
CN110784426A
Wireless charging transmitting terminal, data demodulation method and device, equipment and storage medium
CN114583853A