Driving circuit and control method and device based on driving circuit
By designing a driving circuit including current comparison, signal processing and multiplication operation circuit, the problem of difficulty in monitoring and controlling the dual motor load in the prior art is solved, and efficient monitoring and control of the driving state of the dual motor load is realized, reducing the use of chip resources and equipment costs.
Patent Information
- Application Number
- CN202411929205.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-25
- Publication Date
- 2025-03-21
AI Technical Summary
In the prior art, when designing motor drive circuits, it is difficult to effectively monitor and control the driving state of dual motor loads, resulting in waste of chip resources and increased costs.
A driving circuit is designed, including a current comparison circuit, a second motor signal processing circuit and a multiplication operation unit circuit. Through these circuits, the current signals of the first motor and the second motor are obtained and processed, and a mixed signal input control chip is synthesized to realize monitoring and control of the load driving state of the dual motor.
This solution realizes the integration of dual motor load driving status monitoring signals, reduces the demand for chip AD port resources, reduces equipment costs and implementation difficulty.
Smart Images

Figure CN119675524A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of motor control, and in particular to a drive circuit and a control method and device based on the drive circuit. Background Art
[0002] With the development of science and technology, users have gradually increased their demands for the functions of household appliances and other equipment, especially those with large motor loads, which require more chip resources and AD port resources, resulting in higher requirements for chip levels, which in turn increases chip costs. Summary of the invention
[0003] In view of the above problems, a driving circuit and a control method and device based on the driving circuit are proposed to overcome the above problems or at least partially solve the above problems, including:
[0004] A driving circuit is applied to a target device, wherein the target device has a first motor, a second motor, and a control chip, and the driving circuit includes:
[0005] A current comparison circuit, used for obtaining a first current signal voltage of the first motor, and comparing the first current signal voltage with a preset first voltage threshold to obtain a comparison result signal; wherein the first voltage threshold is a voltage corresponding to the current of the first motor when it is stalled;
[0006] A second motor signal processing circuit, used for acquiring a second current signal voltage of the second motor, and processing the second current signal voltage to obtain a processing signal;
[0007] The multiplication unit circuit is used to couple the comparison result signal and the processing signal to obtain a mixed signal, and input the mixed signal into the control chip so that the control chip drives and controls the first motor and the second motor according to the mixed signal.
[0008] Optionally, the second motor signal processing circuit is a proportional amplifier circuit, and the processed signal is an amplified signal; the proportional amplifier circuit is used to obtain the second current signal voltage of the second motor, and amplify the second current signal voltage to obtain an amplified signal.
[0009] Optionally, when the voltage of the first current signal is greater than or equal to the first voltage threshold, the comparison result signal is at a low level; when the comparison result signal is at a low level, the mixed signal is at a low level;
[0010] When the voltage of the first current signal is less than the first voltage threshold, the comparison result signal is at a high level; when the comparison result signal is at a high level, the mixed signal is at a high level and the voltage of the mixed signal is the voltage of the amplified signal.
[0011] Optionally, the voltage of the amplified signal is the sum of the voltage of the amplified second current signal and a preset voltage.
[0012] A control method based on the driving circuit as described above is applied to the control chip, and the method comprises:
[0013] Determining a first operating state of the first motor according to the received mixed signal, and driving and controlling the first motor according to the first operating state;
[0014] A second operating state of the second motor is determined according to the received mixed signal, and the second motor is driven and controlled according to the second operating state.
[0015] Optionally, the second motor signal processing circuit is a proportional amplifier circuit, and the processed signal is an amplified signal; when the voltage of the first current signal is greater than or equal to the first voltage threshold, the comparison result signal is a low level; when the comparison result signal is a low level, the mixed signal is a low level;
[0016] When the voltage of the first current signal is less than the first voltage threshold, the comparison result signal is at a high level; when the comparison result signal is at a high level, the mixed signal is at a high level and the voltage of the mixed signal is the voltage of the amplified signal.
[0017] Optionally, determining the first operating state of the first motor according to the received mixed signal includes:
[0018] When the mixed signal is at a high level, determining that the first running state of the first motor is not blocked;
[0019] When the mixed signal is at a low level, it is determined that the first operating state of the first motor is stalled.
[0020] Optionally, determining the second operating state of the second motor according to the received mixed signal includes:
[0021] When the mixed signal is at a high level, the voltage of the mixed signal is compared with a preset second voltage threshold; wherein the second voltage threshold is the voltage after the current when the second motor is blocked is amplified by the proportional amplifier circuit;
[0022] A second operating state of the second motor is determined according to a comparison result between the voltage of the mixed signal and the second voltage threshold.
[0023] Optionally, determining the second operating state of the second motor according to a comparison result of the voltage of the mixed signal and the second voltage threshold includes:
[0024] When the voltage of the mixed signal is greater than or equal to the second voltage threshold, determining that the second operating state of the second motor is stalled;
[0025] When the voltage of the mixed signal is less than the second voltage threshold, it is determined that the second operating state of the second motor is not blocked.
[0026] A control device based on the above-mentioned drive circuit is applied to the control chip, and the device comprises:
[0027] a first motor control module, configured to determine a first operating state of the first motor according to the received mixed signal, and drive and control the first motor according to the first operating state;
[0028] The second motor control module is used to determine a second operating state of the second motor according to the received mixed signal, and drive and control the second motor according to the second operating state.
[0029] An air-conditioning range hood, comprising the driving circuit as described above, and / or the device as described above.
[0030] An electronic device comprises a processor, a memory and a computer program stored in the memory and capable of running on the processor, wherein the computer program implements the method described above when executed by the processor.
[0031] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described above is implemented.
[0032] A computer program product comprises a computer program, wherein when the computer program is executed by a processor, the computer program implements the method as described above.
[0033] The embodiments of the present invention have the following advantages:
[0034] In an embodiment of the present invention, a driving circuit is set, the driving circuit includes a current comparison circuit, a second motor signal processing circuit, and a multiplication unit circuit. The current comparison circuit is used to obtain the first current signal voltage of the first motor, and compare the first current signal voltage with a preset first voltage threshold to obtain a comparison result signal. The first voltage threshold is the voltage corresponding to the current of the first motor when it is locked. The second motor signal processing circuit is used to obtain the second current signal voltage of the second motor, and process the second current signal voltage to obtain a processing signal. The multiplication unit circuit is used to couple the comparison result signal and the processing signal to obtain a mixed signal, and input the mixed signal into the control chip so that the control chip drives and controls the first motor and the second motor according to the mixed signal, thereby realizing the fusion of the dual-motor load drive state monitoring signals, and then merging the two AD ports required for the dual-motor load drive state monitoring into one AD port, saving the chip's AD port resources and chip level requirements, and reducing the cost and implementation difficulty of the equipment. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the technical solution of the present invention, the accompanying drawings required for use in the description of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0036] Figure 1 is a schematic diagram of a driving circuit provided by some embodiments of the present invention;
[0037] Figure 2 is a flowchart of a control method based on a driving circuit provided by some embodiments of the present invention;
[0038] Figure 3 is a flowchart of a control method based on a driving circuit provided by some embodiments of the present invention;
[0039] Figure 4 It is a structural block diagram of a control device based on a driving circuit provided in some embodiments of the present invention. DETAILED DESCRIPTION
[0040] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0041] In an embodiment of the present invention, the running current of the motor is collected in the dual push rod circuit of equipment such as an air conditioner and a range hood, and a driving circuit for a dual motor load is formed by adding a current comparison circuit, a proportional amplification circuit, a multiplication unit circuit and a single AD port of a main control chip. The main control chip is used to collect the output signal of the multiplication unit circuit to perform logical judgment and control the driving state of the dual motors, and the two AD port resources required for dual motor load driving state monitoring are merged into one AD port for monitoring, which effectively saves the AD port resources and chip level requirements of the main control chip, and reduces the cost and difficulty of driving the dual motor load of the air conditioner and the range hood.
[0042] Through the embodiments of the present invention, when dual-push-rod motors are used in equipment such as air conditioners and range hoods, only a single AD sampling port is needed to complete the sampling and judgment of the motor operating status of the dual motors running simultaneously. When only any single motor load is running, the dual-motor load driving motor circuit is also applicable to collect the status of a single motor, which saves 50% of the chip AD port resources compared with the technical solutions of the related technologies.
[0043] Moreover, by utilizing the multiplication unit hardware circuit, the operating status of the dual-motor load is combined into a single mixed signal, and then the main control chip performs logical judgment to decouple the operating status of the dual-motor load. Only one AD acquisition port is required, instead of two AD acquisition ports.
[0044] Specifically, the embodiments of the present invention mainly include the following points:
[0045] 1. When dual-push-rod motors are used in equipment such as air conditioners and range hoods, only a single AD port is needed to complete the sampling and judgment of the motor operating status of dual motors running simultaneously. When only any single motor load is running, the status of the running motor can also be accurately sampled without being affected by the non-running motor.
[0046] 2. When dual push-rod motors are used in equipment such as air conditioners and range hoods, the current signal voltage of push-rod motor 1 is obtained, compared with the set voltage threshold through a current comparison circuit, and a comparison result signal is output; the current signal voltage of push-rod motor 2 is obtained, and the amplified signal of the current signal of motor 2 is output through a proportional amplifier circuit, and the comparison result signal and the amplified signal are coupled and combined into a single mixed signal using a multiplication unit circuit, which is output to the main control chip for decoupling to determine the operating status of the dual motors.
[0047] 3. When the air-conditioning range hood only uses push rod motor 1, the proportional amplifier circuit does not output the amplified signal of the current signal of motor 2, but only outputs a fixed-level signal. The comparison result signal of motor 1 is multiplied by the fixed-level signal output through the multiplication unit circuit, coupled and combined into a single mixed signal, which is output to the main control chip to judge the operating status of motor 1.
[0048] 4. When the air-conditioning range hood only uses the push rod motor 2, the motor 1 current comparison circuit has no output comparison signal, only a fixed-level signal output. The amplified signal of motor 2 is multiplied by the fixed-level signal output through the multiplication unit circuit, coupled and combined into a single mixed signal, which is output to the main control chip to judge the operating status of motor 2.
[0049] The present invention is exemplarily described below with reference to the accompanying drawings:
[0050] Reference Figure 1 , showing a schematic diagram of a driving circuit provided by some embodiments of the present invention, which is applied to target equipment, such as an air-conditioning range hood. An air-conditioning range hood is a kitchen appliance that integrates the functions of an air conditioner and a range hood. It aims to simultaneously solve the problems of temperature regulation and oil fume emission in the kitchen. It combines the cooling or heating function of an air conditioner and the exhaust function of a range hood to provide users with a more comfortable and healthier cooking environment.
[0051] Among them, the target device has a first motor, a second motor, and a control chip. For example, when the target device is an air conditioner and a range hood, one of the first motor and the second motor is a motor for driving the air conditioner, and the other of the first motor and the second motor is a motor for driving the range hood.
[0052] In some embodiments of the present invention, the driving circuit in the target device may include: a current comparison circuit, a second motor signal processing circuit, and a multiplication unit circuit.
[0053] A current comparison circuit, used for obtaining a first current signal voltage of the first motor, and comparing the first current signal voltage with a preset first voltage threshold to obtain a comparison result signal; wherein the first voltage threshold is a voltage corresponding to the current of the first motor when it is stalled;
[0054] A second motor signal processing circuit, used for acquiring a second current signal voltage of the second motor, and processing the second current signal voltage to obtain a processing signal;
[0055] The multiplication unit circuit is used to couple the comparison result signal and the processing signal to obtain a mixed signal, and input the mixed signal into the control chip so that the control chip drives and controls the first motor and the second motor according to the mixed signal.
[0056] In some embodiments of the present invention, the second motor signal processing circuit is a proportional amplifier circuit, and the processed signal is an amplified signal; the proportional amplifier circuit is used to obtain the second current signal voltage of the second motor, and amplify the second current signal voltage to obtain an amplified signal.
[0057] like Figure 1 The motor drive unit circuit includes: a main control chip U3 (i.e., a control chip), a current limiting resistor R1, a current limiting resistor R7, a switch tube MOS1, a switch tube MOS2, a motor current sampling resistor R2, and a motor current sampling resistor R8 (a small resistance and high-precision sampling resistor).
[0058] As an example, the switch tubes MOS1 and MOS2 may be controllable PWM switch devices such as MOSFET tubes, relays, thyristors, and so on.
[0059] Motor 1 current comparison circuit: set comparison threshold voltage-dividing resistor R3, set comparison threshold voltage-dividing resistor R4, comparison operation device U4, output signal voltage-dividing resistor R5, output signal voltage-dividing resistor R6.
[0060] Motor 2 proportional amplifier circuit: operational amplifier device U1, current limiting resistor R10, current limiting resistor R11, feedback resistor R9, bias resistor R12.
[0061] Multiplication unit circuit: multiplication device U2 (multiplies input signals).
[0062] In some embodiments of the present invention, when the voltage of the first current signal is greater than or equal to the first voltage threshold, the comparison result signal is a low level; when the comparison result signal is a low level, the mixed signal is a low level; when the voltage of the first current signal is less than the first voltage threshold, the comparison result signal is a high level; when the comparison result signal is a high level, the mixed signal is a high level and the voltage of the mixed signal is the voltage of the amplified signal.
[0063] The voltage of the amplified signal may be the sum of the amplified second current signal voltage and the preset voltage.
[0064] In an embodiment of the present invention, the running current of the motor is collected in the dual push rod circuit of equipment such as an air conditioner and a range hood, and a dual-motor load drive circuit is formed by adding a current comparison circuit, a proportional amplification circuit, a multiplication unit circuit and a single AD port of a main control chip. The main control chip is used to collect the output signal of the multiplication unit circuit for logical judgment and control of the driving state of the dual motors. The two AD port resources required for monitoring the driving state of the dual motor load are merged into one AD port for monitoring and judgment. Only a single AD port is needed to complete the sampling and judgment of the motor running state of the dual motors running at the same time. When only any single motor load is running, the state of the running motor can also be accurately sampled without being affected by the non-running motor.
[0065] The following combination Figure 1 and Figure 3 The present invention is exemplified as follows:
[0066] When using a double-push rod motor in an air conditioner range hood, the specific treatment is as follows:
[0067] For motor 1:
[0068] Use the R2 resistor to obtain the current signal voltage Ur2 of the push rod motor 1 (i.e., the first current signal voltage), Ur2 = R2 * I1, where I1 is the current of the push rod motor 1.
[0069] The current comparison circuit sets the voltage threshold (the first voltage threshold) as Ur2o = Io * R2, where Io is the current of the push rod motor 1 during stall. The current signal voltage Ur2 is compared with the set voltage threshold Ur2o through the current comparison circuit and outputs the comparison result signal Ur2-out (i.e., comparing the first current signal voltage with the preset first voltage threshold to obtain the comparison result signal).
[0070] When Ur2 > Ur2o, the output comparison result signal Ur2-out is 0V / low level (i.e., when the first current signal voltage is greater than or equal to the first voltage threshold, the comparison result signal is low level). When Ur2 < Ur2o, the output comparison result signal Ur2-out is 1V / high level (i.e., when the first current signal voltage is less than the first voltage threshold, the comparison result signal is high level).
[0071] For motor 2:
[0072] Use the R8 resistor to obtain the current signal voltage Ur8 of the push rod motor 2 (i.e., the second current signal voltage), Ur8 = R8 * I2, where I2 is the current of the push rod motor 2.
[0073] Output the amplified signal Ur8-out which is k times the amplified current signal of motor 2 through the proportional amplification circuit, Ur8-out = Vcc / 2 + Ur8 * k (i.e., amplify the second current signal voltage to obtain the amplified signal). In some examples, when the push rod motor 2 is not running, Ur8-out = Vcc / 2 (Vcc / 2 is the preset voltage, i.e., the voltage of the amplified signal is the sum of the amplified second current signal voltage and the preset voltage).
[0074] In some examples, the set stall current threshold of the push rod motor 2 is set as Ur8o (i.e., the second voltage threshold), which is obtained by calculating Ur8o through Vcc / 2 + Ur8 * k for the stall current I8o when the push rod motor 2 is stalled.
[0075] For judging the running state of the motor:
[0076] The comparison result signal Ur2-out and the amplified signal Ur8-out are coupled and combined into a single mixed signal Ur2-8 using a multiplication unit circuit (ie, the comparison result signal and the processed signal are coupled to obtain a mixed signal).
[0077] When Ur2-out (i.e., the comparison result signal) is equal to 0, Ur2-8 (i.e., the mixed signal) is equal to 0 (i.e., when the comparison result signal is at a low level, the mixed signal is at a low level). When Ur2-out (i.e., the comparison result signal)>0, Ur2-8 (i.e., the mixed signal) is equal to Ur8-out (i.e., the voltage of the amplified signal) (i.e., when the comparison result signal is at a high level, the mixed signal is at a high level and the voltage of the mixed signal is the voltage of the amplified signal).
[0078] The mixed signal is output to the main control chip for decoupling to determine the operating status of the dual motors.
[0079] When the main control chip receives the mixed signal Ur2-8, a decoupling logic judgment is performed. When the mixed signal Ur2-8 is greater than 0, it can be determined that the push rod motor 1 is not blocked (that is, when the mixed signal is at a high level, it is determined that the first operating state of the first motor is not blocked), and the drive can continue.
[0080] Then, determine whether the PWM of the push rod motor 2 is continuously output, and then determine whether the output signal Ur2-8 is greater than the set stall current threshold Ur8o (that is, the second voltage threshold) (that is, when the mixed signal is at a high level, the voltage of the mixed signal is compared with the preset second voltage threshold). When Ur2-8>Ur8o, it can be determined that the push rod motor 2 is stalled (that is, when the voltage of the mixed signal is greater than or equal to the second voltage threshold, it is determined that the second operating state of the second motor is stalled), and the driving of the push rod motor 2 is stopped. Otherwise (that is, when the voltage of the mixed signal is less than the second voltage threshold, it is determined that the second operating state of the second motor is not stalled), continue to run.
[0081] When the mixed signal Ur2-8 is equal to 0, it can be determined that the push rod motor 1 is blocked (that is, when the mixed signal is at a low level, the first operating state of the first motor is determined to be blocked), the push rod motor 1 is stopped from being driven, and the logic judgment is re-performed.
[0082] In some examples, when only the push rod motor 1 is used in the air conditioner range hood, the proportional amplifier circuit does not output the amplified Ur8-out of the motor 2 current signal, but only outputs a fixed level signal Vcc / 2 (the voltage of the amplified signal is the sum of the amplified second current signal voltage and the preset voltage. When there is no second current signal input, the amplified signal is the preset voltage, i.e., Vcc / 2). The comparison result signal Ur2-out of the motor 1 is multiplied by the fixed level signal Vcc / 2 output through the multiplication unit circuit, and the mixed signal Ur2-out*Vcc / 2 is coupled and output to the main control chip for judgment. When Ur2-out*Vcc / 2 is equal to 0, it can be determined that the push rod motor 1 is blocked, and the driving of the push rod motor 1 is stopped, and the logic judgment is re-performed. When Ur2-out*Vcc / 2 is equal to Vcc / 2, it can be determined that the push rod motor 1 is not blocked and can continue to be driven.
[0083] When the air-conditioning range hood only uses the push rod motor 2, the push rod motor 1 does not run, and the current comparison circuit outputs the comparison signal Ur2-out of 1V / high level. The amplified signal Ur8-out of the motor 2 is multiplied by the 1V signal output through the multiplication unit circuit, and coupled and combined into a single mixed signal Ur8-out*1V, which is output to the main control chip for judgment. When Ur8-out*1V>Ur8o, it can be determined that the push rod motor 2 is blocked, and the driving of the push rod motor 2 is stopped, and the logic judgment is re-performed. Otherwise, it can be determined that the push rod motor 1 is not blocked and can continue to be driven.
[0084] In an embodiment of the present invention, a driving circuit is set, the driving circuit includes a current comparison circuit, a second motor signal processing circuit, and a multiplication unit circuit. The current comparison circuit is used to obtain the first current signal voltage of the first motor, and compare the first current signal voltage with a preset first voltage threshold to obtain a comparison result signal. The first voltage threshold is the voltage corresponding to the current of the first motor when it is locked. The second motor signal processing circuit is used to obtain the second current signal voltage of the second motor, and process the second current signal voltage to obtain a processing signal. The multiplication unit circuit is used to couple the comparison result signal and the processing signal to obtain a mixed signal, and input the mixed signal into the control chip so that the control chip drives and controls the first motor and the second motor according to the mixed signal, thereby realizing the fusion of the dual-motor load drive state monitoring signals, and then merging the two AD ports required for the dual-motor load drive state monitoring into one AD port, saving the chip's AD port resources and chip level requirements, and reducing the cost and implementation difficulty of the equipment.
[0085] Reference Figure 2, shows a step flow chart of a control method based on a driving circuit provided in some embodiments of the present invention, which can be applied to a control chip in a target device.
[0086] For example, the target device is an air-conditioning range hood, which is a kitchen appliance that integrates the functions of an air conditioner and a range hood. It is designed to simultaneously solve the problems of temperature regulation and fume emission in the kitchen, combining the cooling or heating function of an air conditioner and the smoke exhaust function of a range hood to provide users with a more comfortable and healthier cooking environment.
[0087] Among them, the target device has a first motor, a second motor, and a control chip. For example, when the target device is an air conditioner and a range hood, one of the first motor and the second motor is a motor for driving the air conditioner, and the other of the first motor and the second motor is a motor for driving the range hood.
[0088] In some embodiments of the present invention, the driving circuit in the target device may include: a current comparison circuit, a second motor signal processing circuit, and a multiplication unit circuit.
[0089] A current comparison circuit, used for obtaining a first current signal voltage of the first motor, and comparing the first current signal voltage with a preset first voltage threshold to obtain a comparison result signal; wherein the first voltage threshold is a voltage corresponding to the current of the first motor when it is stalled;
[0090] A second motor signal processing circuit, used for acquiring a second current signal voltage of the second motor, and processing the second current signal voltage to obtain a processing signal;
[0091] The multiplication unit circuit is used to couple the comparison result signal and the processing signal to obtain a mixed signal, and input the mixed signal into the control chip so that the control chip drives and controls the first motor and the second motor according to the mixed signal.
[0092] In some embodiments of the present invention, the second motor signal processing circuit is a proportional amplifier circuit, and the processed signal is an amplified signal; the proportional amplifier circuit is used to obtain the second current signal voltage of the second motor, and amplify the second current signal voltage to obtain an amplified signal.
[0093] like Figure 1 The motor drive unit circuit includes: a main control chip U3 (i.e., a control chip), a current limiting resistor R1, a current limiting resistor R7, a switch tube MOS1, a switch tube MOS2, a motor current sampling resistor R2, and a motor current sampling resistor R8 (a small resistance and high-precision sampling resistor).
[0094] As an example, the switch tubes MOS1 and MOS2 may be controllable PWM switch devices such as MOSFET tubes, relays, thyristors, and so on.
[0095] Motor 1 current comparison circuit: set comparison threshold voltage-dividing resistor R3, set comparison threshold voltage-dividing resistor R4, comparison operation device U4, output signal voltage-dividing resistor R5, output signal voltage-dividing resistor R6.
[0096] Motor 2 proportional amplifier circuit: operational amplifier device U1, current limiting resistor R10, current limiting resistor R11, feedback resistor R9, bias resistor R12.
[0097] Multiplication unit circuit: multiplication device U2 (multiplies input signals).
[0098] In some embodiments of the present invention, when the voltage of the first current signal is greater than or equal to the first voltage threshold, the comparison result signal is a low level; when the comparison result signal is a low level, the mixed signal is a low level; when the voltage of the first current signal is less than the first voltage threshold, the comparison result signal is a high level; when the comparison result signal is a high level, the mixed signal is a high level and the voltage of the mixed signal is the voltage of the amplified signal.
[0099] The voltage of the amplified signal may be the sum of the amplified second current signal voltage and the preset voltage.
[0100] In an embodiment of the present invention, the running current of the motor is collected in the dual push rod circuit of equipment such as an air conditioner and a range hood, and a dual-motor load drive circuit is formed by adding a current comparison circuit, a proportional amplification circuit, a multiplication unit circuit and a single AD port of a main control chip. The main control chip is used to collect the output signal of the multiplication unit circuit for logical judgment and control of the driving state of the dual motors. The two AD port resources required for monitoring the driving state of the dual motor load are merged into one AD port for monitoring and judgment. Only a single AD port is needed to complete the sampling and judgment of the motor running state of the dual motors running at the same time. When only any single motor load is running, the state of the running motor can also be accurately sampled without being affected by the non-running motor.
[0101] Specifically, the following steps may be included:
[0102] Step 201 : determining a first operating state of the first motor according to the received mixed signal, and driving and controlling the first motor according to the first operating state.
[0103] In some embodiments of the present invention, determining the first operating state of the first motor according to the received mixed signal includes:
[0104] When the mixed signal is at a high level, it is determined that the first operating state of the first motor is not stalled; when the mixed signal is at a low level, it is determined that the first operating state of the first motor is stalled.
[0105] Step 202 : determining a second operating state of the second motor according to the received mixed signal, and driving and controlling the second motor according to the second operating state.
[0106] In some embodiments of the present invention, determining the second operating state of the second motor based on the received mixed signal includes: when the mixed signal is at a high level, comparing the voltage of the mixed signal with a preset second voltage threshold; and determining the second operating state of the second motor based on the comparison result of the voltage of the mixed signal and the second voltage threshold.
[0107] Wherein, the second voltage threshold is the voltage after the current when the second motor is blocked is amplified by the proportional amplifier circuit;
[0108] In some embodiments of the present invention, determining the second operating state of the second motor according to a comparison result between the voltage of the mixed signal and the second voltage threshold comprises:
[0109] When the voltage of the mixed signal is greater than or equal to the second voltage threshold, the second operating state of the second motor is determined to be stalled; when the voltage of the mixed signal is less than the second voltage threshold, the second operating state of the second motor is determined to be non-stalled.
[0110] The following combination Figure 1 and Figure 3 The present invention is exemplified as follows:
[0111] When a double-push-rod motor is used in an air-conditioning range hood, the specific processing is as follows:
[0112] For Motor 1:
[0113] The resistor R2 is used to obtain the current signal voltage Ur2 (ie, the first current signal voltage) of the push rod motor 1 , where Ur2 = R2 * I1 , and I1 is the current of the push rod motor 1 .
[0114] The current comparison circuit sets the voltage threshold (first voltage threshold) to Ur2o=Io*R2, where Io is the current of the push rod motor 1 when it is stalled. The current signal voltage Ur2 is compared with the set voltage threshold Ur2o through the current comparison circuit and outputs a comparison result signal Ur2-out (i.e., the first current signal voltage is compared with the preset first voltage threshold to obtain a comparison result signal).
[0115] When Ur2 > Ur2o, the output comparison result signal Ur2-out is 0V / low level (i.e., when the first current signal voltage is greater than or equal to the first voltage threshold, the comparison result signal is low level). When Ur2 < Ur2o, the output comparison result signal Ur2-out is 1V / high level (i.e., when the first current signal voltage is less than the first voltage threshold, the comparison result signal is high level).
[0116] For motor 2:
[0117] Use the R8 resistor to obtain the current signal voltage Ur8 of the push rod motor 2 (i.e., the second current signal voltage), Ur8 = R8 * I2, where I2 is the current of the push rod motor 2.
[0118] Output an amplified signal Ur8-out that is k times the amplified current signal of motor 2 through a proportional amplification circuit, Ur8-out = Vcc / 2 + Ur8 * k (i.e., amplify the second current signal voltage to obtain an amplified signal). In some examples, when the push rod motor 2 is not running, Ur8-out = Vcc / 2 (Vcc / 2 is a preset voltage, i.e., the voltage of the amplified signal is the sum of the amplified second current signal voltage and the preset voltage).
[0119] In some examples, the set stall current threshold of the push rod motor 2 is set to Ur8o (i.e., the second voltage threshold), which is obtained by calculating Ur8o from the stall current I8o when the push rod motor 2 is stalled through Vcc / 2 + Ur8 * k.
[0120] For motor operating state judgment:
[0121] Use a multiplication operation unit circuit to couple and combine the comparison result signal Ur2-out and the amplified signal Ur8-out into a single mixed signal Ur2-8 (i.e., couple the comparison result signal and the processed signal to obtain a mixed signal).
[0122] When Ur2-out (i.e., the comparison result signal) is equal to 0, Ur2-8 (i.e., the mixed signal) is equal to 0 (i.e., when the comparison result signal is low level, the mixed signal is low level). When Ur2-out (i.e., the comparison result signal) > 0, Ur2-8 (i.e., the mixed signal) is equal to Ur8-out (i.e., the voltage of the amplified signal) (i.e., when the comparison result signal is high level, the mixed signal is high level and the voltage of the mixed signal is the voltage of the amplified signal).
[0123] Output the mixed signal to the main control chip for decoupling to judge the operating state of the dual motors.
[0124] When the main control chip receives the mixed signal Ur2-8, a decoupling logic judgment is performed. When the mixed signal Ur2-8 is greater than 0, it can be determined that the push rod motor 1 is not blocked (that is, when the mixed signal is at a high level, it is determined that the first operating state of the first motor is not blocked), and the drive can continue.
[0125] Then, determine whether the PWM of the push rod motor 2 is continuously output, and then determine whether the output signal Ur2-8 is greater than the set stall current threshold Ur8o (that is, the second voltage threshold) (that is, when the mixed signal is at a high level, the voltage of the mixed signal is compared with the preset second voltage threshold). When Ur2-8>Ur8o, it can be determined that the push rod motor 2 is stalled (that is, when the voltage of the mixed signal is greater than or equal to the second voltage threshold, it is determined that the second operating state of the second motor is stalled), and the driving of the push rod motor 2 is stopped. Otherwise (that is, when the voltage of the mixed signal is less than the second voltage threshold, it is determined that the second operating state of the second motor is not stalled), continue to run.
[0126] When the mixed signal Ur2-8 is equal to 0, it can be determined that the push rod motor 1 is blocked (that is, when the mixed signal is at a low level, the first operating state of the first motor is determined to be blocked), the push rod motor 1 is stopped from being driven, and the logic judgment is re-performed.
[0127] In some examples, when only the push rod motor 1 is used in the air conditioner range hood, the proportional amplifier circuit does not output the amplified Ur8-out of the motor 2 current signal, but only outputs a fixed level signal Vcc / 2 (the voltage of the amplified signal is the sum of the amplified second current signal voltage and the preset voltage. When there is no second current signal input, the amplified signal is the preset voltage, i.e., Vcc / 2). The comparison result signal Ur2-out of the motor 1 is multiplied by the fixed level signal Vcc / 2 output through the multiplication unit circuit, and the mixed signal Ur2-out*Vcc / 2 is coupled and output to the main control chip for judgment. When Ur2-out*Vcc / 2 is equal to 0, it can be determined that the push rod motor 1 is blocked, and the driving of the push rod motor 1 is stopped, and the logic judgment is re-performed. When Ur2-out*Vcc / 2 is equal to Vcc / 2, it can be determined that the push rod motor 1 is not blocked and can continue to be driven.
[0128] When the air-conditioning range hood only uses the push rod motor 2, the push rod motor 1 does not run, and the current comparison circuit outputs the comparison signal Ur2-out of 1V / high level. The amplified signal Ur8-out of the motor 2 is multiplied by the 1V signal output through the multiplication unit circuit, and coupled and combined into a single mixed signal Ur8-out*1V, which is output to the main control chip for judgment. When Ur8-out*1V>Ur8o, it can be determined that the push rod motor 2 is blocked, and the driving of the push rod motor 2 is stopped, and the logic judgment is re-performed. Otherwise, it can be determined that the push rod motor 1 is not blocked and can continue to be driven.
[0129] In an embodiment of the present invention, a driving circuit is set, the driving circuit includes a current comparison circuit, a second motor signal processing circuit, and a multiplication unit circuit. The current comparison circuit is used to obtain the first current signal voltage of the first motor, and compare the first current signal voltage with a preset first voltage threshold to obtain a comparison result signal. The first voltage threshold is the voltage corresponding to the current of the first motor when it is locked. The second motor signal processing circuit is used to obtain the second current signal voltage of the second motor, and process the second current signal voltage to obtain a processing signal. The multiplication unit circuit is used to couple the comparison result signal and the processing signal to obtain a mixed signal, and input the mixed signal into the control chip so that the control chip drives and controls the first motor and the second motor according to the mixed signal, thereby realizing the fusion of the dual-motor load drive state monitoring signals, and then merging the two AD ports required for the dual-motor load drive state monitoring into one AD port, saving the chip's AD port resources and chip level requirements, and reducing the cost and implementation difficulty of the equipment.
[0130] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
[0131] Reference Figure 4 , shows a schematic diagram of the structure of a control device based on the driving circuit as described above provided in some embodiments of the present invention, which is applied to the control chip.
[0132] For example, the target device is an air-conditioning range hood, which is a kitchen appliance that integrates the functions of an air conditioner and a range hood. It is designed to simultaneously solve the problems of temperature regulation and fume emission in the kitchen, combining the cooling or heating function of an air conditioner and the smoke exhaust function of a range hood to provide users with a more comfortable and healthier cooking environment.
[0133] Among them, the target device has a first motor, a second motor, and a control chip. For example, when the target device is an air conditioner and a range hood, one of the first motor and the second motor is a motor for driving the air conditioner, and the other of the first motor and the second motor is a motor for driving the range hood.
[0134] In some embodiments of the present invention, the driving circuit in the target device may include: a current comparison circuit, a second motor signal processing circuit, and a multiplication unit circuit.
[0135] a current comparison circuit, used for obtaining a first current signal voltage of the first motor, and comparing the first current signal voltage with a preset first voltage threshold to obtain a comparison result signal; wherein the first voltage threshold is a voltage corresponding to the current of the first motor when it is stalled;
[0136] A second motor signal processing circuit, used for acquiring a second current signal voltage of the second motor, and processing the second current signal voltage to obtain a processing signal;
[0137] The multiplication unit circuit is used to couple the comparison result signal and the processing signal to obtain a mixed signal, and input the mixed signal into the control chip so that the control chip drives and controls the first motor and the second motor according to the mixed signal.
[0138] In some embodiments of the present invention, the second motor signal processing circuit is a proportional amplifier circuit, and the processed signal is an amplified signal; the proportional amplifier circuit is used to obtain the second current signal voltage of the second motor, and amplify the second current signal voltage to obtain an amplified signal.
[0139] like Figure 1 The motor drive unit circuit includes: a main control chip U3 (i.e., a control chip), a current limiting resistor R1, a current limiting resistor R7, a switch tube MOS1, a switch tube MOS2, a motor current sampling resistor R2, and a motor current sampling resistor R8 (a small resistance and high-precision sampling resistor).
[0140] As an example, the switch tubes MOS1 and MOS2 may be controllable PWM switch devices such as MOSFET tubes, relays, thyristors, and so on.
[0141] Motor 1 current comparison circuit: set comparison threshold voltage-dividing resistor R3, set comparison threshold voltage-dividing resistor R4, comparison operation device U4, output signal voltage-dividing resistor R5, output signal voltage-dividing resistor R6.
[0142] Motor 2 proportional amplifier circuit: operational amplifier device U1, current limiting resistor R10, current limiting resistor R11, feedback resistor R9, bias resistor R12.
[0143] Multiplication unit circuit: multiplication device U2 (multiplies input signals).
[0144] In some embodiments of the present invention, when the voltage of the first current signal is greater than or equal to the first voltage threshold, the comparison result signal is a low level; when the comparison result signal is a low level, the mixed signal is a low level; when the voltage of the first current signal is less than the first voltage threshold, the comparison result signal is a high level; when the comparison result signal is a high level, the mixed signal is a high level and the voltage of the mixed signal is the voltage of the amplified signal.
[0145] The voltage of the amplified signal may be the sum of the amplified second current signal voltage and the preset voltage.
[0146] In an embodiment of the present invention, the running current of the motor is collected in the dual push rod circuit of equipment such as an air conditioner and a range hood, and a dual-motor load drive circuit is formed by adding a current comparison circuit, a proportional amplification circuit, a multiplication unit circuit and a single AD port of a main control chip. The main control chip is used to collect the output signal of the multiplication unit circuit for logical judgment and control of the driving state of the dual motors. The two AD port resources required for monitoring the driving state of the dual motor load are merged into one AD port for monitoring and judgment. Only a single AD port is needed to complete the sampling and judgment of the motor running state of the dual motors running at the same time. When only any single motor load is running, the state of the running motor can also be accurately sampled without being affected by the non-running motor.
[0147] Specifically, the following modules may be included:
[0148] A first motor control module 401, configured to determine a first operating state of the first motor according to the received mixed signal, and drive and control the first motor according to the first operating state;
[0149] The second motor control module 402 is used to determine a second operating state of the second motor according to the received mixed signal, and drive and control the second motor according to the second operating state.
[0150] In some embodiments of the present invention, the second motor signal processing circuit is a proportional amplification circuit, and the processed signal is an amplified signal; when the voltage of the first current signal is greater than or equal to the first voltage threshold, the comparison result signal is a low level; when the comparison result signal is a low level, the mixed signal is a low level; when the voltage of the first current signal is less than the first voltage threshold, the comparison result signal is a high level; when the comparison result signal is a high level, the mixed signal is a high level and the voltage of the mixed signal is the voltage of the amplified signal.
[0151] In some embodiments of the present invention, determining the first operating state of the first motor according to the received mixed signal includes:
[0152] When the mixed signal is at a high level, determining that the first running state of the first motor is not blocked;
[0153] When the mixed signal is at a low level, it is determined that the first operating state of the first motor is stalled.
[0154] In some embodiments of the present invention, determining the second operating state of the second motor according to the received mixed signal includes:
[0155] When the mixed signal is at a high level, the voltage of the mixed signal is compared with a preset second voltage threshold; wherein the second voltage threshold is the voltage after the current when the second motor is blocked is amplified by the proportional amplifier circuit;
[0156] A second operating state of the second motor is determined according to a comparison result between the voltage of the mixed signal and the second voltage threshold.
[0157] In some embodiments of the present invention, determining the second operating state of the second motor according to a comparison result between the voltage of the mixed signal and the second voltage threshold comprises:
[0158] When the voltage of the mixed signal is greater than or equal to the second voltage threshold, determining that the second operating state of the second motor is stalled;
[0159] When the voltage of the mixed signal is less than the second voltage threshold, it is determined that the second operating state of the second motor is not blocked.
[0160] In an embodiment of the present invention, a driving circuit is set, the driving circuit includes a current comparison circuit, a second motor signal processing circuit, and a multiplication unit circuit. The current comparison circuit is used to obtain the first current signal voltage of the first motor, and compare the first current signal voltage with a preset first voltage threshold to obtain a comparison result signal. The first voltage threshold is the voltage corresponding to the current of the first motor when it is locked. The second motor signal processing circuit is used to obtain the second current signal voltage of the second motor, and process the second current signal voltage to obtain a processing signal. The multiplication unit circuit is used to couple the comparison result signal and the processing signal to obtain a mixed signal, and input the mixed signal into the control chip so that the control chip drives and controls the first motor and the second motor according to the mixed signal, thereby realizing the fusion of the dual-motor load drive state monitoring signals, and then merging the two AD ports required for the dual-motor load drive state monitoring into one AD port, saving the chip's AD port resources and chip level requirements, and reducing the cost and implementation difficulty of the equipment.
[0161] Some embodiments of the present invention further provide an air-conditioning range hood, which includes the driving circuit as described above, and / or the device as described above.
[0162] Some embodiments of the present invention further provide an electronic device, comprising a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the above method is implemented when the computer program is executed by the processor.
[0163] Some embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, and the computer program implements the above method when executed by a processor.
[0164] Some embodiments of the present invention further provide a computer program product, including a computer program, which implements the above method when executed by a processor.
[0165] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0166] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0167] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0168] Those skilled in the art will appreciate that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0169] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0170] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0171] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0172] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.
[0173] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the above elements.
[0174] The above provides a detailed introduction to a driving circuit and a control method and device based on the driving circuit. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for a general technician in this field, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A driving circuit, characterized in that: Applied to a target device, the target device has a first motor, a second motor, and a control chip, and the driving circuit includes: A current comparison circuit, used for obtaining a first current signal voltage of the first motor, and comparing the first current signal voltage with a preset first voltage threshold to obtain a comparison result signal; wherein the first voltage threshold is a voltage corresponding to the current of the first motor when it is stalled; A second motor signal processing circuit, used for acquiring a second current signal voltage of the second motor, and processing the second current signal voltage to obtain a processing signal; The multiplication unit circuit is used to couple the comparison result signal and the processing signal to obtain a mixed signal, and input the mixed signal into the control chip so that the control chip drives and controls the first motor and the second motor according to the mixed signal.
2. The driving circuit according to claim 1, characterized in that: The second motor signal processing circuit is a proportional amplifier circuit, and the processed signal is an amplified signal; The proportional amplifier circuit is used to obtain the second current signal voltage of the second motor, and amplify the second current signal voltage to obtain an amplified signal.
3. The driving circuit according to claim 2, characterized in that: When the voltage of the first current signal is greater than or equal to the first voltage threshold, the comparison result signal is at a low level; when the comparison result signal is at a low level, the mixed signal is at a low level; When the voltage of the first current signal is less than the first voltage threshold, the comparison result signal is at a high level; when the comparison result signal is at a high level, the mixed signal is at a high level and the voltage of the mixed signal is the voltage of the amplified signal.
4. The driving circuit according to claim 2, characterized in that: The voltage of the amplified signal is the sum of the amplified second current signal voltage and the preset voltage.
5. A control method based on the driving circuit according to any one of claims 1 to 4, characterized in that: Applied to the control chip, the method comprises: Determining a first operating state of the first motor according to the received mixed signal, and driving and controlling the first motor according to the first operating state; A second operating state of the second motor is determined according to the received mixed signal, and the second motor is driven and controlled according to the second operating state.
6. The method according to claim 5, characterized in that The second motor signal processing circuit is a proportional amplifier circuit, and the processed signal is an amplified signal; When the voltage of the first current signal is greater than or equal to the first voltage threshold, the comparison result signal is at a low level; when the comparison result signal is at a low level, the mixed signal is at a low level; When the voltage of the first current signal is less than the first voltage threshold, the comparison result signal is at a high level; when the comparison result signal is at a high level, the mixed signal is at a high level and the voltage of the mixed signal is the voltage of the amplified signal.
7. The method according to claim 6, characterized in that The step of determining a first operating state of the first motor according to the received mixed signal includes: When the mixed signal is at a high level, determining that the first running state of the first motor is not blocked; When the mixed signal is at a low level, it is determined that the first operating state of the first motor is stalled.
8. The method according to claim 6, characterized in that The step of determining the second operating state of the second motor according to the received mixed signal includes: When the mixed signal is at a high level, the voltage of the mixed signal is compared with a preset second voltage threshold; wherein the second voltage threshold is the voltage after the current when the second motor is blocked is amplified by the proportional amplifier circuit; A second operating state of the second motor is determined according to a comparison result between the voltage of the mixed signal and the second voltage threshold.
9. The method according to claim 8, characterized in that Determining the second operating state of the second motor according to a comparison result between the voltage of the mixed signal and the second voltage threshold comprises: When the voltage of the mixed signal is greater than or equal to the second voltage threshold, determining that the second operating state of the second motor is stalled; When the voltage of the mixed signal is less than the second voltage threshold, it is determined that the second operating state of the second motor is not blocked.
10. A control device based on the drive circuit according to any one of claims 1 to 4, characterized in that: Applied to the control chip, the device comprises: a first motor control module, configured to determine a first operating state of the first motor according to the received mixed signal, and drive and control the first motor according to the first operating state; The second motor control module is used to determine a second operating state of the second motor according to the received mixed signal, and drive and control the second motor according to the second operating state.
11. An air-conditioning range hood, characterized in that: The air-conditioning range hood comprises the driving circuit according to any one of claims 1 to 4, and / or the device according to claim 10.
12. An electronic device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program implements the method according to any one of claims 5 to 9 when executed by the processor.
13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 5 to 9 is implemented.
14. A computer program product, characterized in that The invention comprises a computer program which, when executed by a processor, implements the method according to any one of claims 5 to 9.