Self-adaptive anti-interference circuit for industrial customized keyboard and control method
Through adaptive anti-interference circuits and intelligent control methods, the anti-interference and communication reliability problems of traditional keyboards in complex electromagnetic environments are solved, the anti-interference ability and electrostatic protection ability of industrial keyboards are improved, and the communication quality and reliability are ensured.
Patent Information
- Application Number
- CN202510927837.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-07
- Publication Date
- 2025-09-12
- Estimated Expiration
- 2045-07-07
AI Technical Summary
Traditional keyboards have weak anti-interference capabilities in complex electromagnetic environments, insufficient communication reliability, lagging ESD protection, and are unable to dynamically respond to frequency-varying interference. They have a high false trigger rate and long communication interruption time. ESD protection relies on passive clamping and cannot prevent cumulative pre-discharge damage.
Adaptive anti-interference circuit is adopted, including power anti-interference module, data anti-interference module and data acquisition module. Closed-loop control is formed through intelligent control module, magnetic bead array is activated to filter out high-frequency interference, and USB protocol is switched to ensure communication quality and power-off protection of ESD events.
It improves the anti-interference ability, communication reliability and electrostatic protection ability of keyboards in industrial scenarios, reduces key operation misidentification and data transmission errors, and realizes dynamic adjustment and real-time protection.
Smart Images

Figure CN120630708A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of industrial keyboards. More specifically, the present invention discloses an adaptive anti-interference circuit and a control method for an industrial customized keyboard. Background Art
[0002] In complex electromagnetic environments such as industrial automation, medical equipment, and construction machinery, traditional keyboards suffer from weak anti-interference capabilities, insufficient communication reliability, and delayed ESD (electrostatic discharge) protection. Traditional keyboards often use LC filters with fixed parameters, which cannot dynamically respond to frequency-varying interference. The sudden strong electromagnetic noise generated by welding equipment and inverters in industrial scenarios leads to a high keyboard false trigger rate, and traditional ferrite bead arrays require manual configuration, resulting in delayed response. In traditional keyboards, the USB protocol frequently downgrades to low-speed mode under interference, but switching requires manual reset, resulting in long communication interruptions. Furthermore, existing ESD protection relies on passive clamping with TVS diodes, which cannot prevent cumulative pre-discharge damage.
[0003] Therefore, there is an urgent need for an adaptive anti-interference technology for industrial customized keyboards. Summary of the Invention
[0004] In view of the above problems, the purpose of the present invention is to provide an adaptive anti-interference circuit and control method for industrial customized keyboards, which eliminates power supply noise, surges and transient drops in industrial environments through the power anti-interference module, realizes multi-protocol compatible communication through the data anti-interference module, forms a double insurance mechanism for the data path, and forms a feedback link through the data acquisition module and the adjustment control module to provide real-time data support for dynamic adjustment; in addition, through intelligent adaptive control, a closed-loop control engine is formed, the magnetic bead array is activated to filter out high-frequency interference, and the USB protocol is switched to ensure communication quality and power-off protection against ESD events; the anti-interference capability, communication reliability and electrostatic protection capability of the keyboard in industrial scenarios are improved.
[0005] In order to achieve the above-mentioned object, the first aspect of the present invention provides an adaptive anti-interference circuit for an industrial custom keyboard, wherein: Power supply anti-interference module, data anti-interference module, data acquisition module, regulation control module; The power supply anti-interference module includes a high-frequency filter circuit, a current limiting circuit and a voltage suppression circuit, which are used to filter, stabilize and protect the input power supply to obtain an output voltage; The data anti-interference module is composed of a CH334R chip and an ESD protection chip connected in series, and is used to convert and stabilize the voltage of the USB communication data line; The data acquisition module is used to detect the operating status of the power anti-interference module and the data anti-interference module; The adjustment control module is used to adjust the working parameters of the power anti-interference module and the data anti-interference module.
[0006] In this solution, the power supply anti-interference module is specifically: The power input terminal is connected to the first terminal of the first inductor and the anode of the first diode; The second end of the first inductor is connected to the cathode of the first diode, the first end of the second inductor, the first end of the third inductor and the first end of the first capacitor; The second end of the third inductor is connected to the first end of the first fuse and the first end of the second capacitor; The second end of the first fuse is connected to the first end of the fourth inductor and the first end of the third capacitor; The power output end is connected to the second end of the second inductor, the positive electrode of the fourth capacitor, the negative electrode of the second diode, the first end of the fifth capacitor, the first end of the sixth capacitor and the first end of the seventh capacitor; The second end of the first capacitor, the second end of the second capacitor, the second end of the third capacitor, the negative electrode of the fourth capacitor, the anode of the second diode, the second end of the fifth capacitor, the second end of the sixth capacitor and the second end of the seventh capacitor are grounded.
[0007] In this solution, the data anti-interference module specifically includes: A first ESD chip, a second ESD chip, and a first CH334R chip; After passing through the first ESD chip, the USB data input signal is connected to the data input terminal of the first CH334R chip; After the output end of the first CH334R chip outputs the USB data output signal, it is connected to the second ESD chip; The anode of the third diode and the anode of the fourth diode are respectively connected in parallel to the USB data output signal.
[0008] In this solution, the data acquisition module at least includes: Electromagnetic field strength sensor, used to monitor the magnetic field strength of a preset frequency band; An input power quality sensor, comprising a power voltage detection circuit and a power current detection circuit; ESD event counter, used to record the frequency and intensity of electrostatic discharge; Communication quality analyzer, used to detect and analyze USB communication quality.
[0009] A second aspect of the present invention further provides an adaptive anti-interference control method for an industrial customized keyboard, which is applied to any of the above-mentioned adaptive anti-interference circuits for an industrial customized keyboard. The method comprises: Based on a preset collection period, detecting and obtaining first electromagnetic intensity information, first communication quality information, and ESD event records; Based on a preset frequency domain analysis strategy and according to the first electromagnetic intensity information, if the energy intensity of the preset interference frequency band exceeds a preset electromagnetic intensity threshold, activating the activation high-frequency magnetic bead array of the adjustment control module; If the first communication quality information is lower than a preset quality threshold for a consecutive preset number of cycles, switching the USB communication protocol; Based on a preset ESD prediction model and according to the ESD event record, a first ESD prediction event is obtained; If the probability of occurrence of the first ESD prediction event exceeds a preset risk threshold, disconnecting a preset circuit module before the ESD event occurs; Record the operation status and control information as log information and upload it to the backend; The control parameters of the regulation control module are updated based on the log information.
[0010] This plan also includes: Pre-deployed electromagnetic field strength sensors scan the electromagnetic interference intensity of the preset frequency band in real time, and generate an electromagnetic interference intensity distribution heat map based on the preset frequency domain analysis strategy; The preset high-precision voltage sampling circuit captures the ripple characteristics and transient drop waveforms of the power input in real time to identify abnormal power quality events; The preset multi-level triggered ESD event counter records the electrostatic discharge pulses exceeding the preset voltage threshold, and associates the occurrence timestamp and spatial location to obtain the ESD event record; The jitter characteristics and error mode of the USB data signal are analyzed by a preset communication quality analyzer to generate first communication quality information.
[0011] In this solution, the activation of the high-frequency magnetic bead array of the regulation control module is specifically: Based on a preset array mapping relationship, and according to the energy intensity of the preset interference frequency band, determining a first magnetic bead array and a first clamping voltage; According to the first magnetic bead array, an enable signal is sent to a control circuit of the high-frequency magnetic bead array; According to turning on a preset first switch, the high-frequency magnetic bead array is connected in parallel to a high-frequency filter circuit; The clamping level of the second diode is adjusted according to the first clamping voltage.
[0012] In this solution, if the first communication quality information is lower than a preset quality threshold for a consecutive preset number of cycles, the USB communication protocol is switched, specifically: If the first communication quality information is all lower than the preset quality threshold, it is determined to be a low quality state; If the communication status detected for a preset number of consecutive cycles is determined to be a low-quality state, a protocol degradation instruction is written to the configuration register of the CH334R chip; Close the high-speed data transmission channel and switch to basic bandwidth communication mode.
[0013] In this solution, the first ESD prediction event is obtained based on the preset ESD prediction model and the ESD event record, specifically including: Performing temporal correlation on the ESD event record, the electromagnetic interference intensity distribution heat map, and the power quality abnormality event to obtain a multi-source data set; Input the multi-source data set into a pre-trained ESD prediction model to obtain the probability and time of ESD occurrence within a preset time window; When the probability exceeds a preset risk threshold, a hierarchical power-off control instruction is sent according to the predicted time of ESD occurrence.
[0014] This plan also includes: Monitoring a first state trigger signal and a first duration of a resettable fuse; When the first duration exceeds a preset time threshold, it is determined to be a permanent fault; If it is a permanent fault, the power supply switch is controlled to transfer the load to the backup power supply path; The fault path identifier is recorded in the operation log and a hardware replacement alert is triggered.
[0015] The present invention provides an adaptive anti-interference circuit and control method for an industrial customized keyboard. The power supply anti-interference module is used to eliminate power supply noise, surges and transient drops in the industrial environment. The data anti-interference module is used to achieve multi-protocol compatible communication, forming a double insurance mechanism for the data path. The data acquisition module and the adjustment control module form a feedback link to provide real-time data support for dynamic adjustment. In addition, through intelligent adaptive control, a closed-loop control engine is formed, the magnetic bead array is activated to filter out high-frequency interference, and the USB protocol is switched to ensure communication quality and power-off protection against ESD events. The anti-interference capability, communication reliability and electrostatic protection capability of the keyboard in industrial scenarios are improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. It should be understood that the following drawings only illustrate certain embodiments of the present invention and therefore should not be regarded as limiting the scope.
[0017] Figure 1 Shows a connection diagram of an adaptive anti-interference circuit for an industrial custom keyboard; Figure 2The figure shows a circuit topology diagram of a power supply anti-interference module provided by an embodiment of the present invention; Figure 3 The figure shows a circuit topology diagram of a data anti-interference module provided by an embodiment of the present invention; Figure 4 The operation of an adaptive anti-interference control method for an industrial custom keyboard is shown; Figure 5 A flow chart of monitoring environmental interference provided by an embodiment of the present invention is shown; Figure 6 A flowchart of activating a high-frequency magnetic bead array provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0018] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. 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 making creative efforts are within the scope of protection of the present invention.
[0019] Unless otherwise defined, all terms (including technical and scientific terms) used in the embodiments of the present invention have the same meaning as commonly understood by those skilled in the art to which the present invention belongs. It should also be understood that terms such as those defined in common dictionaries should be interpreted as having meanings consistent with their meanings in the context of the relevant technology, and should not be interpreted in an idealized or extremely formal sense, unless explicitly defined in this manner in the embodiments of the present invention.
[0020] The words "first", "second" and similar terms used in the embodiments of the present invention do not indicate any order, quantity or importance, but are only used to distinguish different components. Words such as "one", "an" or "the" do not indicate a quantity limitation, but rather indicate the existence of at least one. Similarly, words such as "include" or "comprise" mean that the elements or objects preceding the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects. Words such as "connect" or "connected" are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The steps before or after the method of the embodiment of the present invention do not necessarily have to be performed in exact order. On the contrary, the various steps may be processed in reverse order or simultaneously. At the same time, other operations may be added to these processes, or one or more steps may be removed from these processes.
[0021] Please refer to Figure 1 , Figure 1A connection diagram of an adaptive anti-interference circuit for an industrial custom keyboard is shown.
[0022] like Figure 1 As shown, the first aspect of the present invention discloses the adaptive anti-interference circuit for industrial customized keyboard, the circuit comprising: Power supply anti-interference module 101, data anti-interference module 102, data acquisition module 103, regulation control module 104; The power supply anti-interference module 101 includes a high-frequency filter circuit, a current limiting circuit, and a voltage suppression circuit, which are used to filter, stabilize, and protect the input power supply to obtain an output voltage; The data anti-interference module 102 is composed of a CH334R chip and an ESD protection chip connected in series, and is used to convert and stabilize the USB communication data line voltage; The data acquisition module 103 is used to detect the operating status of the power anti-interference module and the data anti-interference module; The adjustment control module 104 is used to adjust the operating parameters of the power anti-interference module and the data anti-interference module.
[0023] It should be noted that in this embodiment, the overall framework of the anti-interference circuit includes a power supply anti-interference module, a data anti-interference module, a data acquisition module, and a regulation and control module. During circuit implementation, these four modules are first integrated into the main control board of the industrial custom keyboard. The power supply anti-interference module processes the input power, including connecting a high-frequency filter circuit to filter out power supply noise, a current-limiting circuit to limit current peaks, and a voltage suppression circuit to stabilize the output voltage. The data anti-interference module converts the USB data line voltage by connecting a CH334R chip and an ESD protection chip in series, ensuring stable data transmission. The data acquisition module, deployed within the keyboard, monitors the operating status of the power and data modules in real time, for example, using sensors to detect voltage fluctuations or communication errors. The regulation and control module dynamically adjusts operating parameters based on the detected status, such as adjusting filter strength or protocol settings. Throughout the implementation process, the modules are interconnected via wiring on the circuit board, and the regulation and control module executes pre-set control logic, achieving closed-loop management from power input to data output. This embodiment incorporates multiple protection mechanisms to effectively address complex interference sources in industrial environments. The circuit in this embodiment can automatically adapt to varying interference conditions, significantly reducing key operation misidentification and data transmission errors.
[0024] Please refer to Figure 2 , Figure 2 The circuit topology diagram of the power supply anti-interference module provided by the embodiment of the present invention is shown.
[0025] According to an embodiment of the present invention, Figure 2 As shown, the power supply anti-interference module is specifically: The power input terminal (VCC_In) is connected to the first terminal of the first inductor (L1) and the positive electrode of the first diode (D1); The second end of the first inductor (L1) is connected to the cathode of the first diode (D1), the first end of the second inductor (L2), the first end of the third inductor (L3) and the first end of the first capacitor (C1); The second end of the third inductor (L3) is connected to the first end of the first fuse (F1) and the first end of the second capacitor (C2); The second end of the first fuse (F1) is connected to the first end of the fourth inductor (L4) and the first end of the third capacitor (C3); The power output terminal (VCC_Out) is connected to the second end of the second inductor (L2), the positive electrode of the fourth capacitor (C4), the negative electrode of the second diode (D2), the first end of the fifth capacitor (C5), the first end of the sixth capacitor (C6), and the first end of the seventh capacitor (C7); The second end of the first capacitor (C1), the second end of the second capacitor (C2), the second end of the third capacitor (C3), the negative electrode of the fourth capacitor (C4), the positive electrode of the second diode (D2), the second end of the fifth capacitor (C5), the second end of the sixth capacitor (C6) and the second end of the seventh capacitor (C7) are grounded.
[0026] It should be noted that Figure 2 The specific circuit connections of the power supply anti-interference module are detailed. In this embodiment, the power supply anti-interference module is assembled onto a circuit board. The power supply input is connected to a first inductor and a first diode, forming a primary filter. The other end of the first inductor is connected to multiple components, including a second inductor, a third inductor, and a first capacitor, forming a π-type filter structure to filter out high-frequency noise. The third inductor is connected to a fuse and capacitor for current limiting protection. The power supply output is connected to a second inductor, multiple capacitors, and a second diode (TVS diode) to provide a regulated output. During circuit operation, the capacitors and diodes work together to ground all negative terminals, ensuring that excess current is safely directed. The inductors, capacitors, and diodes form a closed loop that automatically suppresses power supply ripple and transient interference. A regulation control module monitors the module's operation and adjusts parameters, including filtering frequency and strength, based on feedback from the data acquisition module. The power supply anti-interference module improves power supply stability and effectively prevents damage to the keyboard from voltage fluctuations in industrial environments. Through a multi-stage combination of inductors, capacitors, and diodes, the circuit effectively filters high-frequency noise and transient drops, ensuring a pure and reliable output voltage. The diode prevents reverse current, the inductor suppresses high-frequency interference, and the resettable fuse provides overcurrent protection to reduce the probability of failure.
[0027] Please refer to Figure 3 , Figure 3 The circuit topology diagram of the data anti-interference module provided by the embodiment of the present invention is shown.
[0028] According to an embodiment of the present invention, Figure 3 As shown, the data anti-interference module specifically includes: A first ESD chip (U2), a second ESD chip (U3), and a first CH334R chip (U1); The USB data input signal (USB_IN_D+, USB_IN_D-) passes through the first ESD chip and is connected to the data input terminal of the first CH334R chip; After the output end of the first CH334R chip outputs the USB data output signal (USB_OUT_D+, USB_OUT_D-), it is connected to the second ESD chip; The anode of the third diode (D3) and the anode of the fourth diode (D4) are respectively connected in parallel to the USB data output signal.
[0029] It should be noted that in this embodiment, the detailed structure of the data anti-interference module includes a first ESD chip, a second ESD chip, and a first CH334R chip. First, the USB data input signal passes through the first ESD chip. Its internal diode exhibits high impedance under normal conditions and does not affect the circuit. When electrostatic discharge occurs, the diode switches to a low-resistance state, clamping the voltage to a safe level. The signal is then connected to the data input terminal of the CH334R chip, which supports multiple USB protocols, including USB 2.0 and USB 3.0, to achieve data conversion and stabilization. The output signal is then protected by the second ESD chip to ensure transmission security. In addition, the third and fourth diodes connected in parallel are TVS diodes to enhance the clamping effect and prevent external static electricity from invading through the data line. In this embodiment, the dual ESD chips strengthen the data path's anti-interference capability, ensuring stable USB communication in strong electrostatic environments. The ESD chip quickly responds to electrostatic events and clamps overvoltages, while the CH334R chip supports protocol adaptation, improving the fault tolerance of data transmission. The ESD protection chip prevents static electricity from entering through data or power lines, reducing damage caused by lightning strikes or discharges, improving keyboard reliability, and avoiding data loss or key signal errors. It is particularly suitable for welding or high-static areas.
[0030] According to an embodiment of the present invention, the data acquisition module at least includes: Electromagnetic field strength sensor, used to monitor the magnetic field strength of a preset frequency band; An input power quality sensor, comprising a power voltage detection circuit and a power current detection circuit; ESD event counter, used to record the frequency and intensity of electrostatic discharge; Communication quality analyzer, used to detect and analyze USB communication quality.
[0031] It should be noted that, as an implementation method, the components of the data acquisition module include an electromagnetic field strength sensor, an input power quality sensor, an ESD event counter, and a communication quality analyzer. First, a sensor network is deployed in the industrial keyboard. For example, the electromagnetic field strength sensor is installed around the keyboard to scan the magnetic field strength of the preset frequency band in real time; the input power quality sensor integrates voltage and current detection circuits to capture power ripple and transient drops; the ESD event counter records the frequency and intensity of electrostatic discharge; and the communication quality analyzer is embedded in the CH334R chip to analyze USB signal jitter and error patterns. The data acquisition module periodically detects the operating status and sends the information to the keyboard control center. This embodiment provides comprehensive environmental monitoring capabilities through multi-source sensors and enhances the system's real-time response to interference.
[0032] Please refer to Figure 4 , Figure 4 The operation of an adaptive anti-interference control method for an industrial custom keyboard is shown.
[0033] like Figure 4 As shown, the second aspect of the present invention discloses the adaptive anti-interference control method for industrial customized keyboards, the method comprising: S402, based on a preset collection period, detecting and obtaining first electromagnetic intensity information, first communication quality information, and ESD event records; S404, based on a preset frequency domain analysis strategy and according to the first electromagnetic intensity information, if the energy intensity of the preset interference frequency band exceeds a preset electromagnetic intensity threshold, activating the activation high-frequency magnetic bead array of the regulation control module; S406, if the first communication quality information is lower than a preset quality threshold for a consecutive preset number of cycles, switching the USB communication protocol; S408, obtaining a first ESD prediction event based on the ESD event record based on a preset ESD prediction model; S410, if the probability of occurrence of the first ESD prediction event exceeds a preset risk threshold, disconnecting a preset circuit module before the ESD event occurs; S412, record the operating status and control information as log information and upload it to the backend; S414: Update the control parameters of the regulation control module based on the log information.
[0034] It should be noted that, as one implementation, the data acquisition module first acquires first electromagnetic intensity information, first communication quality information, and ESD event records with a 10ms acquisition cycle for electromagnetic interference detection, power quality analysis, and USB communication quality assessment. Next, a frequency domain analysis strategy is implemented. If the energy intensity in a preset interference frequency band exceeds a specified limit, the high-frequency magnetic bead array in the regulation control module is activated. If the communication quality falls below a threshold for multiple consecutive cycles, the USB communication protocol is switched from high-speed USB 3.0 to basic USB 2.0. Simultaneously, the event records are analyzed based on an ESD prediction model to predict the probability of future events. If the probability exceeds a specified limit, non-core circuits are disconnected before an ESD event occurs. Finally, a log is recorded and control parameters are updated. The entire process emphasizes sequential logic, including periodic detection and real-time response. This implementation implements intelligent adaptive control, enhancing the keyboard's resilience in dynamic interference environments. Through periodic monitoring and prediction strategies, the system can proactively activate protective measures such as magnetic bead array enhanced filtering or protocol downgrade to ensure accurate keystrokes. Furthermore, proactive power-off protection, combined with the prediction model, reduces ESD damage, and log updates optimize long-term performance. This reduces human intervention in industrial environments and improves reliability, and is particularly suitable for use near frequency converters or welding equipment.
[0035] Please refer to Figure 5 , Figure 5 A flow chart of monitoring environmental interference provided by an embodiment of the present invention is shown.
[0036] In the embodiment of the present invention, Figure 5 As shown, it also includes: S502, scanning the electromagnetic interference intensity of a preset frequency band in real time using a pre-deployed electromagnetic field strength sensor, and generating an electromagnetic interference intensity distribution heat map based on a preset frequency domain analysis strategy; S504, using a preset high-precision voltage sampling circuit to capture the ripple characteristics and transient drop waveform of the power input terminal in real time, and identify abnormal power quality events; S506, recording electrostatic discharge pulses exceeding a preset voltage threshold using a preset multi-level trigger type ESD event counter, and associating the occurrence timestamp and spatial location thereof to obtain an ESD event record; S508 , analyzing jitter characteristics and error patterns of the USB data signal through a preset communication quality analyzer to generate first communication quality information.
[0037] It should be noted that this embodiment provides a data collection method. First, the electromagnetic field strength sensor scans the preset frequency band in real time to generate a heat map of the electromagnetic interference intensity distribution; the high-precision voltage sampling circuit captures the power supply ripple characteristics and transient drop waveforms to identify abnormal events; the multi-level trigger ESD event counter records pulses that exceed the preset voltage threshold, associates timestamps and positions; and the communication quality analyzer analyzes the USB signal jitter and error mode to generate communication quality information. Sensor data is collected, heat maps are generated, and event records are stored. This embodiment provides a high-precision data foundation to support adaptive decision-making. The heat map visualizes the interference distribution, voltage sampling captures subtle ripples, the ESD counter records spatiotemporal events, and communication analysis ensures signal quality, which is used to accurately identify interference sources, trigger protection in advance, and avoid keyboard misoperation.
[0038] Please refer to Figure 6 , Figure 6 A flowchart of activating a high-frequency magnetic bead array provided by an embodiment of the present invention is shown.
[0039] In the embodiment of the present invention, Figure 6 As shown, the activation of the high-frequency magnetic bead array of the adjustment control module is specifically: S602, determining a first magnetic bead array and a first clamping voltage based on a preset array mapping relationship and according to energy intensity of the preset interference frequency band; S604: Sending an enable signal to a control circuit of the high-frequency magnetic bead array according to the first magnetic bead array; S606, connecting the high-frequency magnetic bead array in parallel to the high-frequency filter circuit according to turning on a preset first switch; S608: Adjust the clamping level of the second diode according to the first clamping voltage.
[0040] It should be noted that this embodiment provides a control process for activating a high-frequency magnetic bead array. First, according to the preset array mapping relationship, the first magnetic bead array and the first clamping voltage are determined based on the energy intensity of the interference frequency band; then, an enable signal is sent to the control circuit of the high-frequency magnetic bead array; then, by turning on the preset first switch, the magnetic bead array is connected in parallel to the high-frequency filter circuit; finally, the clamping level of the TVS diode is adjusted according to the clamping voltage. In this embodiment, dynamic enhanced high-frequency noise suppression is adopted to ensure power supply stability. The magnetic bead array provides filtering, and the TVS clamping adjustment adapts to different interference intensities, thereby improving the adjustable range of filtering, maintaining keyboard performance in a strong interference environment, and reducing key failures caused by voltage fluctuations.
[0041] In an embodiment of the present invention, if the first communication quality information is lower than a preset quality threshold for a consecutive preset number of cycles, switching the USB communication protocol is specifically as follows: If the first communication quality information is all lower than the preset quality threshold, it is determined to be a low quality state; If the communication status detected for a preset number of consecutive cycles is determined to be a low-quality state, a protocol degradation instruction is written to the configuration register of the CH334R chip; Close the high-speed data transmission channel and switch to basic bandwidth communication mode.
[0042] It should be noted that, as an implementation method, the communication quality analyzer analyzes the USB eye diagram features in real time, such as rising / falling edge distortion, crosspoint offset, etc., and then generates a QoS score of 0-100 points. When the QoS score is lower than 80 points for three consecutive cycles, it is determined to be in a low-quality state. The protocol downgrade instruction is written to the 0x34 configuration register of the CH334R chip through the communication bus to adjust the communication protocol from USB 3.0 to USB 2.0. This embodiment reduces the bandwidth in exchange for noise tolerance to ensure the reliability of basic functions. After the downgrade, the bandwidth is reduced but the fault tolerance is improved, maintaining the usability of the keyboard in a low-quality environment.
[0043] In an embodiment of the present invention, obtaining a first ESD prediction event based on the ESD event record based on a preset ESD prediction model specifically includes: Performing temporal correlation on the ESD event record, the electromagnetic interference intensity distribution heat map, and the power quality abnormality event to obtain a multi-source data set; Input the multi-source data set into a pre-trained ESD prediction model to obtain the probability and time of ESD occurrence within a preset time window; When the probability exceeds a preset risk threshold, a hierarchical power-off control instruction is sent according to the predicted time of ESD occurrence.
[0044] It should be noted that this embodiment provides an ESD prediction model, which aligns the coordinates of high-risk areas in the electromagnetic thermal map, the power transient drop waveform, and the spatiotemporal markers of ESD events in time and space to construct a three-dimensional interference feature vector. It is input into the pre-trained LSTM prediction model to generate an ESD probability curve within the next 500ms time window. When the probability of static electricity occurrence is in the range of [70%, 85%], the power supply of the LED backlight circuit is disconnected and the main control power supply is retained; when the probability of static electricity occurrence exceeds 85%, the power supply of all modules except CH334R and the core MCU is cut off. Predictive protection is achieved to reduce ESD damage. By actively predicting ESD, identifying high-risk events, and triggering active power off, the reliability of the keyboard in an electrostatic environment is improved.
[0045] In an embodiment of the present invention, the following further comprises: Monitoring a first state trigger signal and a first duration of a resettable fuse; When the first duration exceeds a preset time threshold, it is determined to be a permanent fault; If it is a permanent fault, the power supply switch is controlled to transfer the load to the backup power supply path; The fault path identifier is recorded in the operation log and a hardware replacement alert is triggered.
[0046] It should be noted that in this embodiment, the resettable fuse's trigger signal and duration are first monitored to analyze and determine the type of overcurrent. Overcurrent types include transient and permanent overcurrent. If the duration exceeds the limit, a permanent fault is determined. Next, the power switch is controlled to transfer the load to the backup power supply path. Finally, the fault is logged and an alarm is triggered. This embodiment automatically detects fault recovery, eliminating the need for manual downtime inspection. Furthermore, a backup power supply path ensures continuous keyboard operation.
[0047] It is worth mentioning that it also includes: Conduct correlation analysis between the protection strategy triggering frequency in the log and the component performance degradation index; Update the ESD prediction model weights through the cloud training platform to generate optimized instruction sets for protocol switching thresholds and filter mode switching parameters; Send the new parameter group to the keyboard master control unit through the encrypted channel.
[0048] It should be noted that this embodiment provides a prediction model parameter optimization strategy based on log analysis. In this embodiment, first, the protection strategy triggering frequency and component performance attenuation index in the correlation analysis log are correlated. As an implementation method, the aging index of the core component is calculated. When the aging index exceeds the set threshold, it is determined to be a high-risk component. Then, the ESD prediction model weight is updated through the cloud training platform to generate an optimization instruction set; wherein, the optimization instruction includes adjusting the QoS threshold or enhancing the magnetic bead array rules for the communication protocol switching. Finally, the new parameters are sent to the keyboard master through an encrypted channel. The steps include data analysis and parameter iteration.
[0049] It is worth mentioning that it also includes: After sending the protocol downgrade instruction, the redundant transmission mode is started; The same USB data signal is divided into two independent data packets and transmitted synchronously through different channels of the CH334R chip; Transmission verification is performed on the two-way transmission signals based on the bit level.
[0050] It should be noted that this embodiment provides a redundant transmission mechanism. Utilizing the multi-channel characteristics of the CH334R chip, after sending the protocol downgrade instruction, the redundant transmission mode, i.e., the multi-channel transmission mode, is started. As an implementation method, channel A sends the original data packet and channel B sends the verification data packet. The host side compares the correctness of the two packets of data, thereby enhancing the reliability of data transmission. This embodiment uses double packet verification to ensure signal accuracy and maintain key recognition accuracy in low-quality environments.
[0051] In summary, the present invention provides an adaptive anti-interference circuit and control method for an industrial customized keyboard, which eliminates power supply noise, surges and transient drops in the industrial environment through the power anti-interference module, realizes multi-protocol compatible communication through the data anti-interference module, forms a double insurance mechanism for the data path, and forms a feedback link through the data acquisition module and the adjustment control module to provide real-time data support for dynamic adjustment; in addition, through intelligent adaptive control, a closed-loop control engine is formed, the magnetic bead array is activated to filter out high-frequency interference, and the USB protocol is switched to ensure communication quality and power-off protection of ESD events; the anti-interference ability, communication reliability and electrostatic protection ability of the keyboard in the industrial scenario are improved.
[0052] In addition, the functional modules in the various embodiments of the present invention may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.
[0053] If the functions are implemented as software modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the portion that contributes to the prior art, or the portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage media include various media capable of storing program code, such as USB flash drives, mobile hard drives, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical disks.
[0054] The foregoing description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Those skilled in the art will readily appreciate that various modifications and variations of the present invention are possible. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present invention are intended to be within the scope of protection of the present invention.
Claims
1. An adaptive anti-interference circuit for industrial custom keyboards, characterized in that: The circuit comprises: Power supply anti-interference module, data anti-interference module, data acquisition module, regulation control module; The power supply anti-interference module includes a high-frequency filter circuit, a current limiting circuit and a voltage suppression circuit, which are used to filter, stabilize and protect the input power supply to obtain an output voltage; The data anti-interference module is composed of a CH334R chip and an ESD protection chip connected in series, and is used to convert and stabilize the voltage of the USB communication data line; The data acquisition module is used to detect the operating status of the power anti-interference module and the data anti-interference module; The adjustment control module is used to adjust the working parameters of the power anti-interference module and the data anti-interference module.
2. The adaptive anti-interference circuit for industrial custom keyboard according to claim 1, characterized in that: The power supply anti-interference module is specifically: The power input terminal is connected to the first terminal of the first inductor and the anode of the first diode; The second end of the first inductor is connected to the cathode of the first diode, the first end of the second inductor, the first end of the third inductor and the first end of the first capacitor; The second end of the third inductor is connected to the first end of the first fuse and the first end of the second capacitor; The second end of the first fuse is connected to the first end of the fourth inductor and the first end of the third capacitor; The power output end is connected to the second end of the second inductor, the positive electrode of the fourth capacitor, the negative electrode of the second diode, the first end of the fifth capacitor, the first end of the sixth capacitor and the first end of the seventh capacitor; The second end of the first capacitor, the second end of the second capacitor, the second end of the third capacitor, the negative electrode of the fourth capacitor, the anode of the second diode, the second end of the fifth capacitor, the second end of the sixth capacitor and the second end of the seventh capacitor are grounded.
3. The adaptive anti-interference circuit for industrial custom keyboard according to claim 1, characterized in that: The data anti-interference module specifically includes: A first ESD chip, a second ESD chip, and a first CH334R chip; After passing through the first ESD chip, the USB data input signal is connected to the data input terminal of the first CH334R chip; After the output end of the first CH334R chip outputs the USB data output signal, it is connected to the second ESD chip; The anode of the third diode and the anode of the fourth diode are respectively connected in parallel to the USB data output signal.
4. The adaptive anti-interference circuit for industrial custom keyboard according to claim 1, characterized in that: The data acquisition module at least includes: Electromagnetic field strength sensor, used to monitor the magnetic field strength of a preset frequency band; An input power quality sensor, comprising a power voltage detection circuit and a power current detection circuit; ESD event counter, used to record the frequency and intensity of electrostatic discharge; Communication quality analyzer, used to detect and analyze USB communication quality.
5. An adaptive anti-interference control method for an industrial custom keyboard, applied to the adaptive anti-interference circuit for an industrial custom keyboard according to any one of claims 1 to 4, characterized in that: The method comprises: Based on a preset collection period, detecting and obtaining first electromagnetic intensity information, first communication quality information, and ESD event records; Based on a preset frequency domain analysis strategy and according to the first electromagnetic intensity information, if the energy intensity of the preset interference frequency band exceeds a preset electromagnetic intensity threshold, activating the activation high-frequency magnetic bead array of the adjustment control module; If the first communication quality information is lower than a preset quality threshold for a consecutive preset number of cycles, switching the USB communication protocol; Based on a preset ESD prediction model and according to the ESD event record, a first ESD prediction event is obtained; If the probability of occurrence of the first ESD prediction event exceeds a preset risk threshold, disconnecting a preset circuit module before the ESD event occurs; Record the operation status and control information as log information and upload it to the backend; The control parameters of the regulation control module are updated based on the log information.
6. The adaptive anti-interference control method for an industrial custom keyboard according to claim 5, characterized in that: Also includes: Pre-deployed electromagnetic field strength sensors scan the electromagnetic interference intensity of the preset frequency band in real time, and generate an electromagnetic interference intensity distribution heat map based on the preset frequency domain analysis strategy; The preset high-precision voltage sampling circuit captures the ripple characteristics and transient drop waveforms of the power input in real time to identify abnormal power quality events; The preset multi-level triggered ESD event counter records the electrostatic discharge pulses exceeding the preset voltage threshold, and associates the occurrence timestamp and spatial location to obtain the ESD event record; The jitter characteristics and error mode of the USB data signal are analyzed by a preset communication quality analyzer to generate first communication quality information.
7. The adaptive anti-interference control method for an industrial custom keyboard according to claim 5, characterized in that: The activation of the high-frequency magnetic bead array of the regulating control module is specifically: Based on a preset array mapping relationship, and according to the energy intensity of the preset interference frequency band, determining a first magnetic bead array and a first clamping voltage; According to the first magnetic bead array, an enable signal is sent to a control circuit of the high-frequency magnetic bead array; According to turning on a preset first switch, the high-frequency magnetic bead array is connected in parallel to a high-frequency filter circuit; The clamping level of the second diode is adjusted according to the first clamping voltage.
8. The adaptive anti-interference control method for an industrial custom keyboard according to claim 5, characterized in that: If the first communication quality information for a consecutive preset number of cycles is lower than a preset quality threshold, switching the USB communication protocol is specifically as follows: If the first communication quality information is all lower than the preset quality threshold, it is determined to be a low quality state; If the communication status detected for a preset number of consecutive cycles is determined to be a low-quality state, a protocol degradation instruction is written to the configuration register of the CH334R chip; Close the high-speed data transmission channel and switch to basic bandwidth communication mode.
9. The adaptive anti-interference control method for an industrial custom keyboard according to claim 6, characterized in that: The step of obtaining a first ESD prediction event based on the preset ESD prediction model and the ESD event record specifically includes: Performing temporal correlation on the ESD event record, the electromagnetic interference intensity distribution heat map, and the power quality abnormality event to obtain a multi-source data set; Input the multi-source dataset into a pre-trained ESD prediction model to obtain the probability and time of ESD occurrence within a preset time window; When the probability exceeds a preset risk threshold, a hierarchical power-off control instruction is sent according to the predicted time of ESD occurrence.
10. The adaptive anti-interference control method for an industrial custom keyboard according to claim 5, characterized in that: Also includes: Monitoring a first state trigger signal and a first duration of a resettable fuse; When the first duration exceeds a preset time threshold, it is determined to be a permanent fault; If it is a permanent fault, the power supply switch is controlled to transfer the load to the backup power supply path; The fault path identifier is recorded in the operation log and a hardware replacement alert is triggered.
Citation Information
Patent Citations
USB (Universal Serial Bus) interface circuit
CN104135148A
LIN communication protection circuit
CN116800083A
Command vehicle rack-mounted power management system
CN119420174A
Intelligent electromagnetic interference protection system for power supply module
CN119966224A
Full-speed USB (universal serial bus) 3.0 interface isolation protection device
CN204166525U