Direct current motor driving device

文档序号:765353 发布日期:2021-04-06 浏览:11次 中文

阅读说明:本技术 一种直流电机驱动装置 (Direct current motor driving device ) 是由 刘晓亚 王璞 齐成勇 于 2020-12-22 设计创作,主要内容包括:本发明适用于电机控制技术领域,提供了一种直流电机驱动装置,包括:第一单片机、驱动模块以及反馈采样模块;驱动模块用于监测并发送目标电机的电流信号至反馈采样模块;反馈采样模块用于生成并发送电压反馈信号反馈至第一单片机;第一单片机用于根据电压反馈信号生成并发送控制信号至驱动模块;驱动模块用于根据控制信号生成并发送PWM信号至目标电机。本发明提供的装置可以基于流经目标电机的电流信号生成PWM信号驱动电机运行,从而根据电机运行的实际情况控制目标电机运转,解决因电机电刷接触不良造成的起动转矩下降问题,提高电机运行的可靠性。(The invention is suitable for the technical field of motor control, and provides a direct current motor driving device, which comprises: the system comprises a first singlechip, a driving module and a feedback sampling module; the driving module is used for monitoring and sending a current signal of the target motor to the feedback sampling module; the feedback sampling module is used for generating and sending a voltage feedback signal to be fed back to the first single chip microcomputer; the first single chip microcomputer is used for generating and sending a control signal to the driving module according to the voltage feedback signal; the driving module is used for generating and sending a PWM signal to the target motor according to the control signal. The device provided by the invention can generate the PWM signal to drive the motor to operate based on the current signal flowing through the target motor, thereby controlling the target motor to operate according to the actual condition of the motor operation, solving the problem of starting torque reduction caused by poor contact of the motor brush and improving the reliability of the motor operation.)

1. A direct current motor drive device, comprising: the system comprises a first singlechip, a driving module and a feedback sampling module;

the output end of the first single chip microcomputer is connected with the input end of the driving module, the first driving output end of the driving module is used for being connected with the anode of a target motor, and the second driving output end of the driving module is used for being connected with the cathode of the target motor; the current feedback end of the driving module is connected with the input end of the feedback sampling module, and the output end of the feedback sampling module is connected with the feedback signal input end of the first single chip microcomputer;

the driving module is used for monitoring a current signal flowing through the target motor and sending the current signal to the feedback sampling module;

the feedback sampling module is used for converting the current signal into a voltage feedback signal and feeding the voltage feedback signal back to the first single chip microcomputer;

the first single chip microcomputer is used for generating a control signal according to the voltage feedback signal and sending the control signal to the driving module;

the driving module is further used for generating a PWM signal according to the control signal and sending the PWM signal to the target motor.

2. A dc motor drive as recited in claim 1, wherein said control signals include a regulation control signal and a stall control signal;

the first single chip microcomputer is specifically used for:

judging the magnitude relation between the voltage feedback signal and a first threshold value and a second threshold value, wherein the first threshold value is smaller than the second threshold value;

if the voltage feedback signal is larger than the first threshold and smaller than or equal to the second threshold, generating a regulation control signal according to the voltage feedback signal; the adjusting control signal is used for increasing the duty ratio of the PWM signal;

if the voltage feedback signal is greater than the second threshold, generating a stall control signal; the stall control signal is used for adjusting the PWM signal to be at a low level.

3. The dc motor drive of claim 1, wherein said feedback sampling module comprises:

the circuit comprises a sampling resistor, a filter circuit, a first operational amplifier, a first adjusting resistor and a second adjusting resistor;

the first end of the sampling resistor is respectively connected with the input end of the feedback sampling module and the input end of the filter circuit, and the second end of the sampling resistor and the grounding end of the filter circuit are grounded; the output end of the filter circuit is connected with the non-inverting input end of the first operational amplifier; the inverting input end of the first operational amplifier is grounded through a first adjusting resistor, and the output end of the first operational amplifier is connected with the output end of the feedback sampling module; the second adjusting resistor is connected between the output end and the inverting input end of the first operational amplifier.

4. The direct current motor drive device according to claim 1, further comprising: a steering control module;

the input end of the steering control module is used for connecting a third-party power supply system, and the output end of the steering control module is connected with the steering signal input end of the first single chip microcomputer;

the steering control module is used for acquiring the output voltage of a third-party system, generating a steering signal according to the output voltage of the third-party system and sending the steering signal to the first single chip microcomputer;

the first single chip microcomputer is used for generating the control signal according to the feedback signal and the steering signal.

5. The direct current motor drive of claim 4, wherein the input of the steering control module comprises a positive input and a negative input, and the output of the steering control module comprises a first output and a second output; the steering control module includes: the first voltage-dividing resistor, the second voltage-dividing resistor, the third voltage-dividing resistor, the fourth voltage-dividing resistor, the first diode and the second diode;

a first end of the first voltage-dividing resistor and an anode of the first diode are respectively connected with a positive input end of the steering control module, and a second end of the first voltage-dividing resistor and a first end of the second voltage-dividing resistor are respectively connected with a first output end of the steering control module; a first end of the third voltage-dividing resistor and a positive electrode of the second diode are respectively connected with a negative input end of the steering control module, and a second end of the third voltage-dividing resistor and a first end of the fourth voltage-dividing resistor are respectively connected with a second output end of the steering control module; the cathode of the first diode and the cathode of the second diode are respectively connected with an external power supply; the second end of the second voltage-dividing resistor and the second end of the fourth voltage-dividing resistor are both grounded.

6. The direct current motor driving device according to claim 1, wherein the control signal includes a stop signal, the direct current motor driving device further comprising an on-off control module installed at a target load; the target load is a load corresponding to the target motor;

the output end of the on-off control module is connected with the in-place signal input end of the first single chip microcomputer;

the on-off control module is used for generating an in-place signal after monitoring that the target load reaches a specified position, and sending the in-place signal to the first single chip microcomputer;

the first single chip microcomputer is used for generating the stop signal according to the in-place signal, and the stop signal is used for indicating the driving module to stop driving.

7. The direct current motor drive of claim 6, wherein the output of said on-off control module comprises a first output and a second output; the in-place signal input end of the first single chip microcomputer comprises a first in-place signal input end and a second in-place signal input end; a first output end of the on-off control module is connected with a first in-place signal input end of the first single chip microcomputer, and a second output end of the on-off control module is connected with a second in-place signal input end of the first single chip microcomputer; the on-off control module comprises a first photoelectric switch, a second single chip microcomputer, a first triode and a second triode;

the signal output end of the first photoelectric switch is connected with the first input end of the second singlechip, the signal output end of the second photoelectric switch is connected with the second input end of the second singlechip, the first output end of the second singlechip is connected with the base electrode of the first triode, and the collector electrode of the first triode is connected with the first output end of the on-off control module; and the second output end of the second singlechip is connected with the base electrode of the second triode, and the collector electrode of the second triode is connected with the second output end of the on-off control module.

8. A dc motor driving apparatus according to claim 1, further comprising a third photoelectric switch mounted to said target motor; the signal output end of the third photoelectric switch is used for being connected with the pulse signal input end of the first single chip microcomputer;

the third photoelectric switch is used for generating a pulse signal according to the rotation of the target motor and sending the pulse signal to the first single chip microcomputer;

the first single chip microcomputer is used for judging whether the target motor normally operates or not according to a preset pulse signal and the pulse signal.

9. The direct current motor drive apparatus according to any one of claims 1 to 8, further comprising: a voltage stabilization module;

the input end of the voltage stabilizing module is used for connecting an external power supply, and the output end of the voltage stabilizing module is connected with the power supply input end of the first single chip microcomputer;

the voltage stabilizing module is used for stabilizing the voltage of an external power supply, generating a stabilized voltage and outputting the stabilized voltage to the first single chip microcomputer.

10. The direct current motor driving device according to claim 9, wherein the voltage stabilization module includes a voltage stabilization chip, a first capacitor, and a second capacitor;

the first input end and the second input end of the voltage stabilizing chip and the first end of the first capacitor are respectively connected with the input end of the voltage stabilizing module, and the output end of the voltage stabilizing chip and the first end of the second capacitor are respectively connected with the output end of the voltage stabilizing module; and the grounding end of the voltage stabilizing chip, the second end of the first capacitor and the second end of the second capacitor are grounded respectively.

Technical Field

The invention belongs to the technical field of motor control, and particularly relates to a direct current motor driving device.

Background

An Electric machine (also known as "motor") refers to an electromagnetic device that converts or transmits Electric energy according to the law of electromagnetic induction. Its main function is to generate driving torque as power source of electric appliance or various machines.

At present, during the use of the motor, dust deposition and poor contact or oxidation phenomena of a motor brush inevitably exist, and along with the change of the motor load, the starting reliability of the motor is not strong, and the normal operation of the load is influenced.

Disclosure of Invention

In view of this, an embodiment of the present invention provides a dc motor driving apparatus to solve the problem of poor motor operation reliability in the dc motor driving control process in the prior art.

A first aspect of an embodiment of the present invention provides a dc motor driving apparatus, including: the system comprises a first singlechip, a driving module and a feedback sampling module;

the output end of the first single chip microcomputer is connected with the input end of the driving module, the first driving output end of the driving module is used for being connected with the anode of a target motor, and the second driving output end of the driving module is used for being connected with the cathode of the target motor; the current feedback end of the driving module is connected with the input end of the feedback sampling module, and the output end of the feedback sampling module is connected with the feedback signal input end of the first single chip microcomputer;

the driving module is used for monitoring a current signal flowing through the target motor and sending the current signal to the feedback sampling module;

the feedback sampling module is used for converting the current signal into a voltage feedback signal and feeding the voltage feedback signal back to the first single chip microcomputer;

the first single chip microcomputer is used for generating a control signal according to the voltage feedback signal and sending the control signal to the driving module;

the driving module is further used for generating a PWM signal according to the control signal and sending the PWM signal to the target motor.

In one embodiment of the invention, the control signals include a regulation control signal and a stall control signal;

the first single chip microcomputer is specifically used for:

judging the magnitude relation between the voltage feedback signal and a first threshold value and a second threshold value, wherein the first threshold value is smaller than the second threshold value;

if the voltage feedback signal is larger than the first threshold and smaller than or equal to the second threshold, generating a regulation control signal according to the voltage feedback signal; the adjusting control signal is used for increasing the duty ratio of the PWM signal;

if the voltage feedback signal is greater than the second threshold, generating a stall control signal; the stall control signal is used for adjusting the PWM signal to be at a low level.

In one embodiment of the present invention, the feedback sampling module comprises:

the circuit comprises a sampling resistor, a filter circuit, a first operational amplifier, a first adjusting resistor and a second adjusting resistor;

the first end of the sampling resistor is respectively connected with the input end of the feedback sampling module and the input end of the filter circuit, and the second end of the sampling resistor and the grounding end of the filter circuit are grounded; the output end of the filter circuit is connected with the non-inverting input end of the first operational amplifier; the inverting input end of the first operational amplifier is grounded through a first adjusting resistor, and the output end of the first operational amplifier is connected with the output end of the feedback sampling module; the second adjusting resistor is connected between the output end and the inverting input end of the first operational amplifier.

In one embodiment of the present invention, the dc motor driving apparatus further includes: a steering control module;

the input end of the steering control module is used for connecting a third-party power supply system, and the output end of the steering control module is connected with the steering signal input end of the first single chip microcomputer;

the steering control module is used for acquiring the output voltage of a third-party system, generating a steering signal according to the output voltage of the third-party system and sending the steering signal to the first single chip microcomputer;

the first single chip microcomputer is used for generating the control signal according to the feedback signal and the steering signal.

In one embodiment of the present invention, the input end of the steering control module comprises a positive input end and a negative input end, and the output end of the steering control module comprises a first output end and a second output end; the steering control module includes: the first voltage-dividing resistor, the second voltage-dividing resistor, the third voltage-dividing resistor, the fourth voltage-dividing resistor, the first diode and the second diode;

a first end of the first voltage-dividing resistor and an anode of the first diode are respectively connected with a positive input end of the steering control module, and a second end of the first voltage-dividing resistor and a first end of the second voltage-dividing resistor are respectively connected with a first output end of the steering control module; a first end of the third voltage-dividing resistor and a positive electrode of the second diode are respectively connected with a negative input end of the steering control module, and a second end of the third voltage-dividing resistor and a first end of the fourth voltage-dividing resistor are respectively connected with a second output end of the steering control module; the cathode of the first diode and the cathode of the second diode are respectively connected with an external power supply; the second end of the second voltage-dividing resistor and the second end of the fourth voltage-dividing resistor are both grounded.

In one embodiment of the present invention, the control signal includes a stop signal, and the dc motor driving apparatus further includes an on-off control module installed at a target load; the target load is a load corresponding to the target motor;

the output end of the on-off control module is connected with the in-place signal input end of the first single chip microcomputer;

the on-off control module is used for generating an in-place signal after monitoring that the target load reaches a specified position, and sending the in-place signal to the first single chip microcomputer;

the first single chip microcomputer is used for generating the stop signal according to the in-place signal, and the stop signal is used for indicating the driving module to stop driving.

In one embodiment of the present invention, the output end of the on-off control module comprises a first output end and a second output end; the in-place signal input end of the first single chip microcomputer comprises a first in-place signal input end and a second in-place signal input end; a first output end of the on-off control module is connected with a first in-place signal input end of the first single chip microcomputer, and a second output end of the on-off control module is connected with a second in-place signal input end of the first single chip microcomputer; the on-off control module comprises a first photoelectric switch, a second single chip microcomputer, a first triode and a second triode;

the signal output end of the first photoelectric switch is connected with the first input end of the second singlechip, the signal output end of the second photoelectric switch is connected with the second input end of the second singlechip, the first output end of the second singlechip is connected with the base electrode of the first triode, and the collector electrode of the first triode is connected with the first output end of the on-off control module; and the second output end of the second singlechip is connected with the base electrode of the second triode, and the collector electrode of the second triode is connected with the second output end of the on-off control module.

In one embodiment of the invention, the apparatus further comprises a third opto-electronic switch mounted to the target motor; the signal output end of the third photoelectric switch is used for being connected with the pulse signal input end of the first single chip microcomputer;

the third photoelectric switch is used for generating a pulse signal according to the rotation of the target motor and sending the pulse signal to the first single chip microcomputer;

the first single chip microcomputer is used for judging whether the target motor normally operates or not according to a preset pulse signal and the pulse signal.

In one embodiment of the present invention, the dc motor driving apparatus further includes: a voltage stabilization module;

the input end of the voltage stabilizing module is used for connecting an external power supply, and the output end of the voltage stabilizing module is connected with the power supply input end of the first single chip microcomputer;

the voltage stabilizing module is used for stabilizing the voltage of an external power supply, generating a stabilized voltage and outputting the stabilized voltage to the first single chip microcomputer.

In one embodiment of the present invention, the voltage regulation module includes a voltage regulation chip, a first capacitor, and a second capacitor;

the first input end and the second input end of the voltage stabilizing chip and the first end of the first capacitor are respectively connected with the input end of the voltage stabilizing module, and the output end of the voltage stabilizing chip and the first end of the second capacitor are respectively connected with the output end of the voltage stabilizing module; and the grounding end of the voltage stabilizing chip, the second end of the first capacitor and the second end of the second capacitor are grounded respectively.

Compared with the prior art, the embodiment of the invention has the following beneficial effects: the embodiment of the invention provides a driving control device of a direct current motor, which comprises: the system comprises a first singlechip, a driving module and a feedback sampling module; the output end of the first singlechip is connected with the input end of the driving module; the output end of the driving module is used for connecting a target motor, and the current feedback end is connected to the input end of the first single chip microcomputer through the feedback sampling module; the driving module is used for monitoring and sending a current signal of the target motor to the feedback sampling module; the feedback sampling module is used for generating and sending a voltage feedback signal to be fed back to the first single chip microcomputer; the first single chip microcomputer is used for generating and sending a control signal to the driving module according to the voltage feedback signal; the driving module is used for generating and sending a PWM signal to the target motor according to the control signal. The direct current motor driving device provided by the invention can generate the PWM signal based on the current signal flowing through the target motor to drive the motor to operate, thereby controlling the target motor to operate according to the actual condition of the motor operation, solving the problem of starting torque reduction caused by motor dust deposition and poor brush contact, and improving the reliability and stability of motor control.

Drawings

In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.

Fig. 1 is a circuit diagram of a dc motor driving apparatus according to an embodiment of the present invention;

fig. 2 is a circuit diagram of a steering control module in the dc motor driving apparatus according to the embodiment of the present invention;

fig. 3 is a circuit diagram of an on-off control module in the dc motor driving apparatus according to the embodiment of the present invention;

fig. 4 is a circuit diagram of a voltage stabilizing module in the dc motor driving apparatus according to the embodiment of the present invention.

Detailed Description

In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.

In order to explain the technical means of the present invention, the following description will be given by way of specific examples.

Referring to fig. 1, an embodiment of the present invention provides a dc motor driving apparatus 10, including: the first singlechip U1, the driving module 110 and the feedback sampling module 120;

the output end of the first single chip microcomputer U1 is connected with the input end of the driving module 110, the first driving output end of the driving module 110 is used for connecting the anode of a target motor, and the second driving output end of the driving module 110 is used for connecting the cathode of the target motor; the current feedback end of the driving module 110 is connected to the input end of the feedback sampling module 120, and the output end of the feedback sampling module 120 is connected to the feedback signal input end of the first single chip microcomputer U1;

the driving module 110 is configured to monitor a current signal flowing through the target motor, and send the current signal to the feedback sampling module 120;

the feedback sampling module 120 is configured to convert the current signal into a voltage feedback signal, and feed back the voltage feedback signal to the first single chip microcomputer U1;

the first single chip microcomputer U1 is used for generating a control signal according to the voltage feedback signal and sending the control signal to the driving module 110;

the driving module 110 is further configured to generate a PWM signal according to the control signal and send the PWM signal to the target motor.

The contact resistance of the brush may increase due to the deposition of dust and oxidation or wear-aging of the carbon brush, thereby causing a decrease in the torque of the motor and a decrease in the reliability of the starting of the motor. In the dc motor driving device 10 provided in this embodiment, the first single chip microcomputer U1 generates the control signal according to the voltage feedback signal, that is, the feedback control can be implemented according to the magnitude of the current signal flowing through the target motor, so as to improve the reliability and stability of the starting operation of the target motor.

Alternatively, as shown in fig. 1, the driving module 110 is connected to the target motor through a first interface P1.

In this embodiment, the output end of the first single chip microcomputer U1 includes a first output end and a second output end, the input end of the driving module 110 includes a first input end and a second input end, the first output end of the first single chip microcomputer U1 is connected with the first input end of the driving module 110, and the second output end of the first single chip microcomputer U1 is connected with the second input end of the driving module 110.

In the present embodiment, the driving module 110 includes a driving chip U2, a capacitor C1, a capacitor C2, and a capacitor C4.

Specifically, the driver chip U2 is a dual H-bridge PWM driver chip.

IN this embodiment, the first input terminal IN1 of the driver chip U2 is a first input terminal of the driver module 110, the second input terminal IN2 of the driver chip U2 is a second input terminal of the driver module 110, and the internal H-bridge ground ISEN of the driver chip U1 is a current feedback terminal of the driver module 110. The internal voltage end VINT of the driving chip U1 is grounded through a capacitor C1, the voltage converter end VCP of the driving chip U1 is connected with an external voltage source through a capacitor C2, the ground end GND of the driving chip U1 is grounded, the power end VCC is connected with the external voltage source, and the capacitor C4 is connected between the VCC end of the driving chip and the ground.

It can be known from the above embodiments that the apparatus provided by the present invention can generate the PWM signal based on the current signal flowing through the target motor to drive the motor to operate, thereby controlling the target motor to operate according to the actual condition of the motor operation, solving the problem of the starting torque reduction caused by the dust deposition of the motor and the poor contact of the brush, and improving the reliability of the motor control.

In one embodiment of the invention, the control signals include a regulation control signal and a stall control signal;

the first single chip microcomputer U1 is specifically used for:

judging the magnitude relation between the voltage feedback signal and a first threshold value and a second threshold value, wherein the first threshold value is smaller than the second threshold value;

if the voltage feedback signal is larger than the first threshold and smaller than or equal to the second threshold, generating a regulation control signal according to the voltage feedback signal; the adjusting control signal is used for increasing the duty ratio of the PWM signal;

if the voltage feedback signal is greater than the second threshold, generating a stall control signal; the stall control signal is used for adjusting the PWM signal to be at a low level.

In this embodiment, the driving chip U2 monitors a current signal of a loop in which the target motor is located according to values of the first output end OUT1 and the second output end OUT2, and then outputs the current signal to the feedback sampling module 120 through the internal H bridge ground end ISEN, and the feedback sampling module 120 converts the voltage signal into a voltage feedback signal and sends the voltage feedback signal to the first single chip microcomputer U1. When the resistance received by the target motor in the rotating process is increased, the current signal of the loop where the target motor is located is increased, and the voltage feedback signal received by the first single chip microcomputer U1 is also increased.

In this embodiment, when the voltage feedback signal is greater than the preset first threshold and less than the second threshold, it indicates that the resistance currently applied to the target motor is large, and a larger driving voltage is required to normally operate. At the moment, the singlechip U1 generates an adjusting control signal according to the voltage feedback signal so as to improve the duty ratio of the PWM signal, thereby improving the torque of the motor and ensuring the normal operation of the motor.

Specifically, the voltage feedback signal is greater than a preset first threshold and less than a second threshold during the starting process of the motor, because the brush of the motor inevitably generates an oxidation phenomenon, and some dust is accumulated in the motor, so that the resistance applied to the motor during the starting process of the motor is increased. On the other hand, the resistance increases due to the instability of the load during the operation of the motor.

Through the above control process of the single chip microcomputer U1, the motor can still normally operate when certain resistance is applied to the motor, the motor can also normally operate when slight aging occurs, the condition that the motor cannot start to rotate or the motor stops in the operation process when the motor is started is avoided, the operation stability and reliability of the motor are improved, and the service life of the motor and the service life of a load are prolonged.

In this embodiment, when the voltage feedback signal is greater than the preset second threshold, it indicates that the resistance currently applied to the target motor is too large, and a locked-rotor condition occurs. In order to protect the motor and the load of the motor, the single chip microcomputer U1 generates a stalling control signal at the moment so as to stall the motor, and therefore the motor and the load of the motor are protected.

Through the control process of the motor, the motor can be stopped in time when the motor is locked, and the motor and the load are protected from being damaged due to overlarge stress.

In one embodiment of the present invention, the feedback sampling module 120 includes:

the circuit comprises a sampling resistor R1, a filter circuit, a first operational amplifier U3, a first adjusting resistor R2 and a second adjusting resistor R4;

a first end of the sampling resistor R1 is connected to the input end of the feedback sampling module 120 and the input end of the filter circuit, respectively, and a second end of the sampling resistor R1 and the ground end of the filter circuit are grounded; the output end of the filter circuit is connected with the non-inverting input end of the first operational amplifier U3; the inverting input end of the first operational amplifier U3 is grounded through a first adjusting resistor R2, and the output end of the first operational amplifier U3 is connected with the output end of the feedback sampling module 120; the second regulating resistor R4 is connected between the output and the inverting input of the first operational amplifier U3.

In this embodiment, the filter circuit includes a resistor R3 and a capacitor C7, a first terminal of the resistor R3 is connected to the input terminal of the filter circuit, a second terminal of the resistor R3 and a first terminal of the capacitor C7 are connected to the output terminal of the filter circuit, and a second terminal of the capacitor C7 is connected to the ground terminal of the filter circuit.

In this embodiment, the feedback sampling module 120 further includes a capacitor C6 and a capacitor C3, the capacitor C6 is connected between the output terminal of the first operational amplifier U3 and ground, and the capacitor C3 is connected between the power supply terminal of the first operational amplifier U3 and ground. The first operational amplifier U3 has a ground terminal connected to ground and a power terminal connected to an external voltage source.

In this embodiment, the feedback sampling module 120 converts the current signal output by the driving module 110 into a voltage signal by obtaining the voltage across the sampling resistor R1, and amplifies the converted voltage signal by the first operational amplifier U3.

Specifically, the amplification factor of the first operational amplifier U3 can be changed by adjusting the resistance value of the first adjusting resistor R2 and the resistance value of the second adjusting resistor R4.

In this embodiment, the feedback sampling module 120 is configured to convert the current signal into a voltage signal that is easy to collect, and amplify the voltage signal to a range suitable for processing by the single chip microcomputer U1.

Referring to fig. 2, in an embodiment of the present invention, the dc motor driving apparatus 10 further includes: a steering control module 130;

the input end of the steering control module 130 is used for connecting a third-party power supply system, and the output end of the steering control module 130 is connected with the steering signal input end of the first single chip microcomputer U1;

the steering control module 130 is configured to obtain an output voltage of a third-party system, generate a steering signal according to the output voltage of the third-party system, and send the steering signal to the first single chip microcomputer U1;

the first single chip microcomputer U1 is used for generating the control signal according to the feedback signal and the steering signal.

In one embodiment of the present invention, the input terminals of the steering control module 130 include a positive input terminal M + and a negative input terminal M-, and the output terminals of the steering control module 130 include a first output terminal and a second output terminal; the steering control module 130 includes: a first voltage-dividing resistor R12, a second voltage-dividing resistor R11, a third voltage-dividing resistor R6, a fourth voltage-dividing resistor R5, a first diode D2, and a second diode D1;

a first end of the first voltage-dividing resistor R12 and an anode of the first diode D2 are respectively connected to a positive input end M + of the steering control module 130, and a second end of the first voltage-dividing resistor R12 and a first end of the second voltage-dividing resistor R11 are respectively connected to a first output end of the steering control module 130; a first terminal of the third voltage-dividing resistor R6 and a positive terminal of the second diode D1 are respectively connected to the negative input terminal M "of the steering control module 130, and a second terminal of the third voltage-dividing resistor R6 and a first terminal of the fourth voltage-dividing resistor R5 are respectively connected to the second output terminal of the steering control module 130; the cathode of the first diode D2 and the cathode of the second diode D1 are respectively connected with an external power supply VCC; a second terminal of the second voltage-dividing resistor R11 and a second terminal of the fourth voltage-dividing resistor R5 are both grounded.

Optionally, the steering control module 130 is connected to a third-party power supply system through a second interface P2, a first end 1 of the second interface is grounded, a second end 2 of the second interface P2 is connected to the positive input end M + of the steering control module 130, and a third end 3 of the second interface P2 is connected to the negative input end M-of the steering control module 130.

In this embodiment, the steering signal includes a forward rotation signal and a reverse rotation signal, and when the positive input end M + of the steering control module 130 is turned on, that is, the first end 1 and the second end 2 of the second interface P2 are respectively turned on by an external power supply, the steering control module 130 generates the forward rotation signal and sends the forward rotation signal to the first single chip microcomputer U1; when the negative input end M-of the steering control module 130 is turned on, that is, the first end 1 and the third end 3 of the second interface P2 are respectively turned on by an external power source, the steering control module 130 generates a reverse signal and transmits the reverse signal to the first single chip microcomputer U1.

In an embodiment of the present invention, the control signal includes a stop signal, and referring to fig. 3, the dc motor driving apparatus 10 further includes an on-off control module 140 installed at a target load; the target load is a load corresponding to the target motor;

the output end of the on-off control module 140 is connected with the in-place signal input end of the first single chip microcomputer U1;

the on-off control module 140 is configured to generate an in-place signal after monitoring that the target load reaches a specified position, and send the in-place signal to the first single chip microcomputer U1;

the first single chip microcomputer U1 is configured to generate the stop signal according to the in-place signal, where the stop signal is used to instruct the driving module 110 to stop driving.

Optionally, the target load is a valve driven by a target dc motor.

Specifically, when the valve is driven by the target motor to reach the designated position, the on-off control module 140 generates an in-place signal and sends the in-place signal to the first single chip microcomputer U1, the first single chip microcomputer U1 generates a stop signal according to the in-place signal, and further, the motor stops working by controlling the driving module 110 to stop driving.

In one embodiment of the present invention, the output terminal of the on-off control module 140 includes a first output terminal and a second output terminal; the in-place signal input ends of the first single chip microcomputer U1 comprise a first in-place signal input end and a second in-place signal input end; a first output end of the on-off control module 140 is connected with a first in-place signal input end of the first single chip microcomputer U1, and a second output end of the on-off control module 140 is connected with a second in-place signal input end of the first single chip microcomputer U1; the on-off control module 140 comprises a first photoelectric switch O1, a second photoelectric switch O2, a second single chip microcomputer U4, a first triode Q1 and a second triode Q2;

a signal output end of the first photoelectric switch O1 is connected to a first input end of the second single-chip microcomputer U4, a signal output end of the second photoelectric switch O2 is connected to a second input end of the second single-chip microcomputer U4, a first output end of the second single-chip microcomputer U4 is connected to a base of the first triode Q1, and a collector of the first triode Q1 is connected to a first output end of the on-off control module 140; a second output end of the second single chip microcomputer U4 is connected to a base of the second triode Q2, and a collector of the second triode Q2 is connected to a second output end of the on-off control module 140.

In this embodiment, the on-off control module 140 further includes a resistor R14, a resistor R16, a resistor R17, a resistor R9, a resistor R7, a resistor R10, and a resistor R8.

In this embodiment, an input terminal of the first photoelectric switch O1 is connected to an external voltage source, an input terminal of the first photoelectric switch O1 is connected to an input terminal of the second photoelectric switch O2 through a resistor R14, and an output terminal of the second photoelectric switch O2 is connected to a voltage input terminal of the second single chip microcomputer U4. The first end of the resistor R16 and the first end of the resistor R17 are respectively connected with an external voltage source, the second end of the resistor R16 is connected with the signal output end of the first photoelectric switch O1, and the second end of the resistor R17 is connected with the signal output end of the second photoelectric switch O2. The resistor R9 is connected between the first output end of the second singlechip U4 and the base of the first triode Q1, and the resistor R10 is connected between the second output end of the second singlechip U4 and the base of the second triode Q2. A first end of the resistor R7 is connected to a collector of the first transistor Q1, and a second end of the resistor R7 is connected to a first output end of the on-off control module 140; a first end of the resistor R8 is connected to the collector of the second transistor Q2, and a second end of the resistor R8 is connected to the second output end of the on-off control module 140.

Optionally, the on-off control module 140 is connected to the first single chip microcomputer U1 through a third interface P3. The second end of the resistor R7 is connected with the first in-place signal input end of the first single chip microcomputer U1 through the first end 1 of the third interface, and the second end of the resistor R8 is connected with the second in-place signal input end of the first single chip microcomputer U1 through the second end 2 of the third interface.

In one embodiment of the present invention, referring to fig. 3, the apparatus 10 further comprises a third opto-electronic switch O3 mounted to the target motor; the signal output end of the third photoelectric switch O3 is connected with the pulse signal input end of the first singlechip U1;

the third photoelectric switch O3 is used for generating a pulse signal according to the rotation of the target motor and sending the pulse signal to the first single chip microcomputer U1;

the first single chip microcomputer U1 is used for judging whether the target motor normally operates according to a preset pulse signal and the pulse signal.

In this embodiment, the on-off control module 140 further includes a resistor R18 connected between the signal output terminal of the third photoelectric switch O3 and the pulse signal input terminal of the first single-chip microcomputer U1.

Optionally, the resistor R18 is connected to the pulse signal input end of the first monolithic computer U1 through the third end 3 of the third interface P3.

Specifically, first singlechip U1 judges whether the target motor normally operates according to predetermineeing pulse signal and pulse signal, includes:

acquiring the frequency of a current pulse signal, and calculating the absolute value of the difference between the frequencies of the current pulse signal and a preset pulse signal;

and if the absolute value of the frequencies is larger than a preset difference threshold value, judging that the operation of the target motor is abnormal.

Optionally, if the first single chip microcomputer U1 judges that the target motor is not operated normally, an alarm signal is generated and sent to a third-party system.

Optionally, if the first single chip microcomputer U1 determines that the target motor is not operated normally, a stop signal is generated, and the stop signal is used to instruct the driving module 110 to stop driving.

Optionally, the first photoelectric switch O1, the second photoelectric switch O2, and the third photoelectric switch O3 are invisible infrared ray correlation photoelectric switches.

Referring to fig. 4, in an embodiment of the present invention, the dc motor driving apparatus 10 further includes: a voltage stabilization module 150;

the input end of the voltage stabilizing module 150 is used for connecting an external power supply, and the output end of the voltage stabilizing module is connected with the power supply input end of the first singlechip U1;

the voltage stabilizing module 150 is configured to perform voltage stabilizing processing on the external power voltage to generate a stabilized voltage, and output the stabilized voltage to the first single chip microcomputer U1.

In an embodiment of the present invention, the voltage regulation module 150 includes a voltage regulation chip U5, a first capacitor C9, and a second capacitor C8;

a first input end Vin1 and a second input end Vin2 of the voltage regulation chip U5 and a first end of the first capacitor C9 are respectively connected to an input end of the voltage regulation module U5, and an output end Vout of the voltage regulation chip U5 and a first end of the second capacitor C8 are respectively connected to an output end of the voltage regulation module 150; the ground GND of the voltage regulation chip U5, the second terminal of the first capacitor C9, and the second terminal of the second capacitor C8 are grounded, respectively.

In the present embodiment, the regulator chip U5 is a low-voltage linear regulator chip.

In this embodiment, a stable power supply voltage can be provided for the first single chip microcomputer U1 in the dc motor driving device 10 through the voltage stabilizing module 150, so as to ensure the stability and reliability of the dc motor driving device 10.

The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

14页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:用于对电网频率瞬态事件进行快速负荷支持的方法和系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!