CN116032180A - Motor control method and device and electronic equipment - Google Patents

Motor control method and device and electronic equipment Download PDF

Info

Publication number
CN116032180A
CN116032180A CN202111247777.4A CN202111247777A CN116032180A CN 116032180 A CN116032180 A CN 116032180A CN 202111247777 A CN202111247777 A CN 202111247777A CN 116032180 A CN116032180 A CN 116032180A
Authority
CN
China
Prior art keywords
motor
voltage
zero
alternating current
crossing detection
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.)
Pending
Application number
CN202111247777.4A
Other languages
Chinese (zh)
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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Hefei Shiyan Electronic Technology Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Hefei Shiyan Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Shiyuan Electronics Thecnology Co Ltd, Hefei Shiyan Electronic Technology Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN202111247777.4A priority Critical patent/CN116032180A/en
Publication of CN116032180A publication Critical patent/CN116032180A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Control Of Ac Motors In General (AREA)

Abstract

The embodiment of the application provides a control method, a control device and electronic equipment of a motor, under the condition that equipment such as a Hall sensor and the like used for detecting the rotating speed of the motor is not arranged in the electronic equipment, after the peak voltage of alternating current of a driving motor is calculated by a processor in the electronic equipment through a zero-crossing detection signal, when the rotating speed of the motor is required to be regulated according to the peak voltage, the voltage of the alternating current provided for the motor is regulated through a voltage control circuit, and further the regulation of the rotating speed of the motor is realized, so that the embodiment of the application reduces the structural complexity and cost of the electronic equipment and further improves the user experience of the electronic equipment on the basis of realizing the control of the motor.

Description

Motor control method and device and electronic equipment
Technical Field
The present disclosure relates to the field of motor control technologies, and in particular, to a method and an apparatus for controlling a motor, and an electronic device.
Background
The motor is a load driving device commonly used in electronic equipment such as an air conditioner and the like, and can rotate under the driving of alternating current so as to drive the load of the electronic equipment to work.
In the prior art, in order to control the rotating speed of a motor, a Hall sensor is arranged in an electronic device, a processor determines the current rotating speed of the motor through the Hall sensor, and then the processor determines the zero point of voltage provided by a power supply circuit to the motor through a zero-crossing detection circuit. Finally, when the processor determines that the rotation speed of the motor is required to be adjusted currently, the processor adjusts the voltage provided by the power supply circuit to the motor through the voltage control circuit and the combination of the voltage zero crossing point, so that the rotation speed of the motor is adjusted.
However, in order to control the motor, the prior art is adopted, and the structural complexity and cost of the electronic equipment are improved by the equipment for detecting the rotating speed of the motor, such as a hall sensor and the like, arranged in the electronic equipment.
Disclosure of Invention
The application provides a control method and device of a motor and electronic equipment, which are used for solving the technical problems of complexity and higher cost of the electronic equipment with the motor in the prior art.
A first aspect of the present application provides a control method of an electric motor, including: acquiring a zero-crossing detection signal of the motor; wherein the zero-crossing detection signal is used for indicating a voltage zero-crossing point of alternating current for driving the motor; determining a voltage zero crossing point of the alternating current and the rotating speed of the motor according to the zero crossing detection signal; and when the rotating speed does not meet the preset condition, adjusting the voltage of alternating current for driving the motor according to the rotating speed of the motor and the voltage zero crossing point.
In an embodiment of the first aspect of the present application, the determining, according to the zero-crossing detection signal, a rotation speed of the motor includes: and determining the peak voltage of the alternating current according to the zero-crossing detection signal, and determining the rotating speed of the motor through the peak voltage and the conduction time of a voltage control circuit for providing the alternating current for the motor.
In an embodiment of the first aspect of the present application, the determining, according to the zero-crossing detection signal, a peak voltage of the alternating current includes: determining the peak voltage of the alternating current according to a preset relation among the first width of the pulse in the zero-crossing detection signal, the second width between adjacent pulses, the conducting voltage of an optocoupler in a zero-crossing detection circuit for acquiring the zero-crossing detection signal and the peak voltage of the alternating current; wherein the zero-crossing detection signal comprises a plurality of pulses, each pulse being for indicating a voltage zero-crossing of the alternating current.
In a first embodiment of the first aspect of the present application, the preset relationship may be expressed by the following formula,
Figure BDA0003321414910000021
wherein V1 is the on voltage, vmax is the peak voltage, TH is the first width, and TL is the second width.
In an embodiment of the first aspect of the present application, the acquiring a zero crossing detection signal of the motor includes: rectifying the received alternating current to obtain a first electric signal; and inputting the first electric signal into an input end of an optocoupler, and when the voltage of the first electric signal is larger than the conducting voltage, carrying out isolated transmission on the first electric signal by the optocoupler and outputting the zero crossing detection signal.
In a first embodiment of the first aspect of the present application, the method further includes: and determining the conduction voltage according to the conduction current of the optocoupler and the resistance value of the voltage dividing resistor at the input end of the optocoupler.
In an embodiment of the first aspect of the present application, the adjusting the voltage of the alternating current for driving the motor according to the rotation speed of the motor and the voltage zero crossing point includes: determining the conduction time length of a switching tube in a voltage control circuit in a period according to the rotating speed of the motor; and controlling a switching tube in the voltage control circuit to be conducted or closed at a target time in a period according to the conducting time length and the voltage zero crossing point.
In an embodiment of the first aspect of the present application, the preset condition includes: the difference between the rotational speed and the target rotational speed of the motor is less than a preset threshold.
A second aspect of the present application provides a control device for an electric motor, which is configured to perform the control method for an electric motor as provided in the first aspect of the present application, the device including: the acquisition module is used for acquiring a zero-crossing detection signal of the motor; wherein the zero-crossing detection signal is used for indicating a voltage zero-crossing point of alternating current for driving the motor; the determining module is used for determining the voltage zero crossing point of the alternating current and the rotating speed of the motor according to the zero crossing detection signal; and the adjusting module is used for adjusting the voltage of the alternating current for driving the motor when the peak voltage does not meet the preset condition.
A third aspect of the present application provides an electronic device, comprising: a motor; the power supply circuit is used for providing alternating current for the motor to drive the motor to rotate; the zero-crossing detection circuit is used for generating a zero-crossing detection signal according to the alternating current; the voltage control circuit is used for adjusting the voltage of alternating current supplied to the motor by the power supply circuit; and the processor is used for acquiring the zero-crossing detection signal through the zero-crossing detection circuit, determining the voltage zero-crossing point of the alternating current and the rotating speed of the motor according to the zero-crossing detection signal, and adjusting the voltage of the alternating current provided by the power supply circuit to the motor through the voltage control circuit according to the rotating speed of the motor and the voltage zero-crossing point when the rotating speed meets the preset condition.
In summary, in the method, the device and the electronic device for controlling the motor provided by the application, under the condition that no equipment such as a hall sensor and the like for detecting the rotating speed of the motor is arranged in the electronic device, the processor in the electronic device calculates the peak voltage of alternating current for driving the motor and the conduction time of the voltage control circuit for providing the alternating current for the motor through the zero-crossing detection signal, and then when the rotating speed of the motor needs to be regulated according to the peak voltage and the conduction time, the voltage of the alternating current provided for the motor is regulated through the voltage control circuit, so that the regulation on the rotating speed of the motor is realized. Therefore, the control method of the motor can control the rotating speed of the motor on the basis that the Hall sensor is not arranged in the electronic equipment, the structural complexity and cost of the electronic equipment are reduced, the risk of overall repair of the electronic equipment caused by the failure of the Hall sensor is avoided, and the user experience of the electronic equipment is greatly improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive faculty for a person skilled in the art.
Fig. 1 is a schematic diagram of an application scenario of the present application;
FIG. 2 is a flow chart of a control method of a motor provided in the prior art;
FIG. 3 is a schematic structural diagram of an embodiment of an electronic device with a motor provided in the present application;
fig. 4 is a flow chart of an embodiment of a control method of a motor provided in the present application;
FIG. 5 is a schematic diagram illustrating a structure of an embodiment of a zero crossing detection circuit provided in the present application;
FIG. 6 is a schematic diagram of an embodiment of signal waveforms in a control method of a motor according to the present disclosure;
fig. 7 is a schematic diagram of another embodiment of signal waveforms in the control method of the motor provided in the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
The terms "first," "second," "third," "fourth" and the like in the description and in the claims of this application and in the above-described figures, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that embodiments of the present application described herein may be capable of operation in sequences other than those illustrated or described herein, for example. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Before formally describing the embodiments of the present application, the scenario applied in the present application and the problems existing in the prior art will be described with reference to fig. 1-2.
Fig. 1 is a schematic diagram of an application scenario of the present application, as shown in fig. 1, where the present application is applied to an electronic device 10 having a motor, and the provided method for controlling the motor may be used to control the rotational speed of a motor 102 in the electronic device. For example, the electronic device 10 shown in fig. 1 may be an air conditioner, and when the air conditioner is in operation, the input ac power obtained by the power supply may sequentially pass through the zero-crossing detection circuit 104 and the voltage control circuit 101 to drive the motor 102 to rotate, so that the load in the air conditioner is driven by the motor 102 to operate. The zero-crossing detection circuit 104 is connected with the processor 103, and the processor 103 determines the zero crossing point of the input alternating current through the zero-crossing detection circuit 104, and then controls the voltage control circuit 101 through the time sequence corresponding to the zero crossing point. In the embodiments of the present application, the electronic device 10 is taken as an example of an air conditioner, and not limited thereto, and the electronic device 10 may be other electronic devices such as an electric fan.
In the prior art, in order to adjust the rotation speed of the motor, a hall detection circuit 105 is further disposed in the electronic device 10 shown in fig. 1, and fig. 2 is a schematic flow chart of a control method of the motor provided in the prior art, which shows a process of controlling the motor 102 by the processor 103 in the electronic device 10 shown in fig. 1. In S10 shown in fig. 2, the processor 103 of the electronic device 10 determines the current rotational speed of the motor 102 by means of a hall sensor in the hall detection circuit 105. The hall sensor in the hall detection circuit 105 can generate induced voltage pulses under the action of a magnetic field when the motor 102 rotates, and the processor 103 can calculate the rotation speed of the motor 102 according to the number of the induced voltage pulses obtained by the hall sensor. In S20, the processor 105 may determine a zero point of the alternating current inputted to the motor 102 to drive the motor 102 to rotate through the zero-crossing detection circuit 104. Subsequently, in S30, when the processor 105 determines that the rotation speed of the motor 102 needs to be adjusted according to the rotation speed acquired in S10, the processor 105 adjusts the voltage input to the motor 102 through the voltage control circuit 101, thereby adjusting the rotation speed of the motor 102.
In summary, in the electronic device 10 shown in fig. 1 and the motor control method shown in fig. 2 in the prior art, modules such as the hall detection circuit 105, etc. that are required to be disposed in the electronic device 10 are used to determine the current rotation speed of the motor 102, so that the processor 103 can determine whether the rotation speed of the motor 102 needs to be adjusted, and when the rotation speed needs to be adjusted, the voltage of the ac power input to the motor 102 is adjusted by the voltage control circuit 101 to realize the adjustment of the rotation speed. However, the hall sensor 105 disposed in the electronic device 10 in the prior art increases the complexity of the structure of the electronic device 10 and the cost of the electronic device 10, and when the hall detection circuit 105 fails due to its hardware, the whole electronic device 10 cannot work and is repaired, which greatly affects the user experience of the electronic device 10.
Therefore, the method, the device and the electronic equipment for controlling the motor are provided, the device for detecting the rotating speed of the motor such as a Hall sensor is not arranged in the electronic equipment, the processor can calculate the peak voltage of alternating current for driving the motor and the conduction time of a voltage control circuit for providing the alternating current for the motor through a zero-crossing detection signal, and then when the rotating speed of the motor is required to be regulated according to the peak voltage and the conduction time, the voltage of the alternating current provided for the motor is regulated through the voltage control circuit, so that the rotating speed of the motor is regulated. Therefore, the rotating speed of the motor can be controlled under the condition that the Hall sensor is not arranged in the electronic equipment, and the technical problems of complex structure and high cost caused by the Hall sensor arranged in the control of the motor in the electronic equipment in the prior art are solved.
The technical scheme of the present application is described in detail below with specific examples. The following embodiments may be combined with each other, and some embodiments may not be repeated for the same or similar concepts or processes.
Fig. 3 is a schematic structural diagram of an embodiment of an electronic device with a motor provided in the present application, and as shown in fig. 3, the electronic device 10 provided in the present embodiment includes: in comparison with the electronic device shown in fig. 1, the electronic device 10 shown in fig. 3 is not provided with a device for detecting the rotation speed of the motor, such as a hall sensor, but the processor 103 determines the peak voltage of the alternating current for driving the motor 102 to rotate according to the zero-crossing detection signal obtained by the zero-crossing detection circuit 104, then indirectly determines the current rotation speed of the motor 103 according to the obtained peak voltage of the alternating current, and adjusts the rotation speed of the motor 103 according to the peak voltage.
In some embodiments, when the motor 102 is embodied as a PG motor in an air conditioner, according to the known mechanical characteristics of a squirrel cage asynchronous motor, the smaller the voltage received at the stator of the motor 102, the larger the slip of the motor when driving the same load, and the rotation speed n of the motor and the voltage received by the motor can be represented by the following formula one:
Figure BDA0003321414910000061
where n is the rotational speed of the motor 102, n 1 The rotational speed of the resultant magnetic potential for the motor 102, f is the frequency of the ac power received by the electronic device 10, s is the slip of the motor 102, and p is the pole pair number of the motor 102. As can be seen from the above formula one, the greater the voltage received at the stator of the motor 102, the greater the slip s, the greater the rotational speed n of the motor; and when the voltage received at the stator of the motor 102The smaller the slip s, the smaller the rotational speed n of the motor. The voltage received by the motor 102 is proportional to the rotational speed of the motor 102, therefore, the rotational speed n of the motor can be represented by the voltage received by the motor 102,
further, based on the theory of the above formula one, after inputting the alternating current with constant peak voltage to the motor 102, the rotation speed n of the motor 102 and the alternating current voltage V input by the motor 102 moto The relationship between them can be expressed by the following formula two:
n=K·V moto =K·T on ·V max sin (2pi ft) equation II
Wherein K is a fitting coefficient, and when the input alternating current peak voltage is constant, the fitting coefficient K corresponding to the motor 102 can be obtained through experimental test. As can be seen from the above formula two, the rotation speed n of the motor 102 is determined by the peak voltage V of the input alternating current max On time T on And the frequency f of the alternating current. Thus when the processor 103 determines the peak voltage V of the ac power received by the motor 102 max After the alternating current frequency f, due to the peak voltage V max The ac frequency f is related to the ac, and can be understood as being fixed if the peak voltage V max If the preset voltage is not met, it is indicated that the rotation speed of the motor 102 does not meet the currently set target rotation speed, and the rotation speed of the motor 102 needs to be adjusted. At this time, the processor 103 can control the on-time T of the switching tube in the circuit 101 according to the adjustment voltage on By adjusting the effective voltage V of the alternating current supplied to the motor 102 rms Finally, the rotation speed of the motor is adjusted. Therefore, under the condition that the electronic equipment 10 is not provided with equipment such as a Hall sensor for detecting the rotating speed of the motor, the control processing such as acquisition and adjustment of the rotating speed of the motor 102 can still be realized, and the complexity and cost of the electronic equipment are further reduced.
The processor 103 determines the peak voltage V based on the zero-crossing detection signal in particular, with reference to the accompanying drawings max According to peak voltage V max And voltage zero-crossing points to regulate the voltage of the alternating current supplied to the motor 102, thereby realizing the rotation of the motor 102The process of adjusting the speed is described in detail.
In some embodiments, fig. 4 is a flowchart of an embodiment of a method for controlling a motor provided in the present application, where the method for controlling a motor shown in fig. 4 may be executed by the processor 103 shown in fig. 3, and as shown in fig. 4, the method for controlling a motor provided in the present embodiment includes:
s101: the processor 103 acquires a zero-crossing detection signal of the motor.
In some embodiments, the zero-crossing detection circuit 104 in the electronic device 10 is specifically configured to generate a zero-crossing detection signal according to the ac power received by the electronic device 10, and send the zero-crossing detection signal to the processor 103. Then, for the processor 103, a zero-crossing detection signal may be acquired by the zero-crossing detection circuit 104 in S101.
In some embodiments, fig. 5 is a schematic structural diagram of an embodiment of a zero-crossing detection circuit provided in the present application, and the zero-crossing detection circuit 104 shown in fig. 5 may be applied to the electronic device 10 shown in fig. 3, for obtaining a zero-crossing detection signal according to a voltage of an alternating current of the driving motor 102. Specifically, the zero-crossing detection circuit 104 as shown in fig. 5 includes: the electronic equipment comprises a rectifier bridge (composed of four diodes D1-D4) and an optical coupler U3, wherein the rectifier bridge can be used for rectifying alternating current V1 of a driving motor of the electronic equipment 10 to obtain a first electric signal V3.
Fig. 6 is a schematic diagram of an embodiment of signal waveforms in the control method of the motor provided in the present application, where the ac voltage V1 is rectified to obtain a first electric signal V3 with a "steamed bread wave" shape and a full-wave rectified sinusoidal envelope. Subsequently, in the zero-crossing detection circuit 104, the first electric signal V3 obtained through the rectifier bridge is input to the input terminal of the optocoupler U1, and the first electric signal V3 specifically generates the current I1 at the input terminal of the optocoupler U1 after the voltage division and the current limiting effects of R1.
Fig. 7 is a schematic diagram of another embodiment of a signal waveform in the control method of a motor provided in the present application, as shown in fig. 7, after a current I1 generated by a first electrical signal V3 at an input end of an optocoupler U1 is greater than a conducting current of a phototransistor 11 in the optocoupler U1 at a moment of an abscissa reference numeral 1, the phototransistor 11 is turned on and emits light, and a photosensitive element 12 in the optocoupler U1 outputs a low level voltage under the action of light; after the current I1 is smaller than the on current of the phototriode 11 in the optocoupler U1 at the moment of the abscissa mark 9, the phototriode 11 is cut off and stops emitting light, the photosensitive element 12 in the optocoupler U1 outputs high-level voltage U1, and the Zero-crossing detection signal V_zero is obtained after the voltage of the U1 is divided by the resistor R4. Finally, the Zero-crossing detection signal v_zero obtained by the Zero-crossing detection circuit 104 is input to the processor 103, and is subjected to subsequent processing by the processor 103.
In some embodiments, when the phototransistor 11 in fig. 5 is turned on under the action of an on current, the voltage at the input terminal of the optocoupler U1 is referred to as the on voltage V1 of the optocoupler. The on-state voltage V1 can be calculated according to the on-state current i1_min of the optocoupler U1, the resistance values of the voltage dividing resistor R1 and the resistor R2 at the input end of the optocoupler U1, and the like. In some embodiments, V1 may be calculated by the following equation three:
Figure BDA0003321414910000081
/>
in some embodiments, as shown in fig. 7, the process of changing the voltage of the first electrical signal V3 from the peak to the Zero voltage may be detected by the process of changing the Zero-crossing detection signal v_zero from the low level to the high level, the process of changing the voltage of the first electrical signal V3 from the Zero voltage to the peak may be detected by the process of changing the Zero-crossing detection signal v_zero from the high level to the low level, the process of maintaining the high level by the Zero-crossing detection signal v_zero is the process of Zero-crossing the voltage of the first electrical signal V3, and the Zero-crossing change process of the first electrical signal V3 is also equal to the Zero-crossing change process of the alternating current of the driving motor.
It should be noted that, the specific circuit structure of the zero-crossing detection circuit 104 provided in the embodiment shown in fig. 5 is merely an example, and in other possible implementations, the zero-crossing detection circuit 104 may also be other structures that may obtain a zero-crossing detection signal, and the specific circuit structure of the zero-crossing detection circuit 104 is not limited in this application.
S102: the processor 103 determines the voltage zero-crossing point of the alternating current driving the motor 102 and the rotational speed of the motor 102 based on the zero-crossing detection signal.
The processor 103 in embodiment S102 of the present application indicates the rotation speed of the motor 102 indirectly through the peak voltage by determining the peak voltage of the alternating current of the driving motor 102. As shown in formula one, the peak voltage V of the alternating current max In direct proportion to the rotational speed n of the motor 102.
In some embodiments, the processor 103 in S102 is specifically configured to control the first width of the pulse in the Zero-crossing detection signal v_zero, the second width between adjacent pulses, the turn-on voltage V1 of the optocoupler U1 in the Zero-crossing detection circuit 104, and the peak voltage V of the alternating current max The preset relation between the two is used for jointly determining the peak voltage of the alternating current. The preset relationship may be represented by the following formula three:
Figure BDA0003321414910000091
wherein V1 is the turn-on voltage of the optocoupler U1, V max Is the peak voltage of alternating current, T H Is the first width, T, of the pulse in V_zero L Is the second width between adjacent pulses in V _ Zero.
Specifically, as the Zero-crossing detection signal v_zero shown in fig. 7 is taken as an example, it can be seen that the Zero-crossing detection signal v_zero includes a plurality of high-level pulses, each pulse corresponding to one voltage Zero-crossing point of the alternating current. The time length of the moment when the voltage value of the first electric signal V3 changes from V1 to 0 corresponds to the first width T of the high-level pulse in the Zero-crossing detection signal v_zero H Meanwhile, the time length of the time instant between the adjacent high-level pulses in the Zero-crossing detection signal v_zero corresponds to the second width T L . And pass through a first width T H Second width T L The inverse of the sum can be calculated to obtain the frequency f of the alternating current, and meanwhile, the formula III is obtained according to the sine change rule of the alternating current.
In S102, when the processor 103 acquires the Zero-crossing detection signal v_zero through the Zero-crossing detection circuit 104, the signal is passedFirst width T in Zero detection signal v_zero H Second width T L And the known parameter V1 are substituted into the formula III to calculate the peak voltage V of the alternating current max
In some embodiments, the processor 103 in the embodiment S102 of the present application determines the voltage Zero crossing point of the alternating current, specifically by determining the time at which the pulse is present in the Zero crossing detection signal v_zero. For example, with respect to the Zero-crossing detection signal v_zero in fig. 6, the voltage Zero-crossing points t11, t12, t13, etc. can be determined at the timings of the pulses.
S103: and when the rotation speed of the motor determined in the step S102 does not meet the preset condition, adjusting the voltage of the alternating current for driving the motor according to the rotation speed of the motor and the voltage zero crossing point.
Specifically, when the rotation speed of the motor is indicated by the peak voltage of the alternating current of the driving motor in the embodiment of the present application, whether the rotation speed of the motor meets the preset target rotation speed may be determined according to whether the peak voltage meets the preset voltage. For example, the current motor of the electronic device is adjusted to a target rotation speed according to the working requirement, if the difference between the rotation speed of the motor and the target rotation speed is greater than a preset threshold value, the rotation speed of the motor needs to be adjusted, and the difference between the peak voltage and the target voltage when the target rotation speed is also greater than a preset voltage.
In some embodiments, the processor 103 may specifically regulate the voltage of the ac power supplied to the motor 102 by performing chopper processing on the ac power received by the electronic device and then outputting the chopped ac power to the motor 102 by using the voltage control circuit 101. For example, when the processor 103 determines that the peak voltage V is available to indicate motor speed max If V max If the difference between the voltage control circuit and the preset target voltage is greater than the preset threshold, determining the conduction time length of the switching tube in the period in the voltage control circuit 102 according to the peak voltage of the rotating speed of the motor 102, and then controlling the switching tube in the voltage adjustment circuit 101 to be conducted or closed at the target time according to the conduction time length and the voltage zero-crossing point so as to realize adjustment of the voltage of the alternating current output to the motor 102 by the voltage control circuit 101.
Illustratively, in the example shown in fig. 6, when the processor 103 determines that an adjustment to the rotational speed of the motor 102 is required, such as a reduction in the rotational speed, then this corresponds to a reduction in the peak voltage of the alternating current supplied to the motor 102. At this time, the processor 103 may determine the Zero crossing point determined by the Zero crossing detection signal v_zero, where the control signal V4, V4 includes a plurality of control pulses, and each control pulse corresponds to a target time for conducting or closing the switching tube in the voltage control circuit 101 in a period where the alternating current is located. Subsequently, the processor 103 controls the voltage control circuit 102 according to the control signal V4, so that the voltage control circuit 101, after receiving the alternating current V1, turns off at each voltage zero crossing point according to the control signal V4 and turns on at each control pulse, thereby obtaining the adjusted alternating current V5. Finally, in the alternating current V5, the voltage of the first half is subjected to a "chopping" process during each period between adjacent zero crossings, thereby reducing the effective voltage value of the alternating current V5. When the effective voltage value of the alternating current outputted from the motor 102 by the voltage control circuit 101 is reduced, the rotation speed of the motor 102 is reduced accordingly, and finally, the control of the rotation speed of the motor 102 is realized by controlling the voltage of the alternating current outputted to the motor 102.
In summary, in the method for controlling a motor provided in the embodiment of the present application, under the condition that no device for detecting the rotational speed of the motor, such as a hall sensor, is provided in an electronic device, a processor in the electronic device calculates, through a zero-crossing detection signal, a peak voltage of an alternating current driving the motor and a conduction time of a voltage control circuit for providing the alternating current to the motor, and then when it is determined that the rotational speed of the motor needs to be adjusted according to the peak voltage and the conduction time, the voltage of the alternating current provided to the motor is adjusted through the voltage control circuit, so as to further realize adjustment of the rotational speed of the motor. Therefore, the control method of the motor provided by the embodiment can control the rotating speed of the motor on the basis that the Hall sensor is not arranged in the electronic equipment, reduces the structural complexity and cost of the electronic equipment, avoids the risk of overall repair of the electronic equipment caused by the failure of the Hall sensor, and greatly improves the user experience of the electronic equipment.
In the foregoing embodiments, the control method of the motor provided in the embodiments of the present application is described, and in order to implement each function in the method provided in the embodiments of the present application, the processor as the execution body may include a hardware structure and/or a software module, and each function may be implemented in the form of a hardware structure, a software module, or a hardware structure plus a software module. Some of the functions described above are performed in a hardware configuration, a software module, or a combination of hardware and software modules, depending on the specific application of the solution and design constraints.
For example, the present application provides a control device of an electric motor, the device comprising: the device comprises an acquisition module, a determination module and an adjustment module. The acquisition module is used for acquiring a zero-crossing detection signal of the motor; wherein the zero-crossing detection signal is used for indicating a voltage zero-crossing point of alternating current for driving the motor; the determining module is used for determining the voltage zero crossing point and the peak voltage of the alternating current according to the zero crossing detection signal; and the adjusting module is used for adjusting the voltage of the alternating current for driving the motor when the peak voltage does not meet the preset condition.
The specific implementation and principle of each module of the control device for the motor provided by the application can refer to the control method for the motor provided in the foregoing embodiment of the application, and the specific implementation and principle are the same and are not repeated.
It should be noted that, it should be understood that the division of the modules of the above apparatus is merely a division of a logic function, and may be fully or partially integrated into a physical entity or may be physically separated. And these modules may all be implemented in software in the form of calls by the processing element; or can be realized in hardware; the method can also be realized in a form of calling software by a processing element, and the method can be realized in a form of hardware by a part of modules. The function of the above determination module may be implemented as a processing element that is set up separately, or may be integrated into a chip of the above apparatus, or may be stored in a memory of the above apparatus in the form of program codes, and may be called and executed by a processing element of the above apparatus. The implementation of the other modules is similar. In addition, all or part of the modules can be integrated together or can be independently implemented. The processing element described herein may be an integrated circuit having signal processing capabilities. In implementation, each step of the above method or each module above may be implemented by an integrated logic circuit of hardware in a processor element or an instruction in a software form.
For example, the modules above may be one or more integrated circuits configured to implement the methods above, such as: one or more specific integrated circuits (application specific integrated circuit, ASIC), or one or more microprocessors (digital signal processor, DSP), or one or more field programmable gate arrays (field programmable gate array, FPGA), or the like. For another example, when a module above is implemented in the form of a processing element scheduler code, the processing element may be a general purpose processor, such as a central processing unit (central processing unit, CPU) or other processor that may invoke the program code. For another example, the modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present application, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another, for example, by wired (e.g., coaxial cable, optical fiber, digital Subscriber Line (DSL)), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), etc.
The present application also provides an electronic apparatus including: a processor and a memory; wherein the memory has stored therein a computer program which, when executed by a processor, is operable to perform a method of controlling a motor as in any of the previous embodiments of the present application.
The present application also provides a computer-readable storage medium storing a computer program which, when executed, is operable to perform a method of controlling a motor as in any of the foregoing embodiments of the present application.
The embodiment of the application also provides a chip for running the instructions, and the chip is used for executing the control method of the motor according to any one of the above embodiments.
The embodiment of the application also provides a program product, which comprises a computer program, the computer program is stored in a storage medium, at least one processor can read the computer program from the storage medium, and the at least one processor can realize the control method of the motor according to any one of the previous embodiments of the application when executing the computer program.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the method embodiments described above may be performed by hardware associated with program instructions. The foregoing program may be stored in a computer readable storage medium. The program, when executed, performs steps including the method embodiments described above; and the aforementioned storage medium includes: various media that can store program code, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims (10)

1. A control method of an electric motor, characterized by comprising:
acquiring a zero-crossing detection signal of the motor; wherein the zero-crossing detection signal is used for indicating a voltage zero-crossing point of alternating current for driving the motor;
determining a voltage zero crossing point of the alternating current and the rotating speed of the motor according to the zero crossing detection signal;
and when the rotating speed does not meet the preset condition, adjusting the voltage of alternating current for driving the motor according to the rotating speed of the motor and the voltage zero crossing point.
2. The method of claim 1, wherein determining the rotational speed of the motor from the zero crossing detection signal comprises:
and determining the peak voltage of the alternating current according to the zero-crossing detection signal, and determining the rotating speed of the motor through the peak voltage and the conduction time of a voltage control circuit for providing the alternating current for the motor.
3. The method of claim 2, wherein determining the peak voltage of the alternating current based on the zero-crossing detection signal comprises:
determining the peak voltage of the alternating current according to a preset relation among the first width of the pulse in the zero-crossing detection signal, the second width between adjacent pulses, the conducting voltage of an optocoupler in a zero-crossing detection circuit for acquiring the zero-crossing detection signal and the peak voltage of the alternating current;
wherein the zero-crossing detection signal comprises a plurality of pulses, each pulse being for indicating a voltage zero-crossing of the alternating current.
4. The method of claim 3, wherein the predetermined relationship is formulated by the following formula,
Figure FDA0003321414900000011
wherein V1 is the on voltage, V max For the peak voltage, T H For the first width, T L Is the second width.
5. The method according to any one of claims 1-4, wherein said acquiring a zero crossing detection signal of the motor comprises:
rectifying the received alternating current to obtain a first electric signal;
and inputting the first electric signal into an input end of an optocoupler, and when the voltage of the first electric signal is larger than the conducting voltage, carrying out isolated transmission on the first electric signal by the optocoupler and outputting the zero-crossing detection signal.
6. The method as recited in claim 5, further comprising:
and determining the conduction voltage according to the conduction current of the optocoupler and the resistance value of the voltage dividing resistor at the input end of the optocoupler.
7. The method according to any one of claims 1-4, wherein said adjusting the voltage of the alternating current driving the motor according to the rotational speed of the motor and the voltage zero crossing comprises:
determining the conduction time length of a switching tube in a voltage control circuit in a period according to the rotating speed of the motor;
and controlling a switching tube in the voltage control circuit to be conducted or closed at a target time in a period according to the conducting time length and the voltage zero crossing point.
8. The method according to any one of claims 1-4, wherein the preset conditions comprise:
the difference between the rotational speed and the target rotational speed of the motor is less than a preset threshold.
9. A control device for an electric motor, comprising:
the acquisition module is used for acquiring a zero-crossing detection signal of the motor; wherein the zero-crossing detection signal is used for indicating a voltage zero-crossing point of alternating current for driving the motor;
the determining module is used for determining the voltage zero crossing point of the alternating current and the rotating speed of the motor according to the zero crossing detection signal;
and the adjusting module is used for adjusting the voltage of the alternating current for driving the motor according to the rotating speed of the motor and the voltage zero crossing point when the rotating speed does not meet the preset condition.
10. An electronic device, comprising:
a motor;
the power supply circuit is used for providing alternating current for the motor to drive the motor to rotate;
the zero-crossing detection circuit is used for generating a zero-crossing detection signal according to the alternating current;
the voltage control circuit is used for adjusting the voltage of alternating current supplied to the motor by the power supply circuit;
and the processor is used for acquiring the zero-crossing detection signal through the zero-crossing detection circuit, determining the voltage zero-crossing point of the alternating current and the rotating speed of the motor according to the zero-crossing detection signal, and adjusting the voltage of the alternating current provided by the power supply circuit to the motor through the voltage control circuit according to the rotating speed of the motor and the voltage zero-crossing point when the rotating speed does not meet the preset condition.
CN202111247777.4A 2021-10-26 2021-10-26 Motor control method and device and electronic equipment Pending CN116032180A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111247777.4A CN116032180A (en) 2021-10-26 2021-10-26 Motor control method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111247777.4A CN116032180A (en) 2021-10-26 2021-10-26 Motor control method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN116032180A true CN116032180A (en) 2023-04-28

Family

ID=86090028

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111247777.4A Pending CN116032180A (en) 2021-10-26 2021-10-26 Motor control method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN116032180A (en)

Similar Documents

Publication Publication Date Title
US10833605B2 (en) Space vector modulation in aerospace applications
JP6168421B2 (en) Power conversion device, power conversion method, and motor system
RU2015119448A (en) PREVENTIONAL MANAGEMENT WITH TRACKING OF THE LEVEL
JP6731639B2 (en) Power converter
DK2122823T3 (en) METHOD AND APPARATUS FOR OPERATING A ENGINE
US20160197566A1 (en) Method and apparatus to control a single-phase induction motor
US8217618B2 (en) Energy-saving controller for three-phase induction motors
JP6830204B2 (en) Load control device
CN102315819A (en) Spark coil cutting processor is used the moment motor drive
EP3393033B1 (en) Matrix converter and method for determining constants of alternating-current motor
CN116032180A (en) Motor control method and device and electronic equipment
CN108336939B (en) System and method for using and controlling permanent magnet AC motor
CN114696628A (en) Power adjusting method and device for electric appliance, electric appliance and storage medium
EP3378284B1 (en) Systems and methods for providing wave-based lighting efficiencies
FI124495B (en) Procedure for controlling electrical operation and electrical operation
Xu et al. High performance DC chopper speed and current control of universal motors using a microcontroller
JP2021136007A (en) Apparatus for detecting phase interruption and blockage in a three-phase ac power source and method of detecting same
CN107112935B (en) The method and apparatus of dynamic power control for induction conductivity
CN114009149A (en) LED driver control circuit
JP2016032372A (en) Motor controller and air conditioner using the same
CN106104995A (en) Frequency changer
CN110313121A (en) A kind of coupling transformation system
CN113544959A (en) Medium-voltage variable-frequency driver with artificial intelligence
EP4109733A1 (en) Converter device and power conversion system
KR20190051334A (en) Power converting apparatus

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