CN114382716B - Control circuit, control method, device, equipment and medium of electric fan - Google Patents

Control circuit, control method, device, equipment and medium of electric fan Download PDF

Info

Publication number
CN114382716B
CN114382716B CN202011138919.9A CN202011138919A CN114382716B CN 114382716 B CN114382716 B CN 114382716B CN 202011138919 A CN202011138919 A CN 202011138919A CN 114382716 B CN114382716 B CN 114382716B
Authority
CN
China
Prior art keywords
beat
voltage
resistor
ith
comparator
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
CN202011138919.9A
Other languages
Chinese (zh)
Other versions
CN114382716A (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.)
GD Midea Environment Appliances Manufacturing Co Ltd
Original Assignee
GD Midea Environment Appliances Manufacturing 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 GD Midea Environment Appliances Manufacturing Co Ltd filed Critical GD Midea Environment Appliances Manufacturing Co Ltd
Priority to CN202011138919.9A priority Critical patent/CN114382716B/en
Publication of CN114382716A publication Critical patent/CN114382716A/en
Application granted granted Critical
Publication of CN114382716B publication Critical patent/CN114382716B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • F04D25/00Pumping installations or systems
    • F04D25/02Units comprising pumps and their driving means
    • F04D25/08Units comprising pumps and their driving means the working fluid being air, e.g. for ventilation
    • F04D25/10Units comprising pumps and their driving means the working fluid being air, e.g. for ventilation the unit having provisions for automatically changing direction of output air
    • F04D25/105Units comprising pumps and their driving means the working fluid being air, e.g. for ventilation the unit having provisions for automatically changing direction of output air by changing rotor axis direction, e.g. oscillating fans
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P8/00Arrangements for controlling dynamo-electric motors rotating step by step
    • H02P8/14Arrangements for controlling speed or speed and torque
    • H02P8/20Arrangements for controlling speed or speed and torque characterised by bidirectional operation

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Control Of Stepping Motors (AREA)

Abstract

The embodiment of the application discloses a control circuit, a method, a device, equipment and a storage medium of an electric fan, wherein the control circuit comprises: the controller comprises M input ends and S output ends; an N-phase P-beat stepping motor; the main control circuit comprises N control modules, each control module comprises a triode, a protection resistor and a voltage dividing circuit, wherein: the first end of each voltage dividing circuit and the collector electrode of the triode are commonly connected with one output end of the stepping motor; the second end of each voltage dividing circuit is grounded with the emitter electrode of the triode; the third end of each voltage dividing circuit and one end of the protection resistor are connected with the output end of the controller together, and the other end of the protection resistor is connected with the base electrode of the triode; the fourth end of each voltage dividing circuit is connected with the input end corresponding to the output end of the controller; the fifth end of each voltage dividing circuit is connected with a first external power supply.

Description

Control circuit, control method, device, equipment and medium of electric fan
Technical Field
Embodiments of the present application relate to household technologies, and relate to, but are not limited to, a control circuit, a control method, a device, equipment, and a storage medium of an electric fan.
Background
Current electric fans generally include a positioning system, a head-shaking mechanism, a limiting device, and the like. The limiting device is used for limiting the shaking range of the shaking mechanism, the positioning system can realize the positioning of the shaking mechanism when rotating in different angle ranges, and when the positioning system recognizes that the shaking mechanism rotates to the shaking boundary (namely the boundary position of the shaking range), the shaking mechanism is controlled to rotate backwards.
If the oscillating mechanism is at the oscillating boundary after the current electric fan is electrified, the current electric fan can be locked for a long time, and the oscillating abnormal sound is easily caused for a long time, so that the user experience is affected.
Disclosure of Invention
In view of the above, the embodiments of the present application provide a control circuit, a control method, a device, equipment, and a storage medium for an electric fan.
In a first aspect, an embodiment of the present application provides a control circuit for an electric fan, the circuit including: the controller comprises M input ends and S output ends; an N-phase P-beat stepping motor; the main control circuit comprises N control modules, each control module comprises a triode, a protection resistor and a voltage dividing circuit, wherein: the first end of each voltage dividing circuit and the collector electrode of the triode are commonly connected with one output end of the stepping motor; the second end of each voltage dividing circuit is grounded with the emitter electrode of the triode; the third end of each voltage dividing circuit and one end of the protection resistor are connected with the output end of the controller together, and the other end of the protection resistor is connected with the base electrode of the triode; the fourth end of each voltage dividing circuit is connected with the input end corresponding to the output end of the controller; the fifth end of each voltage dividing circuit is connected with a first external power supply.
In a second aspect, an embodiment of the present application provides a method for controlling an electric fan, including:
in a cycle of taking continuous four beats as one cycle, sequentially controlling an ith output end of the stepping motor to output a first voltage control signal in the ith beat of the stepping motor according to the sequence of a first phase to an Nth phase and a first end to an Nth end, wherein the first voltage control signal respectively reaches a positive pin and a negative pin of a comparator through a protection resistor, a triode and a voltage dividing resistor, so that the comparator outputs a second voltage control signal;
controlling an ith output end to output a third voltage control signal in other beats except an ith beat of the stepping motor, wherein the third voltage control signal respectively reaches a positive foot and a negative foot of the comparator through a protection resistor, a triode and a divider resistor, an ith phase winding of the stepping motor generates reverse electromotive force in the ith+2 beat, so that the comparator outputs a sixth voltage control signal in the ith+2 beat, and the comparator outputs a fifth voltage control signal in the ith+1 beat and the ith+3 beat;
respectively acquiring second voltage control signals received by an ith input end at an ith beat, sixth voltage control signals received by an ith input end at an (i+2) th beat, and fifth voltage control signals received by an ith input end at an (i+1) th beat and an (i+3) th beat;
Respectively acquiring a first actual voltage control signal of an ith input end of the stepping motor at an ith beat, a second actual voltage control signal of the ith input end at an (i+1) th beat, a third actual voltage control signal of the ith input end at an (i+2) th beat and a fourth actual voltage control signal of the ith input end at an (i+3) th beat;
comparing the first to fourth actual voltage control signals with the second, sixth and fifth voltage control signals, respectively, of the corresponding beats;
and if the comparison result shows that the head shaking mechanism reaches the head shaking boundary, controlling the stepping motor to drive the head shaking mechanism to adjust the rotation direction.
In a third aspect, an embodiment of the present application provides a control device for an electric fan, including:
the first output module is used for controlling the ith output end to output a first voltage control signal in the ith beat of the stepping motor in sequence according to the sequence of the first phase to the Nth phase and the first end to the Nth end in a period taking the continuous four beats as a period, and the first voltage control signal respectively reaches a positive pin and a negative pin of the comparator through the protection resistor, the triode and the voltage dividing resistor so that the comparator outputs a second voltage control signal;
The second output module is used for controlling an ith output end to output a third voltage control signal in other beats except an ith beat of the stepping motor, the third voltage control signal respectively reaches a positive foot and a negative foot of the comparator through a protection resistor, a triode and a voltage dividing resistor, an ith phase winding of the stepping motor generates reverse electromotive force in the ith+2 beat, so that the comparator outputs a sixth voltage control signal in the ith+2 beat, and the comparator outputs a fifth voltage control signal in the ith+1 beat and the ith+3 beat;
the first acquisition module is used for respectively acquiring second voltage control signals received by the ith input end at the ith beat, sixth voltage control signals received by the ith input end at the (i+2) th beat and fifth voltage control signals received by the ith input end at the (i+1) th beat and the (i+3) th beat;
the second acquisition module is used for respectively acquiring a first actual voltage control signal of an ith input end of the stepping motor at an ith beat, a second actual voltage control signal of the ith input end at an (i+1) th beat, a third actual voltage control signal of the ith input end at an (i+2) th beat and a fourth actual voltage control signal of the stepping motor at an (i+3) th beat;
the comparison module is used for comparing the first actual voltage control signal to the fourth actual voltage control signal with the second voltage control signal, the sixth voltage control signal and the fifth voltage control signal which are corresponding to the beats respectively;
And the adjusting module is used for controlling the stepping motor to drive the head shaking mechanism to adjust the rotation direction if the comparison result shows that the head shaking mechanism reaches the head shaking boundary.
In a fourth aspect, an embodiment of the present application provides a control apparatus for an electric fan, including a memory and a processor, where the memory stores a computer program that can run on the processor, and the processor implements steps in the control method for an electric fan according to the embodiment of the present application when executing the computer program.
In a fifth aspect, an embodiment of the present application provides a computer readable storage medium having stored thereon a computer program, which when executed by a processor, implements the steps of the method for controlling an electric fan according to the embodiment of the present application.
In the embodiment of the application, each phase winding of the stepping motor of the electric fan has a normal reverse electromotive force at a specific moment in one period, so that a low-level pulse can be acquired at a corresponding input end of a controller of the electric fan, and a low-level pulse can be generated when a head shaking mechanism of the electric fan reaches a head shaking boundary.
Drawings
Fig. 1 is a schematic circuit diagram of a control circuit of an electric fan according to an embodiment of the present application;
fig. 2 is a schematic circuit diagram of a control circuit of an electric fan according to another embodiment of the present application;
FIG. 3 is a waveform diagram of a working sequence of a stepper motor according to an embodiment of the present application;
FIG. 4 is a waveform diagram of another operation timing sequence of a stepper motor according to an embodiment of the present application;
fig. 5 is a schematic circuit diagram of a control circuit of an electric fan according to still another embodiment of the present application;
fig. 6 is a flow chart of a control method of an electric fan according to an embodiment of the application;
fig. 7 is a schematic structural diagram of a control device of an electric fan according to an embodiment of the present application;
fig. 8 is a schematic diagram of a hardware entity of a control device for an electric fan according to an embodiment of the present application.
Detailed Description
The technical scheme of the application is further elaborated below with reference to the drawings and examples.
Fig. 1 is a schematic circuit diagram of a control circuit of an electric fan according to an embodiment of the present application, referring to fig. 1, the circuit includes:
a controller 101 including M inputs and S outputs;
an N-phase P-beat stepping motor M1;
the main control circuit comprises N control modules 102, wherein each control module 102 comprises a triode Q, a protection resistor R and a voltage dividing circuit 1021, and the main control circuit comprises:
The first end 10211 of each voltage dividing circuit 1021 and the collector electrode of the triode Q are commonly connected with one output end of the stepping motor M1;
a second end 10212 of each voltage divider 1021 is grounded to an emitter of the triode Q;
the third end 10213 of each voltage dividing circuit 1021 and one end of the protection resistor R are connected with the output end of the controller 101 together, and the other end of the protection resistor R is connected with the base electrode of the triode Q;
the fourth terminal 10214 of each voltage divider circuit 1021 is connected to an input terminal corresponding to the output terminal of the controller 101;
the fifth end 10215 of each voltage dividing circuit 1021 is connected to the first external power source V1.
In some embodiments, each of the voltage dividing circuits includes a voltage dividing resistor including a resistor R d1 、R d2 、R d3 、R d4 And R is d5 Fig. 2 is a schematic circuit diagram of a control circuit of another electric fan according to an embodiment of the present application, referring to fig. 2, wherein:
the resistor R d2 The collector of the triode is commonly connected with the output end of the N-phase stepping motor;
the resistor R d3 One end of the resistor R d5 The emitter of the triode and the one end of the triode are commonly grounded;
the resistor R d1 One end of the protection resistor and one end of the protection resistor are commonly connected with the output end of the controller;
the resistor R d1 The other end of the resistor R d2 The other end of the resistor R d3 The other end of the first and second switches is commonly connected with the positive pin of the comparator; the resistor R d4 And said resistor R d5 The other end of the first and second switches is commonly connected with the negative pin of the comparator; the resistor R d4 The other end of the first power supply is connected with a first external power supply;
the output end of the comparator is connected with the input end of the controller, and the input end of the controller is the input end corresponding to the output end of the controller.
Wherein the resistance of the protection resistor R can be 470 ohm (omega), the resistor R d1 Can be 20 kilo-ohms (kΩ), the resistance R d2 The resistance of (a) may be 86 kilo-ohms (kΩ), the resistance R d3 Can be 20 kilo-ohms (kΩ), the resistance R d4 The resistance value of (2) may be 15 kiloEurope (kΩ), the resistor R d5 May be 10 kiloohms (kΩ); the comparator may be of the model LM324.
In the embodiment of the application, the comparator is added into the control circuit of the electric fan, so that the control circuit is simplified.
In some embodiments, the controller is configured to control, in an i-th beat of the stepper motor, the i-th output terminal of the controller to output a first voltage control signal sequentially in the order of the first phase to the N-th phase, and the first end to the N-th end in one cycle with consecutive P-beats; wherein:
Under the condition that the first voltage control signal drives the triode to be conducted through a protection resistor, the resistor R d2 And the resistance R d3 Parallel connected with the resistor R d1 In series with the resistor R d4 And the resistance R d5 The voltage of the positive pin of the comparator is the resistor R d1 Said resistor R d2 And the resistance R d3 The voltage at the junction is the voltage of the negative pin of the comparator is the resistor R d4 And the resistance R d5 The voltage of the connection part is higher than the voltage of the negative pin of the comparator, the second voltage control signal output by the comparator is input to the ith input end of the controller, and the ith phase winding of the stepping motor is electrified.
The N-phase P-swatter stepper motor may be a four-phase four-swatter stepper motor, or may be a four-phase eight-swatter stepper motor, etc., where the four-phase four-swatter stepper motor is illustrated as an example, the four phases may include an a-phase, a B-phase, a C-phase, and a D-phase, and the four swatters may include a first swatter, a second swatter, a third swatter, and a fourth swatter; the duration of each beat may be 4 milliseconds (ms).
In a first beat (0-4 ms), the controller controls the 1 st output end A_OUT end of the controller to output a first voltage control signal of 5 volts (V); the first voltage control signal drives the triode Q to be conducted through a protection resistor R on one hand so that an A-phase winding of the stepping motor is electrified, and the first voltage control signal passes through the resistor R on the other hand d1 The resistance R d2 And the resistance R d3 The resistor R is connected in parallel to divide the voltage, and Q1 is turned on d2 And the resistance R d3 Equivalent parallel connection is connected with ground, and the equivalent parallel resistance is equal to R d2 *R d3 /(R d2 +R d3 ) =86×20/(86+20) =16.3 kΩ, and resistor R d1 The voltage divided after the series connection is equal to (R d2 //R d3 )/(R d1 +(R d2 //R d3 ) A) =16.3K/(20k+16.3k) ×a_out=0.449×5v=2.25V, a voltage of 2.25V is input to the positive pin of the comparator; the resistor R d4 And the resistance R d5 The first external power supply V1 outputs 5V voltage in series connection and passes through the resistor R d4 And the resistance R d5 The resistance R d5 The voltage obtained after voltage division is equal to R d5 /(R d5 +R d4 ) V=10/(10+15) 5=2v, and the voltage of 2V is input to the negative pin of the comparator, so the voltage of the positive pin of the comparator is higher than the voltage of the negative pin of the comparator, and the comparator outputs a high level and inputs the high level to the a_in port of the controller.
In a second beat (4-8 ms), the controller controls the 2 nd output end B_OUT end of the controller to output a first voltage control signal of 5 volts (V); the first voltage control signal drives the triode Q to be conducted through a protection resistor R on one hand so that the B-phase winding of the stepping motor is electrified, and the first voltage control signal passes through the resistor R on the other hand d1 The resistance R d2 And the resistance R d3 The resistor R is connected in parallel to divide the voltage, and Q1 is turned on d2 And the resistance R d3 Equivalent parallel connection is connected with ground, and the equivalent parallel resistance is equal to R d2 *R d3 /(R d2 +R d3 ) =86×20/(86+20) =16.3 kΩ, and resistor R d1 The voltage divided after the series connection is equal to (R d2 //R d3 )/(R d1 +(R d2 //R d3 ) A) =16.3K/(20k+16.3k) ×b_out=0.449×5v=2.25V, a voltage of 2.25V is input to the positive pin of the comparator; the resistor R d4 And the resistance R d5 The first external power supply V1 outputs 5V voltage in series connection and passes through the resistor R d4 And the resistance R d5 The resistance R d5 The voltage obtained after voltage division is equal to R d5 /(R d5 +R d4 ) V=10/(10+15) 5=2v, and the voltage of 2V is input to the negative pin of the comparator, so the voltage of the positive pin of the comparator is higher than the voltage of the negative pin of the comparator, and the comparator outputs a high level and inputs the high level to the b_in port of the controller.
In a third beat (8-12 ms), the controller controls the 3 rd output end C_OUT end of the controller to output a first voltage control signal of 5 volts (V); the first voltage control signal drives the triode Q to be conducted through a protection resistor R on one hand so that a C-phase winding of the stepping motor is electrified, and the first voltage control signal passes through the resistor R on the other hand d1 The resistance R d2 And the resistance R d3 The resistor R is connected in parallel to divide the voltage, and Q1 is turned on d2 And the resistance R d3 Equivalent parallel connection is connected with ground, and the equivalent parallel resistance is equal to R d2 *R d3 /(R d2 +R d3 ) =86×20/(86+20) =16.3 kΩ, and resistor R d1 The voltage divided after the series connection is equal to (R d2 //R d3 )/(R d1 +(R d2 //R d3 ) A) =16.3K/(20k+16.3k) ×c_out=0.449×5v=2.25V, a voltage of 2.25V is input to the positive pin of the comparator; the resistor R d4 And the resistance R d5 The first external power supply V1 outputs 5V voltage in series connection and passes through the resistor R d4 And the resistance R d5 The resistance R d5 The voltage obtained after voltage division is equal to R d5 /(R d5 +R d4 ) V=10/(10+15) 5=2v, and the voltage of 2V is input to the negative pin of the comparator, so the voltage of the positive pin of the comparator is higher than the voltage of the negative pin of the comparator, and the comparator outputs a high level and inputs the high level to the c_in port of the controller.
In a fourth beat (12-16 ms), the controller controls the 4 th output end D_OUT end of the controller to output a first voltage control signal of 5 volts (V); the first voltage control signal drives the triode Q to be conducted through a protection resistor R on one hand so that a D-phase winding of the stepping motor is electrified, and the first voltage control signal passes through the resistor R on the other hand d1 The resistance R d2 And the resistance R d3 Parallel voltage division due toQ1 is on, so the resistor R d2 And the resistance R d3 Equivalent parallel connection is connected with ground, and the equivalent parallel resistance is equal to R d2 *R d3 /(R d2 +R d3 ) =86×20/(86+20) =16.3 kΩ, and resistor R d1 The voltage divided after the series connection is equal to (R d2 //R d3 )/(R d1 +(R d2 //R d3 ) A) =16.3K/(20k+16.3k) ×d_out=0.449×5v=2.25V, a voltage of 2.25V is input to the positive pin of the comparator; the resistor R d4 And the resistance R d5 The first external power supply V1 outputs 5V voltage in series connection and passes through the resistor R d4 And the resistance R d5 The resistance R d5 The voltage obtained after voltage division is equal to R d5 /(R d5 +R d4 ) V=10/(10+15) 5=2v, and the voltage of 2V is input to the negative pin of the comparator, so the voltage of the positive pin of the comparator is higher than the voltage of the negative pin of the comparator, and the comparator outputs a high level and inputs the high level to the d_in port of the controller.
In some embodiments, the controller is further configured to control, in a cycle of consecutive P beats, the ith output terminal of the controller to output a third voltage control signal sequentially in other beats of the stepper motor except for the ith beat in order of the first phase to the nth phase and the first end to the nth end;
the resistor R is used for controlling the output of the second external power supply to energize the ith phase winding of the stepping motor when the triode is cut off and the second external power supply outputs a fourth voltage control signal d1 And the resistance R d3 Parallel connected with the resistor R d2 In series with the resistor R d4 And the resistance R d5 The voltage of the positive pin of the comparator is the resistor R d1 Said resistor R d2 And the resistance R d3 The voltage at the junction is the voltage of the negative pin of the comparator is the resistor R d4 And the resistance R d5 The voltage of the connecting part is higher than the voltage of the positive pin of the comparator, and a fifth voltage control signal output by the comparator is input to the ith input end of the controller.
Wherein, referring to FIG. 2, in the secondIn the fourth beat (4-16 ms), the controller controls the A_OUT end of the transistor to output low level, and the triode Q is cut off. A second external power supply V2 outputs 24V voltage, and the 24V voltage passes through the resistor R through the A-phase winding of the stepping motor d2 And the resistance R d3 And the resistance R d1 Is connected in parallel with the ground voltage division, and the equivalent parallel resistance is equal to R d3 *R d1 /(R d3 +R d1 ) =20×20/(20+20) =10kΩ, and resistance R d2 The voltage divided after the series connection is equal to (R d1 //R d3 )/(R d2 +(R d1 //R d3 ) A voltage of 2.5V is input to the positive pin of the comparator, =10k/(86k+10k) ×24=0.104×24v=2.50V; the resistor R d4 And the resistance R d5 The first external power supply V1 outputs 5V voltage in series connection and passes through the resistor R d4 And the resistance R d5 The resistance R d5 The voltage obtained after voltage division is equal to R d5 /(R d5 +R d4 ) V=10/(10+15) 5=2v, and the voltage of 2V is input to the negative pin of the comparator, so the voltage of the positive pin of the comparator is higher than the voltage of the negative pin of the comparator, and the comparator still outputs a high level and inputs to the a_in port of the controller.
In the first beat (0-4 ms), the third beat (8-12 ms) and the fourth beat (12-16 ms), the controller controls the B_OUT terminal to output low level, and the triode Q is cut off. A second external power supply V2 outputs 24V voltage, and the 24V voltage passes through the resistor R through the B-phase winding of the stepping motor d2 And the resistance R d3 And the resistance R d1 Is connected in parallel with the ground voltage division, and the equivalent parallel resistance is equal to R d3 *R d1 /(R d3 +R d1 ) =20×20/(20+20) =10kΩ, and resistance R d2 The voltage divided after the series connection is equal to (R d1 //R d3 )/(R d2 +(R d1 //R d3 ) A voltage of 2.5V is input to the positive pin of the comparator, =10k/(86k+10k) ×24=0.104×24v=2.50V; the resistor R d4 And the resistance R d5 The first external power supply V1 outputs 5V voltage in series connection and passes through the resistor R d4 And the resistance R d5 The resistance R d5 The voltage obtained after voltage division is equal toR d5 /(R d5 +R d4 ) V=10/(10+15) 5=2v, and the voltage of 2V is input to the negative pin of the comparator, so the voltage of the positive pin of the comparator is higher than the voltage of the negative pin of the comparator, and the comparator still outputs a high level and inputs to the b_in port of the controller.
In the first beat (0-4 ms), the second beat (4-8 ms) and the fourth beat (12-16 ms), the controller controls the C_OUT terminal of the controller to output low level, and the triode Q is cut off. A second external power supply V2 outputs 24V voltage, and the 24V voltage passes through the resistor R through the C-phase winding of the stepping motor d2 And the resistance R d3 And the resistance R d1 Is connected in parallel with the ground voltage division, and the equivalent parallel resistance is equal to R d3 *R d1 /(R d3 +R d1 ) =20×20/(20+20) =10kΩ, and resistance R d2 The voltage divided after the series connection is equal to (R d1 //R d3 )/(R d2 +(R d1 //R d3 ) A voltage of 2.5V is input to the positive pin of the comparator, =10k/(86k+10k) ×24=0.104×24v=2.50V; the resistor R d4 And the resistance R d5 The first external power supply V1 outputs 5V voltage in series connection and passes through the resistor R d4 And the resistance R d5 The resistance R d5 The voltage obtained after voltage division is equal to R d5 /(R d5 +R d4 ) V=10/(10+15) 5=2v, and the voltage of 2V is input to the negative pin of the comparator, so the voltage of the positive pin of the comparator is higher than the voltage of the negative pin of the comparator, and the comparator still outputs a high level and inputs to the c_in port of the controller.
In the first beat to the third beat (0-12 ms), the controller controls the D_OUT terminal to output low level, and the triode Q is cut off. A second external power supply V2 outputs 24V voltage, and the 24V voltage passes through the resistor R through the D-phase winding of the stepping motor d2 And the resistance R d3 And the resistance R d1 Is connected in parallel with the ground voltage division, and the equivalent parallel resistance is equal to R d3 *R d1 /(R d3 +R d1 ) =20×20/(20+20) =10kΩ, and resistance R d2 The voltage divided after the series connection is equal to (R d1 //R d3 )/(R d2 +(R d1 //R d3 ))=10K/(86K+10K) 24=0.104×24v=2.50V, a voltage of 2.5V is input to the positive pin of the comparator; the resistor R d4 And the resistance R d5 The first external power supply V1 outputs 5V voltage in series connection and passes through the resistor R d4 And the resistance R d5 The resistance R d5 The voltage obtained after voltage division is equal to R d5 /(R d5 +R d4 ) V=10/(10+15) 5=2v, and the voltage of 2V is input to the negative pin of the comparator, so the voltage of the positive pin of the comparator is higher than the voltage of the negative pin of the comparator, and the comparator still outputs a high level and inputs to the d_in port of the controller.
In some embodiments, in the case that the i-th phase winding of the stepper motor generates an inverse electromotive force in the i+2 th beat of the stepper motor, the voltage of the positive pin of the comparator is smaller than the voltage of the negative pin of the comparator, and the sixth voltage control signal output by the comparator is input to the i-th input terminal of the controller.
Wherein when the third beat of the stepping motor is ended and the fourth beat (12 ms) is entered, the C phase winding is disconnected, the A phase winding has an opposite electromotive force, and when the opposite electromotive force is less than 79% of the 24V voltage, the voltage divided to the positive pin of the comparator changes to (R) d1 //R d3 )/(R d2 +(R d1 //R d3 ) As a result, the voltage of the positive pin of the comparator is lower than the voltage of the negative pin of the comparator, the comparator outputs a low level and inputs the low level to the a_in port of the controller, fig. 3 is a timing waveform diagram of the operation of the stepping motor provided IN the embodiment of the present application, referring to fig. 3, the a_in port can obtain a pulse with a low level at 12 ms.
When the fourth beat of the stepping motor is ended and the stepping motor enters the fifth beat (16 ms), the fourth beat is a new first beat, the D phase winding is disconnected, the B phase winding has an opposite electromotive force, and when the opposite electromotive force is less than 79% of 24V voltage, 24V is 79% = 18.96V, the voltage divided to the positive pin of the comparator is changed to (R) d1 //R d3 )/(R d2 +(R d1 //R d3 ))=10K/(86K+10K)*18.96 The voltage of the positive pin of the comparator is lower than the voltage of the negative pin of the comparator, the comparator outputs a low level and inputs the low level to the b_in port of the controller, fig. 3 is a waveform diagram of the operation timing sequence of the stepping motor according to the embodiment of the application, and referring to fig. 3, the b_in port can obtain a low level pulse at 0ms and 16 ms.
When the fifth beat of the stepping motor is finished and the stepping motor enters the sixth beat (20 ms), the A phase winding is disconnected, the C phase winding has an opposite electromotive force, and when the opposite electromotive force is less than 79% of the 24V voltage, the voltage divided to the positive pin of the comparator changes to (R) d1 //R d3 )/(R d2 +(R d1 //R d3 ) As a result, the voltage of the positive pin of the comparator is lower than the voltage of the negative pin of the comparator, the comparator outputs a low level and inputs the low level to the c_in port of the controller, fig. 3 is a timing waveform diagram of the operation of the stepping motor provided IN the embodiment of the present application, referring to fig. 3, the c_in port can obtain a pulse with a low level at 4ms and 20 ms.
When the sixth beat of the stepping motor is completed and the stepping motor enters the seventh beat (24 ms), the B phase winding is disconnected, the D phase winding has an opposite electromotive force, and when the opposite electromotive force is less than 79% of the 24V voltage, the voltage divided to the positive pin of the comparator changes to (R) d1 //R d3 )/(R d2 +(R d1 //R d3 ) As a result, the voltage of the positive pin of the comparator is lower than the voltage of the negative pin of the comparator, the comparator outputs a low level and inputs the low level to the d_in port of the controller, fig. 3 is a timing waveform diagram of the operation of the stepping motor provided IN the embodiment of the present application, referring to fig. 3, the d_in port can obtain a low level pulse at 8ms and 24 ms.
In some embodiments, in the i+2 th beat of the stepper motor, the i-th phase winding of the N-phase P beat stepper motor is open circuit without generating an inverse electromotive force.
Wherein, referring to fig. 3, in the case that the a-phase winding of the stepping motor does not generate the reverse electromotive force at 12ms, the a-phase winding of the stepping motor is illustrated as open-circuited; in the case that the B-phase winding of the stepping motor does not generate the reverse electromotive force at 0ms or 16ms, the B-phase winding of the stepping motor is illustrated as open circuit; in the case that the C-phase winding of the stepper motor does not generate the reverse electromotive force at the 4ms, the C-phase winding of the stepper motor is indicated to be open; in the case where the D-phase winding of the stepping motor does not generate the inverse electromotive force at 8ms, the D-phase winding of the stepping motor is illustrated as open-circuited.
In the embodiment of the application, whether the winding is open-circuited is determined according to whether the winding of the stepping motor generates the opposite-phase electromotive force in a specific beat, so that the state of the winding of the stepping motor can be more conveniently and accurately determined.
In some embodiments, the N-phase P-beat stepper motor drives the oscillating mechanism of the electric fan to a boundary position in the case where the i-th phase winding of the stepper motor generates an inverse electromotive force in beats other than the i+2th beat.
In the embodiment of the application, whether the oscillating mechanism reaches the oscillating boundary is determined according to whether the windings of the stepping motor generate the opposite electromotive force or not, and whether the oscillating mechanism reaches the boundary position can be determined more conveniently and accurately.
Fig. 4 is a waveform diagram of another operation timing sequence of a stepper motor according to the embodiment of the present application, referring to fig. 4, an inverted electromotive force is generated at 8ms except 12ms, an inverted electromotive force is generated at 11ms except 0ms and 12ms, and if the number of pole pairs of a stator of the stepper motor is 2 times that of a pole pair of a rotor, the stepper motor will "reverse", and when the oscillating mechanism is blocked, the winding of the stepper motor will output an inverted voltage as shown in fig. 4, so that it can be determined that the oscillating mechanism of the electric fan reaches a boundary position, and the oscillating mechanism can be controlled to rotate toward another boundary position.
In some embodiments, each of the voltage dividing circuitsComprises a voltage dividing resistor and a comparator, wherein the voltage dividing resistor comprises a resistor R d2 、R d3 、R d4 And R is d5 Fig. 2 is a schematic circuit diagram of a control circuit of an electric fan according to an embodiment of the present application, referring to fig. 2, wherein:
each of the resistors R d2 The collector of the triode is commonly connected with the output end of the N-phase stepping motor;
Each of the resistors R d3 One end of the resistor R d5 The emitter of the triode and the one end of the triode are commonly grounded;
one end of each protection resistor is connected with the output end of the controller;
each of the resistors R d2 The other end of the resistor R d3 The other end of the first and second switches is commonly connected with the positive pin of the comparator; each of the resistors R d4 And said resistor R d5 The other end of the first and second switches is commonly connected with the negative pin of the comparator;
the output end of the comparator is connected with the input end of the controller, and the input end of the controller is the input end corresponding to the output end of the controller;
each of the resistors R d4 The other end of the first power supply is connected with a first external power supply; the other end of each protection resistor is connected with the base electrode of the triode.
Wherein the resistance of the protection resistor R can be 470 ohm (omega), the resistor R d2 The resistance of (a) may be 86 kilo-ohms (kΩ), the resistance R d3 Can be 10 kilo-ohms (kΩ), the resistance R d4 Can be 15 kilo-ohms (kΩ), the resistance R d5 May be 10 kiloohms (kΩ); the comparator may be of the model LM324.
The control principle of the embodiment of the application is the same as that of the above embodiment, and is not repeated, IN the embodiment of the application, after the output of the first beat to the fourth beat of the stepper motor, the A_IN port, the B_IN port, the C_IN port and the D_IN port of the controller MCU U1 receive 2 normal pulses, which indicate that the motor normally operates, if 1 or no pulse is received, the motor winding is opened, if more than 3 (including three pulse) pulse are received, the motor is blocked, the boundary position of shaking head is reached, the current angle is set as the boundary angle, and the positioning is completed.
In the embodiment of the application, whether the winding is open-circuited is determined according to whether the winding of the stepping motor generates the opposite-phase electromotive force in a specific beat or not, so that the state of the winding of the stepping motor can be more conveniently and accurately determined; whether the oscillating mechanism reaches the oscillating boundary or not is determined according to whether the windings of the stepping motor generate the opposite-phase electromotive force or not, and therefore whether the oscillating mechanism reaches the boundary position or not can be determined more conveniently and accurately.
In the related art, a stepping motor is used for monitoring reverse voltage during motor rotation in a connecting way, a limiting device is arranged at the boundary of the head shaking of a common electric fan, and after the head shaking mechanism reaches the boundary of the head shaking, the head shaking mechanism is limited by the limiting device and cannot exceed the physical head shaking range limited by the head shaking mechanism. The drive motor of the panning mechanism is typically a four phase stepper motor.
Fig. 5 is a schematic circuit diagram of a control circuit of an electric fan according to an embodiment of the present application, referring to fig. 5, after a controller outputs a driving pulse, a stepping motor rotates by an angle, when a head-shaking mechanism reaches a head-shaking boundary, the head-shaking mechanism is blocked, the stepping motor cannot continue to rotate, a continuous output beat motor can be reversed, a motor winding can output an inverse voltage, and it can be determined that the head-shaking mechanism reaches the boundary. The controller shakes according to the current angle and the shaking angle set by the user, so that the shaking angle can be positioned without a Hall sensor and a magnet. The following is based on the working principle of a four-phase stepper motor, assuming an output of 4mS per beat, and the working process is illustrated by taking 4 beats as an example:
First beat (0 to 4 mS): the A_OUT port of the controller MCU U1 outputs 5V high level, the triode Q1 is driven to be conducted through the protection resistor R1, and the phase A winding of the stepping motor is electrified and rotated for an angle; the other path is divided by a dividing resistor R2, a dividing resistor R3 and a dividing resistor R4 in parallel, and as a triode Q1 is conducted, the dividing resistor R3 and the dividing resistor R4 are equivalently and connected with each other, the equivalent parallel resistance is equal to R3×R4/(R3+R4) =86×20/(86+20) =16.3K, after the 5V high level output by the A_OUT port is divided by the parallel connection formed by the dividing resistor R2, the dividing resistor R3 and the dividing resistor R4, the equivalent parallel voltage of the dividing resistor R3 and the dividing resistor R4 after the division is equal to (R3// R4)/(R2+ (R3// R4))=16.3K/(20K+16.3K) ×A_OUT=0.449×5V=2.25V, and the equivalent parallel voltage is input to the positive end of the comparator; the voltage of 5V output by the first external power supply is divided by the dividing resistor R5 and the dividing resistor R6, the voltage of the dividing resistor R6 after the division is equal to R6/(R6+R5) V=10/(10+15) 5=2V, and the divided voltage is input to the negative terminal of the comparator, so that the voltage of the positive terminal of the comparator is 2.25V higher than the voltage of the negative terminal of the machine, and the comparator outputs a high level and is input to the A_IN port of the controller MCU.
The a_out of the second to fourth beats (4 to 16 mS) controller MCU U1 outputs a low level, and the transistor Q1 is turned off. The 24V voltage output by the second external power supply is divided by the parallel connection of the phase winding of the motor A through the voltage dividing resistor R3 and the voltage dividing resistor R4 and the voltage dividing resistor R2, the parallel equivalent resistance R4 of the voltage dividing resistor R4 and the voltage dividing resistor R2 is equal to (R2// R4)/(R3+ (R2// R4))=10K/(86K+10K) ×24=0.104×24V=2.50V after the 24V voltage is divided by the parallel connection formed by the voltage dividing resistor R3 and the voltage dividing resistor R4 and the voltage dividing resistor R2, and the equivalent parallel voltage of the voltage dividing resistor R4 and the voltage dividing resistor R2 is input to the positive end of the comparator. The positive terminal voltage of the comparator is 2.50V higher than the negative terminal voltage of the comparator, 2V, so the comparator still outputs a high level and inputs the high level to the A_IN port of the controller MCU. When the phase a winding has a normal reverse electromotive force at 12mS (when the phase C winding is turned off), when the reverse electromotive force is less than 79%, the voltage is 1.97V after a voltage division ratio of 0.104 is inputted to the positive end of the comparator and is smaller than the negative end voltage 2V of the comparator, therefore, the comparator outputs a low level and inputs the low level to the a_in port of the controller MCU for processing, and when the reverse electromotive force is higher than 80% (the resistance values of the voltage dividing resistor R5 and the voltage dividing resistor R6 can be adjusted, other ratios such as 70%) can be selected, the comparator outputs a high level. When the a_out port of the controller MCU U1 outputs a low level and the reverse voltage of the motor winding is less than 80%, referring to fig. 3, the a_in of the controller MCU U1 may obtain 1 pulse of a low level, and may obtain a low level IN one period without locked rotation.
Second beat (4 to 8 mS): the B_OUT port of the controller MCU U1 outputs 5V high level, the triode Q2 is driven to be conducted through the voltage dividing resistor R7, and the B phase winding of the stepping motor is electrified and rotated for an angle; the other path is divided by a dividing resistor R8 in parallel, the dividing resistor R9 and the dividing resistor R10 are connected in parallel, and as the triode Q2 is conducted, the dividing resistor R9 and the dividing resistor R10 are equivalent and connected with each other, the equivalent parallel resistance is equal to R9R 10/(R9 + R10) =86×20/(86 + 20) =16.3K, after the 5V high level output by the B_OUT port is divided by the parallel connection formed by the dividing resistor R8, the dividing resistor R9 and the dividing resistor R10, the voltage at the ends of the dividing resistor R9 and the dividing resistor R10 is equal to (R9// R10)/(R8+ (R9// R10))=16.3K/(20K+16.3K) B_OUT=0.449×5V=2.25V, and the voltage is input to the positive end of the comparator; the voltage of 5V output by the first external power supply is divided by the voltage dividing resistor R11 and the voltage dividing resistor R12, after the voltage division, the voltage at the ends of the voltage dividing resistor R11 and the voltage dividing resistor R12 is equal to R12/(r12+r11) ×v=10/(10+15) ×5=2v, and the voltage is input to the negative terminal of the comparator, therefore, the voltage of the positive terminal of the comparator is 2.25V higher than the voltage of the negative terminal of the comparator by 2V, and the comparator outputs a high level and inputs the high level to the b_in port of the MCU.
First beat (0 to 4 mS), third beat (8 to 12 mS), and fourth beat (12 to 16 mS): the b_out of the controller MCU U1 outputs a low level, and the transistor Q2 is turned off. The 24V voltage output by the second external power supply is divided by the parallel connection of the phase B winding of the motor through a voltage dividing resistor R9 and a voltage dividing resistor R10 and a voltage dividing resistor R8, wherein the parallel connection equivalent resistor R10 is equal to R8/(86K+10K) 24=0.104×24V=2.50V, and after the 24V voltage is divided by the parallel connection formed by the voltage dividing resistor R9, the voltage dividing resistor R10 and the voltage dividing resistor R8, the voltage at the ends of the voltage dividing resistor R10 and the voltage dividing resistor R8 is equal to (R8// R10)/(R9+ (R8// R10))=10K/(86K) ×24=0.104×24V=2.50V, the voltage is input to the positive end of the comparator. The positive terminal voltage of the comparator is 2.50V higher than the negative terminal voltage of the comparator, 2V, so the comparator still outputs a high level and inputs the B_IN port of the MCU. When the phase B winding has a normal reverse phase potential at 16mS (when the phase D winding is turned off), when the reverse phase potential is less than 79%, 24v×79+=18.96V, a voltage of 1.97V after a voltage division ratio of 0.104 is inputted to the positive terminal of the comparator, which is smaller than the negative terminal voltage of the machine by 2V, so that the comparator outputs a low level and inputs to the port b_in of the controller MCU for processing, and when the reverse phase potential is higher than 80%, the comparator outputs a high level. When the b_out port of the controller MCU U1 outputs a low level and the inverse voltage of the motor winding is less than 80%, referring to fig. 3, the b_in of the controller MCU U1 may obtain 1 pulse of a low level, and may obtain a low level IN one period without locked rotation.
Third beat (8 to 12 mS): the C_OUT port of the controller MCU U1 outputs 5V high level, the triode Q3 is driven to be conducted through the divider resistor R13, and the C phase winding of the stepping motor is electrified and rotated for an angle; the other path is divided by a divider resistor R14, the divider resistor R15 and the divider resistor R16 in parallel, and the triode Q3 is conducted, so that the divider resistor R15 and the divider resistor R16 are equivalent and connected with each other, the equivalent parallel resistor is equal to R15×R16/(R15+R16) =86×20/(86+20) =16.3K, after the 5V high level output by the C_OUT port is divided by the parallel connection formed by the divider resistor R14, the divider resistor R15 and the divider resistor R16, the voltage at the ends of the divider resistor R15 and the divider resistor R16 is equal to (R15// R16)/(R14+ (R15// R16))=16.3K/(20K+16.3K) ×C_OUT=0.449×5V=2.25V, and the voltage is input to the positive end of the comparator; the voltage of 5V output by the first external power supply is divided by the voltage dividing resistor R17 and the voltage dividing resistor R18, after the voltage division, the voltage at the ends of the voltage dividing resistor R17 and the voltage dividing resistor R18 is equal to R18/(r18+r17) ×v=10/(10+15) ×5=2v, and the voltage is input to the negative terminal of the comparator, therefore, the voltage of the positive terminal of the comparator is 2.25V higher than the voltage of the negative terminal of the comparator by 2V, and the comparator outputs a high level and inputs the high level to the c_in port of the controller MCU.
First beat (0 to 4 mS), second beat (4-8 mS), and fourth beat (12 to 16 mS): the controller MCU U1 outputs a low level at C_OUT, and the transistor Q3 is turned off. The voltage of the second external power supply 24V is divided by parallel connection of a motor C phase winding through a voltage dividing resistor R15 and a voltage dividing resistor R16 and a voltage dividing resistor R14, the parallel equivalent resistance r16×r14/(r16+r14) =20×20/(20+20) =10k, after the voltage of the 24V is divided by parallel connection formed by the voltage dividing resistor R15 and the voltage dividing resistor R16 and the voltage dividing resistor R14, the voltage at the ends of the voltage dividing resistor R16 and the voltage dividing resistor R14 is equal to (r14// r16)/(r15+ (r14// r16))=10k/(86k+10k) ×24=0.104×24v=2.50v, and the divided voltage is input to the positive end of the comparator. The positive terminal voltage of the comparator is 2.50V higher than the negative terminal voltage of the comparator, 2V, so the comparator still outputs a high level and inputs the C_IN port of the MCU. When the C-phase winding has a normal reverse phase potential at 4mS (when the A-phase winding is disconnected), when the reverse phase potential is less than 79%, 24V is 79% = 18.96V, a voltage which is 1.97V after a voltage division ratio of 0.104 is input to the positive end of the comparator and is smaller than the negative end voltage of the machine is 2V, so that the comparator outputs a low level and inputs the low level to the C_IN port of the MCU for processing, and when the reverse phase potential is higher than 80%, the comparator outputs a high level. When the c_out port of the MCU U1 outputs a low level, referring to fig. 3, when the inverse voltage of the motor winding is less than 80%, the c_in of the MCU U1 may obtain 1 pulse of a low level, and one period may obtain a low level without blocking.
Fourth beat (12 to 16 mS): the D_OUT port of the controller MCU U1 outputs 5V high level, the triode Q4 is driven to be conducted through the divider resistor R19, and the D phase winding of the stepping motor is electrified and rotated for an angle; the other path is divided by a dividing resistor R20 in parallel, the dividing resistor R21 and the dividing resistor R22 are connected in parallel, and as the triode Q4 is conducted, the dividing resistor R21 and the dividing resistor R22 are equivalent and connected with each other, the equivalent parallel resistance is equal to R21×R22/(R21+R22) =86×20/(86+20) =16.3K, after the 5V high level output by the D_OUT port is divided by the parallel connection formed by the dividing resistor R20, the dividing resistor R21 and the dividing resistor R22, the voltage at the ends of the dividing resistor R21 and the dividing resistor R22 is equal to (R21// R22)/(R20+ (R21// R22))=16.3K/(20K+16.3K) ×D_OUT=0.449×5V=2.25V, and then the voltage is input to the positive end of the comparator; the 5V voltage is divided by R23 and R24, and the divided voltage=r24/(r24+r23) v=10/(10+15) 5=2v is input to the negative terminal of the comparator. Therefore, the voltage 2.25V at the positive terminal of the comparator is higher than the voltage 2V at the negative terminal of the comparator, so the comparator outputs a high level and inputs the high level to the D_IN port of the MCU.
First beat to third beat (0 to 12 mS): D_OUT of the controller MCU U1 outputs a low level, and the triode Q4 is cut off. The 24V voltage output by the second external power supply is divided by the parallel connection of the motor D phase winding through a voltage dividing resistor R21 and a voltage dividing resistor R22 and a voltage dividing resistor R20, wherein the parallel connection equivalent resistor R22 is equal to (R20// R22)/(R21+ (R20// R22))=10K/(86K+10K) ×24=0.104×24V=2.50V after the 24V voltage is divided by the parallel connection formed by the voltage dividing resistor R21, the voltage dividing resistor R22 and the voltage dividing resistor R20, and the voltage at the ends of the voltage dividing resistor R22 and the voltage dividing resistor R20 is equal to (R20// R22). The positive terminal voltage of the comparator is 2.50V higher than the negative terminal voltage of the comparator, 2V, so the comparator still outputs a high level and inputs the D_IN port of the MCU. When the D-phase winding has a normal reverse phase potential at 8mS (when the B-phase winding is turned off), when the reverse phase potential is less than 79%, 24v×79+=18.96V, a voltage of 1.97V after a voltage division ratio of 0.104 is inputted to the positive terminal of the comparator, which is smaller than the negative terminal voltage of the machine by 2V, so that the comparator outputs a low level and inputs to the d_in port of the controller MCU for processing, and when the reverse phase potential is higher than 80%, the comparator outputs a high level. When the d_out port of the controller MCU U1 outputs a low level, referring to fig. 3, when the inverse voltage of the motor winding is less than 80%, the d_in of the controller MCU U1 may obtain 1 pulse of a low level, and may obtain a low level IN one period without locked rotation.
After the first beat to the fourth beat are output, the controller MCU U1 receives a normal pulse from the A_IN, the B_IN, the C_IN and the D_IN, and if the pulse is not received, the motor is normally operated, and if the pulse is not received, the motor winding is opened. Referring to fig. 4, if more than 2 motors are received, the motors are blocked, the boundary position of shaking head is reached, the current angle is set as the boundary angle, and the positioning is completed.
The embodiment of the application also provides another control circuit, which does not include a voltage dividing resistor R2, a voltage dividing resistor R8, a voltage dividing resistor R14 and a voltage dividing resistor R20, wherein the resistance values of the voltage dividing resistor R4, the voltage dividing resistor R10, the voltage dividing resistor R16 and the voltage dividing resistor R22 are changed to 10K, the control principle is the same as the above, after the first beat to the fourth beat are output, the A_IN port, the B_IN port, the C_IN port and the D_IN port of the controller MCU U1 receive 2 normal pulses to indicate that the motor operates normally, if 1 or no pulse is received, the motor winding is opened, if more than 3 pulses (including three pulses) are received, the motor is blocked, the shaking boundary position is reached, the current angle is set as the boundary angle, and the positioning is completed.
In the related art, the electric fans need to swing at accurate angles of 30, 60, 90, 120 degrees and the like, absolute position (0 degree) reset is needed first, different reset time is needed at different positions of the swing mechanism in the reset process, the worst position may need to be blocked for 15 seconds, the reset time is long, and the user requirements cannot be well met. Meanwhile, a Hall sensor and a magnet form a reset system, so that the circuit is complex, the structure is complex, and the cost is high.
When the output port of the MCU in the embodiment of the application is utilized to output and drive the motor to rotate, the comparator is controlled to output high level (the level is not changed), and when the output low level is output, if the counter potential of the motor winding is less than 80%, a normal feedback pulse can be received, and if more than 2 pulses are received, the motor is locked. The MCU is also integrated with a comparator function, and the MUC internal comparator can be used for comparison, so that a peripheral circuit is simplified.
Fig. 6 is a control method of an electric fan according to an embodiment of the present application, referring to fig. 6, the method includes:
step 602: in a cycle of taking continuous four beats as one cycle, sequentially controlling an ith output end of the stepping motor to output a first voltage control signal in the ith beat of the stepping motor according to the sequence of a first phase to an Nth phase and a first end to an Nth end, wherein the first voltage control signal respectively reaches a positive pin and a negative pin of a comparator through a protection resistor, a triode and a voltage dividing resistor, so that the comparator outputs a second voltage control signal;
step 604: controlling an ith output end to output a third voltage control signal in other beats except an ith beat of the stepping motor, wherein the third voltage control signal respectively reaches a positive foot and a negative foot of the comparator through a protection resistor, a triode and a divider resistor, an ith phase winding of the stepping motor generates reverse electromotive force in the ith+2 beat, so that the comparator outputs a sixth voltage control signal in the ith+2 beat, and the comparator outputs a fifth voltage control signal in the ith+1 beat and the ith+3 beat;
Step 606: respectively acquiring second voltage control signals received by an ith input end at an ith beat, sixth voltage control signals received by an ith input end at an (i+2) th beat, and fifth voltage control signals received by an ith input end at an (i+1) th beat and an (i+3) th beat;
the ith beat may be one of a first beat to a fourth beat, the ith output end may be one of a first output end to a fourth output end, the first output end to the fourth output end may be an a_out end, a b_out end, a c_out end and a d_out end IN sequence, the ith input end may be one of a first input end to a fourth input end, the first input end to the fourth input end may be an a_in end, a b_in end, a c_in end and a d_in end IN sequence, the first voltage control signal may be a 5V high-level voltage control signal, and the second voltage control signal may be a high-level voltage control signal; the third voltage control signal may be a low level voltage control signal, the fourth voltage control signal may be a low level voltage control signal, and the fifth voltage control signal may be a high level voltage control signal.
In one embodiment, the controller outputs a 5V high level at the first beat control a_out terminal, the 5V high level reaches the positive pin and the negative pin of the comparator through the protection resistor, the triode and the voltage dividing resistor respectively, so that the voltage of the positive pin of the comparator is greater than the voltage of the negative pin, and the comparator outputs a high level.
Correspondingly, the controller controls the A_OUT terminal to output a low level in the second to fourth beats, the second external power supply outputs 24V voltage, and the A-phase winding of the stepping motor generates an opposite-phase electromotive force at the end (12 ms) of the third beat, so that the voltage of the positive pin of the comparator is smaller than the voltage of the negative pin, the comparator outputs a low level, the voltage of the positive pin of the comparator is larger than the voltage of the negative pin in the second and fourth beats, and the comparator outputs a high level, therefore, the A-phase winding has a pulse with a low level at 12 ms; the controller obtains high-level voltage control signals received by the A_IN end IN the first beat, the second beat and the fourth beat, and obtains voltage control signals composed of high level and low level received by the A_IN end IN the third beat.
Similarly, the controller outputs 5V high level at the second beat control B_OUT terminal, the 5V high level respectively reaches the positive pin and the negative pin of the comparator through the protection resistor, the triode and the divider resistor, so that the voltage of the positive pin of the comparator is larger than that of the negative pin, and the comparator outputs high level.
Correspondingly, the controller controls the B_OUT terminal to output a low level in the first beat, the third beat and the fourth beat, the second external power supply outputs 24V voltage, and the B phase winding of the stepping motor generates an opposite-phase electromotive force at the tail (16 ms) of the fourth beat, so that the voltage of the positive pin of the comparator is smaller than the voltage of the negative pin, the comparator outputs a low level, the voltage of the positive pin of the comparator is larger than the voltage of the negative pin in the first beat and the third beat, and the comparator outputs a high level, therefore, the B phase winding has a pulse with a low level at 16 ms; the controller obtains high-level voltage control signals received by the B_IN end IN the first beat, the second beat and the third beat, and obtains voltage control signals composed of high level and low level received by the B_IN end IN the fourth beat.
Similarly, the controller outputs 5V high level at the C_OUT end of the third beat control, the 5V high level respectively reaches the positive pin and the negative pin of the comparator through the protection resistor, the triode and the divider resistor, so that the voltage of the positive pin of the comparator is larger than that of the negative pin, and the comparator outputs high level.
Correspondingly, the controller controls the C_OUT terminal to output a low level in the first beat, the second beat and the fourth beat, the second external power supply outputs 24V voltage, the C-phase winding of the stepping motor generates opposite-phase electromotive force at the tail (4 ms) of the first beat, so that the voltage of the positive pin of the comparator is smaller than the voltage of the negative pin, the comparator outputs a low level, in the second beat and the fourth beat, the voltage of the positive pin of the comparator is larger than the voltage of the negative pin, and the comparator outputs a high level, therefore, the C-phase winding has a low-level pulse at 20ms and 4 ms; the controller obtains high-level voltage control signals received by the C_IN end IN the second beat, the third beat and the fourth beat, and obtains voltage control signals composed of high level and low level received by the C_IN end IN the first beat.
Similarly, the controller outputs 5V high level at the D_OUT end of the third beat control, the 5V high level respectively reaches the positive pin and the negative pin of the comparator through the protection resistor, the triode and the divider resistor, so that the voltage of the positive pin of the comparator is larger than that of the negative pin, and the comparator outputs high level.
Correspondingly, the controller controls the D_OUT terminal to output a low level in the first beat, the second beat and the third beat, the second external power supply outputs 24V voltage, the D phase winding of the stepping motor generates opposite-phase electromotive force at the tail (8 ms) of the second beat, so that the voltage of the positive pin of the comparator is smaller than the voltage of the negative pin, the comparator outputs a low level, the voltage of the positive pin of the comparator is larger than the voltage of the negative pin in the first beat and the third beat, and the comparator outputs a high level, therefore, the D phase winding has a low level pulse at the 24ms and the 8 ms; the controller obtains high-level voltage control signals received by the D_IN end IN the first beat, the third beat and the fourth beat, and obtains voltage control signals composed of high level and low level received by the D_IN end IN the second beat.
Step 608: respectively acquiring a first actual voltage control signal of an ith input end of the stepping motor at an ith beat, a second actual voltage control signal of the ith input end at an (i+1) th beat, a third actual voltage control signal of the ith input end at an (i+2) th beat and a fourth actual voltage control signal of the ith input end at an (i+3) th beat;
step 610: comparing the first to fourth actual voltage control signals with the second, sixth and fifth voltage control signals, respectively, of the corresponding beats;
Wherein the first actual voltage control signal may be compared to the second voltage control signal, the second actual voltage control signal may be compared to the fifth voltage control signal, the third actual voltage control signal may be compared to the sixth voltage control signal, and the fourth actual voltage control signal may be compared to the fifth voltage control signal.
Step 612: and if the comparison result shows that the head shaking mechanism reaches the head shaking boundary, controlling the stepping motor to drive the head shaking mechanism to adjust the rotation direction.
Wherein, when the first actual voltage control signal is identical to the second voltage control signal, the second actual voltage control signal is identical to the fifth voltage control signal, the third actual voltage control signal is identical to the sixth voltage control signal, and the fourth actual voltage control signal is identical to the fifth voltage control signal, it can be determined that the oscillating mechanism does not reach the boundary; if, during a period, the a phase winding has a low level pulse at other times than 12ms, or the B phase winding has a low level pulse at other times than 16ms, or the C phase winding has a low level pulse at other times than 4ms, or the D phase winding has a low level pulse at other times than 8ms, this indicates that the panning mechanism has reached the panning boundary.
In the embodiment of the application, different voltage control signals are output at different beats through the output end of the control controller, the voltage control signals received at different beats by the input end of the control controller are received, the oscillating mechanism is determined to reach the oscillating boundary and the rotation direction is adjusted under the condition that the voltage control signals meet certain conditions, so that the locked rotation of the oscillating mechanism is avoided, and the problems of abnormal oscillation of the oscillating, damage of the oscillating motor and the like are avoided.
Fig. 7 is a control device 700 of an electric fan according to an embodiment of the present application, referring to fig. 7, the device 700 includes: a first output module 701, a second output module 702, a first acquisition module 703, a second acquisition module 704, a comparison module 705 and an adjustment module 706, wherein:
the first output module 701 is configured to control, in the order of the first phase to the nth phase, and the first end to the nth end, the ith output end of the stepper motor to output a first voltage control signal in the ith beat of the stepper motor in sequence in a period taking four consecutive beats as a period, where the first voltage control signal reaches a positive pin and a negative pin of the comparator respectively through the protection resistor, the triode, and the voltage dividing resistor, so that the comparator outputs a second voltage control signal;
The second output module 702 is configured to control the ith output end of the stepper motor to output a third voltage control signal in other beats except for the ith beat, where the third voltage control signal reaches the positive leg and the negative leg of the comparator through the protection resistor, the triode and the voltage dividing resistor, respectively, and the ith phase winding of the stepper motor generates an inverse electromotive force in the ith+2 beat, so that the comparator outputs a sixth voltage control signal in the ith+2 beat, and the comparator outputs a fifth voltage control signal in the ith+1 beat and the ith+3 beat;
a first obtaining module 703, configured to obtain, respectively, a second voltage control signal received at an ith input end at an ith beat, a sixth voltage control signal received at an ith input end at an (i+2) th beat, and a fifth voltage control signal received at an ith input end at an (i+1) th beat and an (i+3) th beat;
a second obtaining module 704, configured to obtain a first actual voltage control signal of an ith input end of the stepper motor at an ith beat, a second actual voltage control signal of the ith input end at an (i+1) th beat, a third actual voltage control signal of the ith input end at an (i+2) th beat, and a fourth actual voltage control signal at an (i+3) th beat, respectively;
a comparing module 705, configured to compare the first to fourth actual voltage control signals with the second, sixth and fifth voltage control signals, respectively;
And the adjusting module 706 is configured to control the stepper motor to drive the oscillating mechanism to adjust the rotation direction if the comparison result indicates that the oscillating mechanism reaches the oscillation boundary.
The description of the apparatus embodiments above is similar to that of the method embodiments above, with similar advantageous effects as the method embodiments. For technical details not disclosed in the embodiments of the apparatus of the present application, please refer to the description of the embodiments of the method of the present application.
It should be noted that, in the embodiment of the present application, if the control method of the electric fan is implemented in the form of a software function module, and sold or used as a separate product, the control method may also be stored in a computer readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be embodied essentially or in a part contributing to the related art in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a mobile phone, a tablet computer, a desktop computer, a personal digital assistant, a navigator, a digital phone, a video phone, a television, a sensing device, etc.) to perform all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read Only Memory (ROM), a magnetic disk, an optical disk, or other various media capable of storing program codes. Thus, embodiments of the application are not limited to any specific combination of hardware and software.
Correspondingly, an embodiment of the present application provides a control device for an electric fan, and fig. 8 is a schematic hardware entity diagram of the control device for an electric fan according to the embodiment of the present application, as shown in fig. 8, the hardware entity of the computer device 800 includes: comprises a memory 801 and a processor 802, the memory 801 storing a computer program executable on the processor 802, the processor 802 implementing the steps in the control method of the electric fan provided in the above-mentioned embodiments when executing the computer program.
The memory 801 is configured to store instructions and applications executable by the processor 802, and may also cache data (e.g., image data, audio data, voice communication data, and video communication data) to be processed or processed by various modules in the processor 802 and the computer device 800, and may be implemented by a FLASH memory (FLASH) or a random access memory (Random Access Memory, RAM).
Correspondingly, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor, implements the steps in the control method of an electric fan provided in the above-described embodiment.
It should be noted here that: the description of the storage medium and apparatus embodiments above is similar to that of the method embodiments described above, with similar benefits as the method embodiments. For technical details not disclosed in the embodiments of the storage medium and the apparatus of the present application, please refer to the description of the method embodiments of the present application.
Correspondingly, an embodiment of the present application provides a control circuit of an electric fan, including: the driving circuit is electrically connected with the stepping motor of the electric fan and is used for driving the stepping motor to rotate and stop; the current acquisition circuit is used for acquiring a current value output by the driving circuit or electrically input by the stepping motor; the controller is used for controlling the driving mechanism of the electric fan to drive the oscillating mechanism of the electric fan to rotate; under the condition that the rotation blockage of the head shaking mechanism is determined according to the current value acquired by the current acquisition circuit, determining an angle corresponding to the rotation blockage of the head shaking mechanism; determining an angle corresponding to the locked rotation of the oscillating mechanism as a reset angle; and controlling the oscillating mechanism to rotate according to the reset angle.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in various embodiments of the present application, the sequence numbers of the foregoing processes do not mean the order of execution, and the order of execution of the processes should be determined by the functions and internal logic thereof, and should not constitute any limitation on the implementation process of the embodiments of the present application. The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above described device embodiments are only illustrative, e.g. the division of the units is only one logical function division, and there may be other divisions in practice, such as: multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. In addition, the various components shown or discussed may be coupled or directly coupled or communicatively coupled to each other via some interface, whether indirectly coupled or communicatively coupled to devices or units, whether electrically, mechanically, or otherwise.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units; can be located in one place or distributed to a plurality of network units; some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment. In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated in one unit; the integrated units may be implemented in hardware or in hardware plus software functional units.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the above method embodiments may be implemented by hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, where the program, when executed, performs steps including the above method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read Only Memory (ROM), a magnetic disk or an optical disk, or the like, which can store program codes. Alternatively, the above-described integrated units of the present application may be stored in a computer-readable storage medium if implemented in the form of software functional modules and sold or used as separate products. Based on such understanding, the technical solution of the embodiments of the present application may be embodied essentially or in a part contributing to the related art in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a mobile phone, a tablet computer, a desktop computer, a personal digital assistant, a navigator, a digital phone, a video phone, a television, a sensing device, etc.) to perform all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a removable storage device, a ROM, a magnetic disk, or an optical disk.
The methods disclosed in the method embodiments provided by the application can be arbitrarily combined under the condition of no conflict to obtain a new method embodiment. The features disclosed in the several product embodiments provided by the application can be combined arbitrarily under the condition of no conflict to obtain new product embodiments. The features disclosed in the embodiments of the method or the apparatus provided by the application can be arbitrarily combined without conflict to obtain new embodiments of the method or the apparatus.
The foregoing is merely an embodiment of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A control circuit of an electric fan, the control circuit comprising:
the controller comprises M input ends and S output ends;
an N-phase P-beat stepping motor;
the main control circuit comprises N control modules, each control module comprises a triode, a protection resistor and a voltage dividing circuit, the voltage dividing circuit comprises a voltage dividing resistor and a comparator, and the voltage dividing resistor comprises a resistor R d1 、R d2 、R d3 、R d4 And R is d5 Wherein:
the resistor R d2 One end of the N-phase P-beat stepping motor is commonly connected with the collector electrode of the triode;
the resistor R d3 One end of the resistor R d5 Is commonly grounded with the emitter of the triode;
the resistor R d1 One end of the protection resistor is connected with the output end of the controller together, and the other end of the protection resistor is connected with the base electrode of the triode;
the resistor R d1 The other end of the resistor R d2 The other end of the resistor R d3 The other end of the first and second switches is commonly connected with the positive pin of the comparator; the resistor R d4 And said resistor R d5 The other end of the first and second switches is commonly connected with the negative pin of the comparator; the resistor R d4 The other end of the first power supply is connected with a first external power supply;
the output end of the comparator is connected with the input end corresponding to the output end of the controller.
2. The circuit of claim 1, wherein the controller is configured to control the ith output terminal of the controller to output the first voltage control signal in the ith beat of the N-phase P-beat stepper motor in the order of the first phase to the nth phase, and the first end to the nth end in one cycle of consecutive P beats; wherein:
Under the condition that the first voltage control signal drives the triode to be conducted through a protection resistor, the resistor R d2 And the resistance R d3 Parallel connected with the resistor R d1 In series with the resistor R d4 And the resistance R d5 The voltage of the positive pin of the comparator is the resistor R d1 Said resistor R d2 And the resistance R d3 The voltage at the junction is the voltage of the negative pin of the comparator is the resistor R d4 And the resistance R d5 Voltage at the junction, positive of the comparatorThe voltage of the foot is greater than the voltage of the negative foot of the comparator, a second voltage control signal output by the comparator is input to the ith input end of the controller, and the ith phase winding of the N-phase P-beat stepping motor is electrified.
3. The circuit of claim 2, wherein the controller is further configured to control the ith output terminal of the controller to output a third voltage control signal in consecutive beats other than the ith beat of the N-phase P-beat stepper motor in the order of the first phase to the nth phase, the first terminal to the nth terminal in one cycle of consecutive P beats;
under the condition that the triode is cut off, and a second external power supply outputs a fourth voltage control signal to electrify an ith phase winding of the N-phase P-beat stepping motor, the resistor R d1 And the resistance R d3 Parallel connected with the resistor R d2 In series with the resistor R d4 And the resistance R d5 The voltage of the positive pin of the comparator is the resistor R d1 Said resistor R d2 And the resistance R d3 The voltage at the junction is the voltage of the negative pin of the comparator is the resistor R d4 And the resistance R d5 The voltage of the connecting part is higher than the voltage of the positive pin of the comparator, and a fifth voltage control signal output by the comparator is input to the ith input end of the controller.
4. A circuit according to claim 3, wherein in the case where the i-th phase winding of the N-phase P-beat stepping motor generates an inverse electromotive force in the i+2-th beat of the N-phase P-beat stepping motor, the voltage of the positive leg of the comparator is smaller than the voltage of the negative leg of the comparator, and the sixth voltage control signal output by the comparator is input to the i-th input terminal of the controller.
5. The circuit of claim 4, wherein in an i+2 th beat of the N-phase P-beat stepper motor, an i-th phase winding of the N-phase P-beat stepper motor is open in the event that the i-th phase winding of the N-phase P-beat stepper motor does not generate an inverse electromotive force.
6. The circuit according to claim 4, wherein in the case where the i-th phase winding of the N-phase P-beat stepping motor generates an inverse electromotive force in the other beats except for the i+2th beat, the N-phase P-beat stepping motor drives the oscillating mechanism of the electric fan to a boundary position.
7. A control method of an electric fan, characterized by being applied to the circuit of any one of claims 1 to 6, the method comprising:
in a period taking four continuous beats as one period, sequentially controlling an ith output end to output a first voltage control signal in an ith beat of the N-phase P beat stepping motor according to the sequence from a first phase to an Nth phase and from a first end to an Nth end, wherein the first voltage control signal respectively reaches a positive pin and a negative pin of a comparator through a protection resistor, a triode and a voltage dividing resistor so that the comparator outputs a second voltage control signal;
controlling an ith output end of the N-phase P-beat stepping motor to output a third voltage control signal in other beats except an ith beat, wherein the third voltage control signal respectively reaches a positive foot and a negative foot of the comparator through a protection resistor, a triode and a divider resistor, an ith phase winding of the N-phase P-beat stepping motor generates reverse electromotive force in an ith+2 beat, so that the comparator outputs a sixth voltage control signal in the ith+2 beat, and the comparator outputs a fifth voltage control signal in the ith+1 beat and the ith+3 beat;
Respectively acquiring second voltage control signals received by an ith input end at an ith beat, sixth voltage control signals received by an ith input end at an (i+2) th beat, and fifth voltage control signals received by an ith input end at an (i+1) th beat and an (i+3) th beat;
respectively acquiring a first actual voltage control signal of an ith input end of the N-phase P-beat stepping motor at an ith beat, a second actual voltage control signal of an ith input end at an (i+1) th beat, a third actual voltage control signal of an ith input end at an (i+2) th beat and a fourth actual voltage control signal of an (i+3) th beat;
comparing the first to fourth actual voltage control signals with the second, sixth and fifth voltage control signals, respectively, of the corresponding beats;
and if the comparison result shows that the head shaking mechanism reaches the head shaking boundary, controlling the N-phase P-beat stepping motor to drive the head shaking mechanism to adjust the rotation direction.
8. A control device of an electric fan, characterized in that it is applied to the circuit according to any one of claims 1 to 6, said device comprising:
the first output module is used for controlling the ith output end to output a first voltage control signal in the ith beat of the N-phase P-beat stepping motor in sequence according to the sequence of the first phase to the Nth phase and the first end to the Nth end in a period taking four consecutive beats as a period, and the first voltage control signal respectively reaches a positive pin and a negative pin of the comparator through the protection resistor, the triode and the voltage dividing resistor so that the comparator outputs a second voltage control signal;
The second output module is used for controlling an ith output end to output a third voltage control signal in other beats except an ith beat of the N-phase P beat stepping motor, the third voltage control signal respectively reaches a positive foot and a negative foot of the comparator through a protection resistor, a triode and a voltage dividing resistor, an ith phase winding of the N-phase P beat stepping motor generates reverse electromotive force in the ith+2 beat, so that the comparator outputs a sixth voltage control signal in the ith+2 beat, and the comparator outputs a fifth voltage control signal in the ith+1 beat and the ith+3 beat;
the first acquisition module is used for respectively acquiring second voltage control signals received by the ith input end at the ith beat, sixth voltage control signals received by the ith input end at the (i+2) th beat and fifth voltage control signals received by the ith input end at the (i+1) th beat and the (i+3) th beat;
the second acquisition module is used for respectively acquiring a first actual voltage control signal of an ith input end of the N-phase P-beat stepping motor at an ith beat, a second actual voltage control signal of the ith input end at an (i+1) th beat, a third actual voltage control signal of the ith input end at an (i+2) th beat and a fourth actual voltage control signal at an (i+3) th beat;
The comparison module is used for comparing the first actual voltage control signal to the fourth actual voltage control signal with the second voltage control signal, the sixth voltage control signal and the fifth voltage control signal which are corresponding to the beats respectively;
and the adjusting module is used for controlling the N-phase P-beat stepping motor to drive the head shaking mechanism to adjust the rotation direction if the comparison result shows that the head shaking mechanism reaches the head shaking boundary.
9. A control device of an electric fan comprising a memory and a processor, said memory storing a computer program executable on the processor, characterized in that the processor implements the steps of the control method of an electric fan as claimed in claim 7 when executing said computer program.
10. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, realizes the steps in the control method of an electric fan as claimed in claim 7.
CN202011138919.9A 2020-10-22 2020-10-22 Control circuit, control method, device, equipment and medium of electric fan Active CN114382716B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011138919.9A CN114382716B (en) 2020-10-22 2020-10-22 Control circuit, control method, device, equipment and medium of electric fan

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011138919.9A CN114382716B (en) 2020-10-22 2020-10-22 Control circuit, control method, device, equipment and medium of electric fan

Publications (2)

Publication Number Publication Date
CN114382716A CN114382716A (en) 2022-04-22
CN114382716B true CN114382716B (en) 2023-11-21

Family

ID=81194029

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011138919.9A Active CN114382716B (en) 2020-10-22 2020-10-22 Control circuit, control method, device, equipment and medium of electric fan

Country Status (1)

Country Link
CN (1) CN114382716B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023217299A1 (en) * 2022-05-11 2023-11-16 深圳市几素科技有限公司 Portable fan

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1996018848A1 (en) * 1994-12-15 1996-06-20 Firma J. Eberspächer Control circuit for a fan drive motor
CN1869851A (en) * 2005-05-27 2006-11-29 联想(北京)有限公司 Speed controller of CPU fan
CN202579252U (en) * 2012-03-15 2012-12-05 明纬(广州)电子有限公司 Control circuit of fan
CN202628580U (en) * 2012-06-26 2012-12-26 宁波毕士达智能洁具有限公司 Drying fan control circuit of intelligent toilet
CN207795650U (en) * 2017-12-06 2018-08-31 漳州科华技术有限责任公司 A kind of fan failure detection circuit
CN110247594A (en) * 2019-07-04 2019-09-17 珠海格力电器股份有限公司 Method and device for determining initial position of motor
CN110273853A (en) * 2019-05-28 2019-09-24 苏州伟创电气设备技术有限公司 A kind of fan control circuitry and frequency converter
CN110416972A (en) * 2019-08-26 2019-11-05 无锡雷利电子控制技术有限公司 Rotation-clogging protection and stall restart circuit device
CN110848163A (en) * 2019-11-27 2020-02-28 珠海格力电器股份有限公司 Control device and control method of fan head-shaking assembly and fan
CN210196097U (en) * 2019-07-10 2020-03-27 山东省产品质量检验研究院 Fan locked rotor detection circuit for air purifier

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103016377A (en) * 2011-09-20 2013-04-03 鸿富锦精密工业(深圳)有限公司 Detecting circuit for rotating speed of fan
CN203809327U (en) * 2014-02-12 2014-09-03 明瑞电子(成都)有限公司 Fan control circuit
CN107191403B (en) * 2017-05-16 2019-02-12 北京小米移动软件有限公司 Control method, device and the fan of oscillating fan rotational angle

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1996018848A1 (en) * 1994-12-15 1996-06-20 Firma J. Eberspächer Control circuit for a fan drive motor
CN1869851A (en) * 2005-05-27 2006-11-29 联想(北京)有限公司 Speed controller of CPU fan
CN202579252U (en) * 2012-03-15 2012-12-05 明纬(广州)电子有限公司 Control circuit of fan
CN202628580U (en) * 2012-06-26 2012-12-26 宁波毕士达智能洁具有限公司 Drying fan control circuit of intelligent toilet
CN207795650U (en) * 2017-12-06 2018-08-31 漳州科华技术有限责任公司 A kind of fan failure detection circuit
CN110273853A (en) * 2019-05-28 2019-09-24 苏州伟创电气设备技术有限公司 A kind of fan control circuitry and frequency converter
CN110247594A (en) * 2019-07-04 2019-09-17 珠海格力电器股份有限公司 Method and device for determining initial position of motor
CN210196097U (en) * 2019-07-10 2020-03-27 山东省产品质量检验研究院 Fan locked rotor detection circuit for air purifier
CN110416972A (en) * 2019-08-26 2019-11-05 无锡雷利电子控制技术有限公司 Rotation-clogging protection and stall restart circuit device
CN110848163A (en) * 2019-11-27 2020-02-28 珠海格力电器股份有限公司 Control device and control method of fan head-shaking assembly and fan

Also Published As

Publication number Publication date
CN114382716A (en) 2022-04-22

Similar Documents

Publication Publication Date Title
JP4298169B2 (en) Constitution comprising an electric motor
JP4673553B2 (en) How to start a brushless DC motor
JP3385617B2 (en) Starting method of permanent magnet type synchronous motor with rotation position detector and motor control device
CN114382716B (en) Control circuit, control method, device, equipment and medium of electric fan
JPH0823696A (en) Method and apparatus for controlling electron-rectified dc motor and washing machine using such motor
JPS59149780A (en) Drive device for motor
US5914579A (en) Direct current command generation for a stepper motor drive
CN113395024A (en) Control method and device for direct current motor and motor control system
JPH0311992A (en) Motor, device and method of current control used for motor, etc., or arithmetic unit used therefor, or device equipped with them
JP3024164B2 (en) Motor control circuit of autofocus device
US6121745A (en) Direct current command generation for a stepper motor drive
JPH0442796A (en) Driving method of brushless dc motor having no position detector
JPH0532739B2 (en)
JP2002186283A (en) Switched reluctance motor and its drive circuit without sensor
CN114337409B (en) Motor control method, circuit, device and storage medium
US7521883B1 (en) Motor current shaping
US6414460B1 (en) Low cost 1/8th, 1/16th micro-stepping motor drive system
JPS6328298A (en) Closed loop stepping motor control system
CN114060298B (en) Control circuit and method of electric fan
JP2502680B2 (en) Brushless motor drive
CN114060299B (en) Control method, control circuit, device, equipment and medium of electric fan
CN114060297B (en) Control method, circuit, device and storage medium of electric fan
CN114499298A (en) Control method and control device of stepping motor, terminal device and storage medium
JPH099688A (en) Origin-position detecting device in feed mechanism
JPH01283090A (en) Driving method for 3-phase dc motor

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