Direct current motor control circuit
By designing a DC motor control circuit that includes main control, communication, input detection, and power supply circuits, the problems of unstable data transmission and control were solved, and stable DC motor control and precise multi-node signal processing were achieved.
Patent Information
- Application Number
- CN202423311968.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2026-01-30
- Estimated Expiration
- 2034-12-31
AI Technical Summary
Existing DC motor control circuits cannot achieve long-distance, multi-node data transmission and reception, and are susceptible to external signal interference, leading to unstable control. They also cannot detect input signals to determine external information and control the DC motor's operation.
A DC motor control circuit was designed, comprising a main control circuit, a communication circuit, an input detection circuit, and a power supply circuit. The communication circuit enables long-distance, multi-node data transmission and reception. The input detection circuit converts external signals into signals recognizable by the main control circuit. The main control circuit processes the signals to control the DC motor's operation. The power supply circuit provides power support.
Stable DC motor control has been achieved, enabling precise and rapid control of DC motors in long-distance and multi-node environments, reducing external signal interference, and improving the stability and reliability of control.
Smart Images

Figure CN223859070U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The utility model relates to direct current motor technical field, concretely is a direct current motor control circuit. BACKGROUND
[0002] The prior art direct current motor control circuit cannot realize long-distance multi-node transmission and reception of data, and the circuit is susceptible to external signal interference when working, leading to unstable control, and the prior art direct current motor control circuit cannot detect whether the input signal is connected to judge external information to control the direct current motor action; in order to improve the stability of the direct current motor work, better control the direct current motor work, a direct current motor control circuit is provided. SUMMARY
[0003] One of the technical problems to be solved by the present application is that long-distance multi-node transmission and reception of data cannot be realized, and the work is unstable.
[0004] To solve the above technical problems, the present application provides a direct current motor control circuit, which comprises a main control circuit, a communication circuit, an input detection circuit, a direct current motor control circuit and a power supply circuit, the output end of the power supply circuit is electrically connected with the main control circuit, the communication circuit and the input detection circuit are interconnected, the output end of the input detection circuit is electrically connected with the signal end of the main control circuit, and the control end of the main control circuit is connected to the input end of the direct current motor control circuit.
[0005] Preferably, the main control circuit comprises a main control chip U5A, a chip U5B, a resistor R5, a capacitor C5, a button SW2, a resistor R48, a capacitor C13, a capacitor C14, a capacitor C15, a light emitting diode D3 and a resistor R3, one end of the resistor R5 is connected to the 4 pin of the main control chip U5A and the input end of the capacitor C5, the other end of the resistor R5 is connected to the 3V3 power input, the 1 pin of the main control chip U5A is connected with the output end of the capacitor C5 and grounded; the input ends of the capacitor C13, the capacitor C14 and the capacitor C15 are connected and connected to the input end of the resistor R5, the output ends of the capacitor C13, the capacitor C14 and the capacitor C15 are connected and grounded; the input end of the button SW2 is connected to the 2 pin of the main control chip U5A and connected to the output end of the resistor R48, the input end of the resistor R48 is connected to the 3V3 power input, and the output end of the button SW2 is grounded; the input end of the light emitting diode D3 is connected to the 3V3 power input, and the output end of the light emitting diode D3 is connected to the 3 pin of the main control chip U5A after being connected with the resistor R3 in series.
[0006] Preferably, the communication circuit includes protection circuit, TTL circuit, 485 circuit, 485 non-isolated circuit and 485 isolated circuit, the protection circuit includes resistor R11, jumper cap JP50, fuse F2, fuse F3, transient diode TVS1 and transient diode TVS2, the input end of resistor R11 is connected to the 2 pin of jumper cap JP50, the output end of resistor R11 is connected to the input end of fuse F2 and the input end of terminal B, the output end of fuse F2 is connected to the 30 pin of chip U13 and the input end of transient diode TVS2; the 1 pin of jumper cap JP50 is connected to the input end of fuse F3, the output end of fuse F3 is connected to the 31 pin of main control chip U13 and the input end of transient diode TVS1, the output end of transient diode TVS1 is connected to the output end of transient diode TVS2 and then grounded; the 485 circuit includes chip U11 and transistor Q2, the 1 pin of chip U11 is connected to the input end of 485 RX signal, the 4 pin of chip U11 is connected to the input end of 485 TX signal, the 2 pin of chip U11 is connected to the collector of transistor Q2, the emitter of transistor Q2 is grounded, the base of transistor Q2 is connected to the input end of 485 TX pin after being connected to resistor R12 in series, the 7 pin of chip U11 is connected to the output end of 485 B pin, and the 6 pin of chip U11 is connected to the output end of 485 A pin.
[0007] Preferably, the input detection circuit includes first digital input circuit to fourth digital input circuit, the principles of first digital input circuit to fourth digital input circuit are the same, the first digital input circuit includes optocoupler U101, resistor R501, light emitting diode D401, resistor R401 and capacitor C101, the 2 pin of optocoupler U101 is connected to the output end of terminal IN1 after being connected to resistor R501 and light emitting diode D401 in series, the 1 pin of optocoupler U101 is grounded, the 3 pin of optocoupler U101 is connected to 3V3 power supply input after being connected to resistor R401 in series, and is connected to the input end of capacitor C101, and the output end of capacitor C101 is grounded.
[0008] Preferably, the direct current motor control circuit includes two identical triode output circuits, including triode Q201 and triode Q202, the base of triode Q201 is connected to the 6th pin of main control chip U5A after being connected with resistor R201 in series, the output end of resistor R201 is connected to the input end of resistor R101, the output end of resistor R101 is connected with the emitter of triode Q201 and then grounded, the collector of triode Q201 is connected with light emitting diode D101 and resistor R301 in series and then connected with +5V power input; the collector of triode Q201 is connected to the 1st pin of relay JK1, the 2nd pin of relay JK1 is connected with resistor R301 and then connected with +5V power input; the base of triode Q202 is connected to the 7th pin of main control chip U5A after being connected with resistor R202 in series, the output end of resistor R202 is connected to the input end of resistor R102, the output end of resistor R102 is connected with the emitter of triode Q202 and then grounded, the collector of triode Q202 is connected with light emitting diode D102 and resistor R302 in series and then connected with +5V power input; the collector of triode Q202 is connected to the 1st pin of relay JK2, the 2nd pin of relay JK2 is connected with resistor R302 and then connected with +5V power input.
[0009] The utility model at least has the following beneficial effects: this motion controller control passes through communication circuit and input detection circuit and turns into the signal that main control chip U5A can receive with external signal, and then control direct current motor, main control circuit is responsible for processing external signal and then control direct current motor action, communication circuit is used for realizing long distance, multi -node transmission and reception of data, input detection circuit is used for converting the signal level of external digital signal into the signal level inside main control circuit, direct current motor control circuit is used for converting the control signal of main control circuit into the signal required by external equipment, so as to realize accurate and rapid control. BRIEF DESCRIPTION OF DRAWINGS
[0010] Figure 1 It is main control circuit diagram of the utility model;
[0011] Figure 2 It is main control circuit diagram of the utility model;
[0012] Figure 3 It is communication circuit diagram of the utility model;
[0013] Figure 4 It is input detection circuit diagram of the utility model;
[0014] Figure 5 It is direct current motor control circuit diagram of the utility model;
[0015] Figure 6 It is power supply circuit diagram of the utility model.
[0016] Wherein: 1, main control circuit; 2, communication circuit; 3, input detection circuit; 4, DC motor control circuit; 5, power supply circuit. DETAILED DESCRIPTION
[0017] The technical solutions in the embodiments of the utility model will be clearly and completely described below with reference to the drawings in the embodiments of the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, rather than all the embodiments. Based on the embodiments in the utility model, all other embodiments obtained by those skilled in the art without creative labor fall within the protection scope of the utility model
[0018] Please refer to Figures 1-6 The utility model provides a kind of technical solutions: a DC motor control circuit, including main control circuit 1, communication circuit 2, input detection circuit 3, DC motor control circuit 4 and power supply circuit 5, the output end of power supply circuit 5 is electrically connected with main control circuit 1, communication circuit 2 and input detection circuit 3 are interconnected, the output end of input detection circuit 3 is electrically connected with the signal end of main control circuit 1, and the control end of main control circuit 1 is connected to the input end of DC motor control circuit 4.
[0019] The main control circuit 1 comprises a main control chip U5A, a chip U5B, a resistor R5, a capacitor C5, a button SW2, a resistor R48, a capacitor C13, a capacitor C14, a capacitor C15, a light emitting diode D3, and a resistor R3. One end of the resistor R5 is connected to the 4th pin of the main control chip U5A and to the input end of the capacitor C5. The other end of the resistor R5 is connected to the 3V3 power input. The 1st pin of the main control chip U5A is connected to the output end of the capacitor C5 and then grounded. The input ends of the capacitor C13, the capacitor C14, and the capacitor C15 are connected and then connected to the input end of the resistor R5. The output ends of the capacitor C13, the capacitor C14, and the capacitor C15 are connected and then grounded. The input end of the button SW2 is connected to the 2nd pin of the main control chip U5A and to the output end of the resistor R48. The input end of the resistor R48 is connected to the 3V3 power input. The output end of the button SW2 is grounded. The input end of the light emitting diode D3 is connected to the 3V3 power input. The output end of the light emitting diode D3 is connected to the 3rd pin of the main control chip U5A in series with the resistor R3. The resistor R5 and the capacitor C5 constitute an automatic reset circuit. The resistor R5 hinders the current size to change the charging time of the capacitor C5, so as to reset the NRST low-level signal of the main control chip U5A at the power-on moment. The resistor R48 and the button SW2 constitute a manual reset circuit. When not in use, the resistor R48 is connected to the 3V3 power input and the RST pin of the chip U5A, so that the RST pin is at high level. When reset is needed, the button SW2 is pressed to connect the GND and the RST pin, so that the RST pin is at low level, and the U5A is reset. The capacitor C13, the capacitor C14, and the capacitor C15 constitute a filter circuit and are connected to the 5th pin and the 16th pin of the chip U5A, so as to filter the 3V3 power input of the U5A. The light emitting diode D3 and the resistor R3 constitute an indicator lamp circuit. The resistor R3 is connected to the light emitting diode D3 and the LED pin of the chip U5A to control the light emitting of the light emitting diode D3.
[0020] Wherein: communication circuit 2 includes protection circuit, TTL circuit, 485 circuit, 485 non-isolated circuit and 485 isolated circuit, the protection circuit includes resistance R11, jumper cap JP50, fuse F2, fuse F3, transient diode TVS1 and transient diode TVS2, the input end of resistance R11 is connected to the 2 pin of jumper cap JP50, the output end of resistance R11 is connected to the input end of fuse F2, and the input terminal B is connected, the output end of fuse F2 is connected to the 30 pin of chip U13, and is connected to the input end of transient diode TVS2; the 1 pin of jumper cap JP50 is connected to the input end of fuse F3, the output end of fuse F3 is connected to the 31 pin of main control chip U13, and is connected to the input end of transient diode TVS1, the output end of transient diode TVS1 is connected to the output end of transient diode TVS2 and then grounded; 485 circuit includes chip U11 and transistor Q2, the 1 pin of chip U11 is connected to 485 RX signal end input, the 4 pin of chip U11 is connected to 485 TX signal input, the 2 pin of chip U11 is connected to the collector of transistor Q2, the emitter of transistor Q2 is grounded, the base of transistor Q2 is connected to 485 TX pin input after being connected to resistance R12 in series, the 7 pin of chip U11 is connected to 485 B pin output, and the 6 pin of chip U11 is connected to 485 A pin output; resistance R9 and resistance R10 are pull-up resistors of signal lines A and B, which improve signal quality, and capacitor C18 is a filter capacitor of chip U11, chip U11 can convert 485 signal into serial signal, and communicate with serial port 1 of main control chip U5A, resistance R13, resistance R12 and transistor Q2 form an automatic transceiver circuit, when chip U11 receives signals, transistor Q2 is turned on to make the enable pin of chip U11 low, and chip U11 cannot send signals at this time; 485 non-isolated circuit includes resistance R01, resistance R02, resistance R03 and resistance R04, when 485 non-isolated circuit is selected, TTL circuit and 485 isolated circuit are deleted, resistance R01, resistance R02, resistance R03 and resistance R04 short-circuit 5V and 5V2, short-circuit GND and GND2, and short-circuit RO and DI of SP485 and serial port RX and TX of main control chip U5A, and realize non-isolated serial port communication; 485 isolated circuit includes digital isolation chip U14, chip U15, capacitor C36, capacitor C37, capacitor C38 and capacitor C39, when 485 isolated circuit is selected, TTL circuit and 485 non-isolated circuit are deleted; the input of chip U15 is connected to 5V power supply through capacitor C36, the output is outputted 5V2 power supply after being filtered through capacitor C37, 5V2 power supply supplies power for chip U11 and digital isolation chip U14, realizes external communication and internal power supply isolation, the two ends of digital isolation chip U14 are respectively connected to 5V power supply and 5V2 power supply, the signal ends are respectively connected to serial port of chip U11 and serial port of main control chip U5A, and communication isolation is realized, and external interference cannot affect internal circuit.
[0021] The input detection circuit 3 comprises the first digital input circuit to the fourth digital input circuit, the first digital input circuit to the fourth digital input circuit have the same principle, the first digital input circuit comprises the optical coupler U101, the resistor R501, the light emitting diode D401, the resistor R401 and the capacitor C101, the 2 pin of the optical coupler U101 is connected to the terminal IN1 output in sequence through the resistor R501 and the light emitting diode D401, the 1 pin of the optical coupler U101 is grounded, the 3 pin of the optical coupler U101 is connected to the 3V3 power input through the resistor R401 and is connected to the input end of the capacitor C101, the output end of the capacitor C101 is grounded; the resistor R501, the resistor R502, the resistor R503 and the resistor R504 are current limiting resistors, the loop current of COM and IN1 will not be too large, the light emitting diode D401 is used as an indicator light, the X1 pin is connected to the main control chip U5A, when the optical coupler U101 is not conducting, the 3V3 power provided by the pull-up resistor R401 is used as a high level input, when COM and IN1 are connected to high level and low level respectively, the pull-up resistor is conducting, the X1 level becomes low level, so the main control chip U5A can detect whether the input signal is connected to judge the external information and then control the action of the direct current motor.
[0022] Wherein: DC motor control circuit 4 includes two identical triode output circuit, including triode Q201 and triode Q202, triode Q201 base series resistance R201 after connecting to the main control chip U5A 6 pin, resistance R201 output connected to the input of resistance R101, resistance R101 output and triode Q201 emitter connected after grounding, triode Q201 collector in turn series light emitting diode D101, resistance R301 after connecting +5V power input; Triode Q201 collector connected to the 1 pin of relay JK1, relay JK1 2 pin and resistance R301 connected after connecting +5V power input; Triode Q202 base series resistance R202 after connecting to the main control chip U5A 7 pin, resistance R202 output connected to the input of resistance R102, resistance R102 output and triode Q202 emitter connected after grounding, triode Q202 collector in turn series light emitting diode D102, resistance R302 after connecting +5V power input; Triode Q202 collector connected to the 1 pin of relay JK2, relay JK2 2 pin and resistance R302 connected after connecting +5V power input; Resistance R201 connects the main control chip U5A pin 6 and triode Q201 base, resistance R201 is the base current limiting resistance of triode Q201, can reduce the loss of resistance R201, resistance R101 connects the base of triode Q201 and GND, when the main control chip U5A does not output signal, can be stable control the base voltage at low level not to conduct, triode Q201 can be turned on through the main control chip U5A pin OUT1_C, so that the right power supply access power ground; The coil of relay JK1 is connected to 5V and the output end of triode Q201, when the main control chip U5A controls triode Q201 to be turned on, the coil is connected to 5V power supply, the relay JK1 contact acts, the relay JK1 is away from the normally closed end and connected to the normally open end, otherwise, the relay JK1 contact is away from the normally open end and connected to the normally closed end; Diode D2 positive terminal connected to the output end of triode Q201, negative terminal connected to 5V power supply, when the relay JK1 is powered off, the coil generates a reverse voltage which can make diode D2 conduct when it is turned on, the energy is consumed after flowing through diode D2, protecting the relay JK1 from being damaged, resistance R301 and light emitting diode D101 constitute the indicator light output, when triode Q201 is turned on, 5V power supply is connected, the lamp bead emits light, playing an indicating role; The positive and negative rotation of DC motor is realized by two identical triode output circuits, the only difference is that the relay contacts are connected to the two ends of the DC motor respectively.When the relay JK1 is actuated, the relay JK2 is not actuated, COM1 is connected to VIN, COM2 is connected to GND, the motor rotates forwardly; when the relay JK2 is actuated, the relay JK1 is not actuated, COM2 is connected to VIN, COM1 is connected to GND, the motor rotates reversely; the resistor R001, the resistor R002, the resistor R003 and the capacitor C0 constitute a load absorption circuit, the load absorption circuit is connected in parallel between COM1 and COM2 of the DC motor, the resistor R001, the resistor R002 and the resistor R003 are connected in parallel to form a current limiting resistor and increase the power, and the capacitor C0 limits the current, and when the motor switches the rotating direction or stops momentarily, a large amount of fluctuating current is generated, and the capacitor C0 can absorb and slow down the impact of the fluctuating current on the motor.
[0023] The DC motor control circuit converts external signals into signals that can be received by the main control chip U5A through the communication circuit 2 and the input detection circuit 3, and then controls the DC motor, the main control circuit 1 is responsible for processing external signals and then controlling the DC motor to act, the communication circuit 2 is used for realizing long-distance and multi-node transmission and reception of data, the input detection circuit 3 is used for converting the level of the external digital signal into the signal level inside the main control circuit, the DC motor control circuit 5 is used for converting the control signal of the main control circuit 1 into a signal required to drive external equipment, and the power supply circuit 5 is used for supplying power to the circuit.
[0024] It should be noted that, in the present document, relational terms such as first and second and the like can be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises", "comprising", or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can include other elements not expressly listed or inherent to such process, method, article, or apparatus.
[0025] Although the embodiments of the present application have been shown and described, it is to be understood that various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the present application, and the scope of the present application is defined by the appended claims and their equivalents.
Claims
1. A direct current motor control circuit, comprising a master control circuit (1), a communication circuit (2), an input detection circuit (3), a direct current motor control circuit (4) and a power supply circuit (5), characterized in that: The output end of the power supply circuit (5) is electrically connected with the main control circuit (1), the communication circuit (2) is interconnected with the input detection circuit (3), the output end of the input detection circuit (3) is electrically connected with the signal end of the main control circuit (1), and the control end of the main control circuit (1) is connected to the input end of the DC motor control circuit (4).
2. The direct current motor control circuit of claim 1, wherein: The main control circuit (1) comprises a main control chip U5A, a chip U5B, a resistor R5, a capacitor C5, a button SW2, a resistor R48, a capacitor C13, a capacitor C14, a capacitor C15, a light emitting diode D3 and a resistor R3, one end of the resistor R5 is connected to the 4th pin of the main control chip U5A and connected to the input end of the capacitor C5, the other end of the resistor R5 is connected to a 3V3 power input, the 1st pin of the main control chip U5A is connected to the output end of the capacitor C5 and grounded, the input ends of the capacitor C13, the capacitor C14 and the capacitor C15 are connected and connected to the input end of the resistor R5, the output ends of the capacitor C13, the capacitor C14 and the capacitor C15 are connected and grounded, the input end of the button SW2 is connected to the 2nd pin of the main control chip U5A and connected to the output end of the resistor R48, the input end of the resistor R48 is connected to a 3V3 power input, and the output end of the button SW2 is grounded, and the input end of the light emitting diode D3 is connected to a 3V3 power input, and the output end of the light emitting diode D3 is connected to the 3rd pin of the main control chip U5A in series with the resistor R3.
3. The direct current motor control circuit of claim 1, wherein: The communication circuit (2) comprises a protection circuit, a TTL circuit, a 485 circuit, a 485 non-isolated circuit and a 485 isolated circuit, the protection circuit comprises a resistor R11, a jumper cap JP50, a fuse F2, a fuse F3, a transient diode TVS1 and a transient diode TVS2, the input end of the resistor R11 is connected to the 2nd pin of the jumper cap JP50, the output end of the resistor R11 is connected to the input end of the fuse F2 and connected to a terminal B input, the output end of the fuse F2 is connected to the 30th pin of the chip U13 and connected to the input end of the transient diode TVS2, the 1st pin of the jumper cap JP50 is connected to the input end of the fuse F3, the output end of the fuse F3 is connected to the 31st pin of the main control chip U13 and connected to the input end of the transient diode TVS1, the output end of the transient diode TVS1 is connected to the output end of the transient diode TVS2 and grounded, the 485 circuit comprises a chip U11 and a transistor Q2, the 1st pin of the chip U11 is connected to a 485RX signal end input, the 4th pin of the chip U11 is connected to a 485TX signal input, the 2nd pin of the chip U11 is connected to the collector of the transistor Q2, the emitter of the transistor Q2 is grounded, the base of the transistor Q2 is connected to the 485TX pin input in series with the resistor R12, the 7th pin of the chip U11 is connected to a 485B pin output, and the 6th pin of the chip U11 is connected to a 485A pin output.
4. The direct current motor control circuit of claim 1, wherein: The input detection circuit (3) comprises first digital input circuit-fourth digital input circuit, the principle of first digital input circuit-fourth digital input circuit is same, first digital input circuit comprises optocoupler U101, resistance R501, light emitting diode D401, resistance R401, capacitor C101, the 2 feet of optocoupler U101 are connected in series with resistance R501, light emitting diode D401 in order and are connected to terminal IN1 output, the 1 foot of optocoupler U101 is grounded, the 3 feet of optocoupler U101 are connected in series with resistance R401 and are connected to 3V3 power input, and are connected to the input end of capacitor C101, and the output end of capacitor C101 is grounded.
5. The direct current motor control circuit of claim 1, wherein: The DC motor control circuit (4) comprises two identical triode output circuits, including triode Q201 and triode Q202, the base of triode Q201 is connected in series with resistance R201 and is connected to the 6 feet of main control chip U5A, the output end of resistance R201 is connected to the input end of resistance R101, the output end of resistance R101 is connected to the emitter of triode Q201 and is grounded, the collector of triode Q201 is connected in series with light emitting diode D101 and resistance R301 and is connected to +5V power input; the collector of triode Q201 is connected to the 1 foot of relay JK1, the 2 feet of relay JK1 are connected to resistance R301 and are connected to +5V power input; the base of triode Q202 is connected in series with resistance R202 and is connected to the 7 feet of main control chip U5A, the output end of resistance R202 is connected to the input end of resistance R102, the output end of resistance R102 is connected to the emitter of triode Q202 and is grounded, the collector of triode Q202 is connected in series with light emitting diode D102 and resistance R302 and is connected to +5V power input; the collector of triode Q202 is connected to the 1 foot of relay JK2, the 2 feet of relay JK2 are connected to resistance R302 and are connected to +5V power input.