Wire controller and signal processing method

Through the spread spectrum signal processing method and isolation design, the problem of the wire controller being susceptible to electromagnetic radiation interference is solved, and the signal transmission stability and the integrity of the protection device are improved.

CN120528463APending Publication Date: 2025-08-22GUANGDONG CHICO ELECTRONIC INC +3
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510403670.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-01
Publication Date
2025-08-22

AI Technical Summary

Technical Problem

Existing wired controllers are susceptible to electromagnetic radiation interference, resulting in unstable signal transmission, which may damage the device.

Method used

The spread spectrum signal processing method is adopted, and the despreading operation is performed by receiving the correlation value of the spread spectrum signal and the local random code to determine the correlation value, and the despreading data is combined to obtain the original data. The radio frequency front end and the spread spectrum mode demodulation circuit are isolated by an isolation belt to reduce interference.

Benefits of technology

Improves the stability of signal transmission, reduces the impact of interference on the wire controller, and protects the device from damage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120528463A_ABST
    Figure CN120528463A_ABST
Patent Text Reader

Abstract

The invention provides a wire controller and a signal processing method. The method comprises the following steps: receiving a spread spectrum signal sent by a sending end, determining a correlation value of the spread spectrum signal and a local random code, when the correlation value reaches a preset threshold value, performing de-spreading operation on the spread spectrum signal to obtain a plurality of pieces of de-spread data, and combining the plurality of pieces of de-spread data to obtain original data; interference of interference signals on the wire controller in the aspect of signal transmission can be reduced, and signal transmission stability is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of signal processing, and in particular to a wire controller and a signal processing method. Background Art

[0002] The wired controller, along with the main control board, forms the control core of electronic devices and is collectively referred to as the electronic control board. As a crucial control component for various electronic devices and systems, some existing wired controllers suffer from unstable signal transmission and are susceptible to signal interference. This problem is primarily caused by electromagnetic radiation in space, which can be induced into the signal lines, generating external interference signals. This can easily lead to signal anomalies at the input and output ports, or affect data accuracy. Severe electromagnetic interference can damage the wired controller's components. Summary of the Invention

[0003] The following is a summary of the subject matter described in detail herein. This summary is not intended to limit the scope of the claims.

[0004] The purpose of this application is to solve one of the technical problems existing in the related art to at least a certain extent. The embodiments of this application provide a wire controller and a signal processing method, which can improve the stability of signal transmission.

[0005] An embodiment of the first aspect of the present application provides a signal processing method for a wire controller, including:

[0006] receiving a spread spectrum signal sent by a transmitting end;

[0007] Determining a correlation value between the spread spectrum signal and a local random code;

[0008] When the correlation value reaches a preset threshold, performing a despreading operation on the spread spectrum signal to obtain a plurality of despread data;

[0009] The multiple despread data are combined to obtain original data.

[0010] According to an embodiment of the first aspect of the present application, the spread spectrum signal is obtained by performing a modulo-2 addition operation on original data and a random code by the transmitting end, and the random code of the transmitting end corresponds to the local random code.

[0011] According to an embodiment of the first aspect of the present application, when the length of the original data is different from the length of the random code, the original data is extended by the sending end to the same length as the random code.

[0012] According to an embodiment of the first aspect of the present application, determining a correlation value between the spread spectrum signal and the local random code includes:

[0013] Slide the local random code bit by bit on the spread spectrum signal, and calculate the correlation value between the signal segment at each position and the local random code;

[0014] The length of the signal segment is the same as the correlation value of the local random code.

[0015] According to an embodiment of the first aspect of the present application, calculating the correlation value between the signal segment at each position and the local random code includes:

[0016] Performing an XOR operation on the signal segment and the local random code to obtain a first XOR result;

[0017] A correlation value is obtained according to the first XOR result.

[0018] According to an embodiment of the first aspect of the present application, performing a despreading operation on the spread spectrum signal to obtain a plurality of despread data includes:

[0019] Grouping the spread spectrum signal to obtain multiple groups of grouped data, where the length of the grouped data is the same as the length of the local random code;

[0020] Performing an exclusive OR operation on each group of the grouped data and the local random code to obtain a plurality of second exclusive OR results;

[0021] A decoding operation is performed on the plurality of second XOR results to obtain a plurality of despread data.

[0022] An embodiment of the second aspect of the present application is a wire controller, which applies the signal processing method of the wire controller as described in the embodiment of the first aspect of the present application, and the wire controller includes: a main control module and a spread spectrum communication module; the main control module is connected to the spread spectrum communication module, and the spread spectrum communication module includes a spread spectrum modulation and despreading demodulation circuit, and the spread spectrum modulation and despreading demodulation circuit includes a transmitting end and a receiving end, the transmitting end is used to send a spread spectrum signal, and the receiving end is used to receive the spread spectrum signal and perform a despreading operation on the spread spectrum signal to obtain original data.

[0023] According to an embodiment of the second aspect of the present application, the spread spectrum communication module further includes a radio frequency front end, which includes a noise amplifier, a power amplifier and a bandpass filter.

[0024] According to an embodiment of the second aspect of the present application, the spread spectrum modulation and despreading demodulation circuit is isolated from the radio frequency front end by an isolation band.

[0025] According to an embodiment of the second aspect of the present application, the wire controller further includes a power management module and a peripheral interface module, wherein the power management module is used to manage the power supply of the wire controller, and the peripheral interface module is used to provide an interface for connecting to peripherals.

[0026] The above scheme has at least the following beneficial effects: by receiving the spread spectrum signal sent by the transmitting end, determining the correlation value between the spread spectrum signal and the local random code, when the correlation value reaches a preset threshold, performing a despreading operation on the spread spectrum signal to obtain multiple despread data, and merging the multiple despread data to obtain the original data; it can reduce the interference of the interference signal on the signal transmission of the wire controller and improve the stability of signal transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] The accompanying drawings are used to provide a further understanding of the technical solution of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the technical solution of the present application and do not constitute a limitation on the technical solution of the present application.

[0028] Figure 1 It is a step diagram of a signal processing method applied to a wire controller at a transmitting end;

[0029] Figure 2 is a step diagram of a signal processing method for a wire controller applied to a receiving end;

[0030] Figure 3 is a diagram of sub-steps for determining a correlation value between a spread spectrum signal and a local random code;

[0031] Figure 4 It is a sub-step diagram for calculating the correlation value between the signal segment at each position and the local random code;

[0032] Figure 5 A sub-step diagram of performing a despreading operation on a spread spectrum signal to obtain a plurality of despread data;

[0033] Figure 6 This is the circuit diagram of the main control module;

[0034] Figure 7 This is the circuit diagram of the spread spectrum communication module;

[0035] Figure 8 This is the circuit diagram of the emergency download interface;

[0036] Figure 9 This is the circuit diagram of the USB interface;

[0037] Figure 10 This is the circuit diagram of the SIM card insertion module;

[0038] Figure 11 This is the circuit diagram of the clock chip;

[0039] Figure 12 This is the circuit diagram of the signal level conversion module;

[0040] Figure 13 This is the circuit diagram of the LCM display;

[0041] Figure 14 This is the circuit diagram of the buzzer;

[0042] Figure 15 It is the circuit diagram of the memory;

[0043] Figure 16 This is the circuit diagram of the touch button;

[0044] Figure 17 is a circuit diagram of a first voltage conversion circuit;

[0045] Figure 18 is a circuit diagram of the second voltage conversion circuit. DETAILED DESCRIPTION

[0046] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.

[0047] It should be noted that although the device schematics illustrate functional module divisions and the flowcharts illustrate logical sequences, in certain circumstances, the steps shown or described may be performed in a sequence that differs from the module divisions in the device or the sequence in the flowcharts. The terms "first," "second," and the like in the specification, claims, or accompanying drawings are used to distinguish similar items and are not necessarily used to describe a specific sequence or precedence.

[0048] The embodiments of the present application are further described below with reference to the accompanying drawings.

[0049] An embodiment of the present application provides a wire controller.

[0050] The wire controller includes: a main control module and a spread spectrum communication module; the main control module is connected to the spread spectrum communication module, the spread spectrum communication module includes a spread spectrum modulation and despreading demodulation circuit, the spread spectrum modulation and despreading demodulation circuit includes a transmitting end and a receiving end, the transmitting end is used to send a spread spectrum signal, and the receiving end is used to receive the spread spectrum signal and perform a despreading operation on the spread spectrum signal to obtain the original data.

[0051] Reference Figure 6 , Figure 6 The following is a circuit diagram of the main control module. The main control module utilizes the high-performance Renesas R5F100LG microcontroller. It features a rich set of peripheral interfaces and high processing power, meeting the operational requirements of spread-spectrum communication algorithms while also conveniently implementing other wired controller functions, such as key detection and display control. Of course, in other embodiments, the main control module may utilize other microcontroller models.

[0052] Reference Figure 7, Figure 7 This is the circuit diagram of a spread-spectrum communication module. The module also includes a radio frequency front-end (RF front-end), which consists of a noise amplifier, a power amplifier, and a bandpass filter. The noise amplifier is a low-noise amplifier. The low-noise amplifier and power amplifier enhance signal reception and transmission capabilities. The low-noise amplifier uses a chip with low noise figure and high gain, such as the ADL5523; it effectively reduces noise interference on the received signal. The power amplifier uses a chip with stable power output and high efficiency, such as the RF5110; it increases the power of the transmitted signal and increases the communication range. The bandpass filter filters the signal, removing unwanted frequency bands and reducing interference from spurious signals.

[0053] The spread spectrum modulation and demodulation circuit is designed based on direct sequence spread spectrum technology. It uses a field programmable gate array to generate high-speed pseudo-random code sequences, such as m-sequences. The spread spectrum modulation and demodulation circuit includes a transmitter and a receiver. The transmitter transmits the spread spectrum signal, while the receiver receives the spread spectrum signal and despreads it to obtain the original data.

[0054] The RF section is isolated from the digital circuit section. A dedicated RF area is set up to house the RF front end. The spread spectrum modulation and demodulation circuits are isolated from the RF front end by an isolation strip to reduce interference from digital signals on the RF signal.

[0055] The wire controller also includes a power management module, which is used to manage the power supply of the wire controller.

[0056] The power management module combines a switching power supply chip and a linear voltage regulator. The switching power supply chip, such as the LM2596, converts the high input voltage into a suitable intermediate voltage. The linear voltage regulator, such as the AMS1117, further stabilizes the voltage to the precise values ​​required by each module. Filter capacitors and inductors are added to the power input and output to reduce the impact of power supply noise on the spread-spectrum communication module and other circuits.

[0057] The wire controller also includes a peripheral interface module, which is used to provide an interface for connecting to peripherals. The peripheral interface module includes a USB interface and an emergency download interface. Figure 8 , Figure 8 This is the circuit diagram of the emergency download interface; refer to Figure 9 , Figure 9 This is the circuit diagram of the USB interface.

[0058] Reference Figure 10 , Figure 101 is a circuit diagram of a SIM card insertion module 100. The wired controller further includes a SIM card insertion module 100, which is used to insert a SIM card, communicate with the network through the SIM card, and further communicate with other external devices.

[0059] Reference Figure 11 , Figure 11 This is the circuit diagram of the clock chip. The wire controller is equipped with a clock chip, which provides the wire controller with a time base signal.

[0060] Reference Figure 12 , Figure 12 This is the circuit diagram of the signal level conversion module. The wired controller is equipped with a signal level conversion module, which converts the signal level, for example, converting a 3.8V signal level to a 3.3V signal level.

[0061] Reference Figure 14 , Figure 14 This is the circuit diagram of a buzzer. The wired controller is equipped with a buzzer that emits audible signals. For example, when the water level in a water heater equipped with a wired controller reaches a warning temperature, the buzzer will emit a audible signal to alert you.

[0062] Reference Figure 15 , Figure 15 This is the circuit diagram of the memory. The wire controller is equipped with a FLASH memory, which stores intermediate processing data and data processing results.

[0063] Reference Figure 16 , Figure 16 3 is a circuit diagram of the touch button 300. The wired controller is provided with the touch button 300, and control information is input through the touch button 300 to set the parameters of the wired controller.

[0064] Reference Figure 13 , Figure 13 2 is a circuit diagram of the LCM display screen 200. The wired controller is provided with the LCM display screen 200, and the information of the wired controller is displayed through the LCM display screen 200. Of course, in other embodiments, other types of display screens can also be used to display the information of the wired controller.

[0065] The wire controller is provided with a power supply voltage conversion module. The power supply voltage conversion module includes a first voltage conversion circuit for converting a 3.8V voltage into a 3.3V voltage and a second voltage conversion circuit for converting a 5V voltage or a 12V voltage into a 3.8V voltage. Figure 17 , Figure 17 : is a circuit diagram of the first voltage conversion circuit. Figure 18 , Figure 18 is a circuit diagram of the second voltage conversion circuit.

[0066] For the wiring of the control cables, a four-layer PCB design is used. The top and bottom layers are primarily used for signal routing, and the middle two layers serve as the power and ground layers, respectively. Microstrip or stripline routing is used for RF signal lines, with precise impedance matching to ensure stable signal transmission. Furthermore, the power and ground lines are routed appropriately, with the ground line width increased to reduce ground impedance and minimize signal interference.

[0067] An embodiment of the present application provides a signal processing method for a wired controller, which is applied to the wired controller as described above.

[0068] Reference Figure 1 The signal processing method of the wire controller is applied to the transmitting end and includes the following steps:

[0069] Step S110 , performing a modulo-2 addition operation on the original data and the random code to obtain a spread spectrum signal.

[0070] The random code of the sending end corresponds to the local random code.

[0071] It should be noted that when the length of the original data is different from the length of the random code, the original data is extended by the sending end to the same length as the random code.

[0072] For example, the data to be transmitted is original data, which in one embodiment is 101. Assume that the generated random code is 1101. To ensure that the length of the original data matches the length of the random code, the original data is repeatedly extended to 111100001111. A bit-by-bit exclusive OR operation is performed on the extended chip sequence and the random code 1101, yielding the following result: 111100001111 ⊕ 110111011101 = 001011010010, resulting in a spread spectrum signal of 001011010010. The spread spectrum signal 001011010010 is transmitted from the transmitter to the receiver via a channel.

[0073] Reference Figure 2 The signal processing method of the wire controller is applied to the receiving end and includes the following steps:

[0074] Step S210, receiving a spread spectrum signal sent by a transmitting end;

[0075] Step S220, determining a correlation value between the spread spectrum signal and the local random code;

[0076] Step S230, when the correlation value reaches a preset threshold, performing a despreading operation on the spread spectrum signal to obtain a plurality of despread data;

[0077] Step S240: combine multiple despread data to obtain original data.

[0078] In step S210, the transmitting end sends the spread spectrum signal through the transmitter, and the receiving end receives the spread spectrum signal through the receiver.

[0079] Reference Figure 3 , for step S220, determining the correlation value between the spread spectrum signal and the local random code includes the following steps:

[0080] In step S221, the local random code is slid bit by bit on the spread spectrum signal, and the correlation value between the signal segment at each position and the local random code is calculated.

[0081] The length of the signal segment is the same as the correlation value of the local random code.

[0082] Reference Figure 4 , calculating the correlation value between the signal segment at each position and the local random code, including the following steps:

[0083] Step S222, performing an XOR operation on the signal segment and the local random code to obtain a first XOR result;

[0084] Step S223: Obtain a correlation value according to the first XOR result.

[0085] Exemplarily, the receiving end detects the spread spectrum signal 001011010010 and aligns it with the local random code 1101. A bit-by-bit sliding method is used for synchronization and correlation detection.

[0086] The local random code 1101 is slid bit by bit over the received signal, and the correlation between the received signal segment at each position and the local random code 1101 is calculated. The correlation is usually calculated by using an XOR operation followed by counting the number of identical bits (or a dot product operation).

[0087] Assume that the received signal is 001011010010, slide the local random code 1101 from the starting position of the received signal, one bit at a time, and calculate the correlation.

[0088] Position 1: 0010⊕1101=1111, the number of identical bits is 0.

[0089] Position 2: 0101⊕1101=1000, the number of identical bits is 3.

[0090] Position 3: 1011⊕1101=0110, the number of identical bits is 2.

[0091] Position 4: 0110⊕1101=1011, the number of identical bits is 1.

[0092] Position 5: 1101⊕1101=0000, the number of identical bits is 4.

[0093] The correlation threshold is set to 4; of course, in other embodiments, the correlation threshold can also be set to other values. When the correlation reaches its maximum value, it indicates that the local random code is phase-aligned with the random code in the received spread-spectrum signal, and synchronization is achieved. If the maximum correlation value exceeds a preset threshold, the received signal is determined to be a valid spread-spectrum signal, and subsequent despreading operations can be performed.

[0094] Reference Figure 5 , for step S230, performing a despreading operation on the spread spectrum signal to obtain a plurality of despread data, comprising the following steps:

[0095] Step S231, grouping the spread spectrum signal to obtain multiple groups of grouped data;

[0096] Step S232, performing an XOR operation on each group of packet data and the local random code to obtain multiple second XOR results;

[0097] Step S233: performing a decoding operation on the plurality of second XOR results to obtain a plurality of despread data.

[0098] The length of the packet data is the same as the length of the local random code.

[0099] Exemplarily, the spread spectrum signal 001011010010 is divided into three groups according to 4 bits, the first group is 0010, the second group is 1101, and the third group is 0010.

[0100] Perform an XOR operation on each group of packet data and the local random code 1101 to obtain multiple second XOR results.

[0101] The first group of packet data and the local random code 1101 are XORed as: 0010⊕1101=1111, and the second XOR result corresponding to the first group of packet data is 1111. The despread data 1 is obtained by decoding according to the second XOR result 1111.

[0102] The second group of packet data and the local random code 1101 are XORed as follows: 1101⊕1101=0000, and the second XOR result corresponding to the second group of packet data is 0000. The despread data 0 is obtained by decoding according to the second XOR result 0000.

[0103] The third group of packet data and the local random code 1101 are XORed as: 0010⊕1101=1111, and the second XOR result corresponding to the third group of packet data is 1111. The despread data 1 is obtained by decoding according to the second XOR result 1111.

[0104] In step S240, multiple despread data are combined to obtain original data.

[0105] The despread data 1 corresponding to the first group of packet data, the despread data 0 corresponding to the second group of packet data, and the despread data 1 corresponding to the third group of packet data are combined to obtain original data 101.

[0106] The above is a specific description of the preferred implementation of the present application, but the present application is not limited to the embodiments. Those skilled in the art may make various equivalent modifications or substitutions without violating the spirit of the present application, and these equivalent modifications or substitutions are all included in the scope defined by the claims of the present application.

Claims

1. A signal processing method for a wire controller, characterized in that: include: receiving a spread spectrum signal sent by a transmitter; Determining a correlation value between the spread spectrum signal and a local random code; When the correlation value reaches a preset threshold, performing a despreading operation on the spread spectrum signal to obtain a plurality of despread data; The multiple despread data are combined to obtain original data.

2. The signal processing method of the wire controller according to claim 1, characterized in that: The spread spectrum signal is obtained by performing a modulo-2 addition operation on original data and a random code at the transmitting end, and the random code at the transmitting end corresponds to the local random code.

3. The signal processing method of the wire controller according to claim 2, characterized in that: When the length of the original data is different from the length of the random code, the original data is extended by the transmitting end to have the same length as the random code.

4. The signal processing method of the wire controller according to claim 1, wherein: Determining the correlation value between the spread spectrum signal and the local random code includes: Slide the local random code bit by bit on the spread spectrum signal, and calculate the correlation value between the signal segment at each position and the local random code; The length of the signal segment is the same as the correlation value of the local random code.

5. The signal processing method of the wire controller according to claim 4, characterized in that: Calculating the correlation value between the signal segment at each position and the local random code includes: Performing an XOR operation on the signal segment and the local random code to obtain a first XOR result; A correlation value is obtained according to the first XOR result.

6. The signal processing method of a wire controller according to claim 1, wherein: The despreading operation is performed on the spread spectrum signal to obtain a plurality of despread data, including: Grouping the spread spectrum signal to obtain multiple groups of grouped data, where the length of the grouped data is the same as the length of the local random code; Performing an exclusive OR operation on each group of the grouped data and the local random code to obtain a plurality of second exclusive OR results; A decoding operation is performed on the plurality of second XOR results to obtain a plurality of despread data.

7. A wire controller, characterized in that: The signal processing method of the wire controller according to any one of claims 1 to 6 is applied, wherein the wire controller includes: a main control module and a spread spectrum communication module; the main control module is connected to the spread spectrum communication module, the spread spectrum communication module includes a spread spectrum modulation and despreading demodulation circuit, the spread spectrum modulation and despreading demodulation circuit includes a transmitting end and a receiving end, the transmitting end is used to send a spread spectrum signal, and the receiving end is used to receive the spread spectrum signal and perform a despreading operation on the spread spectrum signal to obtain original data.

8. The wired controller according to claim 7, wherein: The spread spectrum communication module further includes a radio frequency front end, which includes a noise amplifier, a power amplifier and a bandpass filter.

9. The wired controller according to claim 8, characterized in that: The spread spectrum modulation and despreading demodulation circuit is isolated from the radio frequency front end by an isolation band.

10. The wired controller according to claim 7, wherein: The wire controller further includes a power management module and a peripheral interface module. The power management module is used to manage the power supply of the wire controller, and the peripheral interface module is used to provide an interface for connecting to peripherals.

Citation Information

Patent Citations

  • Carrier communication method and system for BFSK (Binary Frequency Shift Keying) spread-spectrum power line

    CN102104575A

  • A signal processing method for anti-interference and anti-error lock of a receiver

    CN109039511A

  • Signal processing method and device for wireless frequency hopping spread spectrum communication network

    CN118249840A