Infrared remote control based on Bluetooth pairing control

By integrated pairing modules, detection modules, somatosensory modules, Bluetooth modules, and microcontrollers in infrared remote controls, the combination of Bluetooth pairing control and infrared remote control is solved, and the problem of remote control of infrared remote control provides a broader remote control Ability and low -voltage early warning function.

CN118865652BActive Publication Date: 2025-01-28JIANGXI XINGYUAN STAR TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410762765.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-13
Publication Date
2025-01-28
Estimated Expiration
2044-06-13

AI Technical Summary

Technical Problem

The remote control of infrared remote control has directional restrictions, and the remote control distance is short, resulting in limited remote control.

Method used

By integrated pairing modules, detection modules, somatosensory modules, Bluetooth modules, and microcontrollers in infrared remote controls, the combination of Bluetooth pairing control and infrared remote control supports voice and somatosensory commands.

Benefits of technology

The Bluetooth remote control electrical appliances are implemented during the Bluetooth connection, and infrared remote control can be used directly when the Bluetooth -free connection can be used to solve the problem of limited use of traditional infrared remote control. At the same time, it provides low -voltage early warning functions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118865652B_ABST
    Figure CN118865652B_ABST
Patent Text Reader

Abstract

The present invention discloses an infrared remote controller based on Bluetooth pairing control, and belongs to the technical field of infrared remote controllers. The infrared remote controller based on Bluetooth pairing control includes a pairing module, a detection module, a somatosensory module, a Bluetooth module and a microcontroller. The present invention solves the problem of limited use of existing infrared remote controllers. The present invention searches for surrounding Bluetooth devices and pairs them to connect, so that the controlled electrical appliances can be remotely controlled by Bluetooth. When there is no Bluetooth connection, the controlled electrical appliances can be directly remotely controlled by infrared. Through Bluetooth remote control, the problem of traditional infrared remote control being limited by distance and direction is avoided, and voice can be collected, and the controlled electrical appliances can be controlled according to voice commands, and the motion state of the infrared remote controller can be sensed to obtain somatosensory commands, and the controlled electrical appliances can be controlled according to the somatosensory commands. At the same time, a low-voltage LED indicator reminder is provided to improve the practicality of the infrared remote controller.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of infrared remote controllers, in particular to an infrared remote controller based on Bluetooth pairing control. Background Art

[0002] Infrared remote control generally consists of two parts: transmitter and receiver. The transmitter consists of command key, command signal generating circuit, modulation circuit, drive circuit and infrared transmitter. When the command key is pressed, the command signal generating circuit generates the required control signal. After the control command signal is modulated by the modulation circuit, the drive circuit finally drives the infrared transmitter to send out the infrared remote control command signal.

[0003] However, the infrared remote control has the following problems during actual use: the infrared remote control has directional restrictions and a short remote control distance, which limits the remote control of the infrared remote control; therefore, it does not meet existing needs, and an infrared remote control based on Bluetooth pairing control is proposed. Summary of the invention

[0004] The purpose of the present invention is to provide an infrared remote control based on Bluetooth pairing control, which can search for surrounding Bluetooth devices and pair them to connect, so that the controlled electrical appliances can be remotely controlled by Bluetooth. When there is no Bluetooth connection, the controlled electrical appliances can be directly controlled by infrared remote control. In addition, the infrared remote control can collect voice and control the controlled electrical appliances according to voice commands, and sense the movement state of the infrared remote control to obtain body sensing commands and control the controlled electrical appliances according to the body sensing commands, thereby solving the problems raised in the above-mentioned background technology.

[0005] To achieve the above object, the present invention provides the following technical solution: an infrared remote controller based on Bluetooth pairing control, comprising:

[0006] Pairing module for

[0007] Search for surrounding Bluetooth devices and pair them. After pairing is successful, the key operations and voice operations on the main interface of the keypad generate corresponding key commands and voice commands and send them to the Bluetooth module;

[0008] Detection module for

[0009] Detect the voltage of the infrared remote controller and analyze the voltage detection data. According to the analysis result, determine whether the voltage of the infrared remote controller is too low. If the voltage of the infrared remote controller is too low, generate an early warning signal and send it to the microcontroller.

[0010] Somatosensory module for

[0011] Sense the motion state of the infrared remote control, generate corresponding somatosensory commands according to the motion state and send them to the Bluetooth module;

[0012] Bluetooth module for

[0013] Connected to the microcontroller, it receives and sends data information via Bluetooth technology and is responsible for forwarding the key commands, voice commands and somatosensory commands sent by the paired module to the microcontroller;

[0014] Microcontroller for

[0015] It responds to the key commands, voice commands and somatosensory commands forwarded by the Bluetooth module, converts the received key commands into infrared signals to control the controlled electrical appliances accordingly, controls the controlled electrical appliances accordingly according to voice commands, controls the controlled electrical appliances accordingly according to somatosensory commands, and at the same time, controls the LED indicator light to issue an early warning in response to the early warning signal sent by the detection module.

[0016] Furthermore, the infrared remote controller has two states, namely, a learning state and a control state, specifically:

[0017] When the infrared remote controller is in the learning state, every time the user presses a button on the main interface, the infrared receiver starts to receive the external infrared signal and converts it into an electrical signal, which is then detected, shaped, and amplified. The CPU then samples it regularly and stores the binary data of each sampling point in 8-bit units into the designated storage unit for use by the controlled electrical appliance.

[0018] When the infrared remote controller is in control state, each time the user presses a button on the button main interface, the CPU reads a series of binary data from the specified storage unit and outputs it serially to the signal holding circuit. At the same time, the modulation circuit modulates the signal, amplifies the modulated signal, and transmits it by the infrared transmitter, thereby realizing the control of the corresponding function of the button;

[0019] The infrared receiver, CPU, storage unit and infrared transmitter are all located in the access circuit board of the infrared remote controller.

[0020] Furthermore, the pairing module includes:

[0021] Bluetooth search module for

[0022] Search for surrounding Bluetooth devices and pair and connect the found Bluetooth devices;

[0023] Bluetooth command matching output module for

[0024] Identify the operation of the button main interface. After the Bluetooth pairing is successful, the user performs button operations or voice operations through the button main interface, and the button operations and voice operations are generated into corresponding button commands and voice commands, and sent to the Bluetooth module.

[0025] Furthermore, the button main interface is used for user operation, including a button area, which is a daily button operation area of ​​an infrared remote controller, including direction keys, numeric keys and function keys, wherein the function keys include a Bluetooth key, a voice key and a one-button direct access area;

[0026] The function keys perform the following operations:

[0027] When the Bluetooth button is selected, the search for surrounding Bluetooth devices begins. The Bluetooth device is selected through the direction keys and the pairing connection is confirmed. After the pairing is successful, the user's button operation on the button main interface is obtained.

[0028] When the voice button is selected, the user's voice information is collected. The infrared remote control is equipped with a microphone. Pressing the voice button enables the microphone to collect voice information and obtain the user's voice operation.

[0029] When you select the one-click direct access area, you can go directly to the APP with one click. The one-click direct access area has multiple direct access to APP buttons, including the NETFLIX button, YouTube button, REDBOX button and Google Play button.

[0030] Furthermore, the detection module monitors the voltage parameters of the infrared remote control in real time, obtains voltage detection data, analyzes the voltage of the infrared remote control according to the detected voltage detection data, and determines whether the voltage of the infrared remote control is too low through the analysis results. If the voltage of the infrared remote control is normal, the detection continues; if the voltage of the infrared remote control is too low, a warning signal is generated and sent to the microcontroller.

[0031] Furthermore, the somatosensory module specifically performs the following operations:

[0032] The somatosensory module uses a somatosensory sensor to sense the motion state of the infrared remote control. The somatosensory sensor is located in the gripping part below the infrared remote control.

[0033] The corresponding motion sensing command is generated according to the motion state of the infrared remote controller, and the motion sensing command is forwarded to the microcontroller via the Bluetooth module.

[0034] Furthermore, the Bluetooth module searches for other Bluetooth devices and pairs with them to control the controlled electrical appliances to perform corresponding control actions. The Bluetooth module supports the BLE protocol, and the Bluetooth module adopts a low-power Bluetooth module. Based on the BLE protocol, the Bluetooth module performs continuous data transmission at a higher rate within a short distance.

[0035] Furthermore, the microcontroller comprises:

[0036] Key command processing module, used for

[0037] Receive key commands sent by the Bluetooth module and convert them into infrared remote control signals;

[0038] Infrared transmitter module for

[0039] Perform infrared remote control on the controlled electrical appliance, and transmit the infrared remote control signal converted by the key command processing module to the controlled electrical appliance;

[0040] Voice command processing module for

[0041] Receive the voice command sent by the Bluetooth module, convert the voice command into a voice control signal, and output the converted voice control signal to the controlled electrical appliance;

[0042] Somatosensory command processing module, used for

[0043] Receive the somatosensory command sent by the Bluetooth module, convert the somatosensory command into a somatosensory control signal, and output the converted somatosensory control signal to the controlled electrical appliance;

[0044] Indicator light control module for

[0045] The early warning signal sent by the monitoring module is received, and the LED indicator light is controlled to issue an early warning according to the early warning signal. The LED indicator light is arranged on the outer shell of the infrared remote controller.

[0046] Furthermore, it also includes: a signal processing module, which is used to pre-process the voltage detection data before the detection module analyzes the voltage of the infrared remote controller according to the detected voltage detection data;

[0047] The signal processing module comprises:

[0048] Extraction module for:

[0049] Analyze the voltage waveform signal included in the voltage detection data, determine the number of waveforms, and divide the voltage waveform signal according to the number of waveforms to obtain a plurality of sub-voltage waveform signals;

[0050] Performing spectrum analysis and waveform feature extraction processing on a plurality of sub-voltage waveform signals according to fast Fourier transform to obtain spectrum features and waveform features;

[0051] Clustering module for:

[0052] A sliding window of a preset length is set with a step size of 1, and is slid on a queue established based on a plurality of sub-voltage waveform signals; the sub-voltage waveform signal of the preset length selected by the sliding window box is used as the sub-voltage waveform signal to be processed;

[0053] Clustering is performed based on the waveform feature of each sub-voltage waveform signal to be processed, and the sub-voltage waveform signals to be processed having the same waveform feature are grouped as a cluster set to obtain a plurality of cluster sets;

[0054] Select a cluster set whose number of elements is greater than or equal to 3 from several cluster sets as the target cluster set;

[0055] The judgment module is used to:

[0056] Determine the first element, the middle element, and the last element in the target cluster set; calculate the ratio of the spectrum feature of the middle element to the spectrum feature of the first element as a first ratio, and determine whether it is within a preset ratio range;

[0057] Calculate the ratio of the spectrum feature of the middle element to the spectrum feature of the tail element as a second ratio, and determine whether it is within a preset ratio range;

[0058] When it is determined that the first ratio and the second ratio are both within the preset ratio range, the sliding window continues to slide; otherwise, the average spectrum characteristics are calculated based on the spectrum characteristics of the first element and the spectrum characteristics of the last element, and the spectrum characteristics of the middle element are corrected based on the average spectrum characteristics to obtain the preprocessed voltage detection data.

[0059] Furthermore, it also includes: a detection module, which is used to:

[0060] When the Bluetooth module performs continuous data transmission at a high rate within a short distance based on the BLE protocol, the working status of the Bluetooth module is detected to obtain detection status data;

[0061] Querying a transmission record data table according to the transmission parameters of the Bluetooth module, determining the preset state data corresponding to the transmission parameters, and calculating an error value of the preset state data;

[0062]

[0063] Wherein, S is the error value of the preset state data, K is the number of values ​​included in the preset state data; X i is the i-th value of the preset state data, i=1.2.3...K;

[0064] Calculate the first comprehensive characteristic value F1 of the preset state data:

[0065]

[0066] Among them, e is a natural constant;

[0067] Calculate the second comprehensive eigenvalue F2 of the detection state data:

[0068]

[0069] Among them, X j is the jth value of the detection status data;

[0070] When it is determined that the second comprehensive characteristic value is less than the first comprehensive characteristic value, it indicates that the working state of the Bluetooth module is abnormal, an alarm prompt is issued, and data transmission is stopped.

[0071] Compared with the prior art, the present invention has the following beneficial effects:

[0072] 1. The present invention searches for surrounding Bluetooth devices through a pairing module and pairs them. After the pairing is successful, the key operations and voice operations on the key main interface generate corresponding key commands and voice commands and send them to the Bluetooth module. The motion state of the infrared remote control can also be sensed by the somatosensory module, and the corresponding somatosensory commands are generated according to the motion state and sent to the Bluetooth module. The Bluetooth module is responsible for forwarding the sent key commands, voice commands and somatosensory commands to the microcontroller, and the microcontroller responds to the forwarded key commands, voice commands and somatosensory commands, so that the controlled electrical appliances can be controlled accordingly. Through the above process, the controlled electrical appliances can be remotely controlled by Bluetooth, and the infrared remote control can be directly used for infrared remote control when there is no Bluetooth connection, thereby solving the problem of limited use of traditional infrared remote controls.

[0073] 2. The present invention detects the voltage of the infrared remote control through a detection module and analyzes the voltage detection data. It determines whether the voltage of the infrared remote control is too low based on the analysis result. If the voltage of the infrared remote control is too low, a warning signal is generated and sent to the microcontroller, and the microcontroller controls the LED indicator to issue a reminder based on the warning signal. BRIEF DESCRIPTION OF THE DRAWINGS

[0074] Figure 1 It is a schematic diagram of the overall structure of the infrared remote controller of the present invention;

[0075] Figure 2 It is a schematic diagram of the pairing module structure of the present invention;

[0076] Figure 3 It is a schematic diagram of the structure of the microcontroller of the present invention. DETAILED DESCRIPTION

[0077] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0078] In order to solve the technical problems that the existing infrared remote controller has direction restrictions and short remote control distance, which makes the infrared remote controller limited, please refer to Figure 1-Figure 3 , this embodiment provides the following technical solutions:

[0079] Infrared remote control based on Bluetooth pairing control, including:

[0080] Pairing module for

[0081] Search for surrounding Bluetooth devices and pair them. After pairing is successful, the key operations and voice operations on the main interface of the keypad generate corresponding key commands and voice commands and send them to the Bluetooth module;

[0082] Detection module for

[0083] Detect the voltage of the infrared remote controller and analyze the voltage detection data. According to the analysis result, determine whether the voltage of the infrared remote controller is too low. If the voltage of the infrared remote controller is too low, generate an early warning signal and send it to the microcontroller.

[0084] Somatosensory module for

[0085] Sense the motion state of the infrared remote control, generate corresponding somatosensory commands according to the motion state and send them to the Bluetooth module;

[0086] Bluetooth module for

[0087] Connected to the microcontroller, it receives and sends data information via Bluetooth technology and is responsible for forwarding the key commands, voice commands and somatosensory commands sent by the paired module to the microcontroller;

[0088] Microcontroller for

[0089] It responds to the key commands, voice commands and somatosensory commands forwarded by the Bluetooth module, converts the received key commands into infrared signals to control the controlled electrical appliances accordingly, controls the controlled electrical appliances accordingly according to voice commands, controls the controlled electrical appliances accordingly according to somatosensory commands, and at the same time, controls the LED indicator light to issue an early warning in response to the early warning signal sent by the detection module.

[0090] The technical effect of the above content is as follows: by searching for surrounding Bluetooth devices and pairing them, the controlled electrical appliances can be remotely controlled by Bluetooth. When there is no Bluetooth connection, the controlled electrical appliances can be directly controlled by infrared remote control using an infrared remote control. In addition, the infrared remote control can be used to collect voice and control the controlled electrical appliances according to voice commands, and the movement state of the infrared remote control can be sensed to obtain body sensing commands and control the controlled electrical appliances according to the body sensing commands. In addition, a low-voltage LED indicator light is provided to remind the user. The above design effectively improves the practicality of the infrared remote control.

[0091] The infrared remote control has two states: learning state and control state. Specifically:

[0092] When the infrared remote controller is in the learning state, every time the user presses a button on the main interface, the infrared receiver starts to receive the external infrared signal and converts it into an electrical signal, which is then detected, shaped, and amplified. The CPU then samples it regularly and stores the binary data of each sampling point in 8-bit units into the designated storage unit for use by the controlled electrical appliance.

[0093] When the infrared remote controller is in control state, each time the user presses a button on the button main interface, the CPU reads a series of binary data from the specified storage unit and outputs it serially to the signal holding circuit. At the same time, the modulation circuit modulates the signal, amplifies the modulated signal, and transmits it by the infrared transmitter, thereby realizing the control of the corresponding function of the button;

[0094] The infrared receiver, CPU, storage unit and infrared transmitter are all located in the access circuit board of the infrared remote controller.

[0095] The technical effect of the above content: the infrared remote control is divided into a learning state and a control state. When in the control state, the infrared remote control can control the corresponding function of the button by pressing the button main interface, thereby completing the infrared remote control of the controlled electrical appliance. When in the learning state, every time the user presses a button on the button main interface, the infrared receiver starts to receive external infrared signals, and converts them into electrical signals. After detection, shaping, and amplification, the CPU samples them regularly, and stores the binary data of each sampling point in units of 8 bits in designated storage units for future use in controlling the controlled electrical appliance. Infrared learning is to learn multiple remote controls through one remote control, so as to reduce the number of infrared remote controls used, thereby making it convenient for users to use.

[0096] Pairing module, including:

[0097] Bluetooth search module for

[0098] Search for surrounding Bluetooth devices and pair and connect the found Bluetooth devices;

[0099] Bluetooth command matching output module for

[0100] Identify the operation of the button main interface. After the Bluetooth pairing is successful, the user performs button operations or voice operations through the button main interface, and the button operations and voice operations are generated into corresponding button commands and voice commands, and sent to the Bluetooth module.

[0101] The button main interface is used for user operations, including the button area. The button area is the daily button operation area of ​​the infrared remote control, including direction keys, number keys and function keys. Among them, the function keys include Bluetooth keys, voice keys and one-key direct access area;

[0102] The function keys perform the following operations:

[0103] When the Bluetooth button is selected, the search for surrounding Bluetooth devices begins. The Bluetooth device is selected through the direction keys and the pairing connection is confirmed. After the pairing is successful, the user's button operation on the button main interface is obtained.

[0104] When the voice button is selected, the user's voice information is collected. The infrared remote control is equipped with a microphone. Pressing the voice button enables the microphone to collect voice information and obtain the user's voice operation.

[0105] When you select the one-click direct access area, you can go directly to the APP with one click. The one-click direct access area has multiple direct access to APP buttons, including the NETFLIX button, YouTube button, REDBOX button and Google Play button.

[0106] Technical effects of the above content: when there is no Bluetooth connection, the user can use the infrared remote control to directly perform infrared remote control, and when pairing and connecting to Bluetooth is required, press the Bluetooth button to start Bluetooth search and pairing. Bluetooth search and pairing is to search for surrounding Bluetooth devices through the Bluetooth search module, and pair and connect the searched Bluetooth devices. Bluetooth selection can be completed through the direction key operation on the button main interface. After pairing is completed, the user's operation on the button main interface is recognized through the Bluetooth command matching output module. After the Bluetooth pairing is successful, the user can choose to directly operate the button, and a one-key direct access area is set, which can directly access the APP, including NETFLIX, YouTube, REDBOX and Google Play, thereby improving the use effect of Bluetooth remote control. Voice output can also be selected. When the voice key is selected, the user's voice information is collected through the microphone to obtain the user's voice operation. Finally, the button operation and voice operation generate corresponding button commands and voice commands, and send them to the Bluetooth module. The microcontroller processes the button commands and voice commands and controls the controlled electrical appliances to perform corresponding controls.

[0107] The detection module monitors the voltage parameters of the infrared remote control in real time, obtains voltage detection data, analyzes the voltage of the infrared remote control according to the detected voltage detection data, and determines whether the voltage of the infrared remote control is too low through the analysis results. If the voltage of the infrared remote control is normal, continue to detect; if the voltage of the infrared remote control is too low, generate a warning signal and send it to the microcontroller.

[0108] The technical effect of the above content: the detection module can monitor the voltage parameters of the infrared remote control in real time, so as to obtain the voltage detection data of the current infrared remote control. The voltage of the infrared remote control can be analyzed through the voltage detection data. According to the analysis results, it can be determined whether the voltage of the infrared remote control is normal or low. When it is in low voltage, it is necessary to immediately generate an early warning signal and send it to the microcontroller to remind the user. When it is normal, there is no need to issue a reminder and continue to monitor. By monitoring the voltage of the infrared remote control, the status of the infrared remote control can be grasped, thereby ensuring the normal use of the infrared remote control.

[0109] The somatosensory module performs the following operations:

[0110] The somatosensory module uses a somatosensory sensor to sense the motion state of the infrared remote control. The somatosensory sensor is located in the gripping part below the infrared remote control.

[0111] The corresponding motion sensing command is generated according to the motion state of the infrared remote controller, and the motion sensing command is forwarded to the microcontroller via the Bluetooth module.

[0112] The technical effect of the above content is: the somatosensory sensor is located in the grip part below the infrared remote control. When the user grips the grip part below the infrared remote control, he can grip the infrared remote control and move it, so that the somatosensory sensor can sense the movement state of the infrared remote control, thereby generating corresponding somatosensory commands according to the movement state, and forwarding the somatosensory commands to the microcontroller via the Bluetooth module. The microcontroller processes the somatosensory commands and controls the controlled electrical appliances to perform corresponding controls. The somatosensory module allows users to complete operations without pressing buttons, further improving the use effect of the Bluetooth remote control.

[0113] The Bluetooth module searches for other Bluetooth devices and pairs with them to control the controlled electrical appliances to perform corresponding control actions. The Bluetooth module supports the BLE protocol, and the Bluetooth module uses a low-power Bluetooth module. Based on the BLE protocol, the Bluetooth module performs continuous data transmission at a high rate within a short distance.

[0114] Technical effects of the above contents: The Bluetooth module supports the BLE protocol. The basic characteristics of the BLE protocol are low power consumption, low latency, long distance and low cost; low power consumption: refers to the device being in sleep state most of the time. It is awakened from sleep state to work state only when an event occurs and work is required. It enters sleep state again after the work is completed, so it has low power consumption; low latency: the connection speed is very fast, with a connection speed in milliseconds; long distance: the communication distance is up to hundreds of meters; low cost: since it operates in the 2.4GHz ISM band, there is no need to apply for a license from the management department to use this band, which can save costs. It uses a low-power Bluetooth module and supports the BLE protocol, which can achieve low power consumption and continuous data transmission at a higher rate within a short distance.

[0115] Microcontroller, including:

[0116] Key command processing module, used for

[0117] Receive key commands sent by the Bluetooth module and convert them into infrared remote control signals;

[0118] Infrared transmitter module for

[0119] Perform infrared remote control on the controlled electrical appliance, and transmit the infrared remote control signal converted by the key command processing module to the controlled electrical appliance;

[0120] Voice command processing module for

[0121] Receive the voice command sent by the Bluetooth module, convert the voice command into a voice control signal, and output the converted voice control signal to the controlled electrical appliance;

[0122] Somatosensory command processing module, used for

[0123] Receive the somatosensory command sent by the Bluetooth module, convert the somatosensory command into a somatosensory control signal, and output the converted somatosensory control signal to the controlled electrical appliance;

[0124] Indicator light control module for

[0125] The early warning signal sent by the monitoring module is received, and the LED indicator light is controlled to issue an early warning according to the early warning signal. The LED indicator light is arranged on the outer shell of the infrared remote controller.

[0126] Furthermore, it also includes: a signal processing module, which is used to pre-process the voltage detection data before the detection module analyzes the voltage of the infrared remote controller according to the detected voltage detection data;

[0127] The signal processing module comprises:

[0128] Extraction module for:

[0129] Analyze the voltage waveform signal included in the voltage detection data, determine the number of waveforms, and divide the voltage waveform signal according to the number of waveforms to obtain a plurality of sub-voltage waveform signals;

[0130] Performing spectrum analysis and waveform feature extraction processing on a plurality of sub-voltage waveform signals according to fast Fourier transform to obtain spectrum features and waveform features;

[0131] Clustering module for:

[0132] A sliding window of a preset length is set with a step size of 1, and is slid on a queue established based on a plurality of sub-voltage waveform signals; the sub-voltage waveform signal of the preset length selected by the sliding window box is used as the sub-voltage waveform signal to be processed;

[0133] Clustering is performed based on the waveform feature of each sub-voltage waveform signal to be processed, and the sub-voltage waveform signals to be processed having the same waveform feature are grouped as a cluster set to obtain a plurality of cluster sets;

[0134] Select a cluster set whose number of elements is greater than or equal to 3 from several cluster sets as the target cluster set;

[0135] The judgment module is used to:

[0136] Determine the first element, the middle element, and the last element in the target cluster set; calculate the ratio of the spectrum feature of the middle element to the spectrum feature of the first element as a first ratio, and determine whether it is within a preset ratio range;

[0137] Calculate the ratio of the spectrum feature of the middle element to the spectrum feature of the tail element as a second ratio, and determine whether it is within a preset ratio range;

[0138] When it is determined that the first ratio and the second ratio are both within the preset ratio range, the sliding window continues to slide; otherwise, the average spectrum characteristics are calculated based on the spectrum characteristics of the first element and the spectrum characteristics of the last element, and the spectrum characteristics of the middle element are corrected based on the average spectrum characteristics to obtain the preprocessed voltage detection data.

[0139] The working principle of the above technical solution: In this embodiment, waveform detection: Threshold setting: A threshold is set based on the background noise level of the signal or historical data to identify the beginning and end of the waveform. Peak detection: The peak of the waveform is identified by finding the local maximum (or minimum) through a sliding window method or a differential method. Determination of the number of waveforms: Based on the number of peaks detected, the number of waveforms can be preliminarily determined. However, it should be noted that sometimes a large peak may be composed of multiple small peaks, so further analysis may be required. Consider using clustering algorithms or pattern recognition techniques to more accurately determine the number of waveforms. Waveform segmentation: After the number of waveforms is determined, the original voltage waveform signal can be segmented into several sub-voltage waveform signals according to the start and end time (or position) of the waveform. The segmentation method is based on the waveform (such as segmentation based on the peak or zero point of the waveform).

[0140] In this embodiment, a fast Fourier transform is applied: an FFT algorithm is applied to each sub-voltage waveform signal. The time domain signal is converted into a frequency domain signal, i.e., a spectrum. The output of the FFT is an array of complex numbers, representing the amplitude and phase of different frequency components. Calculate spectrum features: Amplitude spectrum: Take the absolute value of the FFT output result to obtain the amplitude spectrum. The amplitude spectrum describes the intensity of different frequency components in the signal. Power spectrum: Square the amplitude spectrum to obtain the power spectrum. The power spectrum is often used to describe the energy distribution of the signal. Frequency resolution: The resolution of the FFT is related to the length and sampling rate of the signal. Make sure that the resolution of the FFT is high enough to capture the key frequency components in the signal. Main frequency or peak frequency: Find the largest frequency component in the amplitude spectrum or power spectrum, which is usually the main frequency or peak frequency of the signal. Bandwidth: Determine the frequency range occupied by the main frequency components in the spectrum, which can reflect the bandwidth of the signal. Extract waveform features: Waveform parameters: According to the time domain characteristics of the sub-voltage waveform signal, waveform parameters such as period, peak value, valley value, rise time, fall time, etc. are extracted. Waveform symmetry: Calculates the symmetry of a waveform, such as parity, left-right symmetry, etc. Waveform distortion: Evaluates waveform distortion by comparing the difference between the actual waveform and the ideal waveform. Waveform shape factor: Statistical quantities such as kurtosis and skewness are used to describe the shape characteristics of a waveform.

[0141] In this embodiment, a sliding window of a preset length is set with a step size of 1, and slides on a queue established based on a number of sub-voltage waveform signals; the sub-voltage waveform signal of the preset length selected by the sliding window box is used as the sub-voltage waveform signal to be processed; by way of example, the preset length can be 10, that is, the sliding window includes 10 sub-voltage waveform signals.

[0142] In this embodiment, for each sub-voltage waveform signal, key waveform features are extracted. Features may include peak value, valley value, period, rise time, fall time, waveform symmetry, kurtosis, skewness, etc. The features are standardized. This can be achieved by calculating the mean and standard deviation of each feature and then converting the feature value into a standard score (i.e., Z-score). Clustering algorithms include K-means, hierarchical clustering, DBSCAN, spectral clustering, etc. The standardized feature vector is used as input to execute the clustering algorithm. This will cluster sub-voltage waveform signals with similar waveform features into the same cluster set.

[0143] In this embodiment, the target cluster set is a set with at least 3 or more sub-voltage waveform signals to be processed. The first element is the first sub-voltage waveform signal to be processed in the target cluster set; the last element is the last sub-voltage waveform signal to be processed in the target cluster set. The middle element is the sub-voltage waveform signal to be processed between the first sub-voltage waveform signal to be processed and the last sub-voltage waveform signal to be processed in the target cluster set.

[0144] In this embodiment, the frequency spectrum features include amplitude spectrum, power spectrum, etc. In one embodiment, the first ratio is the ratio of the amplitude spectrum of the middle element to the amplitude spectrum of the first element, and the second ratio is the ratio of the amplitude spectrum of the middle element to the amplitude spectrum of the last element. In another embodiment, the first ratio is the ratio of the power spectrum of the middle element to the power spectrum of the first element, and the second ratio is the ratio of the power spectrum of the middle element to the power spectrum of the last element.

[0145] The preset ratio range is a judgment threshold range for judging whether the frequency spectrum characteristics of the middle element are too different from the frequency spectrum characteristics of the first element and the frequency spectrum characteristics of the last element.

[0146] The beneficial effects of the above technical solution are: accurate segmentation of voltage waveform signals is achieved, and spectrum analysis and waveform feature extraction processing are performed to obtain spectrum features and waveform features. Based on the waveform features, clustering processing is performed to obtain a target cluster set, and based on the spectrum features, the signals in the target cluster set are equalized to obtain a corrected signal, thereby obtaining accurate voltage detection data.

[0147] Furthermore, it also includes: a detection module, which is used to:

[0148] When the Bluetooth module performs continuous data transmission at a high rate within a short distance based on the BLE protocol, the working status of the Bluetooth module is detected to obtain detection status data;

[0149] Querying a transmission record data table according to the transmission parameters of the Bluetooth module, determining preset state data corresponding to the transmission parameters, and calculating an error value of the preset state data;

[0150]

[0151] Wherein, S is the error value of the preset state data, K is the number of values ​​included in the preset state data; X i is the i-th value of the preset state data, i=1.2.3...K;

[0152] Calculate the first comprehensive characteristic value F1 of the preset state data:

[0153]

[0154] Among them, e is a natural constant;

[0155] Calculate the second comprehensive eigenvalue F2 of the detection state data:

[0156]

[0157] Among them, X j is the jth value of the detection status data;

[0158] When it is determined that the second comprehensive characteristic value is less than the first comprehensive characteristic value, it indicates that the working state of the Bluetooth module is abnormal, an alarm prompt is issued, and data transmission is stopped.

[0159] The working principle and beneficial effects of the above technical solution: Based on the BLE protocol, when the Bluetooth module performs continuous data transmission at a high rate within a short distance, the working state of the Bluetooth module is detected to obtain detection state data; the transmission parameters of the Bluetooth module include transmission clustering, rate, transmission data volume, etc. The transmission record data table is a transmission parameter-preset state data corresponding data table. Different preset state data will allow different error values, calculate the error value of the preset state data, calculate the first comprehensive characteristic value of the preset state data and the second comprehensive characteristic value of the detection state data, compare the first comprehensive characteristic value and the second comprehensive characteristic value, and determine that the second comprehensive characteristic value is less than the first comprehensive characteristic value, indicating that the working state of the Bluetooth module is abnormal, an alarm prompt is issued, and data transmission is stopped. The accuracy of judging whether the working state of the Bluetooth module is abnormal is improved, thereby facilitating the accurate transmission of data.

[0160] The technical effects of the above contents are as follows: the microcontroller responds to the key commands, voice commands and somatosensory commands forwarded by the Bluetooth module, converts the sent key commands into infrared remote control signals through the key command processing module, and then transmits the infrared remote control signals converted by the key command processing module to the controlled electrical appliance through the infrared transmitting module, thereby making corresponding controls on the controlled electrical appliance, converts the sent voice commands into voice control signals through the voice command processing module, and then outputs the converted voice control signals to the controlled electrical appliance, thereby making corresponding controls on the controlled electrical appliance, converts the somatosensory commands into somatosensory control signals through the somatosensory command processing module, and then outputs the converted somatosensory control signals to the controlled electrical appliance, thereby making corresponding controls on the controlled electrical appliance. Through the above process, in the Bluetooth remote control state, the controlled electrical appliance can be controlled through different operations, which effectively improves the use effect of the Bluetooth remote control. At the same time, the sent warning signal can be output to the LED indicator through the indicator light control module, thereby controlling the LED indicator light to light up to make a warning, so as to remind the user to pay attention.

[0161] Working principle: The pairing module searches for surrounding Bluetooth devices and pairs them. After the pairing is successful, the key operations and voice operations on the button main interface generate corresponding key commands and voice commands and send them to the Bluetooth module. The motion state of the infrared remote control can also be sensed by the somatosensory module, and the corresponding somatosensory commands are generated according to the motion state and sent to the Bluetooth module. The Bluetooth module is responsible for forwarding the sent key commands, voice commands and somatosensory commands to the microcontroller, and the microcontroller responds to the forwarded key commands, voice commands and somatosensory commands, so that the controlled electrical appliances can be controlled accordingly. Through the above process, in the Bluetooth remote control state, the controlled electrical appliances can be controlled through different operations, which effectively improves the use effect of Bluetooth remote control. When there is no Bluetooth connection, the infrared remote control can also be used directly for infrared remote control, thereby solving the problem of limited use of traditional infrared remote controls. At the same time, the voltage of the infrared remote control is detected and analyzed by the detection module to determine whether the voltage of the infrared remote control is too low. If the voltage of the infrared remote control is too low, a warning signal is generated and sent to the microcontroller, and the microcontroller controls the LED indicator to issue a reminder according to the warning signal.

[0162] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

[0163] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. Infrared remote control based on Bluetooth pairing control, characterized in that: include: Pairing module for Search for surrounding Bluetooth devices and pair them. After pairing is successful, the key operations and voice operations on the main interface of the keypad generate corresponding key commands and voice commands and send them to the Bluetooth module; Detection module for Detect the voltage of the infrared remote controller and analyze the voltage detection data. According to the analysis result, determine whether the voltage of the infrared remote controller is too low. If the voltage of the infrared remote controller is too low, generate an early warning signal and send it to the microcontroller. Somatosensory module for Sense the motion state of the infrared remote control, generate corresponding somatosensory commands according to the motion state and send them to the Bluetooth module; Bluetooth module for Connected to the microcontroller, it receives and sends data information via Bluetooth technology and is responsible for forwarding the key commands, voice commands and somatosensory commands sent by the paired module to the microcontroller; Microcontroller for Respond to the key commands, voice commands and somatosensory commands forwarded by the Bluetooth module, convert the received key commands into infrared signals to control the controlled appliances accordingly, control the controlled appliances according to voice commands, control the controlled appliances according to somatosensory commands, and at the same time, control the LED indicator to issue an early warning signal sent by the detection module; The Bluetooth module searches for other Bluetooth devices and pairs with them to control the controlled electrical appliances to perform corresponding control actions. The Bluetooth module supports the BLE protocol, and the Bluetooth module uses a low-power Bluetooth module. Based on the BLE protocol, the Bluetooth module performs continuous data transmission at a high rate within a short distance. Also included is a detection module, for: When the Bluetooth module performs continuous data transmission at a high rate within a short distance based on the BLE protocol, the working status of the Bluetooth module is detected to obtain detection status data; Querying a transmission record data table according to the transmission parameters of the Bluetooth module, determining the preset state data corresponding to the transmission parameters, and calculating an error value of the preset state data; Wherein, S is the error value of the preset state data, K is the number of values ​​included in the preset state data; X i is the i-th value of the preset state data, i=1.2.3...K; Calculate the first comprehensive characteristic value F1 of the preset state data: Among them, e is a natural constant; Calculate the second comprehensive eigenvalue F2 of the detection state data: Among them, X j is the jth value of the detection status data; When it is determined that the second comprehensive characteristic value is less than the first comprehensive characteristic value, it indicates that the working state of the Bluetooth module is abnormal, an alarm prompt is issued, and data transmission is stopped.

2. The infrared remote controller based on Bluetooth pairing control according to claim 1, characterized in that: The infrared remote controller has two states, namely, learning state and control state, specifically: When the infrared remote controller is in the learning state, every time the user presses a button on the main interface, the infrared receiver starts to receive the external infrared signal and converts it into an electrical signal, which is then detected, shaped, and amplified. The CPU then samples it regularly and stores the binary data of each sampling point in 8-bit units into the designated storage unit for use by the controlled electrical appliance. When the infrared remote controller is in control state, each time the user presses a button on the button main interface, the CPU reads a series of binary data from the specified storage unit and outputs it serially to the signal holding circuit. At the same time, the modulation circuit modulates the signal, amplifies the modulated signal, and transmits it by the infrared transmitter, thereby realizing the control of the corresponding function of the button; The infrared receiver, CPU, storage unit and infrared transmitter are all located in the access circuit board of the infrared remote controller.

3. The infrared remote controller based on Bluetooth pairing control according to claim 1, characterized in that: The pairing module comprises: Bluetooth search module for Search for surrounding Bluetooth devices and pair and connect the found Bluetooth devices; Bluetooth command matching output module for Identify the operation of the button main interface. After the Bluetooth pairing is successful, the user performs button operations or voice operations through the button main interface, and the button operations and voice operations are generated into corresponding button commands and voice commands, and sent to the Bluetooth module.

4. The infrared remote controller based on Bluetooth pairing control according to claim 3, characterized in that: The button main interface is used for user operation, including a button area, which is the daily button operation area of ​​the infrared remote control, including direction keys, number keys and function keys, wherein the function keys include Bluetooth keys, voice keys and one-key direct access area; The function keys perform the following operations: When the Bluetooth button is selected, the search for surrounding Bluetooth devices begins. The Bluetooth device is selected through the direction keys and the pairing connection is confirmed. After the pairing is successful, the user's button operation on the button main interface is obtained. When the voice button is selected, the user's voice information is collected. The infrared remote control is equipped with a microphone. Pressing the voice button enables the microphone to collect voice information and obtain the user's voice operation. When you select the one-click direct access area, you can go directly to the APP with one click. The one-click direct access area has multiple direct access to APP buttons, including the NETFLIX button, YouTube button, REDBOX button and Google Play button.

5. The infrared remote controller based on Bluetooth pairing control according to claim 1, characterized in that: The detection module monitors the voltage parameters of the infrared remote control in real time, obtains voltage detection data, analyzes the voltage of the infrared remote control according to the detected voltage detection data, and determines whether the voltage of the infrared remote control is too low through the analysis result. If the voltage of the infrared remote control is normal, the detection continues; if the voltage of the infrared remote control is too low, an early warning signal is generated and sent to the microcontroller.

6. The infrared remote controller based on Bluetooth pairing control according to claim 1, characterized in that: The somatosensory module specifically performs the following operations: The somatosensory module uses a somatosensory sensor to sense the motion state of the infrared remote control. The somatosensory sensor is located in the gripping part below the infrared remote control. The corresponding motion sensing command is generated according to the motion state of the infrared remote controller, and the motion sensing command is forwarded to the microcontroller via the Bluetooth module.

7. The infrared remote controller based on Bluetooth pairing control according to claim 1, characterized in that: The microcontroller comprises: Key command processing module, used for Receive key commands sent by the Bluetooth module and convert them into infrared remote control signals; Infrared transmitter module for Perform infrared remote control on the controlled electrical appliance, and transmit the infrared remote control signal converted by the key command processing module to the controlled electrical appliance; Voice command processing module for Receive the voice command sent by the Bluetooth module, convert the voice command into a voice control signal, and output the converted voice control signal to the controlled electrical appliance; Somatosensory command processing module, used for Receive the somatosensory command sent by the Bluetooth module, convert the somatosensory command into a somatosensory control signal, and output the converted somatosensory control signal to the controlled electrical appliance; Indicator light control module for The early warning signal sent by the monitoring module is received, and the LED indicator light is controlled to issue an early warning according to the early warning signal. The LED indicator light is arranged on the outer shell of the infrared remote controller.

8. The infrared remote controller based on Bluetooth pairing control according to claim 5, characterized in that: Also includes: The signal processing module is used to pre-process the voltage detection data before the detection module analyzes the voltage of the infrared remote controller according to the detected voltage detection data; The signal processing module comprises: Extraction module for: Analyze the voltage waveform signal included in the voltage detection data, determine the number of waveforms, and divide the voltage waveform signal according to the number of waveforms to obtain a plurality of sub-voltage waveform signals; Performing spectrum analysis and waveform feature extraction processing on a plurality of sub-voltage waveform signals according to fast Fourier transform to obtain spectrum features and waveform features; Clustering module for: A sliding window of a preset length is set with a step size of 1, and is slid on a queue established based on a plurality of sub-voltage waveform signals; the sub-voltage waveform signal of the preset length selected by the sliding window box is used as the sub-voltage waveform signal to be processed; Clustering is performed based on the waveform feature of each sub-voltage waveform signal to be processed, and the sub-voltage waveform signals to be processed having the same waveform feature are grouped as a cluster set to obtain a plurality of cluster sets; Select a cluster set whose number of elements is greater than or equal to 3 from several cluster sets as the target cluster set; The judgment module is used to: Determine the first element, the middle element, and the last element in the target cluster set; calculate the ratio of the spectrum feature of the middle element to the spectrum feature of the first element as a first ratio, and determine whether it is within a preset ratio range; Calculate the ratio of the spectrum feature of the middle element to the spectrum feature of the tail element as a second ratio, and determine whether it is within a preset ratio range; When it is determined that the first ratio and the second ratio are both within the preset ratio range, the sliding window continues to slide; otherwise, the average spectrum characteristics are calculated based on the spectrum characteristics of the first element and the spectrum characteristics of the last element, and the spectrum characteristics of the middle element are corrected based on the average spectrum characteristics to obtain the preprocessed voltage detection data.

Citation Information

Patent Citations

  • Learning infrared remote control device based on wireless sensing network and method for realizing same

    CN102385796A

  • OTT television based intelligent remote control system and control method thereof

    CN104185050A

  • Pairing method of control device and display apparatus and the display apparatus

    CN113821184A