A ceiling fan lamp control system and method based on single live wire power carrier

By adjusting the single live wire voltage waveform to form a power carrier control signal, the problem of the existing technology that multiple ceiling fan lamp devices cannot be remotely controlled is solved, and the intelligent upgrade of multiple ceiling fan lamp devices is realized, meeting the needs of daily home life.

CN119508254BActive Publication Date: 2025-09-26FOSHAN WANG ZHONGWANG TECHNOLOGY CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411431864.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-14
Publication Date
2025-09-26
Estimated Expiration
2044-10-14

AI Technical Summary

Technical Problem

Existing technologies make it difficult to remotely control multiple ceiling fan lamp devices without changing the wiring layout, and the control status is limited, which cannot meet the needs of daily home life.

Method used

By adjusting the single live wire voltage waveform to form a power carrier control signal, including address information, fan gear information, fan mode information, lamp status information, lamp brightness information, lamp color temperature information and timing information, the drive unit parses this information to control the status of the fan and lamp respectively, thereby realizing remote control of multiple ceiling fan lamp equipment.

Benefits of technology

It realizes remote control of the different operating states of multiple ceiling fan lamps and lanterns, without the need for control lines and re-laying of power lines, meeting the needs of daily home life and upgrading lighting lamps and fans without changing the original wiring layout.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119508254B_ABST
    Figure CN119508254B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of electrical appliance control technology, and provides a ceiling fan light control system and method based on a single live wire power carrier. The ceiling fan light control method includes the following steps: obtaining a single live wire voltage, adjusting the waveform of the single live wire voltage, and forming a power carrier control signal; parsing the power carrier control signal, and if the address information matches the device address code, controlling the fan gear, fan forward and reverse rotation, light on / off, light brightness, light color temperature, and fan and light timing according to fan gear information, fan mode information, light status information, light brightness information, light color temperature information, and timing information; wherein the power carrier control signal includes a data signal, and the data signal includes address information, fan gear information, fan mode information, light status information, light brightness information, light color temperature information, and timing information. The present invention can realize remote control of multiple ceiling fan light devices in different operating states.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of electrical appliance control technology, and in particular to a ceiling fan lamp control system and method based on a single live wire power line carrier. Background Art

[0002] A ceiling fan light, also known as a fan light, is a combination of a light and a ceiling fan. It controls both the fan and the light, offering both the decorative benefits of a light and the practicality of a fan. In existing technology, ceiling fan lights can generally be controlled via a remote control or a single live wire power line carrier.

[0003] After searching, the applicant discovered some typical prior arts. For example, Chinese invention patent application number 201510229206.6 discloses a method for remotely controlling multiple ceiling fan lights using a single live wire. This method can control multiple ceiling fan lights using a single live wire without changing the existing wiring. No remote control, no control wire, and no need to re-lay the power cord are required. Another example is Chinese invention patent application number CN201510386835.X, which discloses a method for controlling a ceiling fan light. This method does not require a remote control or a separate control wire. Instead, it directly uses a single-phase power line to transmit the ceiling fan light control signal, thereby enabling remote control and adjustment of the ceiling fan light. Another example is Chinese invention patent application number CN201911100644.7, which discloses an integrated ceiling fan light and its control method. This method can not only adjust the speed of the motor, but also minimize the user's perception of changes in display brightness or color temperature caused by changes in motor speed, thereby improving the user experience.

[0004] It can be seen that there are still many practical problems that need to be addressed in the actual application of ceiling fan lamp control (such as better use of single live wire power carrier to control the working state of ceiling fan lamp, etc.), and there are still many specific solutions that have not been proposed. Summary of the Invention

[0005] In a first aspect, the present application provides a ceiling fan lamp control system based on a single live wire power carrier, comprising a control unit and a plurality of drive units, each of the drive units corresponding to a group of fans and lamps, and each of the drive units is provided with a corresponding device address code.

[0006] The control unit is used to obtain a single live line voltage, adjust the waveform of the single live line voltage, and form a power carrier control signal; wherein the power carrier control signal includes a data signal, and the data signal includes address information, fan gear information, fan mode information, lamp status information, lamp brightness information, lamp color temperature information, and timing information.

[0007] The driving unit is used to obtain the power carrier control signal and parse the power carrier control signal. If the address information matches the device address code, the driving unit controls the fan gear, forward and reverse rotation of the fan, switching of the light, brightness of the light, color temperature of the light, and timing of the fan and light respectively according to the fan gear information, fan mode information, light status information, light brightness information, light color temperature information, and timing information.

[0008] The ceiling fan light control system based on a single live wire power carrier adjusts the single live wire voltage waveform to form a power carrier control signal, so that the drive unit can control the fan gear, forward and reverse rotation of the fan, switching of the light, brightness of the light, color temperature of the light, and timing of the fan and light respectively according to the fan gear information, fan mode information, light status information, light brightness information, light color temperature information, and timing information in the power carrier control signal. This can achieve remote control of multiple ceiling fan light devices in different operating states without the need for control lines or re-laying power lines. In addition, since the remote control of multiple ceiling fan light devices in different operating states can be achieved through the power carrier control signal, the present application can upgrade the original lighting lamps and / or fans to ceiling fan light devices without changing the original wiring layout.

[0009] In a possible implementation, the power carrier control signal further includes a pilot header signal, and the data signal follows the pilot header signal. The specific method for the driving unit to parse the power carrier control signal is:

[0010] The pilot header signal is identified. If the pilot header signal is identified, the data signal is parsed to determine whether the address information matches the device address code.

[0011] In a possible implementation, the data signal further includes verification information, and the specific method for the driving unit to parse the power carrier control signal is:

[0012] The pilot header signal is identified. If the pilot header signal is identified, the data signal is parsed and the verification information is verified. If the verification passes, it is determined whether the address information matches the device address code. Otherwise, the power carrier control signal is discarded.

[0013] In one possible implementation, the format of the power carrier control signal is n0n1n2n3n4n5n6n7n8, where n0 represents the guide head signal, n1 represents address information, n2 represents fan gear information, n3 represents fan mode information, n4 represents lamp status information, n5 represents lamp brightness information, n6 represents lamp color temperature information, n7 represents timing information, and n8 represents verification information.

[0014] In a second aspect, the present application relates to a ceiling fan lamp control method based on a single live wire power carrier, which is applied to the ceiling fan lamp control system based on a single live wire power carrier described above, and comprises the following steps:

[0015] Acquiring a single live line voltage, adjusting a waveform of the single live line voltage, and forming a power carrier control signal;

[0016] parsing the power carrier control signal, and if the address information matches the device address code, controlling the fan gear, forward and reverse rotation of the fan, turning the light on and off, the light brightness, the light color temperature, and the timing of the fan and light respectively according to the fan gear information, fan mode information, light status information, light brightness information, light color temperature information, and timing information;

[0017] The power carrier control signal includes a data signal, and the data signal includes address information, fan gear information, fan mode information, lamp status information, lamp brightness information, lamp color temperature information, and timing information.

[0018] In a possible implementation, the power carrier control signal further includes a pilot header signal, and the data signal follows the pilot header signal. The specific method for parsing the power carrier control signal includes:

[0019] The pilot header signal is identified. If the pilot header signal is identified, the data signal is parsed to determine whether the address information matches the device address code.

[0020] In one possible implementation, the power carrier control signal further includes verification information. The specific method of identifying the pilot header signal and, if the pilot header signal is identified, starting to parse the data signal and determining whether the address information matches the device address code includes:

[0021] The pilot header signal is identified. If the pilot header signal is identified, the data signal is parsed and the verification information is verified. If the verification passes, it is determined whether the address information matches the device address code. Otherwise, the power carrier control signal is discarded.

[0022] In one possible implementation, the format of the power carrier control signal is n0n1n2n3n4n5n6n7n8, where n0 represents the guide head signal, n1 represents address information, n2 represents fan gear information, n3 represents fan mode information, n4 represents lamp status information, n5 represents lamp brightness information, n6 represents lamp color temperature information, n7 represents timing information, and n8 represents verification information.

[0023] In a possible implementation, the verification information is verified through an XOR check.

[0024] In a third aspect, the present application also relates to a computer-readable storage medium storing a computer program, which, when executed by a processor, implements any one of the ceiling fan lamp control methods based on a single live wire power carrier described in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 It is a schematic diagram of the overall structure of the ceiling fan lamp control system based on a single live wire power carrier according to the present invention.

[0026] Figure 2 It is a schematic diagram of part of the waveform of the power carrier control signal in the present invention.

[0027] Figure 3 It is a schematic diagram of the overall flow of the ceiling fan lamp control method based on a single live wire power carrier.

[0028] Figure 4 Schematic diagram of the working process of the driving unit of the present invention.

[0029] Figure 5 It is a schematic diagram of a partial circuit structure of the control unit of the present invention. DETAILED DESCRIPTION

[0030] To make the purpose, technical solutions and advantages of this application clearer, the technical solutions of this application will be described in detail below through implementation methods with reference to the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of them. In the absence of conflict, the embodiments and features in the embodiments of this application can be combined with each other. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0031] It should be noted that: in the accompanying drawings, the same or similar numbers throughout represent the same or similar elements or elements with the same or similar functions; in the description of this application, the terms "center", "longitudinal", "lateral", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the scope of protection of this application; in the description of this application, "first", "second", etc. are only used to distinguish each other, and do not indicate their importance and order, etc.

[0032] Existing ceiling fan control systems or methods based on a single live wire power carrier typically adjust the voltage of a single live wire to obtain a single live wire power carrier control signal. The operating state of the ceiling fan is controlled based on the single live wire power carrier control signal. For example, by controlling the phase shift angle of the single live wire output voltage waveform, the difference in the positive and negative half-wave phase shift angles within a preset period is used to convert and obtain a series of binary values. The state of the ceiling fan is then controlled based on the obtained binary values. Specifically, a half-wave with a phase shift angle of α is considered to be a binary value of 0, and a half-wave with a phase shift angle of β is considered to be a binary value of 1. Multiple half-waves with phase shift angles of α or β are used as the single live wire power carrier control signal to detect and obtain a series of binary values, or binary key code values, that can be used to control the operating state of the ceiling fan. Although existing ceiling fan control systems or methods based on a single live wire power carrier can control the operating state of a ceiling fan, they are often only capable of controlling a single ceiling fan device and the number of operating states that can be controlled is also very limited, failing to meet many daily household needs.

[0033] In order to solve the problems existing in the above-mentioned prior art, the first embodiment of the present application provides a ceiling fan light control system based on a single live wire power carrier, which can simultaneously control the different operating states of multiple ceiling fan light devices.

[0034] like Figure 1 As shown, the ceiling fan lamp control system includes a control unit and multiple drive units. The voltage output terminal of the control unit is electrically connected to the voltage input terminal of each of the drive units, and the neutral line input terminal of each of the drive units is electrically connected to the neutral line of the AC power. Each of the drive units corresponds to a group of fans and lights, and each of the drive units is provided with a corresponding device address code. Preferably, the control unit automatically identifies the neutral and live wires of the AC power to ensure that it can communicate normally with any connection of a 50HZ or 60HZ AC power source, thus solving the problem of normal communication failure caused by the failure to distinguish between the neutral and live wires during on-site installation.

[0035] The AC power frequency may be 50 Hz or 60 Hz, and the voltage may range from AC-110V to AC-220V.

[0036] The control unit is used to obtain a single live line voltage, adjust the waveform of the single live line voltage, and form a power carrier control signal; wherein the power carrier control signal includes a data signal, and the data signal includes address information, fan gear information, fan mode information, lamp status information, lamp brightness information, lamp color temperature information, and timing information.

[0037] In the normal state, the single live wire voltage is not adjusted, that is, the half-wave does not cut the M millisecond phase angle, and its output voltage is regarded as all 0 state.

[0038] Here, as Figure 2 As shown, by cutting the half-wave phase angle for M milliseconds, the half-wave phase angle cut for M milliseconds is regarded as control signal 1, and the half-wave without phase cutting is regarded as control signal 0. For example, the half-wave with the half-wave phase angle cut for 3 milliseconds is regarded as control signal 1, and the normal half-wave without phase cutting is regarded as control signal 0. Therefore, the power carrier control signal can be regarded as a string of binary values.

[0039] The address information, fan gear information, fan mode information, light status information, light brightness information, light color temperature information and timing information can all be represented by binary values. That is to say, different binary values ​​represent different control signals. According to the number of ceiling fan light devices, the address information of several bits of binary values ​​is appropriately allocated. For example, if the number of ceiling fan light devices is 4, a two-bit binary value can be used, where 00, 01, 10, and 11 represent 4 ceiling fan light devices respectively. Similarly, for the device code address, the address information of several bits of binary values ​​can also be appropriately allocated according to the number of ceiling fan light devices. If the number of ceiling fan light devices is in the range of 5-8, a three-bit binary value can be used for representation. Since the use of binary values ​​of different digits to encode and represent ceiling fan light devices is a conventional technical means in this field, it will not be described here.

[0040] The fan gear information, fan mode information, lamp status information, lamp brightness information, lamp color temperature information and timing information may also be represented by binary values ​​of different digits.

[0041] The drive unit is used to obtain the power carrier control signal and parse the power carrier control signal. If the address information matches the device address code, the drive unit controls the fan gear, forward and reverse rotation of the fan, switching the light on and off, brightness of the light, color temperature of the light, and timing of the fan and light, respectively. The specific circuit structure in the drive unit that implements control of the fan gear, forward and reverse rotation of the fan, switching the light on and off, brightness of the light, color temperature of the light, and timing of the fan and light is not described here because it is a conventional technical means in the field.

[0042] Each of the driving units is set with a unique device address code. The driving unit determines whether the address information and the device address code match by verifying whether the address information and the device address code are consistent. If they are consistent, the address information and the device address code match.

[0043] The ceiling fan light control system based on a single live wire power carrier adjusts the single live wire voltage waveform to form a power carrier control signal, so that the drive unit can control the fan gear, forward and reverse rotation of the fan, switching of the light, brightness of the light, color temperature of the light, and timing of the fan and light respectively according to the fan gear information, fan mode information, light status information, light brightness information, light color temperature information, and timing information in the power carrier control signal. This can achieve remote control of multiple ceiling fan light devices in different operating states without the need for control lines or re-laying power lines. In addition, since the remote control of multiple ceiling fan light devices in different operating states can be achieved through the power carrier control signal, the present application can upgrade the original lighting lamps and / or fans to ceiling fan light devices without changing the original wiring layout.

[0044] That is to say, the ceiling fan light control system described in this application can control the different operating states of multiple ceiling fan light devices at the same time, meeting the needs of daily home life.

[0045] As a preferred technical solution, the power carrier control signal also includes a guide header signal, and the data signal follows the guide header signal immediately. The specific method for the driving unit to parse the power carrier control signal is: identifying the guide header signal; if the guide header signal is identified, starting to parse the data signal to determine whether the address information matches the device address code.

[0046] The pilot header signal facilitates the driver's boot verification. After recognizing the pilot header signal, the driver begins parsing the data signal and determining whether the address information matches the device address code. This prevents the driver from receiving power carrier control signals that are useless or invalid, improving the driver's operating efficiency.

[0047] As a preferred technical solution, the data signal also includes verification information. The specific method for the driving unit to parse the power carrier control signal is: identifying the guide head signal; if the guide head signal is identified, starting to parse the data signal, verifying the verification information; if the verification passes, determining whether the address information matches the device address code; otherwise, discarding the power carrier control signal.

[0048] Here, the verification information can be verified using an XOR verification method. Specifically, the guide head signal, address information, fan gear information, fan mode information, lamp status information, lamp brightness information, lamp color temperature information, and timing information can be XORed first to obtain an XOR result, which is then XORed with a preset value to obtain an XOR sum result, which is then used as the verification information.

[0049] After receiving the power carrier control signal, the driving unit performs an XOR operation based on the guide head signal, address information, fan gear information, fan mode information, lamp status information, lamp brightness information, lamp color temperature information, timing information and preset values, and compares the obtained XOR result with the verification information. If the comparison and verification are consistent, it is determined that the verification information has passed the verification.

[0050] By verifying the verification information, it can be determined whether data loss or data distortion occurs during the transmission of the data signal, thereby ensuring the accuracy of the control of the ceiling fan lamp device.

[0051] As a preferred technical solution, the format of the power carrier control signal is n0n1n2n3n4n5n6n7n8, where n0 represents the guide head signal, n1 represents address information, n2 represents fan gear information, n3 represents fan mode information, n4 represents lamp status information, n5 represents lamp brightness information, n6 represents lamp color temperature information, n7 represents timing information, and n8 represents verification information.

[0052] Here, the guide head signal can be a three-digit or four-digit binary value, the number of bits of the fan gear information can be set according to the specific number of fan gears, the fan mode information includes forward and reverse rotation, the light status information includes on and off status, the light brightness information is the brightness step, the unit can be lx or lm; the unit of the light color temperature information is K, the range is based on the actual setting, the unit of the timing information can be hours or minutes, based on the actual setting.

[0053] Since the specific number of bits of n0, n1, n2, n3, n4, n5, n6, n7, and n8 can be adjusted and set according to actual conditions, they will not be described in detail here.

[0054] In one possible technical solution, the driving unit serves as a receiving end of the power carrier control signal. Figure 4 As shown, after initialization, the drive unit identifies the frequency of the power carrier control signal and determines whether it is 50HZ or 60HZ, and then detects whether there is a phase shift control signal. If there is a phase shift control signal, it starts to identify the guide head signal. If the guide head signal n0 is identified, the fan gear, mode and timing are ready to respond, and the light state, brightness, color temperature and timing are ready to respond. After the decoding is completed, that is, n1n2n3n4n5n6n7n8 is interpreted and n8 is verified, the operating state of the corresponding fan and light combination is controlled.

[0055] Preferably, the timing information n7 includes fan timing information and light timing information. The units for fan timing and light timing can be set based on actual conditions. For example, the fan timing information and light timing information are each represented by a 3-bit binary value, and the unit is hour. Using the timing information n7, the fan and light can be timed for 0-7 hours.

[0056] In this way, by setting the timing of the fan and the light separately, the ceiling fan light control system can be made more intelligent and user-friendly, so that the user can set the timing of the fan and the light separately according to actual needs.

[0057] As a preferred technical solution, Figure 5As shown, the control unit includes a switching circuit and an MCU. The switching circuit includes a transistor Q5, a resistor R6, a resistor R7, a resistor R9, a resistor R26, a resistor R42, a resistor R43, a resistor R44, a resistor R45, a resistor R46, a capacitor CT3, a capacitor C18, a capacitor C19, an optocoupler U11, a transient suppression diode D14, a Zener diode D13, a Zener diode D15, a fuse F2, a diode D25, a unidirectional thyristor Q8, a rectifier bridge U3, and a bidirectional thyristor SR3. The TRC trigger signal is electrically connected to the base of the transistor Q5 through the resistor R7. The resistor R6 serves as a voltage divider resistor, one end of which is electrically connected to the base of the transistor Q5, and the other end is electrically connected to the emitter of the transistor Q5 and the output pin of the optocoupler U11, all of which are grounded. The +3V power supply is electrically connected to the control pin of the optocoupler U11 and the collector of the transistor Q5 through the resistor R46. The unidirectional thyristor Q The positive electrode of 8 is electrically connected to the emitter of the optocoupler U11 through the resistor R44, the resistor R43 and the transient suppression diode D14. The collector of the optocoupler U11 is electrically connected to the control pin of the one-way thyristor Q8 through the resistor R9. The two ends of the resistor R42 are respectively electrically connected to the control pin of the one-way thyristor Q8 and the negative terminal of the rectifier bridge U3. The two ends of the capacitor C18 are respectively electrically connected to the control pin of the one-way thyristor Q8 and the negative terminal of the rectifier bridge U3. The two ends of the capacitor CT3 are respectively electrically connected to the emitter of the optocoupler U11 and the negative electrode of the diode D25. The positive electrode of the diode D25 is electrically connected to the negative electrode of the one-way thyristor Q8. The two ends of the resistor R45 are respectively electrically connected to the negative terminal of the rectifier bridge U3 and the negative electrode of the one-way thyristor Q8. The positive electrode of the one-way thyristor Q8 is also electrically connected to the positive terminal of the rectifier bridge U3. The positive electrode of the transient suppression diode D14 is also electrically connected to the negative terminal of the rectifier bridge U3.

[0058] The first AC terminal (pin 1) of the rectifier bridge U3 is electrically connected to the single live wire input terminal (AC IN) through the fuse F2, the second AC terminal (pin 2) of the rectifier bridge U3 is electrically connected to the control pin of the bidirectional thyristor SR3 through the Zener diode D15 and the Zener diode D13, the two ends of the capacitor C19 are electrically connected to the control pin of the bidirectional thyristor SR3 and the electrode T1 respectively, one end of the resistor R26 is electrically connected to one end of the capacitor C19 and the electrode T1 of the bidirectional thyristor SR3, and the other end is electrically connected to the positive electrode of the Zener diode D15 and the second AC terminal of the rectifier bridge U3, the electrode T2 of the bidirectional thyristor SR3 is electrically connected to the live wire input terminal through the fuse F2, and the electrode T1 of the bidirectional thyristor SR3 is also electrically connected to the live wire output terminal (AC OUT).

[0059] In the switching circuit, resistor R6 acts as a voltage divider, while resistors R9 and R42 form the voltage divider circuit for the control pin of thyristor Q8. Diode D25 limits the current flow, and transient suppressor diode D14 limits the voltage to ensure proper circuit operation. Zener diodes D15 and D13 are connected in reverse series, primarily to clamp the voltage.

[0060] When the MCU sends a TRC trigger signal, that is, a high level, the transistor Q5 is turned on, the optocoupler U11 is disconnected, and the voltage of the control pin of the unidirectional thyristor Q8 is pulled down, causing the unidirectional thyristor Q8 to be disconnected. The current of the rectifier bridge U3 will not flow out from the positive terminal, but will flow back to the negative terminal of the rectifier bridge U3 through the unidirectional thyristor Q8 and the resistor R45. The load is reduced, and the voltage between the control pin of the bidirectional thyristor SR3 and the ground is reduced, and the bidirectional thyristor SR3 is disconnected. At this time, the single live wire cannot transmit an AC signal, that is, AC power will not flow from the single live wire input terminal AC IN to the output terminal AC OUT. When the MCU does not send a TRC trigger signal, that is, the TRC trigger signal is at a low level, the transistor Q5 is disconnected, the optocoupler U11 is turned on, and the voltage of the control pin of the unidirectional thyristor Q8 is pulled high, causing the unidirectional thyristor Q8 to be turned on. The current of the rectifier bridge U3 flows out from the positive terminal and flows back to the negative terminal of the rectifier bridge U3 through the unidirectional thyristor Q8 and the resistor R45. The load increases, and the voltage between the control pin of the bidirectional thyristor SR3 and the ground increases, and the bidirectional thyristor SR3 is turned on. At this time, the single-live-wire AC power will flow from the single-live-wire input terminal AC IN to the output terminal AC OUT.

[0061] That is to say, when the MCU is not working, the single live wire input and output are normally connected. When the MCU sends a TRC trigger signal, the single live wire input and output are disconnected. Therefore, the single live wire voltage zero-crossing signal is detected by the zero-crossing detection circuit, and then the MCU sends a TRC trigger signal when obtaining the zero-crossing signal, so that the single live wire input and output are disconnected, and the half-wave phase angle of the single live wire voltage can be cut, that is, the control signal 1 is sent. As for the specific number of milliseconds for cutting the half-wave phase angle, it can be achieved by controlling the time interval between obtaining the zero-crossing signal and sending the TRC trigger signal. Since the zero-crossing detection circuit belongs to the conventional technical means in this field, it will not be described here.

[0062] In addition, the control unit also includes a power supply circuit, which includes a diode D12, a capacitor C4, an inductor L3, a capacitor C31, a voltage-stabilizing transistor U8, a capacitor C4, and a capacitor C5. The positive electrode of the diode D12 is electrically connected to one end of the resistor R45, and the negative electrode is electrically connected to one end of the filter capacitor C4 to generate a relatively stable DC voltage. It is then electrically connected to the LC filter composed of the inductor L3 and the capacitor C31, and outputs a stable voltage to the input terminal Vin of the voltage-stabilizing transistor U8. The adjustable voltage pin ADJ of the voltage-stabilizing transistor is grounded, and the output terminal +Vout is electrically connected to the filter capacitor C4 and the filter capacitor C5. The stable voltage output finally powers the MCU. The voltage at the resistor R45 generates a pulse voltage after forward rectification by the diode D12.

[0063] The second embodiment of the present application relates to a ceiling fan lamp control method based on a single live wire power carrier, which is applied to the ceiling fan lamp control system based on a single live wire power carrier, such as Figure 3 As shown, it includes the following steps:

[0064] S1, obtaining a single live line voltage, adjusting the waveform of the single live line voltage, and forming a power carrier control signal.

[0065] S2. parse the power carrier control signal. If the address information matches the device address code, control the fan gear, forward and reverse rotation of the fan, switch of the light, brightness of the light, color temperature of the light, and timing of the fan and light respectively according to the fan gear information, fan mode information, light status information, light brightness information, light color temperature information, and timing information.

[0066] The power carrier control signal includes a data signal, and the data signal includes address information, fan gear information, fan mode information, lamp status information, lamp brightness information, lamp color temperature information, and timing information.

[0067] In this embodiment, if Figure 2 As shown, by cutting the half-wave phase angle for M milliseconds, the half-wave phase angle cut for M milliseconds is regarded as control signal 1, and the half-wave without phase cutting is regarded as control signal 0. For example, the half-wave with the half-wave phase angle cut for 3 milliseconds is regarded as control signal 1, and the normal half-wave without phase cutting is regarded as control signal 0.

[0068] In existing ceiling fan control methods based on a single live power line carrier, a half-wave with a phase shift angle of α is often treated as a binary value of 0, and a half-wave with a phase shift angle of β is treated as a binary value of 1. Multiple half-waves with phase shift angles of α or β are then used as single live power line carrier control signals to detect and obtain a series of binary values, or binary key codes, that can be used to control the operating state of the ceiling fan. Because voltage waveforms are susceptible to distortion with increasing transmission distance and / or the presence of power interference, this existing ceiling fan control method based on a single live power line carrier relies on phase angle control, which can easily lead to misidentification or even failure to identify the signal.

[0069] The present application regards the half-wave with a phase angle of M milliseconds as the control signal 1 and the half-wave without a phase angle as the control signal 0, that is, the power carrier control signal is obtained by the number of phase angle offsets. This can effectively overcome the problem in the prior art that the voltage waveform is easily distorted as the transmission distance increases and / or there are power interference factors, thereby easily leading to misidentification or failure to identify the control data. It has the characteristics of long transmission distance and high recognition success rate.

[0070] In addition, the ceiling fan lamp control method adjusts the single live wire voltage waveform to form a power carrier control signal, so that the driving unit can control the fan gear, forward and reverse rotation of the fan, switch of the lamp, brightness of the lamp, color temperature of the lamp and timing time of the fan and lamp according to the fan gear information, fan mode information, lamp status information, lamp brightness information, lamp color temperature information and timing information in the power carrier control signal. It can realize remote control of different operating states of multiple ceiling fan lamp devices without the need for control lines or re-laying power lines. It can control the different operating states of multiple ceiling fan lamp devices at the same time, meeting the needs of daily home life.

[0071] In addition, since the remote control of different operating states of multiple ceiling fan lamp devices can be achieved through power carrier control signals, the present application can upgrade the original lighting lamps and / or fans into ceiling fan lamp devices without changing the original wiring layout.

[0072] As a preferred technical solution, the power carrier control signal also includes a pilot header signal, and the data signal follows the pilot header signal immediately. The specific method for parsing the power carrier control signal includes: identifying the pilot header signal; if the pilot header signal is identified, starting to parse the data signal, and determining whether the address information matches the device address code.

[0073] The pilot header signal facilitates the driver's boot verification. After recognizing the pilot header signal, the driver begins continuously receiving and parsing the data signal and determining whether the address information matches the device address code. This prevents the driver from receiving or parsing useless or invalid power carrier control signals, improving the driver's operating efficiency.

[0074] As a preferred technical solution, the power carrier control signal also includes verification information, and the guide header signal is identified. If the guide header signal is identified, the data signal is parsed, and the specific method for determining whether the address information matches the device address code includes: identifying the guide header signal, and if the guide header signal is identified, the data signal is parsed, and the verification information is verified. If the verification passes, it is determined whether the address information matches the device address code; otherwise, the power carrier control signal is discarded.

[0075] Specifically, the verification information can be verified by an XOR verification method. First, the address information, fan gear information, fan mode information, light status information, light brightness information, light color temperature information and timing information are XORed. After obtaining the XOR result, the XOR result is XORed with a preset value, and finally the XOR sum result is obtained, and the XOR sum result is used as the verification information.

[0076] The driving unit performs an XOR operation based on the address information, fan gear information, fan mode information, lamp status information, lamp brightness information, lamp color temperature information, timing information and preset values, and compares the XOR result with the verification information. If the comparison and verification are consistent, it is determined that the verification information has passed the verification. If the verification information fails to be verified, the power carrier control signal is discarded.

[0077] By verifying the verification information, it can be determined whether data loss or data distortion occurs during the transmission of the data signal, thereby ensuring the accuracy of the control of the ceiling fan lamp device.

[0078] As a preferred technical solution, the format of the power carrier control signal is n0n1n2n3n4n5n6n7n8, where n0 represents the guide head signal, n1 represents address information, n2 represents fan gear information, n3 represents fan mode information, n4 represents lamp status information, n5 represents lamp brightness information, n6 represents lamp color temperature information, n7 represents timing information, and n8 represents verification information.

[0079] Specifically, n0 can be set to 0110, but it can also be any other binary value. n1 represents address information, corresponding to the device address code of each ceiling fan light device. For example, if there are 15 ceiling fan lights in total and their addresses are marked in sequence from 0 to 15, then the device address code of the first ceiling fan light is 0, and the corresponding address information n1 is 0000. The device address code of the fourth ceiling fan light is 3, and the corresponding address information n1 is 0011. n2 represents the fan gear information. For example, if n2 is 0101, it means gear 5. n3 represents fan mode information, with 10 representing forward rotation and 01 representing reverse rotation. n4 represents light status information, with 01 representing light on and 10 representing light off. n5 represents light brightness information. Assuming the maximum brightness of the light is N1 brightness units (lx or lm), and n5 is represented by a four-bit binary value, when n5 is 1110, the light brightness information can be expressed as [N1*14 / 16], with [] being the rounding operator. n6 represents the color temperature information of the lamp. Assuming that the maximum color temperature of the lamp is N2 color temperature units (i.e., N2 Kelvin), and n6 is represented by a four-bit binary value, when n6 is 0011, the color temperature information of the lamp can be expressed as [N2*3 / 16], and [] is the rounding operator. n7 represents the timing information, which can be in hours or minutes. When n7 is 1010 and the unit is hours, it means that the timing of the fan and lamp is 10 hours. n8 represents the verification information. For example, if n0n1n2n3n4n5n6n7 has a total of 28 bits, then each 4 bits of the 28 bits of n0n1n2n3n4n5n6n7 can be XORed in order, and the XOR result is then XORed with 0Xa to obtain the XOR sum result, which is used as the verification information.

[0080] If n0, n1, n2, n3, n4, n5, n6, and n7 are 0110, 0011, 0101, 10, 01, 1110, 0011, and 1010 respectively, then an XOR operation is performed on n0, n1, n2, n3n4, n5, n6, and n7 to obtain 1110, and then 0Xa is performed on 1110 to obtain 0100, i.e., n8 is 0100. After recognizing the pilot signal, the drive unit begins to continuously receive and interpret the n1n2n3n4n5n6n7n8 data information, and performs an XOR operation on each 4 bits of n0n1n2n3n4n5n6n7, obtains the XOR result, and then XORs it with 0Xa to obtain the XOR sum result. The XOR sum result is then compared with the verification information, i.e., n8, for verification. If the two are consistent, it is determined that the verification information has passed verification.

[0081] The number of digits of n5 and n6 and their specific calculation methods, as well as the number of digits of n0, n1, n2, n3, n4, n7, and n8 and the method of obtaining verification information can be adjusted and set according to actual conditions and will not be repeated here.

[0082] Preferably, the total number of bits of the power carrier control signal is less than 50 to ensure the response speed of the system.

[0083] The third embodiment of the present application further relates to a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the ceiling fan lamp control method based on a single live wire power carrier described in any one of the second embodiments.

[0084] The above description is only a preferred embodiment of the present invention and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the present invention description and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A ceiling fan and light control system based on a single live wire power carrier, comprising a control unit and multiple drive units, each of which corresponds to a set of fans and lights, and each of which is provided with a corresponding device address code, characterized in that: The control unit is used to obtain a single live line voltage, adjust the waveform of the single live line voltage, and form a power carrier control signal; wherein the power carrier control signal includes a data signal, and the data signal includes address information, fan gear information, fan mode information, lamp status information, lamp brightness information, lamp color temperature information, and timing information; The driving unit is configured to obtain the power carrier control signal, parse the power carrier control signal, and if the address information matches the device address code, control the fan gear, forward and reverse rotation of the fan, turn on and off the light, brightness of the light, color temperature of the light, and timing of the fan and light respectively according to the fan gear information, fan mode information, light status information, light brightness information, light color temperature information, and timing information; The power carrier control signal also includes a pilot header signal, and the data signal also includes verification information. The verification information is verified by an exclusive OR verification method. The pilot header signal, address information, fan gear information, fan mode information, lamp status information, lamp brightness information, lamp color temperature information and timing information are first exclusive ORed to obtain an exclusive OR result. After obtaining the exclusive OR result, the exclusive OR result is then exclusive ORed with a preset value to finally obtain an exclusive OR sum result, and the exclusive OR sum result is used as the verification information.

2. A ceiling fan lamp control system based on a single live wire power carrier according to claim 1, characterized in that: The data signal follows the pilot signal immediately, and the specific method for the driving unit to parse the power carrier control signal is: The pilot header signal is identified. If the pilot header signal is identified, the data signal is parsed to determine whether the address information matches the device address code.

3. A ceiling fan lamp control system based on a single live wire power carrier according to claim 2, characterized in that: The specific method for the driving unit to analyze the power carrier control signal is: The pilot header signal is identified. If the pilot header signal is identified, the data signal is parsed and the verification information is verified. If the verification passes, it is determined whether the address information matches the device address code. Otherwise, the power carrier control signal is discarded.

4. A ceiling fan lamp control system based on a single live wire power carrier according to claim 3, characterized in that: The format of the power carrier control signal is n0n1n2n3n4n5n6n7n8, where n0 represents the guide head signal, n1 represents address information, n2 represents fan gear information, n3 represents fan mode information, n4 represents lamp status information, n5 represents lamp brightness information, n6 represents lamp color temperature information, n7 represents timing information, and n8 represents verification information.

5. A ceiling fan lamp control method based on a single live wire power carrier, applied to a ceiling fan lamp control system based on a single live wire power carrier as claimed in any one of claims 1 to 4, characterized in that: The steps include: Acquiring a single live line voltage, adjusting a waveform of the single live line voltage, and forming a power carrier control signal; parsing the power carrier control signal, and if the address information matches the device address code, controlling the fan gear, forward and reverse rotation of the fan, turning the light on and off, the light brightness, the light color temperature, and the timing of the fan and light respectively according to the fan gear information, fan mode information, light status information, light brightness information, light color temperature information, and timing information; The power carrier control signal includes a data signal, and the data signal includes address information, fan gear information, fan mode information, lamp status information, lamp brightness information, lamp color temperature information, and timing information; The power carrier control signal also includes a pilot header signal, and the data signal also includes verification information. The verification information is verified by an exclusive OR verification method. The pilot header signal, address information, fan gear information, fan mode information, lamp status information, lamp brightness information, lamp color temperature information and timing information are first exclusive ORed to obtain an exclusive OR result. After obtaining the exclusive OR result, the exclusive OR result is then exclusive ORed with a preset value to finally obtain an exclusive OR sum result, and the exclusive OR sum result is used as the verification information.

6. A ceiling fan lamp control method based on a single live wire power carrier according to claim 5, characterized in that: The data signal follows the pilot header signal immediately, and the specific method of parsing the power carrier control signal includes: The pilot header signal is identified. If the pilot header signal is identified, the data signal is parsed to determine whether the address information matches the device address code.

7. A ceiling fan lamp control method based on a single live wire power carrier according to claim 6, characterized in that: The specific method of identifying the pilot header signal and, if the pilot header signal is identified, starting to parse the data signal and determining whether the address information matches the device address code includes: The pilot header signal is identified. If the pilot header signal is identified, the data signal is parsed and the verification information is verified. If the verification passes, it is determined whether the address information matches the device address code. Otherwise, the power carrier control signal is discarded.

8. A ceiling fan lamp control method based on a single live wire power carrier according to claim 7, characterized in that: The format of the power carrier control signal is n0n1n2n3n4n5n6n7n8, where n0 represents the guide head signal, n1 represents address information, n2 represents fan gear information, n3 represents fan mode information, n4 represents lamp status information, n5 represents lamp brightness information, n6 represents lamp color temperature information, n7 represents timing information, and n8 represents verification information.

9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the ceiling fan lamp control method based on a single live wire power carrier according to any one of claims 5 to 8 is implemented.

Citation Information

Patent Citations

  • Integrated ceiling fan lamp and control method thereof

    CN110784958A

  • Method for remotely controlling a plurality of ceiling fans and lamps through single live wire

    CN104837254A

  • Ceiling fan lamp control method

    CN104968107A

  • Fan lamp control device and method and electronic equipment

    CN118102541A