Real-time troubleshooting and alarming system and method for key faults of remote controller
By integrating components such as constant current sources and ADCs onto the remote control motherboard, and combining dynamic threshold algorithms and wireless communication, real-time location and remote alarm for remote control button failures were achieved. This solved the problem of the remote control not automatically alarming after button failure, improving maintenance efficiency and user experience.
Patent Information
- Application Number
- CN202511591659.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-03
- Publication Date
- 2026-02-06
AI Technical Summary
The remote control buttons malfunction due to conductive coating contamination, making it impossible to automatically alarm and locate the fault in the first instance. The lack of systematic fault logs and remote alarm methods results in low maintenance efficiency and high costs, seriously affecting user experience and after-sales response speed.
The remote control motherboard integrates a constant current source, ADC, multi-channel scanning circuit and low-power MCU. It combines a reference threshold and a moving average dynamic threshold adaptive algorithm to monitor the button resistance in real time. It also achieves fault location and remote push through audible and visual alarms and wireless communication. It adopts a three-fault confirmation principle to prevent false alarms and optimizes power consumption by combining a ring log buffer and power sensing.
It enables precise location and rapid response to remote control button malfunctions, reduces the false alarm rate, improves operation and maintenance efficiency and user experience, reduces manual maintenance costs, supports online early warning and remote operation and maintenance, and extends device battery life.
Smart Images

Figure CN121476764A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of fault diagnosis technology, specifically to a real-time fault diagnosis and alarm system and method for remote control button malfunctions. Background Technology
[0002] As home appliances such as TV set-top boxes and air conditioners develop towards intelligence and networking, remote controls remain the main means of human-computer interaction. Existing remote controls usually have conductive coatings such as silver powder or carbon powder applied to the inside of the rubber buttons to enable them to conduct electricity with the circuit board contacts when pressed.
[0003] If the environment contains a lot of dust and fingerprints, the conductive coating surface is easily contaminated. Once dust adheres, the coating resistance will increase significantly, even exceeding the connection threshold, causing the button to fail. Traditional troubleshooting often relies on manual disassembly testing or simple function touch judgment.
[0004] When remote control buttons malfunction, repairs or replacements often involve back-and-forth between the user and customer service. However, these systems cannot automatically alarm or locate the faulty button immediately after the malfunction occurs, making it difficult to detect early contact problems in a timely manner. Furthermore, the lack of systematic fault logs and remote alarm methods results in low maintenance efficiency and high costs, severely impacting user experience and after-sales response speed. Therefore, this paper proposes a real-time troubleshooting and alarm system and method for remote control button malfunctions to address the above issues. Summary of the Invention
[0005] The purpose of this invention is to provide a real-time troubleshooting and alarm system and method for remote control button failures. This addresses the problem that when remote control buttons fail, repairs or replacements are often required between the user and customer service, but the system cannot automatically alarm or locate the faulty button at the first moment of the failure. It is also difficult to detect early contact problems in a timely manner, and there is a lack of systematic fault logs and remote alarm methods, resulting in low maintenance efficiency, high costs, and a serious impact on user experience and after-sales response speed.
[0006] To achieve the above objectives, the present invention provides the following technical solution:
[0007] A real-time troubleshooting and alarm system and method for remote control button malfunctions includes the following steps:
[0008] S1: Read the upper limit threshold Rmin and lower limit threshold Rmax of the button conductive layer resistance from the non-volatile memory as the "reference threshold" for initialization, perform system initialization, and start the periodic scan task after initialization. The reference threshold is used for the first scan.
[0009] Then, with a scan period T, based on the configuration parameters and the average resistance of all buttons in the previous complete scan, ... Calculate the dynamic upper limit threshold and lower threshold And update to the dynamic threshold register;
[0010] S2: At regular intervals, a constant, weak current I is applied sequentially to the conductive coating of each rubber button. A constant current source circuit is used to achieve a stable current output, and the voltage values are acquired N times by an analog-to-digital converter (ADC). Calculate the average voltage after removing the maximum and minimum values. Then, the real-time resistance value of each button is calculated. ;
[0011] S3: Based on the real-time resistance value of each button. , and the calculated dynamic upper limit threshold and lower threshold Fault determination is carried out in accordance with fault determination principles;
[0012] S4: When a fault is detected, trigger the buzzer alarm and make the buzzer sound continuously for 2 seconds, and light up or flash the indicator light corresponding to the fault button;
[0013] S5: Enter the fault button number i, fault type, and measured resistance value. Write the timestamp t to a circular buffer with a capacity of 100 records; when the buffer is full, overwrite the oldest record.
[0014] As a further optimization of the present invention, it also includes the following steps:
[0015] S6: Via BLE or Wi-Fi module, {i, fault type, The data is pushed to the mobile app in real time, and the data packet is encapsulated in JSON format.
[0016] S7: After the user triggers the reset button, S2 to S4 are executed again; if Restore to [ , If the alarm is cleared within the specified range, the periodic scan will continue.
[0017] S8: Users can modify Rmin, Rmax, T and alarm mode via the App, and the above parameters are updated to the system in real time.
[0018] As a further optimization of the present invention, in S1, the dynamic upper limit threshold is... and lower threshold The calculation formulas are as follows:
[0019] ;
[0020] In the formula, =0.1.
[0021] As a further optimization of the present invention, in S2, a constant weak current I = 10 μA is applied for a duration of 100 ms, and the average voltage... The calculation formula is:
[0022] ;
[0023] The conversion yields the real-time resistance value of each button. The calculation formula is:
[0024] .
[0025] As a further optimization of this invention, in S3, the fault determination principle is as follows:
[0026] .
[0027] As a further optimization of the present invention, in S3, the fault determination principle further includes: only when the same button is determined to be faulty after three consecutive scans, the S4 alarm is triggered to prevent false alarms caused by occasional glitches or short-term interference.
[0028] As a further optimization of the present invention, in S1 or S8, the scanning cycle T is automatically adjusted according to the remaining power E of the device. When E < 20%, T is extended to twice the original value to reduce power consumption and extend battery life.
[0029] As a further optimization of the present invention, it includes:
[0030] The system initialization module is used to read the upper limit threshold Rmin and lower limit threshold Rmax of the button conductive layer resistance value and the scan period T from the non-volatile memory, as the reference threshold and trigger the first scan;
[0031] The dynamic threshold update module, connected to the system initialization module, is used to update the threshold based on the average resistance of all buttons in the previous scan after each complete scan. and preset coefficients According to the formula Calculate and update the dynamic threshold to the storage register;
[0032] The resistance acquisition module, including a constant current source circuit and a multi-channel ADC, applies a weak current I to the conductive coating of each rubber button. After sampling N times per channel and discarding the maximum and minimum values, the average voltage is calculated, and then the result is determined according to the formula... The real-time resistance value of each button is calculated.
[0033] The fault determination module, connected to the dynamic threshold update module and the resistance acquisition module, is used to compare the real-time resistance value with the dynamic threshold. , Compare, and in accordance with " The problem was determined to be poor contact. "It is determined to be a short circuit; otherwise it is normal", and a fault signal is only output when three consecutive scans show a fault.
[0034] The local alarm module, connected to the fault determination module, is used to trigger the buzzer to sound at different frequencies for 2 seconds when a fault signal is received, and to light up or flash the LED indicator of the corresponding button.
[0035] The log management module, connected to the fault determination module, is used to write the fault button number, fault type, measured resistance value and timestamp into a circular buffer with a capacity of 100 entries, and update it in real time on the local display screen.
[0036] The remote communication module, connected to the log management module, is used to push fault information in JSON format to an external terminal via BLE or Wi-Fi.
[0037] The reset and configuration module is used to respond to user reset operations to re-trigger resistance value acquisition and fault determination, and to modify Rmin, Rmax, T and alarm mode in real time via external App or PC.
[0038] The power sensing and power management module is used to monitor the remaining power E of the device and automatically extend the scanning cycle T to twice when E < 20%.
[0039] As a further optimization of the present invention, a computer program is stored thereon, and when the computer program is executed by a processor, it performs the steps of the method as described in any one of claims 1-7.
[0040] Compared with the prior art, the beneficial effects of the present invention are:
[0041] In this invention, by integrating a constant current source, ADC, multi-channel scanning circuit and low-power MCU on the remote control motherboard, and combining a reference threshold + moving average dynamic threshold adaptive algorithm, the conductive coating resistance of each rubber button can be monitored in real time and at fixed intervals. By adopting the "three-time fault confirmation" principle and local alarm with sound and light synchronization and remote push in JSON format, it can accurately locate the two typical faults of "poor contact" or "short circuit" and avoid false alarms.
[0042] In addition, the system adopts a 100-line circular log buffer and a user-adjustable parameter interface, combined with power management that automatically extends the scanning cycle based on power consumption perception, to achieve an organic combination of online early warning, remote operation and maintenance and low power consumption and long battery life. This significantly improves the detection sensitivity and response speed of remote control button failures, reduces manual maintenance costs, and enhances user reliability and the level of automation in equipment management. Attached Figure Description
[0043] Figure 1 The flowchart shows the real-time troubleshooting and alarm method for remote control button malfunctions according to the present invention.
[0044] Figure 2 This is a system block diagram of the real-time troubleshooting and alarm system for remote control button malfunctions according to the present invention. Detailed Implementation
[0045] Please see Figures 1-2 The present invention provides a technical solution:
[0046] A real-time troubleshooting and alarm system and method for remote control button malfunctions includes the following steps:
[0047] S1: Read the upper limit threshold Rmin and lower limit threshold Rmax of the button conductive layer resistance from the non-volatile memory as the "reference threshold" for initialization, perform system initialization, and start the periodic scan task after initialization. The reference threshold is used for the first scan.
[0048] Then, with a scan period T, based on the configuration parameters and the average resistance of all buttons in the previous complete scan, ... Calculate the dynamic upper limit threshold and lower threshold It is then updated to the dynamic threshold register. By combining the baseline threshold with dynamic updates, the reliability of the first detection is ensured, and environmental and device aging can be adaptively compensated, which greatly reduces the false judgment rate.
[0049] S2: At regular intervals, a constant, weak current I is applied sequentially to the conductive coating of each rubber button. A constant current source circuit is used to achieve a stable current output, and the voltage values are acquired N times by an analog-to-digital converter (ADC). Calculate the average voltage after removing the maximum and minimum values. Then, the real-time resistance value of each button is calculated. The strategy of multiple sampling and removal of outliers can effectively suppress glitches and transient interference, and improve the accuracy of resistance measurement and system stability.
[0050] S3: Based on the real-time resistance value of each button. , and the calculated dynamic upper limit threshold and lower threshold It combines fault judgment principles to make fault judgments, and combines upper and lower limit dual threshold judgments to simultaneously detect two typical faults, "poor contact" and "short circuit", and can flexibly adapt to different button characteristics.
[0051] S4: When a fault is detected, the buzzer alarm is triggered and the buzzer sounds continuously for 2 seconds, and the indicator light corresponding to the fault button is lit or flashed. The sound and light alarm is synchronized, which is intuitive and eye-catching, helping users to quickly locate the fault button and improve maintenance efficiency.
[0052] S5: Enter the fault button number i, fault type, and measured resistance value. A circular buffer with a capacity of 100 records is written to the timestamp t; when the buffer is full, the oldest record is overwritten, and the latest fault log is retained locally to provide data support for subsequent tracing, statistical analysis and fault trend prediction.
[0053] As a further technical solution for implementing this solution, the following steps are also included:
[0054] S6: Via BLE or Wi-Fi module, {i, fault type, The data is pushed to the mobile app in real time. The data packets are encapsulated in JSON format and combined with wireless communication to realize remote alarm and operation and maintenance, meeting the needs of smart home and centralized monitoring scenarios.
[0055] S7: After the user triggers the reset button, S2 to S4 are executed again; if Restore to [ , If the alarm is cleared within the specified range, the periodic scan will continue. It supports a combination of manual reset and automatic retesting to avoid repeated false alarms and can quickly verify the cleaning or repair effect.
[0056] S8: Users can modify Rmin, Rmax, T and alarm mode through the App, and the above parameters are updated to the system in real time. The configuration interface is user-friendly, adaptable to various usage environments and different button aging levels, and improves the system's versatility and maintainability.
[0057] As a further technical solution for implementing this scheme, in S1, the dynamic upper limit threshold... and lower threshold The calculation formulas are as follows:
[0058] ;
[0059] In the formula, =0.1, used for dynamic upper limit threshold. and lower threshold Perform precise calculations;
[0060] As a further implementation of this scheme, in S2, a constant weak current I=10μA is applied for a duration of 100ms, and the average voltage is... The calculation formula is:
[0061] ;
[0062] The real-time resistance value of each button can be calculated. The calculation formula is:
[0063] ,
[0064] The real-time resistance of each button is determined by the applied constant, weak current I. Output the results;
[0065] As a further technical solution to this plan, in S3, the fault determination principle is as follows:
[0066]
[0067] Used to determine the type of fault;
[0068] As a further implementation of this solution, in S3, the fault determination principle further includes: only when the same button is determined to be faulty after three consecutive scans, will the S4 alarm be triggered, in order to prevent false alarms caused by occasional glitches or short-term interference.
[0069] As a further implementation of this solution, S1 or S8 also includes automatically adjusting the scanning cycle T according to the remaining power E of the device. When E < 20%, T is extended to twice the original value to reduce power consumption and extend battery life.
[0070] As a further implementation of this solution, the technical solutions include:
[0071] The system initialization module is used to read the upper limit threshold Rmin and lower limit threshold Rmax of the button conductive layer resistance value and the scan period T from the non-volatile memory, as the reference threshold and trigger the first scan;
[0072] The dynamic threshold update module, connected to the system initialization module, is used to update the threshold based on the average resistance of all buttons in the previous scan after each complete scan. and preset coefficients According to the formula Calculate and update the dynamic threshold to the storage register;
[0073] The resistance acquisition module, including a constant current source circuit and a multi-channel ADC, applies a weak current I to the conductive coating of each rubber button. After sampling N times per channel and discarding the maximum and minimum values, the average voltage is calculated, and then the result is determined according to the formula... The real-time resistance value of each button is calculated.
[0074] The fault diagnosis module, connected to the dynamic threshold update module and the resistance acquisition module, is used to compare the real-time resistance value with the dynamic threshold. , Compare, and in accordance with " The problem was determined to be poor contact. "It is determined to be a short circuit; otherwise it is normal", and a fault signal is only output when three consecutive scans show a fault.
[0075] The local alarm module, connected to the fault determination module, is used to trigger the buzzer to sound at different frequencies for 2 seconds when a fault signal is received, and to light up or flash the LED indicator of the corresponding button.
[0076] The log management module, connected to the fault determination module, is used to write the fault button number, fault type, measured resistance value and timestamp into a circular buffer with a capacity of 100 entries, and update it in real time on the local display screen.
[0077] The remote communication module, connected to the log management module, is used to push fault information in JSON format to an external terminal via BLE or Wi-Fi.
[0078] The reset and configuration module is used to respond to user reset operations to re-trigger resistance value acquisition and fault determination, and to modify Rmin, Rmax, T and alarm mode in real time via external App or PC.
[0079] The power sensing and power management module is used to monitor the remaining power E of the device and automatically extend the scanning cycle T to twice when E < 20%. The system module design has clear responsibilities for each functional unit and can be quickly integrated into the remote control motherboard to achieve integrated operation and maintenance of the end-edge-cloud.
[0080] As a further implementation of this solution, a computer program is stored on it. When the computer program is executed by the processor, it runs the steps in any one of the methods as described in claims 1-7. It has high hardware integration, low resource consumption, and fully considers the energy consumption optimization of daily standby and real-time inspection, thus extending the device's battery life.
[0081] This article uses specific examples to illustrate the principles and implementation methods of the present invention. The above examples are only for the purpose of helping to understand the method and core ideas of the present invention. The above descriptions are only preferred embodiments of the present invention. It should be noted that due to the limitations of textual expression, while there are objectively infinite specific structures, those skilled in the art can make several improvements, modifications, or changes without departing from the principles of the present invention, and can also combine the above technical features in an appropriate manner. These improvements, modifications, changes, or combinations, or the direct application of the inventive concept and technical solution to other situations without modification, should all be considered within the scope of protection of the present invention.
Claims
1. A real-time troubleshooting and alarm method for remote control button malfunctions, characterized in that, Includes the following steps: S1: Read the upper limit threshold Rmin and lower limit threshold Rmax of the button conductive layer resistance from the non-volatile memory as the "reference threshold" for initialization, perform system initialization, and start the periodic scan task after initialization. The reference threshold is used for the first scan. Then, with a scan period T, based on the configuration parameters and the average resistance of all buttons in the previous complete scan, ... Calculate the dynamic upper limit threshold and lower threshold And update to the dynamic threshold register; S2: At regular intervals, a constant, weak current I is applied sequentially to the conductive coating of each rubber button. A constant current source circuit is used to achieve a stable current output, and the voltage values are acquired N times by an analog-to-digital converter (ADC). Calculate the average voltage after removing the maximum and minimum values. Then, the real-time resistance value of each button is calculated. ; S3: Based on the real-time resistance value of each button. , and the calculated dynamic upper limit threshold and lower threshold Fault determination is carried out in accordance with fault determination principles; S4: When a fault is detected, trigger the buzzer alarm and make the buzzer sound continuously for 2 seconds, and light up or flash the indicator light corresponding to the fault button; S5: Enter the fault button number i, fault type, and measured resistance value. Write the timestamp t to a circular buffer with a capacity of 100 records; when the buffer is full, overwrite the oldest record.
2. The real-time troubleshooting and alarm method for remote control button malfunctions according to claim 1, characterized in that: It also includes the following steps: S6: Via BLE or Wi-Fi module, {i, fault type, The data is pushed to the mobile app in real time, and the data packet is encapsulated in JSON format. S7: After the user triggers the reset button, S2 to S4 are executed again; if Restore to [ , If the alarm is cleared within the specified range, the periodic scan will continue. S8: Users can modify Rmin, Rmax, T and alarm mode via the App, and the above parameters are updated to the system in real time.
3. The real-time troubleshooting and alarm method for remote control button malfunctions according to claim 1, characterized in that: In S1, the dynamic upper limit threshold and lower threshold The calculation formulas are as follows: ; In the formula, =0.
1.
4. The real-time troubleshooting and alarm method for remote control button malfunctions according to claim 1, characterized in that: In S2, a constant weak current I = 10 μA is applied for 100 ms, and the average voltage is... The calculation formula is: ; The conversion yields the real-time resistance value of each button. The calculation formula is: 。 5. The real-time troubleshooting and alarm method for remote control button malfunctions according to claim 1, characterized in that: In S3, the fault determination principle is as follows: 。 6. The real-time troubleshooting and alarm method for remote control button malfunctions according to claim 1, characterized in that: In S3, the fault determination principle further includes: only when the same button is determined to be faulty after three consecutive scans, the S4 alarm is triggered to prevent false alarms caused by occasional glitches or short-term interference.
7. The real-time troubleshooting and alarm method for remote control button malfunctions according to claim 1, characterized in that: In S1 or S8, the scanning cycle T is automatically adjusted according to the remaining power E of the device. When E < 20%, T is doubled to reduce power consumption and extend battery life.
8. A real-time troubleshooting and alarm system for remote control button malfunctions based on any one of claims 1-7, characterized in that: include: The system initialization module is used to read the upper limit threshold Rmin and lower limit threshold Rmax of the button conductive layer resistance value and the scan period T from the non-volatile memory, as the reference threshold and trigger the first scan; The dynamic threshold update module, connected to the system initialization module, is used to update the threshold based on the average resistance of all buttons in the previous scan after each complete scan. and preset coefficients According to the formula Calculate and update the dynamic threshold to the storage register; The resistance acquisition module, including a constant current source circuit and a multi-channel ADC, applies a weak current I to the conductive coating of each rubber button. After sampling N times per channel and discarding the maximum and minimum values, the average voltage is calculated, and then the result is determined according to the formula... The real-time resistance value of each button is calculated. The fault determination module, connected to the dynamic threshold update module and the resistance acquisition module, is used to compare the real-time resistance value with the dynamic threshold. , Compare, and in accordance with The problem was determined to be poor contact. "It is determined to be a short circuit; otherwise it is normal", and a fault signal is only output when three consecutive scans show a fault.
9. Local alarm module, connected to the fault determination module, is used to trigger the buzzer to sound at different frequencies for 2 seconds when a fault signal is received, and to light up or flash the LED indicator of the corresponding button; The log management module, connected to the fault determination module, is used to write the fault button number, fault type, measured resistance value and timestamp into a circular buffer with a capacity of 100 entries, and update it in real time on the local display screen. The remote communication module, connected to the log management module, is used to push fault information in JSON format to an external terminal via BLE or Wi-Fi. The reset and configuration module is used to respond to user reset operations to re-trigger resistance value acquisition and fault determination, and to modify Rmin, Rmax, T and alarm mode in real time via external App or PC. The power sensing and power management module is used to monitor the remaining power E of the device and automatically extend the scanning cycle T to twice when E < 20%.
10. A real-time troubleshooting and alarm system for remote control button malfunctions according to claim 8, wherein a computer program is stored thereon, characterized in that... When the computer program is executed by a processor, it performs the steps of the method as described in any one of claims 1-7.