Nothing Special   »   [go: up one dir, main page]

CN118102541B - Fan lamp control device and method and electronic equipment - Google Patents

Fan lamp control device and method and electronic equipment Download PDF

Info

Publication number
CN118102541B
CN118102541B CN202410228708.6A CN202410228708A CN118102541B CN 118102541 B CN118102541 B CN 118102541B CN 202410228708 A CN202410228708 A CN 202410228708A CN 118102541 B CN118102541 B CN 118102541B
Authority
CN
China
Prior art keywords
unit
main control
wire
zero
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202410228708.6A
Other languages
Chinese (zh)
Other versions
CN118102541A (en
Inventor
王伍平
王盼
杜伟涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Shunde Shengqi Electronic Technology Co ltd
Original Assignee
Guangdong Shunde Shengqi Electronic Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Shunde Shengqi Electronic Technology Co ltd filed Critical Guangdong Shunde Shengqi Electronic Technology Co ltd
Priority to CN202410228708.6A priority Critical patent/CN118102541B/en
Publication of CN118102541A publication Critical patent/CN118102541A/en
Application granted granted Critical
Publication of CN118102541B publication Critical patent/CN118102541B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F04POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
    • F04DNON-POSITIVE-DISPLACEMENT PUMPS
    • F04D27/00Control, e.g. regulation, of pumps, pumping installations or pumping systems specially adapted for elastic fluids
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F04POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
    • F04DNON-POSITIVE-DISPLACEMENT PUMPS
    • F04D27/00Control, e.g. regulation, of pumps, pumping installations or pumping systems specially adapted for elastic fluids
    • F04D27/004Control, e.g. regulation, of pumps, pumping installations or pumping systems specially adapted for elastic fluids by varying driving speed
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02KDYNAMO-ELECTRIC MACHINES
    • H02K11/00Structural association of dynamo-electric machines with electric components or with devices for shielding, monitoring or protection
    • H02K11/30Structural association with control circuits or drive circuits
    • H02K11/33Drive circuits, e.g. power electronics
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02KDYNAMO-ELECTRIC MACHINES
    • H02K7/00Arrangements for handling mechanical energy structurally associated with dynamo-electric machines, e.g. structural association with mechanical driving motors or auxiliary dynamo-electric machines
    • H02K7/14Structural association with mechanical loads, e.g. with hand-held machine tools or fans
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/175Controlling the light source by remote control
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The embodiment of the application discloses a fan lamp control device, a method and electronic equipment, and belongs to the technical field of power electronics. The fan lamp control apparatus includes: the input end of the wire control module is respectively connected with the zero wire and the fire wire, and is used for receiving the command signal and outputting a control signal according to the command signal; the zero line input end of the main control module is connected with the zero line, the fire wire input end of the main control module is connected with the output end of the control module, which is used for according to the drive-by-wire outputting a main control signal by a signal; and the input end of the driving module is connected with the output end of the main control module, the output end of the driving module is connected with the fan lamp, and the driving module is used for driving the fan lamp to execute actions according to the main control signal. The fan lamp control device can realize the transmission of various commands, overcomes the limitation of single function of the traditional fan lamp control method, and meets the intelligent scene requirement of the current society.

Description

Fan lamp control device and method and electronic equipment
Technical Field
The embodiment of the application relates to the technical field of power electronics, in particular to a fan lamp control device and method and electronic equipment.
Background
At present, the control method of the fan lamp mainly comprises a wireless radio frequency type, a wired capacitor voltage-reducing type and a wired AC (ALTERNATING CURRENT CHOPPING WAVE, alternating current) type. Each method can effectively control the fan lamp.
With the development of technology, the fan lamp will be more and more intelligent. However, the wired capacitor buck control method can only realize a simple switching function, the conventional fan lamp control method of the wired AC chopper control method can only control the rotation speed and direction of the motor, and the wireless radio frequency control method has limitations. Therefore, the conventional fan lamp control method is limited by the limitations of functions and operations, and cannot meet the increasing intelligent demands on the fan state and synchronous adjustment of the brightness and color temperature of the lamp.
Disclosure of Invention
The embodiment of the application mainly aims to provide a fan lamp control device, a fan lamp control method and electronic equipment, and aims to overcome the limitation of the traditional fan lamp control method.
To achieve the above object, an embodiment of the present application provides a fan lamp control apparatus, including:
The input end of the wire control module is respectively connected with a zero wire and a fire wire, and the wire control module is used for receiving a command signal and outputting a control signal according to the command signal;
the zero line input end of the main control module is connected with the zero line, the live wire input end of the main control module is connected with the output end of the line control module, the main control module is used for outputting a main control signal according to the drive-by-wire signal;
The driving module, the input of driving module is connected the output of main control module, the output of driving module is connected the fan lamp, driving module is used for according to the master control signal drive the action is carried out to the fan lamp.
Optionally, the drive-by-wire module includes:
the receiving unit is used for receiving the command signal and outputting a digital command signal according to the command signal;
the switch unit is connected with the live wire at one end and used for switching on and off a power supply of the wire control module;
The live wire input end of the first zero-crossing detection unit is connected with the other end of the switch unit, the zero line input end of the first zero-crossing detection unit is connected with the zero line, and the first zero-crossing detection unit is used for outputting a first pulse signal under the condition that the switch unit is closed;
The first end of the wire control unit is connected with one end of the receiving unit, the second end of the wire control unit is connected with the live wire input end of the main control module, the third end of the wire control unit is connected with the output end of the first zero-crossing detection unit, the fourth end of the wire control unit is connected with the other end of the switch unit, and the wire control unit is used for outputting the wire control signal to the main control module according to the digital command signal and the first pulse signal under the condition that the switch unit is closed;
the input end of the rectification voltage stabilizing unit is connected with the other end of the switch unit, the output end of the rectification voltage stabilizing unit is connected with the fifth end of the line control unit, and the rectification voltage stabilizing unit is used for providing working power supply for the line control unit under the condition that the switch unit is closed.
Optionally, the drive-by-wire unit includes:
The first end of the singlechip is connected with one end of the receiving unit, the second end of the singlechip is connected with the output end of the first zero-crossing detection unit, the third end of the singlechip is connected with the output end of the rectifying and voltage-stabilizing unit, and the singlechip is used for outputting a control signal according to the command signal and the first pulse signal;
The control end of the electronic switch is connected with the fourth end of the singlechip, one end of the electronic switch is connected with the live wire input end of the first zero-crossing detection unit, the other end of the electronic switch is connected with the live wire input end of the main control module, and the electronic switch is used for switching on and switching off according to the control signal so as to output the wire control signal.
Optionally, the main control module includes:
The zero line input end of the second zero-crossing detection unit is connected with the zero line, the live wire input end of the second zero-crossing detection unit is connected with the other end of the electronic switch, and the second zero-crossing detection unit is used for outputting a second pulse signal according to the wire control signal;
The power supply device comprises a rectification filter unit, a power supply and a power supply, wherein the zero line input end of the rectification filter unit is connected with the zero line, the live wire input end of the rectification filter unit is connected with the other end of the electronic switch, and the rectification filter unit is used for providing a direct current power supply;
The input end of the main control unit is connected with the output end of the rectifying and filtering unit, the signal receiving end of the main control unit is connected with the output end of the second zero-crossing detection unit, the output end of the main control unit is connected with the driving module, and the main control unit is used for outputting a main control signal to the driving module according to the second pulse signal.
Optionally, the driving module includes:
The input end of the motor driving unit is connected with the main control unit, the output end of the motor driving unit is connected with the motor of the fan lamp, and the motor driving unit is used for controlling the motor to run according to the main control signal;
the input end of the lamp driving unit is connected with the main control unit, the output end of the lamp driving unit is connected with the lamp of the fan lamp, and the lamp driving unit is used for controlling the state of the lamp according to the main control signal.
Optionally, the rectifying and voltage stabilizing unit includes:
The positive electrode of the rectifying diode is connected with the other end of the switch unit, the negative electrode of the rectifying diode is connected with the input end of the voltage-stabilized power supply, and the output end of the voltage-stabilized power supply is connected with the third end of the singlechip;
the rectifier diode and the stabilized voltage power supply are used for converting alternating current into stable direct current and providing working power for the singlechip.
Optionally, the rectifying and filtering unit includes:
One end of the current limiting resistor is connected with the live wire input end of the second zero-crossing detection unit;
The zero line input end of the rectifying circuit is connected with the zero line, and the live wire input end of the rectifying circuit is connected with the other end of the current-limiting resistor;
The two ends of the filter capacitor are respectively connected with the positive electrode output end and the negative electrode output end of the rectifying circuit;
the current limiting resistor, the rectifying circuit and the filter capacitor are used for providing direct current power supply for the main control unit.
Optionally, the electronic switch comprises a triac.
In addition, to achieve the above object, an embodiment of the present application further provides a fan lamp control method, which is applied to the fan lamp control apparatus as described above, including:
receiving a command signal based on a line control module, and outputting a line control signal according to the command signal;
Outputting a main control signal according to the line control signal based on a main control module;
And driving the fan lamp to execute action based on the driving module according to the main control signal.
In addition, in order to achieve the above object, an embodiment of the present application further provides an electronic device, which includes the fan lamp control apparatus described above.
The embodiment of the application provides a fan lamp control device, a method and electronic equipment, wherein the fan lamp control device comprises the following components: the input end of the wire control module is respectively connected with a zero wire and a fire wire, and the wire control module is used for receiving a command signal and outputting a control signal according to the command signal; the zero line input end of the main control module is connected with the zero line, the live wire input end of the main control module is connected with the output end of the line control module, the main control module is used for outputting a main control signal according to the drive-by-wire signal; the driving module, the input of driving module is connected the output of main control module, the output of driving module is connected the fan lamp, driving module is used for according to the master control signal drive the action is carried out to the fan lamp. The fan lamp control device of the embodiment can realize the transmission of various commands, can control the fan lamp more fully, has rich functions, overcomes the limitation of single function of the traditional fan lamp control method, and meets the intelligent scene requirement of the current society.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the related art, the drawings that are required to be used in the embodiments or the related technical descriptions will be briefly described, and it is apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained from the structures shown in the drawings without inventive effort for those skilled in the art.
Fig. 1 is a schematic structural diagram of a fan lamp control apparatus according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a drive-by-wire module in a fan lamp control apparatus according to an embodiment of the present application;
FIG. 3 is a signal relationship diagram according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a main control module in a fan lamp control device according to an embodiment of the present application;
Fig. 5 is a schematic structural diagram of a driving module in a fan lamp control apparatus according to an embodiment of the present application;
FIG. 6 is a schematic diagram illustrating a detailed structure of a fan lamp control apparatus according to an embodiment of the present application;
FIG. 7 is a flowchart of a fan lamp control method according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
The achievement of the objects, functional features and advantages of the embodiments of the present application will be further described with reference to the drawings in conjunction with the embodiments.
Reference numerals illustrate:
Reference numerals Name of the name Reference numerals Name of the name
10 Wire control module 20 Main control module
30 Driving module 11 Receiving unit
12 First zero-crossing detection unit 13 Wire control unit
14 Rectifying and voltage stabilizing unit T1 Electronic switch
K1 Switch unit 131 Singlechip microcomputer
21 Second zero-crossing detection unit 22 Rectifying and filtering unit
23 Main control unit 31 Motor drive unit
32 Fan driving unit D1 Rectifying diode
R1 Current limiting resistor 221 Rectifying circuit
E1 Filter capacitor 02 Fan lamp control device
01 Electronic equipment
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all embodiments of the application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments of the present application without making any inventive effort, are intended to be within the scope of the embodiments of the present application.
It should be noted that all directional indicators (such as up, down, left, right, front, and rear … …) in the embodiments of the present application are merely used to explain the relative positional relationship, movement, etc. between the components in a particular posture (as shown in the drawings), and if the particular posture is changed, the directional indicator is changed accordingly.
Furthermore, descriptions such as those referred to as "first," "second," and the like in the embodiments of the present application are provided for descriptive purposes only and are not to be construed as indicating or implying a relative importance or an implicit indication of the number of features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the embodiments of the present application, the meaning of "plurality" is at least two, for example, two, three, etc., unless explicitly defined otherwise. In addition, the meaning of "and/or" as it appears throughout is meant to include three side-by-side schemes, for example, "A and/or B", including the A scheme, or the B scheme, or the scheme where A and B meet at the same time.
In embodiments of the present application, unless explicitly specified and limited otherwise, the terms "connected," "secured," and the like are to be construed broadly, and for example, "secured" may be either fixedly attached, detachably attached, or integrally formed; can be mechanically or electrically connected; either directly or indirectly, through intermediaries, or both, may be in communication with each other or in interaction with each other, unless expressly defined otherwise. The specific meaning of the above terms in the embodiments of the present application will be understood by those of ordinary skill in the art according to specific circumstances.
It should also be appreciated that references to "one embodiment" or "some embodiments" or the like described in the specification of an embodiment of the present application mean that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments" unless expressly specified otherwise. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
At present, the control method of the fan lamp mainly comprises a wireless radio frequency type, a wired capacitor voltage-reducing type and a wired AC tangential wave type. Each method can effectively control the fan lamp.
With the development of technology, the fan lamp will be more and more intelligent. However, the wired capacitor buck control method can only realize a simple switching function, the conventional fan lamp control method of the wired AC chopper control method can only control the rotation speed and direction of the motor, and the wireless radio frequency control method has limitations. Therefore, the conventional fan lamp control method is limited by the limitations of functions and operations, and cannot meet the increasing intelligent demands on the fan state and synchronous adjustment of the brightness and color temperature of the lamp.
Based on this, an embodiment of the present application provides a fan lamp control device, a method and an electronic device, where the fan lamp control device includes: the input end of the wire control module is respectively connected with a zero wire and a fire wire, and the wire control module is used for receiving a command signal and outputting a control signal according to the command signal; the zero line input end of the main control module is connected with the zero line, the live wire input end of the main control module is connected with the output end of the line control module, the main control module is used for outputting a main control signal according to the drive-by-wire signal; the driving module, the input of driving module is connected the output of main control module, the output of driving module is connected the fan lamp, driving module is used for according to the master control signal drive the action is carried out to the fan lamp. The fan lamp control device of the embodiment can realize the transmission of various commands, can control the fan lamp more fully, has rich functions, overcomes the limitation of single function of the traditional fan lamp control method, and meets the intelligent scene requirement of the current society.
The embodiment of the application provides a fan lamp control device, a method and an electronic device, and specifically, the following embodiment is used for explaining, and first describes the fan lamp control device in the embodiment of the application.
An embodiment of the present application provides a fan lamp control apparatus, referring to fig. 1, fig. 1 is a schematic structural diagram of a fan lamp control apparatus according to an embodiment of the present application, where the fan lamp control apparatus includes:
The wire control module 10, the input end of the wire control module 10 is connected with a zero line and a fire wire respectively, the wire control module 10 is used for receiving a command signal and outputting a control signal according to the command signal;
the main control module 20, wherein a zero line input end of the main control module 20 is connected with the zero line, a live wire input end of the main control module 20 is connected with an output end of the line control module 10, and the main control module 20 is used for outputting a main control signal according to the line control signal;
the driving module 30, the input of driving module 30 is connected with the output of main control module 20, the output of driving module 30 is connected with the fan lamp, driving module 30 is used for driving according to the main control signal the action is carried out to the fan lamp.
In this embodiment, the fan lamp control device may receive a command signal sent by a user, for example, send a lamp color temperature adjustment signal through a remote controller, and adjust the lamp color temperature of the fan lamp to a target color temperature desired by the user according to the lamp color temperature adjustment signal.
The connecting wire of the fan lamp control device only needs to use two cables of a zero line and a live line, and the device comprises a wire control module 10, a main control module 20 and a driving module 30. The line control signal output by the line control module 10 is substantially an ac voltage signal of the live wire, the line control module 10 outputs a discontinuous ac voltage signal to the main control module 20 according to a command signal sent by a user, where the command signal sent by the user may be a signal for changing a speed level of a fan, a positive and negative rotation of the fan, a sleep mode of the fan, a natural wind mode of the fan, a mute mode of the fan, a fan switch, a lamp switch, a light brightness, a light color temperature, a light color tone, a timing switch of the fan lamp, and the like, and the line control module 10 outputs different discontinuous ac signals according to different signals to realize signal transmission. The main control module 20 converts the discontinuous alternating current signal into a digital signal according to the received discontinuous alternating current signal, so that the control chip recognizes the discontinuous alternating current signal, the control chip controls the discontinuous alternating current signal to output a main control signal to the driving module 30, and the driving unit 30 can control the fan lamp according to the main control signal.
In this embodiment, the fan lamp control device receives a command signal sent by a user through the line control module 10, and outputs the control signal according to the command signal, the main control module 20 outputs a main control signal according to the line control signal, and the driving module 30 drives the fan lamp to complete a corresponding command according to the main control signal. Compared with the traditional fan lamp control method, the fan lamp control device can realize transmission of various commands, control the fan lamp more fully, has rich functions, overcomes the limitation of single function of the traditional fan lamp control method, and meets the intelligent scene requirement of the current society.
Referring to fig. 2, in some possible embodiments, the drive-by-wire module 10 includes:
A receiving unit 11, wherein the receiving unit 11 is used for receiving the command signal and outputting a digital command signal according to the command signal;
the switch unit K1, one end of the switch unit K1 is connected with the fire wire, and the switch unit K1 is used for switching on and off a power supply of the wire control module 10;
The live wire input end of the first zero-crossing detection unit 12 is connected with the other end of the switch unit K1, the zero line input end of the first zero-crossing detection unit 12 is connected with the zero line, and the first zero-crossing detection unit 12 is used for outputting a first pulse signal when the switch unit K1 is closed;
The first end of the wire control unit 13 is connected with one end of the receiving unit 11, the second end of the wire control unit 13 is connected with the live wire input end of the main control module 20, the third end of the wire control unit 13 is connected with the output end of the first zero-crossing detection unit 12, the fourth end of the wire control unit 13 is connected with the other end of the switch unit K1, and the wire control unit 13 is used for outputting the wire control signal to the main control module 20 according to the digital command signal and the first pulse signal under the condition that the switch unit K1 is closed;
The input end of the rectifying and voltage stabilizing unit 14 is connected with the other end of the switch unit K1, the output end of the rectifying and voltage stabilizing unit 14 is connected with the fifth end of the wire control unit 13, and the rectifying and voltage stabilizing unit 14 is used for providing a working power supply for the wire control unit 13 when the switch unit K1 is closed.
In this embodiment, the wire control module 10 includes a receiving unit 11, a switching unit K1, a first zero-crossing detection unit 12, a wire control unit 13, and a rectifying and voltage stabilizing unit 14. Only if the switching unit K1 is closed, other units can normally operate, and since the switching unit K1 is used to realize on-off of the line on the fire wire, a wall-controlled switch can be used. The rectifying and voltage stabilizing unit 14 is connected between the switch unit K1 and the line control unit 13, and when the switch unit K1 is closed, the rectifying and voltage stabilizing unit 14 converts high-voltage alternating current into direct-current voltage power to provide working power for the line control unit 13. The receiving unit 11 may be an infrared receiver or a bluetooth receiver, and is matched with the emitting device of the command signal according to practical design. If the command signal is a digital signal, the receiving unit 11 directly transmits the received digital signal to the line control unit 13, and if the command signal is an analog signal, the receiving unit 11 converts the analog signal into the digital signal, and then transmits the digital signal to the line control unit 13, and the signal output by the receiving unit 11 is referred to as a digital command signal. The first zero-crossing detection unit 12 is capable of outputting a first pulse signal at the zero-crossing of the alternating-current signal, and the line control unit 13 outputs a line control signal based on the digital command signal and the pulse signal.
Referring to fig. 3, as an example, when the digital command signal is 010011, the line control unit 13 outputs a pulse of a first pulse signal corresponding to each binary number of the digital command signal according to the digital command signal and the pulse signal, and when the line control unit 13 receives a pulse corresponding to a binary number of 0 of the digital command signal, the output end of the line control unit 13 is turned on in time; when the line control unit 13 receives a pulse corresponding to a binary number of 1 of the digital command signal, the output end of the line control unit 13 is turned off at the rising edge of the pulse, and is turned on after lasting for a time T0. Thus, when the digital command signal i 010011, the output of the drive-by-wire unit 13 is turned off at the rising edges of the second, fifth and sixth pulses for T0 time, resulting in the drive-by-wire signal shown in fig. 3.
Referring to fig. 2, in some possible embodiments, the drive-by-wire unit 13 includes:
The first end of the single chip microcomputer 131 is connected with one end of the receiving unit 11, the second end of the single chip microcomputer 131 is connected with the output end of the first zero-crossing detection unit 12, the third end of the single chip microcomputer 131 is connected with the output end of the rectifying and voltage stabilizing unit 14, and the single chip microcomputer 131 is used for outputting control signals according to the command signals and the first pulse signals;
The electronic switch T1, the controlled end of the electronic switch T1 is connected to the fourth end of the singlechip 131, one end of the electronic switch T1 is connected to the live wire input end of the first zero-crossing detection unit 12, the other end of the electronic switch T1 is connected to the live wire input end of the main control module 20, and the electronic switch T1 is configured to be turned on and turned off according to the control signal, so as to output the drive-by-wire signal.
In this embodiment, the wire control unit 13 includes a single chip microcomputer 131 and an electronic switch T1, where the single chip microcomputer 131 is configured to receive the first pulse signal output by the first zero crossing detection unit 12 and the digital command signal output by the receiving unit 11, and an algorithm is written in the single chip microcomputer 131 to enable each binary number of the digital command signal to correspond to each pulse of the first pulse signal, and when the binary number is 1, the rising edge of the corresponding pulse controls the electronic switch T1 to be turned off, and then turned on after the time of T0 is continued.
Referring to fig. 4, in some possible embodiments, the main control module 20 includes:
The zero line input end of the second zero-crossing detection unit 21 is connected with the zero line, the live wire input end of the second zero-crossing detection unit 21 is connected with the other end of the electronic switch T1, and the second zero-crossing detection unit 21 is used for outputting a second pulse signal according to the wire control signal;
the rectification filter unit 22, wherein a zero line input end of the rectification filter unit 22 is connected with the zero line, a live wire input end of the rectification filter unit 22 is connected with the other end of the electronic switch T1, and the rectification filter unit 22 is used for providing a direct current power supply;
The input end of the main control unit 23 is connected with the output end of the rectifying and filtering unit 22, the signal receiving end of the main control unit 23 is connected with the output end of the second zero-crossing detection unit 21, the output end of the main control unit 23 is connected with the driving module 30, and the main control unit 23 is used for outputting a main control signal to the driving module 30 according to the second pulse signal.
In this embodiment, the main control module 20 includes a second zero crossing detection unit 21, a rectifying and filtering unit 22, and a main control unit 23. The line control signal is essentially an ac signal, and the rectifying and filtering unit 22 is configured to convert the line control signal into a dc signal, and provide the main control unit 23 with a working power supply. The second zero-crossing detection unit 21 outputs a second pulse signal at the time of zero-crossing of the drive-by-wire signal, and since the drive-by-wire signal is a discontinuous signal, the pulse width outputted by the second zero-crossing detection unit 21 is wider at its disconnection than at the normal zero-crossing.
Referring to fig. 3, as an example, when the digital command signal is 010011, the second, fifth, and sixth pulses of the second pulse signal output by the second zero-crossing detection unit 21 have widths wider than those of the other pulses. The second pulse signal is input to the main control unit 23, the main control unit 23 corresponds to the narrow pulse to be binary 0 and corresponds to the wide pulse to be binary 1 through algorithm operation, and 010011 can be obtained, and the transmission of the command signal is realized through the method.
Referring to fig. 5, in some possible embodiments, the driving module 30 includes:
The motor driving unit 31, the input end of the motor driving unit 31 is connected with the main control unit 23, the output end of the motor driving unit 31 is connected with the motor of the fan lamp, and the motor driving unit 31 is used for controlling the motor to run according to the main control signal;
The lamp driving unit 32, the input end of the lamp driving unit 32 is connected with the main control unit 23, the output end of the lamp driving unit 23 is connected with the lamp of the fan lamp, and the lamp driving unit 32 is used for controlling the state of the lamp according to the main control signal.
In the present embodiment, the driving module 30 includes a motor driving unit 31 and a lamp driving unit 32. The motor driving unit 31 changes the speed level of the fan, controls the forward and reverse rotation of the fan, and the like according to the main control signal output by the main control unit 23, and the lamp driving unit 32 controls the lamp to be turned on or off, adjusts the color temperature of the lamp, and the like according to the main control signal output by the main control unit 23.
Referring to fig. 6, in some possible embodiments, the rectifying and voltage stabilizing unit 14 includes:
The rectification diode D1 and the regulated power supply 141, wherein the positive electrode of the rectification diode D1 is connected with the other end of the switch unit K1, the negative electrode of the rectification diode D1 is connected with the input end of the regulated power supply 141, and the output end of the regulated power supply 141 is connected with the third end of the singlechip 131;
The rectifier diode D1 and the regulated power supply 141 are configured to convert ac power into stable dc power, and provide a working power to the singlechip 131.
In this embodiment, the rectifying diode D1 is used for half-wave rectification, and its model may be 1N4001, 1N4002, 1N4003, or the like. It is understood that the rectifying diode D1 may be replaced by other rectifying devices or rectifying circuits, and a rectifying mode with better effect may be selected if the cost is not considered. The rectifier diode D1 rectifies the ac power into dc power, and outputs the dc power to the regulated power supply 141, and the regulated power supply outputs the regulated dc power for the operation of the singlechip 131.
Referring to fig. 6, in some possible embodiments, the rectifying and filtering unit 22 includes:
a current limiting resistor R1, wherein one end of the current limiting resistor R1 is connected with the live wire input end of the second zero crossing detection unit 21;
The input end of the zero line of the rectifying circuit 221 is connected with the zero line, and the input end of the live wire of the rectifying circuit 221 is connected with the other end of the current-limiting resistor R1;
a filter capacitor E1, wherein two ends of the filter capacitor E1 are respectively connected with the positive and negative output ends of the rectifying circuit 221;
the current limiting resistor R1, the rectifying circuit 221 and the filter capacitor E1 are configured to provide dc power to the main control unit 23.
In the present embodiment, the rectifying and filtering unit 22 includes a current limiting resistor R1, a rectifying circuit 221, and a filtering capacitor E1. At the moment of switching on the alternating current, the whole device generates impact current which is several tens times larger than the limit current, and a current limiting resistor R1 is generally connected in a loop to reduce the impact current, and it is worth supplementing that the singlechip 131 sends a control signal to the electronic switch T1 according to the detected first pulse signal and digital command signal, and the conduction angle of the positive and negative period is controlled to be slowly increased from 0 to 180 degrees, so that the voltage peak value of the alternating current input to the rectifying and filtering unit 22 is gradually increased from 0V to the maximum value, therefore, the impact current which is effectively reduced can be eliminated, the current limiting resistor R1 can be omitted, the limit current specification of a diode in the original rectifying circuit 221 is reduced, and the cost is reduced. The rectifying circuit 221 is used for rectifying the alternating current into direct current, and the filter capacitor E1 is used for filtering the direct current output so as to provide a stable direct current power supply for the main control unit 23.
In some possible embodiments, the electronic switch T1 comprises a triac.
In this embodiment, the electronic switch T1 is applied to an ac circuit, and needs to meet the requirements of forward conduction and reverse conduction, so that a bidirectional thyristor can be selected, and other switching devices can be used as long as bidirectional conduction and controllability are met.
The embodiment provides a fan lamp control device, a receiving unit receives a command signal from a user, a digital command signal is output to a singlechip based on the command signal, a first zero-crossing detection unit outputs a first pulse signal to the singlechip, the singlechip continuously turns on an electronic switch when receiving a pulse corresponding to a binary number 0 in the digital command signal, the rising edge of the pulse corresponding to a binary number 1 in the digital command signal controls the electronic switch to cut off one end time so as to output a discontinuous alternating current signal, namely a drive-by-wire signal, a second zero-crossing detection unit outputs a second pulse signal composed of pulses with different pulse widths according to the drive-by-wire signal, and a main control unit corresponds a narrow pulse to a binary number 0 and corresponds a wide pulse to a binary number 1, so that transmission of the command signal is realized. The main control unit outputs a control signal based on the second pulse signal, so that the motor driving unit and the lamp driving unit control the fan lamp based on the control signal. The fan lamp control device of the embodiment can realize various control of the fan lamp, not only simple switching and speed regulation, overcomes the limitation of the traditional fan lamp control method, and simultaneously can complete transmission of various signals only by a zero line and a live line, and transmits communication data on the zero line. Furthermore, the embodiment adopts a slow-conduction control electronic switch mode, so that the impact current on a line can be effectively reduced, the reliability of the control device is improved, a current limiting resistor can be omitted if necessary, the performance requirement of a rectifying element is reduced, and the cost is reduced.
In addition, an embodiment of the present application further provides a motor driving method, and referring to fig. 7, the fan lamp control method may be applied to the fan lamp control apparatus provided in any of the foregoing embodiments, and the method includes steps S10 to S30.
Step S10, receiving a command signal based on a line control module, and outputting a line control signal according to the command signal;
step S20, outputting a main control signal according to the drive-by-wire signal based on a main control module;
And step S30, driving the fan lamp to execute action based on the driving module according to the main control signal.
In this embodiment, as an example, when the digital signal corresponding to the command signal is 010011, the singlechip in the line control module continues to keep the electronic switch in the line control module in the on state after receiving the 1 st pulse in the first pulse signal output by the first pulse detection unit in the line control module; turning off the electronic switch at the rising edge of the 2 nd pulse, and turning on the electronic switch after delaying for t0 time; and 3, 4, 5 and 6 pulses are controlled twice, so that the control signals are output, the second zero-crossing detection electric unit in the main control module can acquire the control signals and output second pulse signals, and the time width of each pulse in the second pulse signals is measured through the main control unit in the main control module to obtain corresponding time t1, t2 and … t 6. The main control module converts the detected pulse time width into a binary signal 1 or 0, namely a bn value, according to the protocol.
T_min_h determines the minimum time constant of the wide pulse;
t_max_h determines the maximum time constant of the wide pulse;
t_min_l determines the minimum time constant of the narrow pulse;
t_max_l determines the maximum time constant of the narrow pulse.
From this, it can be resolved that the digital signal corresponding to the command signal is 010011.
It should be noted that, in the communication protocol, the digital signal corresponding to the command signal is represented by binary data in a frame format, and is composed of three parts, i.e. a boot code, a data content and an end code, for example, 00001111 represents the boot code, and 1 identifies the end code. The data content further comprises a special code, a user instruction and a check code, for example, the fan is turned on by a 5-bit instruction 10101, and the complete frame of data is 00001111 10 10101 11 if the special code is checked by 10-bit and 1-bit even. To enhance the immunity of the communication, each user instruction requires the same 2-4 frames of data to be transmitted consecutively.
In addition, an embodiment of the present application further provides an electronic device, and referring to fig. 8, the electronic device 01 includes the fan lamp control apparatus 02 provided in the foregoing embodiment.
It will be appreciated by those skilled in the art that the structure shown in fig. 8 is not limiting of the electronic device 01 and may include more or fewer components than shown, or may combine certain components, or may be a different arrangement of components.
The electronic device according to the present embodiment and the fan lamp control apparatus according to the foregoing embodiments belong to the same inventive concept, and technical details not described in detail in the present embodiment can be seen in any of the foregoing embodiments, and the present embodiment has the same advantages as those of the foregoing embodiments of the fan lamp control apparatus.
It should be noted that the technical solutions of the embodiments of the present application may be combined with each other, but it is necessary to be based on that the skilled person can realize that when the combination of the technical solutions contradicts or cannot be realized, it should be considered that the combination of the technical solutions does not exist, and is not within the protection scope of the embodiments of the present application.
The foregoing description is only the preferred embodiments of the present application, and is not intended to limit the scope of the embodiments of the present application, but rather the equivalent structures or equivalent flow changes made by the descriptions of the embodiments of the present application and the contents of the drawings, or the direct or indirect application in other related technical fields, are all included in the scope of the embodiments of the present application.

Claims (9)

1. A fan lamp control apparatus, the fan lamp control apparatus comprising:
The input end of the wire control module is respectively connected with a zero wire and a fire wire, and the wire control module is used for receiving a command signal and outputting a control signal according to the command signal;
the zero line input end of the main control module is connected with the zero line, the live wire input end of the main control module is connected with the output end of the line control module, the main control module is used for outputting a main control signal according to the drive-by-wire signal;
The input end of the driving module is connected with the output end of the main control module, the output end of the driving module is connected with the fan lamp, and the driving module is used for driving the fan lamp to execute actions according to the main control signal;
wherein, the drive-by-wire module includes:
the receiving unit is used for receiving the command signal and outputting a digital command signal according to the command signal;
the switch unit is connected with the live wire at one end and used for switching on and off a power supply of the wire control module;
The live wire input end of the first zero-crossing detection unit is connected with the other end of the switch unit, the zero line input end of the first zero-crossing detection unit is connected with the zero line, and the first zero-crossing detection unit is used for outputting a first pulse signal under the condition that the switch unit is closed;
The first end of the wire control unit is connected with one end of the receiving unit, the second end of the wire control unit is connected with the live wire input end of the main control module, the third end of the wire control unit is connected with the output end of the first zero-crossing detection unit, the fourth end of the wire control unit is connected with the other end of the switch unit, and the wire control unit is used for outputting the wire control signal to the main control module according to the digital command signal and the first pulse signal under the condition that the switch unit is closed;
the input end of the rectification voltage stabilizing unit is connected with the other end of the switch unit, the output end of the rectification voltage stabilizing unit is connected with the fifth end of the line control unit, and the rectification voltage stabilizing unit is used for providing working power supply for the line control unit under the condition that the switch unit is closed.
2. The fan lamp control apparatus as claimed in claim 1, wherein the wire control unit includes:
The first end of the singlechip is connected with one end of the receiving unit, the second end of the singlechip is connected with the output end of the first zero-crossing detection unit, the third end of the singlechip is connected with the output end of the rectifying and voltage-stabilizing unit, and the singlechip is used for outputting a control signal according to the command signal and the first pulse signal;
The control end of the electronic switch is connected with the fourth end of the singlechip, one end of the electronic switch is connected with the live wire input end of the first zero-crossing detection unit, the other end of the electronic switch is connected with the live wire input end of the main control module, and the electronic switch is used for switching on and switching off according to the control signal so as to output the wire control signal.
3. The fan light control apparatus as claimed in claim 2, wherein the main control module comprises:
The zero line input end of the second zero-crossing detection unit is connected with the zero line, the live wire input end of the second zero-crossing detection unit is connected with the other end of the electronic switch, and the second zero-crossing detection unit is used for outputting a second pulse signal according to the wire control signal;
The power supply device comprises a rectification filter unit, a power supply and a power supply, wherein the zero line input end of the rectification filter unit is connected with the zero line, the live wire input end of the rectification filter unit is connected with the other end of the electronic switch, and the rectification filter unit is used for providing a direct current power supply;
The input end of the main control unit is connected with the output end of the rectifying and filtering unit, the signal receiving end of the main control unit is connected with the output end of the second zero-crossing detection unit, the output end of the main control unit is connected with the driving module, and the main control unit is used for outputting a main control signal to the driving module according to the second pulse signal.
4. The fan light control apparatus as claimed in claim 3, wherein the driving module includes:
The input end of the motor driving unit is connected with the main control unit, the output end of the motor driving unit is connected with the motor of the fan lamp, and the motor driving unit is used for controlling the motor to run according to the main control signal;
the input end of the lamp driving unit is connected with the main control unit, the output end of the lamp driving unit is connected with the lamp of the fan lamp, and the lamp driving unit is used for controlling the state of the lamp according to the main control signal.
5. The fan lamp control apparatus as claimed in claim 2, wherein the rectifying and voltage stabilizing unit includes:
The positive electrode of the rectifying diode is connected with the other end of the switch unit, the negative electrode of the rectifying diode is connected with the input end of the voltage-stabilized power supply, and the output end of the voltage-stabilized power supply is connected with the third end of the singlechip;
the rectifier diode and the stabilized voltage power supply are used for converting alternating current into stable direct current and providing working power for the singlechip.
6. The fan lamp control apparatus as claimed in claim 3, wherein the rectifying and filtering unit includes:
One end of the current limiting resistor is connected with the live wire input end of the second zero-crossing detection unit;
The zero line input end of the rectifying circuit is connected with the zero line, and the live wire input end of the rectifying circuit is connected with the other end of the current-limiting resistor;
The two ends of the filter capacitor are respectively connected with the positive electrode output end and the negative electrode output end of the rectifying circuit;
the current limiting resistor, the rectifying circuit and the filter capacitor are used for providing direct current power supply for the main control unit.
7. The fan light control apparatus as claimed in claim 2, wherein the electronic switch comprises a triac.
8. A fan lamp control method, characterized in that the method is applied to the fan lamp control apparatus as claimed in any one of claims 1 to 7, the method comprising:
receiving a command signal based on a line control module, and outputting a line control signal according to the command signal;
Outputting a main control signal according to the line control signal based on a main control module;
And driving the fan lamp to execute action based on the driving module according to the main control signal.
9. An electronic device comprising the fan lamp control apparatus according to any one of claims 1 to 7.
CN202410228708.6A 2024-02-29 2024-02-29 Fan lamp control device and method and electronic equipment Active CN118102541B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410228708.6A CN118102541B (en) 2024-02-29 2024-02-29 Fan lamp control device and method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410228708.6A CN118102541B (en) 2024-02-29 2024-02-29 Fan lamp control device and method and electronic equipment

Publications (2)

Publication Number Publication Date
CN118102541A CN118102541A (en) 2024-05-28
CN118102541B true CN118102541B (en) 2024-08-16

Family

ID=91155958

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410228708.6A Active CN118102541B (en) 2024-02-29 2024-02-29 Fan lamp control device and method and electronic equipment

Country Status (1)

Country Link
CN (1) CN118102541B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN215769407U (en) * 2021-04-10 2022-02-08 中山市嘉科电子有限公司 Control circuit for fan lamp and integrated motor with control circuit

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8035316B2 (en) * 2008-07-10 2011-10-11 Ming-Hui Lin Current-limiting protection circuit of a remotely controlled ceiling fan-lamp
US9064660B2 (en) * 2012-03-22 2015-06-23 Technology Logic International Limited Remote controlled interactive power switch
JP2016090605A (en) * 2014-10-29 2016-05-23 株式会社リコー Image projection device and control method of image projection device
CN207778132U (en) * 2017-11-21 2018-08-28 中山市倍能照明科技有限公司 A kind of fan lamp of RF radio frequency controls
CN110784958A (en) * 2019-11-12 2020-02-11 佛山市启正电气有限公司 Integrated ceiling fan lamp and control method thereof
CN212259375U (en) * 2019-12-26 2020-12-29 中山市新邦照明电器有限公司 Ceiling fan lamp wireless control circuit with forward and reverse rotation functions and ceiling fan lamp
CN212565703U (en) * 2020-08-05 2021-02-19 中山市科云电器有限公司 Fan lamp control device and fan lamp
CN215830776U (en) * 2021-08-25 2022-02-15 卫星电子(中山)有限公司 Negative-polarity-powered fan lamp double-control circuit
CN116661353A (en) * 2023-06-09 2023-08-29 卫星电子(中山)有限公司 AC tangential wave wall control fan lamp control system
CN116816703A (en) * 2023-07-14 2023-09-29 深圳市怡芯智电子科技有限公司 Fan lamp and fan lamp controller

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN215769407U (en) * 2021-04-10 2022-02-08 中山市嘉科电子有限公司 Control circuit for fan lamp and integrated motor with control circuit

Also Published As

Publication number Publication date
CN118102541A (en) 2024-05-28

Similar Documents

Publication Publication Date Title
US8143810B2 (en) Drive device for LEDs and related method
EP2618636B1 (en) Dimming device and lighting system
US10349481B2 (en) DALI interface circuit with bootstrap function
CN103917002B (en) LED light-dimming methods and system
CN115426739B (en) LED drive control method and system
US9276633B2 (en) Power line communication control system adapted for single-wire and method thereof
US11686317B2 (en) Long-distance speed control system for brushless DC motor of fan
US20110279042A1 (en) Led lighting system with auto and manual dimming functions
CN118102541B (en) Fan lamp control device and method and electronic equipment
CN109995225B (en) Power supply capable of adjusting power consumption limit and method for adjusting power consumption limit
WO2015061954A1 (en) Method for controlling and operating load by using control command of changing conduction angle of ac voltage and adjustment and control apparatus thereof
JP2021108277A (en) Smart lamp adjustment method and adjustment system
CN108200691A (en) A kind of LED PAR lamps driving circuit and LED PAR lamps
US20170214353A1 (en) Control Apparatus For DC Inverter Electric Motor
CN111526626A (en) Voltage-regulating phase-cut dimming power supply
CN108738191B (en) Multifunctional LED dimming interface circuit
JP5669447B2 (en) Lighting system
CN115226266A (en) Drive circuit and lamp
TWI662778B (en) Power Supply Having Adjustable Power Output Limitation And Method for Adjusting Power Output Limitation
CN217088219U (en) Power supply circuit of photographic lamp and photographic lamp equipment
CN111194118A (en) LED driver and intelligent LED control system
CN207969014U (en) A kind of LED PAR lamps driving circuit and LED PAR lamps
EP3300458B1 (en) Led device
CN211297073U (en) LED driver and intelligent LED control system
CN219459361U (en) Multistage dimming LED driving power supply

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant