A method and device for adaptive noise reduction carrier communication based on smart home

Through the adaptive noise reduction carrier communication method, the load noise on the power line is extracted and processed, reducing its impact on PLC communication, solving the noise interference problem in smart homes, improving the stability and success rate of the communication system, and is suitable for a variety of applications load type, reducing equipment cost and volume.

CN118646443BActive Publication Date: 2024-10-18XIAMEN LEELEN TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411078490.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-07
Publication Date
2024-10-18
Estimated Expiration
2044-08-07

AI Technical Summary

Technical Problem

Power line carrier communications in smart homes are susceptible to interference from different types of load noise, leading to signal attenuation and network instability, affecting the promotion of the system.

Method used

The adaptive noise reduction carrier communication method is used to extract the load noise and PLC signal on the live line, convert it into an unbalanced signal to the ground, remove the load noise signal, perform controllable noise signal amplification and phase shifting processing, and re-couple to the neutral line and On the fire line, the front control unit is used to adjust the gain according to the noise data to ensure that the noise signal is less than the preset threshold.

Benefits of technology

Effectively reduce the impact of load noise on PLC communication, improve the stability and success rate of the communication system, reduce the bit error rate, reduce equipment cost and volume, and at the same time adapt to the noise of different load types to achieve higher noise reduction effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118646443B_ABST
    Figure CN118646443B_ABST
Patent Text Reader

Abstract

The present invention relates to an adaptive noise reduction carrier communication method and device based on smart home, and the method comprises the following steps: extracting the differential balanced noise and PLC signal of the load on the live line, and converting them into an unbalanced signal to the ground; removing the synchronously coupled TX power line carrier signal to output the load noise signal; performing controllable gain on the load noise signal to output the gain signal; performing phase shifting on the gain signal, and outputting a phase shift signal with the same amplitude as the load noise signal but opposite direction; re-coupling the phase shift signal to the neutral line and the live line; using a front control unit to sample and analyze the data of the noise processing result, determine the gain coefficient, and make the sampling analysis result less than the preset noise threshold; when there are multiple gain coefficients, screening the gain coefficient with the lowest noise level as the optimal gain coefficient, and performing gain on the load noise signal. The present invention can reduce the impact of load noise on the PLC communication network and improve the stability of the overall system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of smart home, and in particular to a smart home-based adaptive noise reduction carrier communication method and device. Background Art

[0002] Smart home is a modern home system that integrates advanced technology. It enables various household devices used in daily life to connect and communicate with each other, and can be remotely monitored and controlled through a central control system or mobile devices (such as smartphones and tablets). Smart home not only improves the convenience of life, but also improves energy efficiency by optimizing energy use and increases family security. At present, the mainstream smart home solutions on the market are divided into two forms: wireless and wired. Most wireless networks are based on wireless transmission protocols such as WiFi, Bluetooth, and Zigbee, while wired networks such as KNX, RS485, and DALI require special layout and routing, which has certain limitations. Power line carrier communication (PLC) does not require additional lines, and directly couples carrier communication signals on the mains power line for data transmission.

[0003] Although power line carrier communication has the advantages of no need for additional wiring and low cost in the field of smart home, it also has the problem of signal attenuation caused by noise interference from different types of loads (i.e. electrical appliances) in the home, especially some high-power devices that have not passed relevant safety certifications. When working, they will output noise of various frequency bands to the power grid. This noise is a voltage fluctuation transmitted through a wired circuit, and the frequency band is very wide, up to 0.5MHz-12MHz. This noise makes smart devices easy to drop offline and exit the network, and the entire system network is unstable, affecting the promotion of power line carrier communication in the field of smart home. Summary of the invention

[0004] One of the purposes of the present invention is to provide an adaptive noise reduction carrier communication method based on smart home, aiming to improve the problem that power line carrier communication is easily interfered by different types of load noise when applied in smart home.

[0005] To achieve the above object, the present invention adopts the following technical solutions:

[0006] An adaptive noise reduction carrier communication method based on smart home, comprising the following steps:

[0007] Extract the differential balanced noise and PLC signal of the load on the live line and convert them into unbalanced signals to the ground;

[0008] Eliminate the TX power line carrier signal synchronously coupled by the front-end PLC unit in the unbalanced signal to the ground to output a load noise signal;

[0009] The load noise signal is input into a controllable noise signal amplifying unit for controllable gain to output a gain signal; the controllable noise signal amplifying unit uses the MOS tube Q2 as a regulating element, changes the voltage between the electrodes of the MOS tube Q2 so that it works in a linear resistance region, so as to adjust the gain coefficient of the gain signal;

[0010] Performing phase shift on the gain signal, and outputting a phase shift signal having the same amplitude as the load noise signal but opposite direction;

[0011] re-coupling the phase-shifted signal to the neutral line and the live line;

[0012] Using the front control unit to perform sampling analysis on the data of the noise processing result, and determining the gain coefficient of the controllable gain according to the sampling analysis result, so that the sampling analysis result is less than a preset noise threshold;

[0013] When there are multiple gain coefficients, the gain coefficient with the lowest noise level in the sampling analysis results is selected as the optimal gain coefficient, and the load noise signal is gained according to the optimal gain coefficient.

[0014] Further, the controllable noise signal amplifying unit includes an operational amplifier A2, a driver, a MOS tube Q2, a resistor R5, a resistor R6, a resistor R7, a capacitor C8 and a capacitor C9;

[0015] The load noise signal is connected to the non-inverting input terminal of the operational amplifier A2, and the non-inverting input terminal of the operational amplifier A2 is electrically connected to one end of the resistor R5.

[0016] The front control unit outputs a control signal Mos_control to the input end of the driver, the output end of the driver is electrically connected to the gate of the MOS tube Q2, the drain of the MOS tube Q2 is electrically connected to one end of the resistor R7, the other end of the resistor R7 is electrically connected to the reverse input end of the operational amplifier A2, and the source of the MOS tube Q2 is electrically connected to one end of the capacitor C8;

[0017] The resistor R6 and the capacitor C9 are connected in parallel between the inverting input terminal of the operational amplifier A2 and the output terminal of the operational amplifier A2, and the output terminal of the operational amplifier A2 outputs the gain signal;

[0018] The other end of the resistor R5, the other end of the capacitor C8 and the grounding terminal of the operational amplifier A2 are all grounded.

[0019] Further, the driver includes a transistor Q3, a resistor R8, a resistor R9, a resistor R10, a resistor R11 and a capacitor C7;

[0020] One end of the resistor R8 is electrically connected to the output end of the front control unit, and the other end of the resistor R8 is electrically connected to the base of the transistor Q3; the collector of the transistor Q3 is electrically connected to one end of the resistor R11, and the other end of the resistor R11 is electrically connected to an external power supply; the resistor R9 and the capacitor C7 are connected in parallel to the base of the transistor Q3 and grounded;

[0021] The emitter of the transistor Q3 is electrically connected to the gate of the MOS transistor Q2 , and the resistor R10 is electrically connected between the ground and the gate of the MOS transistor Q2 .

[0022] Further, the step of determining the gain coefficient of the controllable gain includes the following sub-steps:

[0023] In one cycle of the mains, the data of the noise processing result is sampled at a set interval, and the root mean square value of the overall data is counted;

[0024] Repeat the operation for several mains cycles to obtain the RMS value in each mains cycle;

[0025] Calculate the average avg1 of the RMS value and compare it with the preset noise threshold;

[0026] Determine whether avg1 is less than the preset noise threshold;

[0027] If avg1 is greater than the preset noise threshold, the control unit outputs a control signal Mos_control value a, and the sampling step is repeated;

[0028] If avg1 is less than the preset noise threshold, output a.

[0029] Furthermore, the control signal Mos_control satisfies the following conditional expression:

[0030] 0≤a≤aMAX, a increases in steps of x.

[0031] Further, determining the optimal gain coefficient comprises the following steps:

[0032] If avg1 is less than the preset noise threshold;

[0033] The control unit outputs the control signal Mos_control value a+x, and repeats the feedback step once to obtain avg2, where x is the step length;

[0034] Compare avg1 and avg2; if avg2 is less than avg1, assign avg2 the value of avg1 and return to the previous step; if avg2 is greater than avg1, output the optimal gain coefficient a=ax.

[0035] Further, the unbalanced signal to ground is generated by a signal decoupling unit, and the signal decoupling unit includes a common mode inductor T1, a TVS tube D1 and a DC blocking capacitor;

[0036] Each live wire branch is connected in series with the DC blocking capacitor and then electrically connected to pin 1 of the common-mode inductor T1, the neutral wire is connected to pin 2 of the common-mode inductor T1, both ends of the TVS tube D1 are electrically connected between pin 1 and pin 2 of the common-mode inductor T1, pin 3 of the common-mode inductor T1 outputs the unbalanced signal to ground, and pin 4 of the common-mode inductor T1 is grounded.

[0037] Further, the load noise signal is generated by a subtraction unit, and the subtraction unit includes an operational amplifier A1 and resistors R1, R2, R3, and R4;

[0038] The resistor R2 is electrically connected between the pin 3 of the common mode inductor T1 and the non-inverting input terminal of the operational amplifier A1, the resistor R1 is electrically connected between the output terminal of the front-end PLC unit and the reverse input terminal of the operational amplifier A1, the non-inverting input terminal of the operational amplifier A1 is electrically connected to one end of the resistor R4, the resistor R3 is electrically connected between the reverse input terminal and the output terminal of the operational amplifier A1, the power supply terminal of the operational amplifier A1 is electrically connected to the external power supply, and the output terminal of the operational amplifier A1 outputs the load noise signal to the controllable noise signal amplification step;

[0039] The ground terminal of the operational amplifier A1 and the other end of the resistor R4 are both grounded.

[0040] Further, the phase shift signal is performed by a phase shift unit, and the phase shift unit includes an operational amplifier A3, a resistor R12, a resistor R13 and a capacitor C10;

[0041] The output end of the operational amplifier A2 is electrically connected to the inverting input end of the operational amplifier A3, the resistor R13 and the capacitor C10 are connected in parallel between the inverting input end and the output end of the operational amplifier A3, the power supply end of the operational amplifier A3 is electrically connected to an external power supply, the inverting input end of the operational amplifier A3 is electrically connected to one end of the resistor R12, and the other end of the resistor R12 and the same-direction input end and the ground end of the operational amplifier A3 are all grounded.

[0042] A second object of the present invention is to provide a smart home device that improves power line carrier communication by reducing its own noise interference to the power line.

[0043] To achieve the above object, the present invention adopts the following technical solutions:

[0044] A smart home device is connected to a power line carrier communication network, comprising a device body, and the device body uses the above-mentioned smart home-based adaptive noise reduction carrier communication method to reduce noise.

[0045] After adopting the above technical solution, the present invention has the following advantages compared with the background technology:

[0046] 1. The present invention synchronously decouples the load noise and PLC signal on the live line and converts them into an unbalanced signal to the ground; then the PLC signal part in the unbalanced signal to the ground is deleted, leaving the load noise; the controllable noise signal amplification step performs certain compensation on the signal after the front-end decoupling and subtraction processing, that is, the load noise signal is amplified and output with an adjustable gain coefficient; the phase shifting step flips the amplified load noise signal, and couples it to the neutral line and the live line in the subsequent signal coupling step to reduce the impact of the load noise on the PLC communication network, thereby reducing the bit error rate of the PLC communication and improving the stability of the communication system.

[0047] 2. The present invention adopts active noise reduction. Compared with the previous use of large inductors and capacitors to filter load noise passively, the present invention can reduce noise for different load types, can adapt to more types of electrical appliances, and has a wider frequency range. The noise is limited from the perspective of time domain, and the noise reduction level is higher than the passive method, which further improves the success rate of PLC communication. Moreover, under the premise of the larger load current, the requirements for parameters such as inductance are also higher, and the volume and cost are also increased accordingly, which has limitations. The adaptive noise reduction module used in the present invention is not constrained by the load current, and the volume is relatively reduced, and the required cost is greatly reduced, which is more conducive to the layout of the equipment and its application in the smart home industry.

[0048] 3. The present invention verifies the actual noise reduction effect by extracting the root mean square value of the collected analysis results after noise reduction, and adjusts the gain parameters of the system in real time according to the effect to adapt to the constantly changing noise and better adapt to different load types; at the same time, the present invention adjusts a reasonable gain coefficient to avoid the gain coefficient being too small to achieve a good noise reduction effect, and to avoid the gain coefficient being too large to introduce additional noise in the reverse direction.

[0049] 4. The traditional mechanical resistance adjustment method requires manual adjustment of the resistance value, and the resistance adjustment accuracy is low, and it is impossible to achieve precise resistance adjustment like the IO port output level method. In addition, the variable resistor itself is large in size and difficult to integrate into smart home devices. The present invention uses the MOS tube Q2 as an adjustment element and realizes resistance adjustment through its linear resistance area. It not only has high adjustment accuracy, but also can be arranged in a smaller space.

[0050] 5. The present invention uses the transistor Q3 as the core element of the driver, which can not only increase the driving ability, but also allow Q3 to work in the cut-off area, amplification area and saturation area according to the different output voltages. The G pole voltage sometimes requires 12V drive, while the chip of the front control unit generally outputs 3-5V. Adding Q3 can expand the variation range of the power supply voltage and expand the variation range of the resistance value of the MOS tube Q2.

[0051] 6. In order to avoid the need to process device noise one by one when the same device is connected to multiple loads, the signal decoupling unit of the present invention can synchronously decouple multiple noise signals, which is convenient for subsequent unified processing of noise signals; at the same time, it can reduce the number of couplers, so that the size of the device is further reduced, while reducing costs. The chip is convenient for synchronous processing of multiple noise signals, reducing the complexity of noise processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Figure 1 This is a flowchart of the adaptive noise reduction carrier communication method based on smart home according to the present invention;

[0053] Figure 2 This is a flowchart of the first part of the feedback sub-step of the adaptive noise reduction carrier communication method based on smart home according to the present invention;

[0054] Figure 3 This is a flow chart of the second part of the feedback sub-step of the adaptive noise reduction carrier communication method based on smart home according to the present invention;

[0055] Figure 4 A circuit diagram of the signal decoupling step of the adaptive noise reduction carrier communication method based on smart home according to the present invention;

[0056] Figure 5 It is a circuit diagram of the subtraction step of the adaptive noise reduction carrier communication method based on smart home of the present invention;

[0057] Figure 6 A circuit diagram of a controllable noise signal amplification step of the adaptive noise reduction carrier communication method based on smart home of the present invention;

[0058] Figure 7 It is a circuit diagram of the phase shifting step of the adaptive noise reduction carrier communication method based on smart home of the present invention;

[0059] Figure 8 A circuit diagram of the signal coupling step of the adaptive noise reduction carrier communication method based on smart home according to the present invention;

[0060] Fig. 9 It is a circuit diagram of the feedback step of the adaptive noise reduction carrier communication method based on smart home of the present invention;

[0061] Fig.10 This is a topological diagram of the smart home equipment described in the present invention. DETAILED DESCRIPTION

[0062] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0063] In addition, it should be noted that the terms "up", "down", "left", "right", "vertical", "horizontal", "inside", "outside", etc. are based on the orientation or position relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element of the present invention must have a specific orientation, and therefore cannot be understood as a limitation on the present invention.

[0064] When an element is referred to as being “fixed to” or “disposed on” or “provided on” another element, it may be directly on the other element or indirectly on the other element. When an element is referred to as being “connected to” another element, it may be directly connected to the other element or indirectly connected to the other element.

[0065] Unless otherwise clearly specified and limited, the terms "installed", "connected" and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the invention can be understood according to specific circumstances. Example

[0066] Please refer to Figure 1-9 As shown, this embodiment provides an adaptive noise reduction carrier communication method based on smart home, please refer to Figure 1 As shown, the following steps are included:

[0067] Power on the device;

[0068] Signal decoupling, extracting the differential balanced noise and PLC signal of the load on the live wire, and converting them into unbalanced signals to the ground, which facilitates the subsequent signal processing;

[0069] Subtraction method, removing the useful TX power line carrier signal synchronously coupled by the front-end PLC unit from the unbalanced signal to the ground to output the load noise signal, effectively preventing the power line carrier signal from being mistakenly regarded as a load noise signal and attenuated, wherein the TX power line carrier signal is a communication signal sent by the PLC unit to another PLC signal receiving chip, and is used for communication between PLC networks;

[0070] Controllable noise signal amplification: the unbalanced signal to ground after subtraction is amplified with controllable gain to output a gain signal. At the same time, the attenuation of the load noise signal caused by the front-end circuit, devices and subsequent signal processing is compensated. Since the MOS tube works in the linear region and can be regarded as a variable resistor, the front-end control unit outputs a control signal Mos_control adjustment handle to control the size of the gain output, adjust the signal strength of the noise, and accurately compensate for the actual noise.

[0071] Phase shift: The gain signal is phase shifted for output, and a phase shifted signal with the same amplitude as the load noise signal but opposite direction is output. From the perspective of time domain, a signal with the same amplitude as the noise waveform and opposite direction is output in real time. In the subsequent signal coupling process, it is superimposed with the load noise signal to suppress and eliminate the load noise signal, and active noise reduction is performed. Compared with passive noise reduction methods, it has a higher noise reduction level;

[0072] Signal coupling, re-couples the phase-shifted signal to the neutral and live wires to eliminate the noise on the neutral and live wires.

[0073] Among them, the load refers to the electrical appliances connected to the PLC communication network (Power Line Communication). In an example smart home scenario, it may include gateways, switch panels, smart screen control devices, lighting control devices, curtain control devices, HVAC control devices, lamps, home appliances, security, HVAC, water immersion sensors, curtain infrared sensors, human presence sensors, sound and light alarms, gas sensors, door and window sensors, valve controllers, smoke sensors, network expanders, interface expanders, etc.

[0074] In this way, the present invention can significantly reduce the noise level of electrical appliances by collecting the noise of interference with the mains when the electrical appliances are in a working state, and performing a series of operations such as decoupling, amplification, inversion and recoupling, thereby reducing the impact on the PLC communication waveform, reducing the bit error rate of PLC communication, and improving the stability of the communication system.

[0075] At the same time, the present invention processes the interference noise in the time domain, that is, starting from the noise waveform itself, a signal with the same amplitude and opposite direction as the noise waveform is output in real time to neutralize the load noise signal, thereby playing a suppressive role. The whole system adopts closed-loop control instructions and does not require additional control logic in chips or memory, which greatly reduces the response time of the system and can achieve real-time tracking and processing of load noise signals.

[0076] Furthermore, the adaptive noise reduction carrier communication method further includes the following steps:

[0077] Feedback, use the front control unit to sample, quantify, digitally count and process the noise processing result data, compare it with the preset noise threshold, output the comparison result to the controllable noise signal amplification step, and adjust the compensation amount. This improves the accuracy of the processing, further reduces the electrical noise intensity, and ensures reliable communication of the PLC communication network.

[0078] That is, the present invention introduces a feedback mechanism at the back end, and can timely adjust the signal amplification level according to the loss of the circuit and the change of the external noise during the signal processing process, so as to suppress the noise more accurately and reduce the noise.

[0079] Please refer to Figure 4 As shown, the signal decoupling step is performed by a signal decoupling unit, and the signal decoupling unit includes a common mode inductor T1, a TVS tube D1 and a separation capacitor. In this embodiment, the separation capacitor includes a capacitor C1 and a capacitor C2.

[0080] Pin 1 of the common-mode inductor T1 is electrically connected to one end of the TVS tube D1, one end of the capacitor C1 and one end of the capacitor C2, and the other ends of the capacitor C1 and the capacitor C2 are electrically connected to the first live wire branch L1 and the second live wire branch L2 respectively; Pin 2 of the common-mode inductor T1 is electrically connected to the other end of the TVS tube D1 and the neutral line; Pin 3 of the common-mode inductor T1 outputs an unbalanced signal to the ground to the subtraction step; Pin 4 of the common-mode inductor T1 is grounded.

[0081] In this embodiment, the live wire branch includes L1 and L2, and can be more, and the number of capacitors is equal to the number of live wire branches. If the live wire branch includes L1-Ln, the capacitors include C1-Cn, and are respectively arranged on the corresponding live wire branches. In this embodiment, capacitors C1 and C2 are high-voltage capacitors, which effectively isolate the industrial frequency mains, and synchronously decouple the PLC signal and noise. According to the number of loads connected to different devices, the load noise signal of multiple different devices can be suppressed by increasing the capacitor, saving devices and layout space, thereby greatly reducing costs. TVS tube D1 is a protective device to prevent pulse signals from damaging the common mode inductor T1 and the back-end amplifier. The common mode inductor T1 converts the noise and PLC signal from the differential balanced signal of L1, L2... ...Ln to the neutral line to the unbalanced signal of RX_mix to the system ground.

[0082] Please refer to Figure 5 As shown, the subtraction step is performed by a subtraction unit, which includes an operational amplifier A1 and resistors R1, R2, R3, and R4.

[0083] The resistor R2 is electrically connected between the pin 3 of the common mode inductor T1 and the same direction input terminal of the operational amplifier A1, and the resistor R1 is electrically connected between the output terminal of the front-end PLC unit and the reverse input terminal of the operational amplifier A1. The same direction input terminal of the operational amplifier A1 is electrically connected to one end of the resistor R4. The resistor R3 is electrically connected between the reverse input terminal and the output terminal of the operational amplifier A1. The power supply terminal of the operational amplifier A1 is electrically connected to the external power supply, and the output terminal of the operational amplifier A1 outputs the ground unbalanced signal after subtraction processing to the controllable noise signal amplification step.

[0084] The ground terminal of the operational amplifier A1 and the other end of the resistor R4 are both grounded. The resistor R3 is a feedback resistor. In this embodiment, the resistance values ​​of the resistors R1, R2, R3, and R4 are equal. It can be seen that the output signal V (Noise_a) = V (RX_mix) - V (PLC), which can delete the effective PLC signal coupled at the front end, prevent the attenuation of the PLC signal, and reduce the communication distance.

[0085] Please refer to Figure 6 As shown, the controllable noise signal amplification step is performed by a controllable noise signal amplification unit, and the controllable noise signal amplification unit includes an operational amplifier A2, a MOS tube Q2, a transistor Q3, a resistor R5, a resistor R6, a resistor R7, a resistor R8, a resistor R9, a resistor R10, a resistor R11 and capacitors C7, C8 and C9.

[0086] The ground unbalanced signal outputted in the subtraction step is connected to the non-inverting input terminal of the operational amplifier A2, that is, the output terminal of the operational amplifier A1 is electrically connected to the non-inverting input terminal of the operational amplifier A2. The non-inverting input terminal of the operational amplifier A2 is electrically connected to one end of the resistor R5.

[0087] The front control unit outputs a control signal Mos_control to one end of the resistor R8, and the other end of the resistor R8 is electrically connected to the base of the transistor Q3. The collector of the transistor Q3 is electrically connected to one end of the resistor R11, and the other end of the resistor R11 and the power supply end of the operational amplifier A2 are both electrically connected to the external power supply. The resistor R9 and the capacitor C7 are connected in parallel to the base of the transistor Q3 and grounded.

[0088] The emitter of the transistor Q3 is electrically connected to one end of the resistor R10 and the gate of the MOS transistor Q2, the drain of the MOS transistor Q2 is electrically connected to one end of the resistor R7, the other end of the resistor R7 is electrically connected to the reverse input end of the operational amplifier A2, and the source of the MOS transistor Q2 is electrically connected to one end of the capacitor C8.

[0089] The resistor R6 and the capacitor C9 are connected in parallel between the inverting input terminal and the output terminal of the operational amplifier A2, and the output terminal of the operational amplifier A2 outputs the amplified unbalanced signal to the phase shift step. The other end of the resistor R5, the other end of the resistor R10, the other end of the capacitor C8 and the ground terminal of the operational amplifier A2 are all grounded.

[0090] From this we can get:

[0091] V(Noise_b)=(1+R6 / (R7+RQ2))*V(Noise_a)

[0092] It can be seen from the above formula that the amplification gain coefficient of the load noise signal is related to the resistance ratio of the fixed resistor R6 and the resistor R7, as well as the resistance value of the MOS tube Q2. The working state of the MOS tube Q2 is controlled by the control signal Mos_control output by the front control unit to control the triode Q3 to drive the G pole voltage change of the MOS tube Q2, and it continues to work in the linear resistance area. It is approximately regarded as an adjustable resistor to the outside, which is controlled by the signal level output by the main control. The resistance value of RQ2 in the adjustment loop ultimately plays a controllable gain amplification role for the load noise signal. The circuit cooperates with the main control logic to realize real-time monitoring and adaptive noise reduction of the load noise signal.

[0093] Please refer to Figure 7 As shown, the phase shifting step is performed by a phase shifting unit, which includes an operational amplifier A3, a resistor R12, a resistor R13 and a capacitor C10.

[0094] The output terminal of the operational amplifier A2 is electrically connected to the reverse input terminal of the operational amplifier A3. The resistor R13 and the capacitor C10 are connected in parallel between the reverse input terminal and the output terminal of the operational amplifier A3. The output terminal of the operational amplifier A3 outputs the flipped unbalanced signal to the ground to the signal coupling step. The power supply terminal of the operational amplifier A3 is electrically connected to the external power supply. The reverse input terminal of the operational amplifier A3 is electrically connected to one end of the resistor R12, and the other end of the resistor R12 and the same-direction input terminal and the ground terminal of the operational amplifier A3 are all grounded.

[0095] In this embodiment, the resistance values ​​of the resistor R12 and the resistor R13 are equal, so V(Noise_c)=-V(Noise_b), that is, the signal level is flipped to facilitate the subsequent coupling and cancellation of the load noise signal.

[0096] Please refer to Figure 8 As shown, the signal coupling step is performed by a signal coupling unit, and the signal coupling unit includes a common mode inductor T2, a TVS tube D2 and a capacitor C10.

[0097] The output end of the operational amplifier A3 is electrically connected to the pin 1 of the common mode inductor T2, and the pin 2 of the common mode inductor T2 is grounded. The TVS tube D2 is electrically connected between the pins 3 and 4 of the common mode inductor T2, the pin 3 of the common mode inductor T2 is electrically connected to one end of the capacitor C10, and the other end of the capacitor C10 is electrically connected to the live wire; the pin 4 of the common mode inductor T2 is electrically connected to the neutral wire.

[0098] The load noise signal after amplification, phase shifting and inversion is recoupled to the live wire and the neutral wire to eliminate the influence of the load noise on the PLC communication network.

[0099] Please refer to Fig. 9 As shown, the feedback step is performed by a feedback unit, which includes a common mode inductor T3 and resistors R14, R15, R16, and R17.

[0100] Resistors R14, R15, R16, and R17 are connected in series between the live wire and the neutral wire in sequence, pin 1 of the common-mode inductor T3 is electrically connected between the resistor R16 and the resistor R17, pin 2 of the common-mode inductor T3 is electrically connected to the neutral wire, pin 3 of the common-mode inductor T3 is electrically connected to the sampling terminal FB of the front control unit, and pin 4 of the common-mode inductor T3 is grounded.

[0101] The front control unit samples, calculates and analyzes the voltage between the compensated live wire and the neutral wire through the FB pin, and compares it with the threshold to determine whether the noise reduction effect reaches the expected effect, thereby controlling the controllable noise signal amplification step for adaptive compensation, and adjusting the system gain through the output control signal Mos_control to strengthen or weaken the output reverse load noise signal to improve the noise level, thereby realizing dynamic adjustment of the system noise.

[0102] Please refer to Figure 2 As shown, the feedback step includes the following sub-steps:

[0103] In one 20ms cycle of the mains, data sampling is performed at set intervals, and the RMS value of the overall data is calculated;

[0104] Repeat the operation for several mains cycles to obtain the RMS value in each mains cycle;

[0105] Calculate the average of the RMS value avg1 and compare it with the preset noise threshold; determine whether avg1 is less than the preset noise threshold tag;

[0106] If avg1 is greater than the preset noise threshold tag, the control signal Mos_control value a output by the control unit is increased, and the sampling step is repeated;

[0107] If avg1 is less than the preset noise threshold tag, output a.

[0108] In this embodiment, the set interval of data sampling is 100us, and the sampled mains power cycles are 5, that is, the root mean square values ​​x1, x2, x3, x4 and x5 are obtained respectively, and the average of the root mean square values ​​avg1=(x1+x2+x3+x4+x5) / 5.

[0109] The control signal Mos_control satisfies the following conditional expression:

[0110] 0≤a≤aMAX;

[0111] a increases in steps of size x.

[0112] In this embodiment, x=0.1V. Similarly, different voltage values ​​of x can be set according to the adjustment requirements. The initial state a=0, that is, the control signal Mos_control outputs a low level. At this time, the transistor Q3 is not conducting, that is, the gate of the MOS tube Q2 is low level, and the MOS tube Q2 is also not conducting. The source and drain of the MOS tube Q2 are open, and the resistance is approximately infinite. At this moment, it can be obtained from the formula that V (Noise_b)=V (Noise_a), and the gain coefficient is 1. Due to the loss of lines and components, the gain coefficient at this time should be less than the expected gain coefficient, and the noise cannot be fully compensated. That is, avg1 is greater than the preset noise threshold, then the voltage level of the control signal Mos_control is increased, so that Q3 works in the amplification area, thereby increasing the transistor emitter voltage, and then increasing the GS pole voltage of the MOS tube Q2, so as to achieve controllable adjustment of the output noise voltage.

[0113] Since the level of the control signal Mos_control will not be infinite, and the emitter voltage of the transistor Q3 will hardly change after saturation and conduction, the equivalent resistance adjustment function of the MOS tube Q2 is lost at this time, and the gain cannot be adjusted. The upper limit value aMAX of the a level is set according to the output voltage of the front control unit, the saturation and conduction voltage of the transistor Q3, and the minimum voltage value of the MOS tube Q2 parameters to ensure that the controllable noise signal amplification step can effectively adaptively compensate for the attenuation of the front-end phase shift and coupling processing signals, thereby improving the noise reduction level.

[0114] The following steps are also included:

[0115] Determine whether a is greater than aMAX. If a is less than aMAX, increase the control signal Mos_control value a output by the control unit and repeat the sampling steps. If a is greater than aMAX, an alarm is issued, and it is determined that the load noise seriously exceeds the standard, and replacement is recommended.

[0116] Please refer to Figure 3 As shown, it also includes the optimal gain coefficient a judgment step, the specific steps are as follows:

[0117] If avg1 is less than the preset noise threshold tag;

[0118] The control unit outputs the control signal Mos_control value a+x and repeats the feedback step to obtain avg2;

[0119] Compare avg1 and avg2; if avg2 is less than avg1, assign avg2 the value of avg1 and return to the previous step; if avg2 is greater than avg1, output the optimal gain coefficient a=ax.

[0120] If there are multiple data in the range of a less than aMAX that satisfy avg1 less than the preset noise threshold tag, an additional round of data sampling and processing is added after the condition is met, and the optimal gain coefficient is determined based on the sampling and processing structure. If another data sampling and processing results in avg2 being greater than avg1, it means that the a value corresponding to avg1 is the optimal gain coefficient, that is, it is output as ax.

[0121] In summary, the present invention processes signals through a small number of analog circuit elements, and with the closed-loop control unit logic, it can achieve the suppression of electrical appliance noise, without the need for the traditional large and expensive winding inductor. Moreover, this solution can be implemented on small-volume smart home devices such as switch panels and curtain motors, which greatly reduces the cost while making the appearance smaller and the layout more concise, which is conducive to the application and promotion of power line carrier communication in the field of smart home industry.

[0122] This embodiment also discloses a smart home device, including a device body, and the device body applies the above-mentioned smart home-based adaptive noise reduction carrier communication method.

[0123] The smart home devices described in this application may include various control devices, controlled devices, sensors, and expansion devices, etc. Among them, the control devices may include gateways, switch panels, smart screen control devices, lighting control devices, curtain control devices, HVAC control devices, etc.; the controlled devices include lamps, home appliances, security, HVAC, etc.; the sensors include water immersion sensors, curtain infrared sensors, human presence sensors, sound and light alarms, gas sensors, door and window sensors, valve controllers, smoke sensors, etc.; the expansion devices include network expanders, interface expanders, etc.

[0124] In a specific example, taking the common switch panel device in smart home as an example, please refer to Fig.10As shown, its topological structure includes: a signal decoupling unit, a subtraction unit, a controllable noise signal amplifying unit, a phase shifting unit, a signal coupling unit and a feedback unit. The signal decoupling unit, the subtraction unit, the controllable noise signal amplifying unit, the phase shifting unit and the signal coupling unit are connected in sequence, one end of the feedback unit is connected to the neutral line of the signal decoupling unit, and the other end is connected to the live line of the signal coupling unit. The control signal Mos_control acts on the controllable noise signal amplifying unit, and each unit respectively performs the aforementioned steps of signal decoupling, subtraction, controllable noise signal amplifying, phase shifting, signal coupling and feedback, which will not be repeated here.

[0125] The above is only a preferred specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. An adaptive noise reduction carrier communication method based on smart home, characterized in that: The following steps are involved: Extract the differential balanced noise and PLC signal of the load on the live line and convert them into unbalanced signals to the ground; Eliminate the TX power line carrier signal synchronously coupled by the front-end PLC unit in the unbalanced signal to the ground to output a load noise signal; The load noise signal is input into a controllable noise signal amplifying unit for controllable gain to output a gain signal; the controllable noise signal amplifying unit uses the MOS tube Q2 as a regulating element, changes the voltage between the electrodes of the MOS tube Q2 so that it works in a linear resistance region, so as to adjust the gain coefficient of the gain signal; Performing phase shift on the gain signal, and outputting a phase shift signal having the same amplitude as the load noise signal but opposite direction; re-coupling the phase-shifted signal to the neutral line and the live line; Using the front control unit to perform sampling analysis on the data of the noise processing result, and determining the gain coefficient of the controllable gain according to the sampling analysis result, so that the sampling analysis result is less than a preset noise threshold; When there are multiple gain coefficients, the gain coefficient with the lowest noise level in the sampling analysis results is screened as the optimal gain coefficient, and the load noise signal is gained according to the optimal gain coefficient; The step of determining the gain coefficient of the controllable gain comprises the following sub-steps: In one cycle of the mains, the data of the noise processing result is sampled at a set interval, and the root mean square value of the overall data is counted; Repeat the operation for several mains cycles to obtain the RMS value in each mains cycle; Calculate the average avg1 of the RMS value and compare it with the preset noise threshold; Determine whether avg1 is less than the preset noise threshold; If avg1 is greater than the preset noise threshold, the control signal Mos_control value a output by the control unit is increased, and the sampling step is repeated; If avg1 is less than the preset noise threshold, output a; The controllable noise signal amplifying unit includes an operational amplifier A2, a driver, a MOS tube Q2, a resistor R5, a resistor R6, a resistor R7, a capacitor C8 and a capacitor C9; The load noise signal is connected to the non-inverting input terminal of the operational amplifier A2, and the non-inverting input terminal of the operational amplifier A2 is electrically connected to one end of the resistor R5. The front control unit outputs a control signal Mos_control to the input end of the driver, the output end of the driver is electrically connected to the gate of the MOS tube Q2, the drain of the MOS tube Q2 is electrically connected to one end of the resistor R7, the other end of the resistor R7 is electrically connected to the reverse input end of the operational amplifier A2, and the source of the MOS tube Q2 is electrically connected to one end of the capacitor C8; The resistor R6 and the capacitor C9 are connected in parallel between the inverting input terminal of the operational amplifier A2 and the output terminal of the operational amplifier A2, and the output terminal of the operational amplifier A2 outputs the gain signal; The other end of the resistor R5, the other end of the capacitor C8 and the grounding end of the operational amplifier A2 are all grounded; The driver includes a transistor Q3, a resistor R8, a resistor R9, a resistor R10, a resistor R11 and a capacitor C7; One end of the resistor R8 is electrically connected to the output end of the front control unit, and the other end of the resistor R8 is electrically connected to the base of the transistor Q3; the collector of the transistor Q3 is electrically connected to one end of the resistor R11, and the other end of the resistor R11 is electrically connected to an external power supply; the resistor R9 and the capacitor C7 are connected in parallel to the base of the transistor Q3 and grounded; The emitter of the transistor Q3 is electrically connected to the gate of the MOS transistor Q2 , and the resistor R10 is electrically connected between the ground and the gate of the MOS transistor Q2 .

2. The adaptive noise reduction carrier communication method based on smart home according to claim 1, characterized in that: The control signal Mos_control satisfies the following conditional formula: 0≤a≤aMAX, a increases in steps of x.

3. The adaptive noise reduction carrier communication method based on smart home according to claim 1, characterized in that: Determining the optimal gain coefficient comprises the following steps: If avg1 is less than the preset noise threshold; The control unit outputs the control signal Mos_control value a+x, and repeats the feedback step once to obtain avg2, where x is the step length; Compare avg1 and avg2; if avg2 is less than avg1, assign avg2 the value of avg1 and return to the previous step; if avg2 is greater than avg1, output the optimal gain coefficient a=ax.

4. The method for adaptive noise reduction carrier communication based on smart home according to claim 1, characterized in that: The unbalanced signal to ground is generated by a signal decoupling unit, and the signal decoupling unit includes a common mode inductor T1, a TVS tube D1 and a DC blocking capacitor; Each live wire branch is connected in series with the DC blocking capacitor and then electrically connected to pin 1 of the common-mode inductor T1, the neutral wire is connected to pin 2 of the common-mode inductor T1, both ends of the TVS tube D1 are electrically connected between pin 1 and pin 2 of the common-mode inductor T1, pin 3 of the common-mode inductor T1 outputs the unbalanced signal to ground, and pin 4 of the common-mode inductor T1 is grounded.

5. The method for adaptive noise reduction carrier communication based on smart home according to claim 4, characterized in that: The load noise signal is generated by a subtraction unit, and the subtraction unit includes an operational amplifier A1 and resistors R1, R2, R3, and R4; The resistor R2 is electrically connected between the pin 3 of the common mode inductor T1 and the non-inverting input terminal of the operational amplifier A1, the resistor R1 is electrically connected between the output terminal of the front-end PLC unit and the reverse input terminal of the operational amplifier A1, the non-inverting input terminal of the operational amplifier A1 is electrically connected to one end of the resistor R4, the resistor R3 is electrically connected between the reverse input terminal and the output terminal of the operational amplifier A1, the power supply terminal of the operational amplifier A1 is electrically connected to the external power supply, and the output terminal of the operational amplifier A1 outputs the load noise signal to the controllable noise signal amplification step; The ground terminal of the operational amplifier A1 and the other end of the resistor R4 are both grounded.

6. The adaptive noise reduction carrier communication method based on smart home according to claim 1, characterized in that: The phase shift signal is performed by a phase shift unit, and the phase shift unit includes an operational amplifier A3, a resistor R12, a resistor R13 and a capacitor C10; The output end of the operational amplifier A2 is electrically connected to the inverting input end of the operational amplifier A3, the resistor R13 and the capacitor C10 are connected in parallel between the inverting input end and the output end of the operational amplifier A3, the power supply end of the operational amplifier A3 is electrically connected to an external power supply, the inverting input end of the operational amplifier A3 is electrically connected to one end of the resistor R12, and the other end of the resistor R12 and the same-direction input end and the ground end of the operational amplifier A3 are all grounded.

7. A smart home device connected to a power line carrier communication network, characterized in that: The device comprises a device body, and the device body applies the adaptive noise reduction carrier communication method based on smart home described in any one of claims 1-6 to reduce noise.

Citation Information

Patent Citations

  • Carrier communication network noise absorption system

    CN116667885A

  • Receiver for a distribution network power line carrier communication system

    US4355303A