Remote control device frequency calibration method and communication method based on remote control device

By adjusting the calibration word of the remote control device, based on parameters such as frequency offset and step value, the problem of low frequency calibration accuracy in the existing technology is solved, and more efficient frequency calibration and device interaction are achieved.

CN116311862BActive Publication Date: 2024-11-26HISENSE VISUAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310301305.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-24
Publication Date
2024-11-26
Estimated Expiration
2043-03-24

AI Technical Summary

Technical Problem

In the existing technology, the frequency of the control signal transmitted by the remote control device is calibrated by adding or subtracting 1 to the calibration word in the register of the remote control device. However, this method has low accuracy and takes a long time to calibrate.

Method used

By receiving control signals transmitted by remote control devices, the frequency offset is determined, and the calibration word is adjusted according to parameters such as frequency offset and step value to keep the frequency offset within the preset range, thereby reducing the number of calibrations and improving calibration accuracy.

Benefits of technology

It shortened the calibration time, improved the accuracy of the calibration characters, and enhanced the interaction between the remote control device and the master device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116311862B_ABST
    Figure CN116311862B_ABST
Patent Text Reader

Abstract

The present application provides an embodiment, which belongs to wireless remote control technology, and provides a remote control device frequency calibration method and a communication method based on the remote control device, the method comprising: setting a calibration word for the remote control device; receiving a control signal transmitted by the remote control device according to the current calibration word, and determining the frequency of the control signal; determining a frequency offset according to the required frequency of the remote control device corresponding to the main device and the frequency of the control signal; if the frequency offset exceeds a preset range, determining a step value of the remote control device according to the frequency offset and the target frequency deviation, and determining an adjusted calibration word according to the current calibration word of the remote control device, the frequency offset, the frequency of the received control signal and at least one of the step value, so that the frequency offset corresponding to the control signal is within the preset range; writing the adjusted calibration word into the remote control device, so that the remote control device determines the frequency of the transmitted control signal according to the adjusted calibration word, thereby improving the accuracy of the calibration word.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to wireless remote control technology, and more specifically, to a remote control device frequency calibration method and a communication method based on the remote control device. Background Art

[0002] With the development of WIFI, Bluetooth, and infrared technologies, wireless remote control technology is being used more and more widely. Crystals are an important component of wireless remote control devices. When the crystals are attached to the circuit board, the frequency of the crystals will shift to a certain extent. In the actual use of wireless remote control devices, if the frequency of the crystals shifts, that is, the frequency deviation, it will cause the wireless remote control device to be disconnected or receive poorly. Therefore, the frequency deviation needs to be controlled within a reasonable range to ensure that the wireless remote control device can send and receive signals normally.

[0003] In the related art, the calibration word of the remote control device register is adjusted by adding +1 or -1 until the control signal transmitted by the remote control device meets the requirements, but the accuracy is low. Summary of the invention

[0004] The exemplary implementation of the present application provides a remote control device frequency calibration method and a communication method based on the remote control device, so as to solve the problem of low accuracy in the related art of calibrating the frequency of the control signal transmitted by the remote control device by adding +1 or -1 to the calibration word of the remote control device register.

[0005] In a first aspect, an embodiment of the present application provides a remote control device frequency calibration method, comprising:

[0006] Setting the calibration word of the remote control device so that the remote control device determines the frequency of transmitting the control signal according to the calibration word;

[0007] receiving a control signal transmitted by a remote control device and determining the frequency of the received control signal;

[0008] Determine the frequency offset according to the required frequency of the remote control device corresponding to the main device and the frequency of the received control signal;

[0009] If the frequency offset exceeds the preset range, determining the step value of the remote control device according to the frequency offset and the target frequency deviation, and determining an adjusted calibration word according to the current calibration word of the remote control device, the frequency offset, the frequency of the received control signal and at least one of the step value, so that the frequency offset corresponding to the received control signal is within the preset range;

[0010] The adjusted calibration word is written into the remote control device so that the remote control device determines the frequency of the control signal transmitted to the master device according to the adjusted calibration word.

[0011] In a second aspect, an embodiment of the present application provides a communication method based on a remote control device, comprising:

[0012] Receiving a control signal transmitted by a remote control device, and reading the strength of the control signal, wherein the frequency of the control signal is determined by any method of the first aspect;

[0013] Determine the distance of the current remote control device according to the strength of the control signal;

[0014] If the distance is within the range of the first distance threshold and the second distance threshold, the strength of the control signal is increased to process the increased control signal, and the first distance threshold is less than the second distance threshold.

[0015] In a third aspect, an embodiment of the present application provides a remote control device, wherein the frequency of a control signal transmitted by the remote control device is calibrated by any method of the first aspect.

[0016] In a fourth aspect, an embodiment of the present application provides a communication device based on a remote control device, including a processor and a memory, wherein the memory stores code, and the processor runs the code stored in the memory to perform the following method:

[0017] Receiving a control signal transmitted by a remote control device, and reading the strength of the control signal, wherein the frequency of the control signal is determined by any method of the first aspect;

[0018] Determine the distance of the current remote control device according to the strength of the control signal;

[0019] If the distance is within the range of the first distance threshold and the second distance threshold, the strength of the control signal is increased to process the increased control signal, and the first distance threshold is less than the second distance threshold.

[0020] In a fifth aspect, the present application provides a communication system, comprising the remote control device of the third aspect and the communication device based on the remote control device of the fourth aspect.

[0021] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement a method as described in any one of the first and second aspects.

[0022] The present application provides a remote control device frequency calibration method and a communication method based on the remote control device. Because the present application determines the step value of the remote control device according to the frequency offset and the target offset when the frequency offset corresponding to the control signal transmitted by the remote control device exceeds the preset range. Further, according to the current frequency offset, the frequency of the received control signal and at least one of the step value, the current calibration word is adjusted to obtain the adjusted calibration word, so that the remote control device determines the control signal according to the adjusted calibration word, and the frequency offset corresponding to the control signal is within the preset range, so as to realize the interaction between the remote control device and the main device. The present application does not need to calibrate the calibration word based on +1 or -1 in sequence, which reduces the number of calibrations and thus reduces the time required for calibration. At the same time, the calibration word is adjusted based on the step value based on multiple parameters such as the frequency offset, the frequency of the received control signal and the step value, which effectively improves the accuracy of the calibration word and improves the interaction effect between the remote control device and the main device.

[0023] These and other aspects of the present application will become more apparent from the following description of the embodiment(s). BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the implementation methods in the embodiments of the present application or the related technologies, the following is a brief introduction to the drawings required for use in the embodiments or the related technology descriptions. Obviously, the drawings described below are some embodiments of the present application, and a person skilled in the art can also obtain other drawings based on these drawings.

[0025] Figure 1 A schematic diagram of the principle of frequency shift of a crystal provided in an embodiment of the present application;

[0026] Figure 2 A schematic diagram of a remote control system architecture provided in an embodiment of the present application;

[0027] Figure 3 A remote control device frequency calibration method process provided in the embodiment of the present application Figure 1 ;

[0028] Figure 4 A remote control device frequency calibration method process provided in the embodiment of the present application Figure 2 ;

[0029] Figure 5 A remote control device frequency calibration method process provided in the embodiment of the present application Figure 3 ;

[0030] Figure 6 A schematic diagram of a calibration format of a calibration word provided in an embodiment of the present application;

[0031] Figure 7A schematic diagram of frequency offsets corresponding to multiple crystal oscillators under different calibration words provided in an embodiment of the present application;

[0032] Figure 8 A flow chart of a communication method based on a remote control device provided in an embodiment of the present application;

[0033] Fig. 9 A flow chart of a communication method based on controlling signal strength provided in an embodiment of the present application;

[0034] Fig.10 A remote control device frequency calibration device provided in an embodiment of the present application is schematically shown Figure 1 ;

[0035] Fig.11 A communication device based on a remote control device provided in an embodiment of the present application is schematically shown Figure 1 ;

[0036] Fig.12 A remote control device frequency calibration device provided in an embodiment of the present application is schematically shown Figure 2 ;

[0037] Fig.13 A communication device based on a remote control device provided in an embodiment of the present application is schematically shown Figure 2 . DETAILED DESCRIPTION

[0038] In order to make the purpose, implementation mode and advantages of the present application clearer, the exemplary implementation mode of the present application will be clearly and completely described below in conjunction with the drawings in the exemplary embodiments of the present application. Obviously, the described exemplary embodiments are only part of the embodiments of the present application, rather than all the embodiments.

[0039] Based on the exemplary embodiments described in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the claims attached to this application. In addition, although the disclosure in this application is introduced according to one or several exemplary examples, it should be understood that each aspect of the disclosure can also constitute a complete implementation method separately.

[0040] It should be noted that the brief description of terms in this application is only for the convenience of understanding the embodiments described below, and is not intended to limit the embodiments of this application. Unless otherwise specified, these terms should be understood according to their ordinary and common meanings.

[0041] The terms "first", "second", "third", etc. in the specification and claims of this application and the above drawings are used to distinguish similar or similar objects or entities, and do not necessarily mean to limit a specific order or sequence, unless otherwise indicated. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, for example, they can be implemented according to orders other than those given in the diagrams or descriptions of the embodiments of this application.

[0042] In addition, the terms "including" and "having" and any variations thereof are intended to cover but not exclude inclusion, for example, a product or device comprising a list of components is not necessarily limited to those components expressly listed but may include other components not expressly listed or inherent to such products or devices.

[0043] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0044] The term "module" as used in this application refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic or combination of hardware and / or software code that is capable of performing the functions associated with that element.

[0045] The display device may be a liquid crystal display, an OLED display, or a projection display device. The specific display device type, size, and resolution are not limited. It is understood by those skilled in the art that the display device may be modified in performance and configuration as required.

[0046] In addition to providing broadcast reception television functions, the display device may also provide additional intelligent network television functions that provide computer support functions, including but not limited to network television, smart television, Internet Protocol television (IPTV), etc.

[0047] With the development of wireless technology, wireless remote control devices are increasingly used in life. Bluetooth and WiFi technologies have led to the presence of wireless remote control devices in refrigerators, air conditioners, TVs, etc. in every household. The crystal oscillator in the remote control device can generate a stable frequency, mainly using the piezoelectric effect of the quartz crystal in the crystal oscillator. When voltage is applied to the quartz crystal, the quartz crystal will produce mechanical deformation, thereby generating voltage, and so on. During use, a platform such as Bluetooth or WiFi usually adapts to a fixed crystal frequency. For example, the 2.4GHz Bluetooth platform has adapted crystal frequencies of 32MHz, 40MHz, 24MHz, etc. The load capacitance of the crystal can be 6pF, 8pF, 9pF, etc. Figure 1 This is a schematic diagram of the principle of frequency deviation of a crystal, refer to Figure 1 As shown in the figure, when the crystal is attached to the circuit board, the frequency of the crystal will have a certain offset. In order to obtain the required radio frequency (RF) frequency, it is also necessary to use PPL (Phase Locked Loop) to multiply the frequency of the crystal, which will increase the frequency offset. In actual use, if the frequency of the crystal is greatly offset, it will cause problems such as disconnection or poor reception. Since the remote control device involves frequency hopping technology, the frequency deviation requirements are high, so the frequency deviation needs to be controlled within a reasonable range to meet the normal transmission and reception of wireless remote control devices.

[0048] In the process of calibrating the frequency deviation, since it is inconvenient to test the frequency deviation using a test instrument, the relevant technology can adjust the calibration word by adding +1 or -1 to the calibration word of the remote control device register until the control signal transmitted by the remote control device meets the requirements. However, the optimal calibration word cannot be obtained, the accuracy is low, and the calibration time is long, which is inefficient.

[0049] In view of this, an embodiment of the present application provides a remote control device frequency calibration method. If the frequency of the control signal determined by the remote control device according to the current calibration word exceeds the preset range, the frequency offset corresponding to the control signal exceeds the preset range. At this time, the current calibration word can be adjusted according to at least one of the current frequency offset, the strength of the control signal and the current step value, so that the frequency offset corresponding to the control signal determined by the remote control device according to the adjusted calibration word is within the preset range, which effectively improves the efficiency of adjusting the calibration word. At the same time, the calibration word is adjusted according to multiple parameters such as the frequency offset, the strength of the control signal and the step value, which effectively improves the accuracy of the calibration word.

[0050] Figure 2 is a schematic diagram of a remote control system architecture, such as Figure 2As shown, the remote control system may include a remote control device and a main device. Among them, the main device may be a display device, such as a television, etc., and may include a power supply, a main controller, an infrared module, a backlight module and a wireless module. The power supply adopts a 220V power input and a 12V output. The main controller is responsible for signal modulation, demodulation processing, voice and other controls. The backlight module is used to provide the backlight source for the main device display screen, and the infrared module is used to control the power on and off of the main device. The wireless module is used to control the device's WiFi, Bluetooth and other functions, and is transmitted to the main controller via USB. The wireless remote control device is used to communicate with the wireless module at close range to realize the function of controlling the main device. Among them, the wireless remote control device can interact with the main device through voice, Bluetooth, infrared and other methods.

[0051] Figure 3 A remote control device frequency calibration method process provided in the embodiment of the present application Figure 1 The method of this embodiment can be executed by a remote control device frequency calibration device and can be implemented through hardware, software, or a combination of hardware and software.

[0052] like Figure 3 As shown, the method is as follows:

[0053] S301: Setting a calibration word of the remote control device so that the remote control device determines the frequency of transmitting a control signal according to the calibration word.

[0054] A remote control device can usually wirelessly control its corresponding host device within a short distance, and can interact with the host device through infrared, Bluetooth, WiFi, voice, etc. For example, a handheld touch remote control device replaces most of the physical built-in hardware in a general remote control device with a user interface in a touch screen. The host device can be a display device corresponding to the remote control device, such as a TV device.

[0055] In some embodiments, when setting the calibration word of the remote control device, the remote control device can be initialized to obtain the initial calibration word of the current remote control device. The calibration word is usually stored in a register in the remote control device. The remote control device also includes a crystal oscillator, which includes a crystal and a load capacitor. The calibration word can be used to characterize the load capacitance. When setting the initial calibration word of the remote control device, it can be determined by the size of the load capacitance. By adjusting the value of the calibration word to change the size of the load capacitance, the frequency of the control signal transmitted by the remote control device is also changed. Therefore, the remote control device can determine the frequency of the transmitted control signal based on the calibration word.

[0056] S302: Receive a control signal transmitted by a remote control device, and determine the frequency of the received control signal.

[0057] The control signal transmitted by the remote control device may be a single carrier signal. The control signal transmitted by the remote control device is the control signal received by the remote control device frequency calibration device of the present application, and the frequencies of the two are the same.

[0058] S303: Determine a frequency offset according to the required frequency of the remote control device corresponding to the master device and the frequency of the received control signal.

[0059] The required frequency of the master device is related to its communication method. For example, if the master device communicates with the remote control device via Bluetooth, the operating frequency of Bluetooth is generally 2.4 GHz, so the required frequency of the master device is 2.4 GHz.

[0060] In some embodiments, the difference between the frequency of the remote control device corresponding to the master device's request and the frequency of the received control signal can be used as the frequency offset, that is, the difference between the master device's request frequency and the frequency of the control signal transmitted by the remote control device is the frequency offset. When the frequency offset is large, the remote control device and the master device cannot communicate normally.

[0061] S304: If the frequency offset exceeds the preset range, the step value of the remote control device is determined according to the frequency offset and the target frequency deviation, and the adjusted calibration word is determined according to the current calibration word of the remote control device, the frequency offset, the frequency of the received control signal and at least one of the step value, so that the frequency offset corresponding to the received control signal is within the preset range.

[0062] The step value, also known as the graded identification product data conversion rule, is an important parameter of the CPU. The step value depends on the load capacitance of the remote control device. The step value is variable and usually ranges from +1 to +3KHz. In one implementation scenario, the absolute value of the difference between the frequency offset and the target frequency deviation can be used as the step value, and the step value is written in the device file in the remote control device frequency calibration device.

[0063] The preset range is the maximum frequency offset range allowed for normal interaction between the main device and the remote control device. It can be adjusted according to actual needs and can be -5KHz-5KHz.

[0064] In another implementation scenario, if the current frequency offset is within a preset range, indicating that the main device and the remote control device can interact normally, there is no need to adjust the frequency of the control signal transmitted by the remote control device.

[0065] S305: writing the adjusted calibration word into the remote control device, so that the remote control device determines the frequency of the control signal transmitted to the master device according to the adjusted calibration word.

[0066] In one implementation scenario, the adjusted calibration word can be written into a register in the remote control device. The remote control device can store a mapping relationship between the calibration word and the control signal frequency. Based on the mapping relationship between the calibration word and the control signal frequency, the frequency of the control signal transmitted corresponding to the adjusted calibration word can be determined. At this time, the host device interacts normally with the remote control device and can process the control signal transmitted by the remote control device accordingly.

[0067] In summary, the remote control device frequency calibration method provided by the embodiment of the present application determines the step value of the remote control device according to the frequency offset and the target offset when the frequency offset corresponding to the control signal transmitted by the remote control device exceeds the preset range. According to the current calibration word of the remote control device, the frequency offset, the frequency of the received control signal and at least one of the step value, the adjusted calibration word is determined so that the frequency offset corresponding to the received control signal is within the preset range, and the calibration word can be adjusted more efficiently compared with the method of adjusting the calibration word in a +1 or -1 manner. At the same time, since the calibration word is adjusted in a +1 or -1 manner to obtain a calibration word that meets the requirements, the remote control device determines the frequency of the control signal according to the calibration word. Although the frequency offset corresponding to the frequency of the control signal is within the preset range, the frequency offset is usually a larger offset within the preset range, and the accuracy is low. The present application adjusts the current calibration word according to at least one of the current frequency offset, the frequency of the received control signal and the current step value, thereby improving the accuracy of the calibration word, reducing the frequency offset, and effectively improving the interaction effect between the remote control device and the host device.

[0068] In one or more embodiments of the present application, after the calibration word of the remote control device is initially set, if the frequency offset corresponding to the frequency of the control signal determined according to the calibration word is within a preset range, there is no need to adjust the calibration word.

[0069] In one or more embodiments of the present application, if the calibration word initially set cannot meet the requirements, in order to make the frequency offset corresponding to the control signal transmitted by the remote control device within a preset range, the calibration word needs to be adjusted once or multiple times. Figure 4 A remote control device frequency calibration method process provided in the embodiment of the present application Figure 2 ,refer to Figure 4 As shown, when the calibration word is adjusted multiple times, the following steps may be repeated until the frequency offset corresponding to the control signal received by the remote control device frequency calibration device is within a preset range:

[0070] S401: Determine a current step value according to a current frequency offset and a target frequency deviation, and determine an adjusted calibration word according to a current calibration word, a frequency offset, a received control signal frequency, and at least one of the step value.

[0071] S402: Send the adjusted calibration word to the remote control device, so that the remote control device transmits a control signal of a corresponding frequency according to the adjusted calibration word.

[0072] S403: Determine the frequency of the currently received control signal, and determine the frequency offset according to the required frequency of the remote control device corresponding to the master device and the frequency of the control signal.

[0073] The above steps S401-S403 may be repeated multiple times until the frequency of the control signal determined by the remote control device according to the adjusted calibration word and the frequency offset of the required frequency of the master device are within a preset range.

[0074] Accordingly, writing the adjusted calibration word into the remote control device includes: after determining that the frequency offset is within a preset range, writing the current adjusted calibration word into the remote control device.

[0075] The implementation process and principle of the above method can be found in the above embodiments and will not be described again here.

[0076] Based on the above embodiments, a specific embodiment is provided below to describe in detail the process of calibrating the frequency of the control signal transmitted by the remote control device.

[0077] Figure 5 A remote control device frequency calibration method process provided in the embodiment of the present application Figure 3 , the method can be performed by a remote control device frequency calibration device. Figure 5 As shown, the method is as follows:

[0078] S501: Obtain the capacitance value of the load capacitance of the crystal oscillator in the remote control device, and determine the initial calibration word of the remote control device according to the mapping relationship between the capacitance value of the load capacitance and the initial value of the calibration word.

[0079] In some embodiments, the remote control device may include components such as a crystal oscillator and a register, wherein the crystal oscillator includes a crystal and a corresponding load capacitor. The calibration word may be stored in the register, and generally the range of the register, i.e., the range of the calibration word, is 0X00-0X255, and there is also a range smaller than 0X00-0X255. Figure 6 A calibration format diagram of a calibration word provided in an embodiment of the present application, such as Figure 6 As shown, the calibration word can be divided into three parts: header file, payload code and calibration word, among which the header file is 6 bytes, the payload code is 9 bytes, and the calibration word is 6 bytes.

[0080] Different load capacitances may correspond to initial calibration words, and the mapping relationship between the capacitance value of the load capacitance and the initial value of the calibration word may include initial calibration words corresponding to multiple different capacitance values. For example, the initial calibration word corresponding to the load capacitance of 6pF may be 0X5A, the initial calibration word corresponding to the load capacitance of 8pF may be 0X9D, and the initial calibration word corresponding to the load capacitance of 9pF may be 0XAD. Based on the mapping relationship between the capacitance value of the load capacitance and the initial value of the calibration word, the method of the present application can adapt to crystal oscillators corresponding to multiple load capacitances.

[0081] S502: Receive a control signal transmitted by a remote control device, and determine the frequency of the received control signal.

[0082] The control signal transmitted by the remote control device may be a single carrier signal. The frequency of the control signal is determined by the remote control device according to the current calibration word. In one implementation scenario, the mapping relationship between the calibration word and the control signal frequency may be preset in the remote control device, and the frequency of the control signal transmitted by it is determined according to the mapping relationship between the calibration word and the control signal frequency.

[0083] The control signal transmitted by the remote control device is the same control signal as the control signal received by the remote control device frequency calibration device of the present application. Therefore, the frequency of the control signal transmitted by the remote control device is consistent with the frequency of the control signal received by the remote control device frequency calibration device of the present application. However, it should be noted that there is a difference between the frequency of the control signal transmitted by the remote control device and the frequency of the crystal itself in the remote control device, and there will be a certain offset. The offset principle has been described above and will not be repeated here.

[0084] S503: Determine a frequency offset according to the frequency required by the remote control device to correspond to the master device and the frequency of the currently received control signal.

[0085] The unit of the frequency offset may be Hz or ppm, where ppm means one part per million. In some embodiments, if the frequency offset is in Hz, the difference between the required frequency of the remote control device corresponding to the master device and the frequency of the received control signal may be used as the frequency offset. Since the required frequency of the master device is usually a fixed value, the frequency offset can be adjusted by adjusting the frequency of the control signal transmitted by the remote control device.

[0086] In another implementation scenario, if the unit of the frequency offset is ppm, the frequency offset can be calculated by the following formula:

[0087] Frequency offset (ppm) = (fO / fn-1) × 10 6

[0088] In the above formula, f0 is the frequency of the received control signal, that is, the frequency of the control signal transmitted by the remote control device, and fn is the required frequency of the main device. The frequency offset can also be calculated by other methods, which is not limited in this application.

[0089] Table 1 Basic parameters of crystal oscillator

[0090]

[0091] As shown in Table 1, if the required frequency is set to 26000000 Hz.

[0092] The output power Fout of the crystal on the PCB board = 26000008Hz. The frequency offset between this frequency and the required frequency = (26000008 / 26000000-1)×10 6 =0.3ppm.

[0093] Crystal frequency FL = 26000024Hz, the frequency offset between this frequency and the required frequency = (26000024-26000000) × 10 6 =0.9ppm.

[0094] S504: If the frequency offset exceeds the preset range, the absolute value of the difference between the current frequency offset and the target frequency offset is used as the current step value, and the target frequency offset is 0.

[0095] The preset range is the frequency offset range within which the current remote control device and its corresponding master device can communicate normally. For example, the preset range may be -5KHz-5KHz.

[0096] In one implementation scenario, when the frequency offset between the control signal sent by the remote control device and the required frequency of the main device exceeds the range of -5KHz-5KHz, the remote control device and the main device cannot communicate normally.

[0097] In some embodiments, a calculation formula for the step value may be as follows:

[0098] Step value = old standard frequency deviation - frequency offset |

[0099] The target frequency deviation refers to the frequency offset between the remote control device's required frequency corresponding to the main device and the frequency of the control signal transmitted by the remote control device to meet the communication requirements. Since the communication effect between the remote control device and the main device is better when the remote control device's required frequency corresponding to the main device is consistent with the frequency of the control signal transmitted by the remote control device, the target frequency deviation can be set to 0.

[0100] For example, when the target frequency is 0 and the frequency offset is 1 KHz, the step value calculated by the above formula is 1000.

[0101] In another implementation scenario, when the frequency offset between the control signal sent by the remote control device and the required frequency of the main device is within the range of -5KHz-5KHz, the remote control device and the main device can communicate normally, and step S07 can be directly executed.

[0102] S505: Divide the product of the frequency of the currently received control signal and the frequency offset by the current step value to obtain a quotient, and use the difference between the current calibration word and the quotient as the adjusted calibration word.

[0103] In some embodiments, a calculation formula for calculating the adjusted calibration word is as follows:

[0104]

[0105] For example, if the current calibration word is 32, the frequency offset is -25 KHz, the frequency of the received control signal is 2442 KHz, and the step value is 1500, then the adjusted calibration word = 32 - (-25x2442 / 1500) = 72.

[0106] The present application only gives an example of a method for calculating the above-mentioned adjusted calibration word. The adjusted calibration word can also be calculated using at least one of the parameters such as the current calibration word, frequency offset, frequency and step value of the received control signal. The calculation method of the adjusted calibration word is not limited herein.

[0107] Figure 7 This is a schematic diagram of the frequency offsets of multiple crystal oscillators under different calibration words. Figure 7 The load capacitances of 6pF, 8pF and 9pF are included. For the same load capacitance, as the calibration word gradually increases, the frequency offset decreases first and then increases in the opposite direction. When the calibration word changes, the frequency offset will also change accordingly. Therefore, the frequency offset can be adjusted by adjusting the calibration word.

[0108] S506: Send the adjusted calibration word to the remote control device, so that the remote control device transmits a control signal of a corresponding frequency according to the adjusted calibration word. Repeat steps S502-S506 until the frequency offset corresponding to the received control signal is within a preset range.

[0109] For example, the adjusted calibration word 70 is sent to the remote control device, and the remote control device transmits a control signal of a corresponding frequency according to the calibration word 70. If the frequency offset corresponding to the control signal still exceeds the preset range at this time, the calibration word 70 is adjusted again until the frequency offset of the control signal is within the preset range.

[0110] S507: After determining that the frequency offset is within the preset range, write the current adjusted calibration word into the remote control device.

[0111] After the current adjusted calibration word is written into the remote control device, the remote control device can determine the frequency of the transmitted control signal according to the calibration word. At this time, the frequency offset corresponding to the frequency of the control signal is within the preset range, so that the remote control device and its corresponding main device can communicate normally. At the same time, after the calibration word is written into the remote control device, it does not need to be modified again. Therefore, when the user actually uses the remote control device to control the main device, it is not necessary to calibrate the frequency of the control signal transmitted by the remote control device every time.

[0112] The following is a comparison of the remote control device frequency calibration method of the present application and the calibration method of related technologies, as shown in Table 2 and Table 3 below:

[0113] Table 2 Test data of the remote control device calibration method based on this application

[0114]

[0115] Table 3 Test data corresponding to the calibration method of +1 or -1 for the calibration word based on the related technology

[0116]

[0117] Taking a crystal oscillator with a crystal frequency of 24 MHz as an example, combined with Table 2 and Table 3, the calibration time based on the remote control device calibration method of the present application is less than the calibration time required by the related technology. At the same time, the frequency offset after calibration based on the related technology is significantly different from the frequency offset after calibration through instrument testing, while the frequency offset after calibration based on the remote control device calibration method of the present application is significantly different from the frequency offset after calibration through instrument testing. Therefore, it can be shown that the calibration word is adjusted using the remote control device calibration method of the present application with a higher accuracy.

[0118] In summary, the remote control device frequency calibration method provided in the embodiment of the present application determines the initial calibration word of the remote control device through the capacitance value of the load capacitor of the crystal oscillator in the remote control device. Receive the control signal transmitted by the remote control device and determine the frequency of the received control signal. Determine the frequency offset according to the required frequency of the remote control device corresponding to the main device and the frequency of the currently received control signal. If the frequency offset exceeds the preset range, the absolute value of the difference between the current frequency offset and the target frequency deviation is used as the current step value. The product of the frequency of the currently received control signal and the frequency offset is divided by the current step value to obtain the corresponding quotient. The difference between the current calibration word and the quotient is used as the adjusted calibration word. The adjusted calibration word is sent to the remote control device, and the remote control device transmits a control signal of the corresponding frequency according to the adjusted calibration word, so that the frequency offset corresponding to the control signal transmitted by the remote control device is within the preset range. After determining that the frequency offset is within the preset range, the current adjusted calibration word is written into the remote control device. The method provided in the embodiment of the present application adjusts the calibration word through multiple parameters such as the frequency, frequency offset and step value of the received control signal. There is no need to gradually adjust the calibration word by +1 and -1 in sequence, which shortens the calibration time and improves the accuracy of the calibration word, thereby reducing the frequency offset and improving the interaction effect between the main device and the remote control device.

[0119] Based on the above embodiments, an embodiment is provided below to describe the process of a remote control device controlling its corresponding master device.

[0120] Figure 8 The present invention provides a flow chart of a communication method based on a remote control device, which can be executed by a communication device based on a remote control device, that is, a master device corresponding to the remote control device, specifically, a wireless module of the master device. The master device can be a display device, such as a TV, etc. Figure 8 As shown, the method may include:

[0121] S801: Receive a control signal transmitted by a remote control device, and read the strength of the control signal.

[0122] The frequency of the control signal is determined by the remote control device frequency calibration method provided in the above embodiment, so that the remote control device and the main device can communicate normally, that is, the main device processes the received control signal. In one implementation scenario, the main device includes a wireless module, and the wireless module receives the control signal transmitted by the remote control device, and the control signal can be a single carrier signal.

[0123] S802: Determine the distance of the current remote control device according to the strength of the control signal.

[0124] A calculation formula for determining the distance between the current remote control device and the main device based on the strength of the control signal is as follows:

[0125] d=10^((abs(RSSI)-A) / (10*n))

[0126] In the above formula, d represents the distance between the remote control device and its corresponding main device, abs represents the absolute value, RSSI represents the strength of the control signal received by the main device, A represents the absolute value of the strength of the control signal received by the main device when the remote control device is 1 meter away from the main device, and n represents the environmental attenuation factor. Usually, RSSI is usually a negative value, such as -77dBm, -83dBm.

[0127] When A is assigned a value of 63, n is assigned a value of 2.0, and RSSI is -77, the distance between the remote control device and its corresponding master device calculated according to the above formula is: d = 10^((77-63) / 20) = 5m.

[0128] When A is assigned a value of 63, n is assigned a value of 2.0, and RSSI is -83, the distance between the remote control device and its corresponding master device calculated according to the above formula is: d = 10^((83-63) / 20) = 10m.

[0129] The present application only gives an example of a method for calculating the distance between the remote control device and the main device. The distance between the remote control device and the main device can also be determined by other methods based on at least one of the parameters such as the strength of the control signal received by the main device, the environmental attenuation factor, and the absolute value of the strength of the control signal received by the main device when the remote control device is 1 meter away from the main device.

[0130] S803: If the distance is within the range of the first distance threshold and the second distance threshold, increase the strength of the control signal to process the increased control signal, and the first distance threshold is less than the second distance threshold.

[0131] The first distance threshold is the maximum distance for normal communication between the remote control device and the main device, and the second distance threshold is the maximum distance for strength enhancement processing of the received control signal. When the distance between the control device and the main device exceeds the second distance threshold, the strength of the control signal is not increased. For example, the first distance threshold can be set to 5 meters and the second distance threshold can be set to 10 meters.

[0132] In one implementation scenario, if the current distance of the remote control device is less than the first distance threshold, for example, the distance between the remote control device and the main device is less than 5 meters, the distance between the remote control device and the main device is within the range for normal communication. Therefore, there is no need to increase the strength of the received control signal, and the remote control device and the main device can communicate normally.

[0133] In another implementation scenario, if the current distance of the remote control device is greater than the second distance threshold, for example, the distance between the remote control device and the main device is greater than 10 meters, and the distance between the remote control device and the main device is too far, the strength of the control signal will no longer be increased to avoid communication between the remote control device and the main device due to the user's erroneous operation of the remote control device at a long distance.

[0134] In some embodiments, it may also be determined whether the control signal needs to be processed only according to the strength of the received control signal. Fig. 9 A flow chart of a communication method based on controlling signal strength provided in an embodiment of the present application is as follows:

[0135] S901: Receive a control signal sent by a remote control device.

[0136] In some embodiments, before receiving the control signal sent by the remote control device, the main device may be initialized to clear the data cached inside the main device.

[0137] S902: Determine whether the strength of the control signal is within a range between a first strength threshold and a second strength threshold.

[0138] S903: If the strength of the control signal is within the range between the first strength threshold and the second strength threshold, increase the strength of the control signal and send the processed control signal.

[0139] The first intensity threshold is smaller than the second intensity threshold. For example, the first intensity threshold may be -83dBm, and the second intensity threshold may be -77dBm.

[0140] S904: If the strength of the control signal is less than the first strength threshold, disconnect the remote control device.

[0141] S905: If the strength of the control signal is greater than the second strength threshold, send the control signal.

[0142] In one implementation scenario, when the strength of the control signal is greater than the second strength threshold, the remote control device and the main device can communicate normally, so the wireless module does not need to amplify the control signal and can directly send the control signal to the main controller in the main device.

[0143] In summary, the communication method based on the remote control device provided in the embodiment of the present application receives the control signal sent by the remote control device and reads the strength of the control signal. The distance of the current remote control device is determined according to the strength of the control signal. If the distance is within the range of the first distance threshold and the second distance threshold, the strength of the received control signal is increased to process the increased control signal. The method provided in the embodiment of the present application determines whether to increase the strength of the received control signal based on the distance of the current remote control device, so that the user can use the remote control device to communicate with the main device when the user is at a relatively long distance from the main device, thereby improving the user experience.

[0144] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.

[0145] Fig.10 A remote control device frequency calibration device provided in an embodiment of the present application is schematically shown Figure 1 .like Fig.10 As shown, the remote control device frequency calibration device 1000 provided in the embodiment of the present application includes: a setting module 1001, a receiving module 1002, a determining module 1003 and a writing module 1004.

[0146] A setting module 1001, used to set a calibration word of the remote control device, so that the remote control device determines the frequency of transmitting the control signal according to the calibration word;

[0147] The receiving module 1002 is used to receive the control signal sent by the remote control device;

[0148] A determination module 1003, configured to determine the frequency of a received control signal;

[0149] The determination module 1003 is further used to determine the frequency offset according to the required frequency of the remote control device corresponding to the master device and the frequency of the received control signal;

[0150] The determination module 1003 is further configured to determine the step value of the remote control device according to the frequency offset and the target frequency deviation if the frequency offset exceeds the preset range, and determine the adjusted calibration word according to the current calibration word of the remote control device, the frequency offset, and at least one of the frequency and step value of the received control signal, so that the frequency offset corresponding to the received control signal is within the preset range;

[0151] The writing module 1004 is further used to write the adjusted calibration word into the remote control device, so that the remote control device determines the frequency of the control signal transmitted to the master device according to the adjusted calibration word.

[0152] It should be noted that the device provided in this embodiment can be used to execute the above-mentioned remote control device frequency calibration device method, and its implementation method and technical effect are similar, which will not be repeated in this embodiment.

[0153] It should be noted that it should be understood that the division of the various modules of the above device is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. And these modules can all be implemented in the form of software called by processing elements; they can also be all implemented in the form of hardware; some modules can also be implemented in the form of software called by processing elements, and some modules can be implemented in the form of hardware. For example, the processing module can be a separately established processing element, or it can be integrated in a chip of the above device. In addition, it can also be stored in the memory of the above device in the form of program code, and called and executed by a processing element of the above device. The implementation of other modules is similar. In addition, these modules can be fully or partially integrated together, or they can be implemented independently. The processing element here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each module above can be completed by an integrated logic circuit of hardware in the processor element or instructions in the form of software.

[0154] For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as one or more ASICs (Application Specific Integrated Circuit), or one or more DSPs (Digital Signal Processors), or one or more FPGAs (Field Programmable Gate Arrays), etc. For another example, when a module above is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a CPU or other processor that can call program code. For another example, these modules may be integrated together and implemented in the form of a SOC (System-on-a-Chip).

[0155] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs. When loading and executing computer program instructions on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer program can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer program can be transmitted from a website site, a computer, a server or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or a data center that includes one or more available media integration. The available medium can be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state disk (SSD)), etc.

[0156] Fig.11 A communication device based on a remote control device provided in an embodiment of the present application is schematically shown Figure 1 .like Fig.11 As shown, the communication device 1100 based on the remote control device provided in the embodiment of the present application includes: a receiving module 1101, a reading module 1102, a determining module 1103 and a processing module 1104.

[0157] The receiving module 1101 is used to receive the control signal transmitted by the remote control device;

[0158] A reading module 1102 is used to read the strength of the control signal, wherein the frequency of the control signal is determined by the remote control device frequency calibration method provided in the above embodiment;

[0159] The determination module 1103 is used to determine the distance of the current remote control device according to the strength of the control signal;

[0160] The processing module 1104 is used to increase the strength of the control signal if the distance is within the range of a first distance threshold and a second distance threshold, so as to process the increased control signal, and the first distance threshold is smaller than the second distance threshold.

[0161] It should be noted that the device provided in this embodiment can be used to execute the above-mentioned communication device method based on the remote control device, and its implementation method and technical effect are similar, which will not be repeated in this embodiment.

[0162] An embodiment of the present application provides a remote control device, and the frequency of a control signal transmitted by the remote control device is calibrated by the remote control device frequency calibration method of the above method embodiment. The calibration process can refer to the above embodiment and will not be repeated here.

[0163] Fig.12 A remote control device frequency calibration device provided in an embodiment of the present application is schematically shown Figure 2 .like Fig.12 As shown, an embodiment of the present application provides a remote control device frequency calibration device 1200 including a processor 1201 and a memory 1202 , wherein the processor 1201 and the memory 1202 are connected via a bus 1203 .

[0164] In the specific implementation process, the memory 1202 stores codes, and the processor 1201 runs the codes stored in the memory 1202 to execute the remote control device frequency calibration method of the above method embodiment.

[0165] The specific implementation process of the processor 1201 can be found in the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.

[0166] In the above Fig.12 In the illustrated embodiment, it should be understood that the processor 1201 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the invention may be directly implemented as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.

[0167] The memory 1202 may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk storage.

[0168] The bus 1203 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus 1203 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus 1203 in the drawings of the present application is not limited to only one bus or one type of bus.

[0169] Fig.13 A communication device based on a remote control device provided in an embodiment of the present application is schematically shown Figure 2 .like Fig.13 As shown, an embodiment of the present application provides a communication device 1300 based on a remote control device, including a processor 1301 and a memory 1302 , wherein the processor 1301 and the memory 1302 are connected via a bus 1303 .

[0170] In the specific implementation process, the memory 1302 stores codes, and the processor 1301 runs the codes stored in the memory 1302 to perform the following method:

[0171] Receiving a control signal transmitted by a remote control device and reading the strength of the control signal, wherein the frequency of the control signal is determined by the remote control device frequency calibration method described above;

[0172] Determine the distance of the current remote control device according to the strength of the control signal;

[0173] If the distance is within the range of the first distance threshold and the second distance threshold, the strength of the control signal is increased to process the increased control signal, and the first distance threshold is less than the second distance threshold.

[0174] The specific implementation process of the processor 1301 can be found in the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.

[0175] An embodiment of the present application provides a communication system, including the remote control device provided above and the communication device based on the remote control device provided above.

[0176] An embodiment of the present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement a method as described in any of the above method embodiments.

[0177] An embodiment of the present application also provides a computer program product, including a computer program, which can implement the method of any of the above method embodiments when executed by a processor.

[0178] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

[0179] For ease of explanation, the above description has been made in conjunction with specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or limit the embodiments to the specific forms disclosed above. Based on the above teachings, various modifications and variations can be obtained. The selection and description of the above embodiments are intended to better explain the principles and practical applications, so that those skilled in the art can better use the embodiments and various different variations of the embodiments suitable for specific use considerations.

Claims

1. A remote control device frequency calibration method, characterized in that: include: Setting a calibration word for the remote control device so that the remote control device determines the frequency of transmitting the control signal according to the calibration word; receiving a control signal transmitted by the remote control device, and determining a frequency of the received control signal; Determine a frequency offset according to the required frequency of the remote control device corresponding to the master device and the frequency of the received control signal; If the frequency offset exceeds the preset range, determining the step value of the remote control device according to the frequency offset and the target frequency deviation, and determining an adjusted calibration word according to the current calibration word of the remote control device, the frequency offset, the frequency of the received control signal and at least one of the step value, so that the frequency offset corresponding to the received control signal is within the preset range; The adjusted calibration word is written into the remote control device so that the remote control device determines the frequency of the control signal transmitted to the master device according to the adjusted calibration word.

2. The method according to claim 1, characterized in that The step value of the remote control device is determined according to the frequency offset and the target frequency deviation, and the adjusted calibration word is determined according to the current calibration word of the remote control device, the frequency offset, the frequency of the received control signal and at least one of the step value, so that the frequency offset corresponding to the received control signal is within a preset range, including: Repeat the following steps until the frequency offset corresponding to the received control signal is within a preset range: Determine a current step value according to a current frequency offset and a target frequency deviation, and determine an adjusted calibration word according to a current calibration word, a frequency offset, and at least one of a frequency and a step value of a received control signal; Sending the adjusted calibration word to the remote control device so that the remote control device transmits a control signal of a corresponding frequency according to the adjusted calibration word; Determine the frequency of the currently received control signal, and determine the frequency offset according to the required frequency of the remote control device corresponding to the master device and the frequency of the control signal; Accordingly, writing the adjusted calibration word into the remote control device comprises: After determining that the frequency offset is within the preset range, the current adjusted calibration word is written into the remote control device.

3. The method according to claim 2, characterized in that The step of determining the adjusted calibration word according to the current calibration word, the frequency offset, and at least one of the frequency and the step value of the received control signal comprises: The product of the frequency of the currently received control signal and the frequency offset is divided by the current step value to obtain a quotient; The difference between the current calibration word and the quotient is used as the adjusted calibration word.

4. The method according to claim 2, characterized in that: The step of determining the current step value according to the current frequency offset and the target frequency deviation includes: The absolute value of the difference between the current frequency offset and the target frequency offset is used as the current step value, and the target frequency offset is 0.

5. The method according to any one of claims 1 to 4, characterized in that: The step of setting a calibration word of the remote control device comprises: Obtaining a capacitance value of a load capacitance of a crystal oscillator in the remote control device; The initial calibration word of the remote control device is determined according to the mapping relationship between the capacitance value of the load capacitance and the initial value of the calibration word.

6. A communication method based on a remote control device, characterized in that: include: Receiving a control signal transmitted by a remote control device, and reading the strength of the control signal, wherein the frequency of the control signal is determined by the method according to any one of claims 1 to 5; Determining the current distance of the remote control device according to the strength of the control signal; If the distance is within the range of a first distance threshold and a second distance threshold, the strength of the control signal is increased to process the increased control signal, and the first distance threshold is smaller than the second distance threshold.

7. A remote control device, characterized in that: The frequency of the control signal transmitted by the remote control device is calibrated by the method described in any one of claims 1-5.

8. A communication device based on a remote control device, characterized in that: The invention comprises a processor and a memory, wherein the memory stores codes, and the processor runs the codes stored in the memory to perform the following method: Receiving a control signal transmitted by a remote control device, and reading the strength of the control signal, wherein the frequency of the control signal is determined by the method according to any one of claims 1 to 5; Determining the current distance of the remote control device according to the strength of the control signal; If the distance is within the range of a first distance threshold and a second distance threshold, the strength of the control signal is increased to process the increased control signal, and the first distance threshold is smaller than the second distance threshold.

9. A communication system, characterized in that: It includes the remote control device described in claim 7 and the communication device based on the remote control device described in claim 8.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 6 when executed by a processor.