Motor control device
By integrating a variety of sensors and circuits, real-time monitoring and control of the motor is achieved, which solves the problems of complex structure and single function of DC motor controllers in the existing technology, and provides a motor control device with a simple structure, complete functions, safe and reliable , suitable for a variety of industrial and medical equipment.
Patent Information
- Application Number
- CN202420299345.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-19
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2034-02-19
AI Technical Summary
Existing DC motor controllers have complex structures and single functions, which cannot meet the efficient, safe and reliable control requirements of modern industrial and medical equipment.
A motor control device is designed that integrates a temperature sensor, a position sensor, a laser displacement sensor, a main control circuit, a drive circuit, a communication circuit, a switch input circuit, an analog acquisition circuit, a current acquisition circuit and a power supply circuit. Through these circuits, Real-time monitoring and control of the motor to ensure its reliability and safety during operation.
The motor has a simple structure, complete functions, safety and reliability, improves the reliability and practical value of motor control, and is suitable for a variety of industrial and medical equipment.
Smart Images

Figure CN221767880U
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of motor control, in particular to a motor control device. Background Art
[0002] A DC motor is a rotating device that can convert DC electrical energy into mechanical energy (DC motor). It has the advantages of good starting performance, wide speed adjustment range, and high power density. Therefore, DC motors are widely used in industrial production, transportation, medical equipment, household appliances, large-scale mechanical equipment, and other scenarios. At present, the structure of the DC motor controller in the prior art is relatively complex, and the functions are relatively single or incomplete.
[0003] Therefore, there is an urgent need to propose a motor control device with simple structure, complete functions, safety and reliability. Utility Model Content
[0004] In view of the above problems, the purpose of the present invention is to provide a motor control device. The technical solution adopted by the present invention is as follows:
[0005] A motor control device, externally connected to a motor body, a temperature sensor, a position sensor and a laser displacement sensor, wherein the motor body is mounted on the motor input flange of a motion mechanism, the position sensor and the laser displacement sensor are arranged on the motion mechanism, the temperature sensor is arranged on the motor body, and there are several position sensors, which are arranged one by one at the origin and limit points of the motion mechanism. The motor control device includes a main control circuit, a drive circuit, a temperature acquisition circuit, a communication circuit, a switch input circuit, an analog quantity acquisition circuit, a current acquisition circuit and a power supply circuit;
[0006] The communication circuit, switch input circuit, analog quantity acquisition circuit, temperature acquisition circuit, drive circuit, current acquisition circuit and power supply circuit are connected to the main control circuit;
[0007] The drive circuit is connected to the motor body and obtains the forward and reverse control signal sent by the main control circuit;
[0008] The temperature acquisition circuit is connected to a temperature sensor on the motor body to obtain the operating temperature of the motor body and feed it back to the main control circuit;
[0009] The communication circuit is connected to the main control circuit and performs data transmission and debugging access;
[0010] The switch input circuit is connected to the limit signal and origin signal of the position sensor, and feeds back the positive and negative limit and origin states to the main control circuit;
[0011] The analog quantity acquisition circuit is externally connected to a laser displacement sensor and feeds back real-time position information to the main control circuit;
[0012] The current collection circuit is connected to the motor body and feeds back the running current of the motor body to the main control circuit.
[0013] Further, the communication circuit includes a 485 communication circuit and an Ethernet circuit; the 485 communication circuit is connected to the main control circuit and performs debugging data writing; the Ethernet circuit is connected to the main control circuit and performs data transmission;
[0014] The 485 communication circuit includes a differential receiver U8 and a 485 connection socket; the differential receiver U8 is connected to the main control circuit;
[0015] The Ethernet circuit includes an Ethernet control chip U10 and a vertical network port U11; the Ethernet control chip U10 is connected to the main control circuit.
[0016] Furthermore, the drive circuit includes a motor power supply circuit and a motor drive signal circuit; the motor power supply circuit is connected to the power supply circuit and supplies power to the motor body; the motor drive signal circuit is connected to the main control circuit and receives the forward and reverse control signal issued by the main control circuit;
[0017] The motor drive signal circuit includes an 8-bit serial shift parallel output register group, a motor drive chipset and a photoelectric coupler group;
[0018] The 8-bit serial shift parallel output register group includes a first 8-bit serial shift parallel output register U19, a second 8-bit serial shift parallel output register U22, a third 8-bit serial shift parallel output register U25 and a fourth 8-bit serial shift parallel output register U30 connected to the main control circuit;
[0019] The motor drive chipset includes a first motor drive chip U15, a second motor drive chip U17, a third motor drive chip U20, a fourth motor drive chip U24, a fifth motor drive chip U27, a sixth motor drive chip U28, a seventh motor drive chip U31, an eighth motor drive chip U33, a ninth motor drive chip U16, a tenth motor drive chip, an eleventh motor drive chip, a twelfth motor drive chip, a thirteenth motor drive chip, a fourteenth motor drive chip, a fifteenth motor drive chip and a sixteenth motor drive chip;
[0020] The photoelectric coupler group includes a first photoelectric coupler, a second photoelectric coupler, a third photoelectric coupler, a fourth photoelectric coupler, a fifth photoelectric coupler, a sixth photoelectric coupler, a seventh photoelectric coupler, an eighth photoelectric coupler, a ninth photoelectric coupler, a tenth photoelectric coupler, an eleventh photoelectric coupler, a twelfth photoelectric coupler, a thirteenth photoelectric coupler, a fourteenth photoelectric coupler, a fifteenth photoelectric coupler and a sixteenth photoelectric coupler;
[0021] The first motor driver chip U15, the second motor driver chip U17, the third motor driver chip U20 and the fourth motor driver chip U24 are connected to the first 8-bit serial shift parallel output register U19;
[0022] The fifth motor driving chip U27, the sixth motor driving chip U28, the seventh motor driving chip U31 and the eighth motor driving chip U33 are connected to the second 8-bit serial shift parallel output register U22;
[0023] The first photoelectric coupler, the second photoelectric coupler, the third photoelectric coupler, the fourth photoelectric coupler, the fifth photoelectric coupler, the sixth photoelectric coupler, the seventh photoelectric coupler and the eighth photoelectric coupler are connected to the third 8-bit serial shift parallel output register U25;
[0024] The ninth photoelectric coupler, the tenth photoelectric coupler, the eleventh photoelectric coupler, the twelfth photoelectric coupler, the thirteenth photoelectric coupler, the fourteenth photoelectric coupler, the fifteenth photoelectric coupler and the sixteenth photoelectric coupler are connected to the fourth 8-bit serial shift parallel output register U30;
[0025] The outputs of the first photoelectric coupler and the second photoelectric coupler are connected to the ninth motor driving chip U16;
[0026] The outputs of the third photoelectric coupler and the fourth photoelectric coupler are connected to the tenth motor driving chip;
[0027] The outputs of the fifth photoelectric coupler and the sixth photoelectric coupler are connected to the eleventh motor driving chip;
[0028] The outputs of the seventh photoelectric coupler and the eighth photoelectric coupler are connected to the twelfth motor driving chip;
[0029] The outputs of the ninth photoelectric coupler and the tenth photoelectric coupler are connected to the thirteenth motor driving chip;
[0030] The outputs of the eleventh photoelectric coupler and the twelfth photoelectric coupler are connected to the fourteenth motor driving chip;
[0031] The outputs of the thirteenth photoelectric coupler and the fourteenth photoelectric coupler are connected to the fifteenth motor driving chip;
[0032] The outputs of the fifteenth photoelectric coupler and the sixteenth photoelectric coupler are connected to the sixteenth motor driving chip;
[0033] The first motor driver chip U15, the second motor driver chip U17, the third motor driver chip U20 and the fourth motor driver chip U24 are externally connected to the reserved opening of the first motor body;
[0034] The fifth motor driving chip U27, the sixth motor driving chip U28, the seventh motor driving chip U31 and the eighth motor driving chip U33 are externally connected to the reserved opening of the second motor body;
[0035] The ninth motor driving chip U16, the tenth motor driving chip, the eleventh motor driving chip and the twelfth motor driving chip are externally connected to the reserved opening of the third motor body;
[0036] The thirteenth motor driving chip, the fourteenth motor driving chip, the fifteenth motor driving chip and the sixteenth motor driving chip are externally connected to the reserved opening of the fourth motor body.
[0037] Further, the current acquisition circuit includes a first ADC digital-to-analog converter U35, a second ADC digital-to-analog converter U40, a first bidirectional isolator chip U36, a second bidirectional isolator chip U41, a first analog switch chip U54, a second analog switch chip U55, a seventeenth photocoupler, an eighteenth photocoupler, a nineteenth photocoupler, and a twentieth photocoupler;
[0038] The first ADC digital-to-analog converter U35 is connected to the ninth motor driving chip U16, the tenth motor driving chip and the eleventh motor driving chip;
[0039] The second ADC digital-to-analog converter U40 is connected to the thirteenth motor driving chip, the fourteenth motor driving chip, and the fifteenth motor driving chip;
[0040] The first analog switch chip U54 is connected to the first ADC digital-to-analog converter U35 and the twelfth motor driving chip;
[0041] The second analog switch chip U55 is connected to the second ADC digital-to-analog converter U40 and the sixteenth motor driving chip;
[0042] The seventeenth photocoupler is connected to the first analog switch chip U54;
[0043] The eighteenth photoelectric coupler is connected to the first ADC digital-to-analog converter U35;
[0044] The nineteenth photoelectric coupler is connected to the second analog switch chip U55;
[0045] The twentieth photoelectric coupler is connected to the second ADC digital-to-analog converter U40;
[0046] The first bidirectional isolator chip U36 is connected to the first ADC digital-to-analog converter U35;
[0047] The second bidirectional isolator chip U41 is connected to the second ADC digital-to-analog converter U40;
[0048] Outputs of the first bidirectional isolator chip U36 , the second bidirectional isolator chip U41 , the seventeenth photocoupler, the eighteenth photocoupler, the nineteenth photocoupler, and the twentieth photocoupler are connected to the main control circuit.
[0049] Further, the motor power supply circuit is provided with two paths, and either path includes a field effect transistor Q2, a 204th resistor R204, a 67th diode D67, a 198th resistor R198, a 197th resistor R197, a 199th resistor R199, a 205th resistor R205, a 37th diode U37, a 114th capacitor C114 and a 68th light-emitting diode D68;
[0050] The drain of the field effect transistor Q2 is connected to the power supply circuit, the gate is grounded via the 204th resistor R204, and the source is connected to the 197th resistor R197;
[0051] The one end of the one hundred and ninety-eighth resistor R198 connected in series with the sixty-eighth light emitting diode D68 is connected to the source of the field effect transistor Q2, and the other end is grounded;
[0052] The input anode of the sixty-seventh diode D67 is connected to the gate of the field effect transistor Q2, and the output cathode is connected to the source of the field effect transistor Q2;
[0053] The one end of the first one hundred and ninety-ninth resistor R199 and the second one hundred and fifth resistor R205 connected in series is connected to the one hundred and ninety-seventh resistor R197, and the other end is grounded;
[0054] The input anode of the thirty-seventh diode U37 is grounded, the output cathode is connected between the one-hundred-ninety-seventh resistor R197 and the one-hundred-ninety-ninth resistor R199, and the control end is connected between the one-hundred-ninety-ninth resistor R199 and the two-hundred-fifth resistor R205;
[0055] One end of the 114th capacitor C114 is connected between the 197th resistor R197 and the 199th resistor R199, and the other end is grounded.
[0056] Furthermore, the switch input circuit is provided with several paths, and any path includes a twenty-first photocoupler, a forty-seventh resistor R47, a forty-ninth resistor R49, a fifty-third capacitor C53, a forty-fifth resistor R45 and a twelfth diode D12; the forty-ninth resistor R49 and the fifty-third capacitor C53 are connected in parallel between the inputs of the twenty-first photocoupler; the forty-seventh resistor R47 is connected to the input anode of the twenty-first photocoupler; the twelfth diode D12 and the forty-fifth resistor R45 are connected in series to the collector of the twenty-first photocoupler.
[0057] Further, the temperature acquisition circuit includes a third ADC digital-to-analog converter U44, a jumper resistor to digital output converter U46, a first bidirectional analog switch chip U43, a second bidirectional analog switch chip U45, a third bidirectional analog switch chip U47, a fourth bidirectional analog switch chip U48, a fourteenth connection interface CN14, a fifteenth connection interface CN15, a sixteenth connection interface CN16 and a seventeenth connection interface CN17;
[0058] The third ADC digital-to-analog converter U44 and the jumper resistor to digital output converter U46 are connected to the main control circuit and provide feedback on the operating temperature of the motor body;
[0059] The first bidirectional analog switch chip U43 is connected to the third ADC digital-to-analog converter U44, the jumper resistor to digital output converter U46 and the fourteenth connection interface CN14;
[0060] The second bidirectional analog switch chip U45 is connected to the third ADC digital-to-analog converter U44, the jumper resistor to digital output converter U46 and the fifteenth connection interface CN15;
[0061] The third bidirectional analog switch chip U47 is connected to the third ADC digital-to-analog converter U44, the jumper resistor to digital output converter U46 and the sixteenth connection interface CN16;
[0062] The fourth bidirectional analog switch chip U48 is connected to the third ADC digital-to-analog converter U44, the jumper resistor to digital output converter U46 and the seventeenth connection interface CN17;
[0063] The fourteenth connection interface CN14, the fifteenth connection interface CN15, the sixteenth connection interface CN16 and the seventeenth connection interface CN17 are externally connected to the temperature sensor on the motor body.
[0064] Furthermore, the analog quantity acquisition circuit includes an analog signal amplifying circuit, a multiplexing chip U49 and an analog-to-digital converter U51; the analog signal amplifying circuit is provided with several channels, and is connected to the inputs of the multiplexing chip U49 in a one-to-one correspondence; the multiplexing chip U49 is connected to the analog-to-digital converter U51; the multiplexing chip U49 and the analog-to-digital converter U51 are connected to the main control circuit.
[0065] Furthermore, the main control circuit adopts STM32 series.
[0066] Compared with the prior art, the utility model has the following beneficial effects:
[0067] (1) The utility model sets a temperature acquisition circuit to obtain the operating temperature of the motor. At the same time, the utility model sets a current acquisition circuit, which is connected to the drive circuit to obtain the current data during the operation of the motor to ensure the reliability of its operation.
[0068] (2) The utility model sets a driving circuit, a current collection circuit, a switch input circuit and an analog quantity collection circuit. When the motor is driven to run, the motor running current and motor fault identification are detected, and the positive and negative limit and origin states are fed back to the main control circuit to ensure the reliable operation of the motor.
[0069] (3) The utility model realizes data transmission and debugging access by setting up a communication circuit.
[0070] In summary, the utility model has the advantages of simple structure, complete functions, safety and reliability, etc., and has high practical value and promotion value in the field of motor control technology. BRIEF DESCRIPTION OF THE DRAWINGS
[0071] In order to more clearly illustrate the technical solutions of the embodiments of the utility model, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the utility model and therefore should not be regarded as limiting the scope of protection. For those skilled in the art, other relevant drawings can be obtained based on these drawings without creative work.
[0072] Figure 1 It is a structural schematic diagram of the utility model.
[0073] Figure 2 This is the main control circuit schematic diagram of the utility model.
[0074] Figure 3 The utility model is a schematic diagram of a voltage-stabilized power supply circuit of a main control circuit.
[0075] Figure 4 This is the schematic diagram of the 485 communication circuit of the utility model.
[0076] Figure 5 This is a schematic diagram of the Ethernet control chip of the utility model.
[0077] Figure 6 This is a schematic diagram of the vertical network port of the utility model.
[0078] Figure 7 This is a schematic diagram of the switch input circuit of the utility model.
[0079] Figure 8 This is a schematic diagram of the switch input shift register circuit of the utility model.
[0080] Fig. 9This is a schematic diagram of the temperature collection circuit of the utility model.
[0081] Fig.10 This is a schematic diagram of the analog signal amplification circuit of the utility model.
[0082] Fig.11 This is a schematic diagram of the analog-to-digital conversion circuit of the utility model.
[0083] Fig.12 This is a schematic diagram of an 8-bit serial shift parallel output register set and a motor drive chipset of the utility model.
[0084] Fig.13 This is a schematic diagram of the motor power supply circuit of the utility model.
[0085] Fig.14 This is a schematic diagram of the current collection circuit of the utility model.
[0086] Fig.15 This is a schematic diagram of the motor drive chipset and the photoelectric coupler group of the utility model.
[0087] Fig.16 This is a schematic diagram of the analog switch signal circuit of the utility model. DETAILED DESCRIPTION
[0088] In order to make the purpose, technical scheme and advantages of this application clearer, the utility model is further described below in conjunction with the accompanying drawings and embodiments, and the implementation methods of this utility model include but are not limited to the following embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0089] In this embodiment, the term "and / or" is merely a term used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent three situations: A exists alone, A and B exist at the same time, and B exists alone.
[0090] The terms "first", "second", "third", etc. in the description and claims of this embodiment are used to distinguish different objects rather than to describe a specific order of objects. For example, a first target object and a second target object are used to distinguish different target objects rather than to describe a specific order of target objects.
[0091] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0092] In the description of the embodiments of the present application, unless otherwise specified, the meaning of "multiple" refers to two or more than two. For example, multiple processing units refer to two or more processing units; multiple systems refer to two or more systems.
[0093] like Figures 1 to 16 As shown, the present embodiment provides a motor control device, which includes a main control circuit, a drive circuit, a temperature acquisition circuit, a communication circuit, a switch input circuit, an analog quantity acquisition circuit, a current acquisition circuit and a power supply circuit. Among them, the power supply circuit provides DC 24V, 12V, 5V, 3.3V and -5V. In this embodiment, the motor control device is externally connected to the motor body, the temperature sensor, the position sensor and the laser displacement sensor. The motor body is mounted on the motor input flange of the motion mechanism, the position sensor and the laser displacement sensor are arranged on the motion mechanism, and the temperature sensor is arranged on the motor body. There are several position sensors, and they are installed one by one at the origin and limit points of the motion mechanism. The switch input circuit is externally connected to the limit signal and origin signal of the position sensor, and the positive and negative limit and origin states are fed back to the main control circuit. In addition, the laser displacement sensor is placed on the motion mechanism and connected to the analog quantity acquisition circuit to detect the current position of the motor mounting mechanism.
[0094] In this embodiment, the main control circuit uses STM32F103VET6 as a microcontroller and is connected to a W25Q16JVSNIQ memory U53. The microcontroller U1 is powered by a DC 3.3V. The microcontroller U1 drives the control motor through a drive circuit, and uses a switch input circuit, an analog quantity acquisition circuit, a temperature acquisition circuit, and a current acquisition circuit to obtain the rotation position, current, and temperature of the motor. In this embodiment, the communication circuit includes a 485 communication circuit and an Ethernet circuit, and the 485 communication circuit is used as a program upgrade or restore network default parameter interface. In addition, the Ethernet circuit is used to communicate with the PLC, using the MODBUS-TCP protocol.
[0095] In this embodiment, the switch input circuit is provided with 24 channels, which can be added as required. It is used to access the limit signal of the position sensor. Among them, the structure of the multi-channel switch input circuit is the same, that is, taking one of them as an example, it includes the twenty-first photoelectric coupler, the forty-seventh resistor R47, the forty-ninth resistor R49, the fifty-third capacitor C53, the forty-fifth resistor R45 and the twelfth diode D12. Among them, the output cathode of the twenty-first photoelectric coupler is connected to the position sensor, and the photoelectric signal is converted and transmitted through the twenty-first photoelectric coupler and stored in the shift register U12. Similarly, the 24-channel switch signal quantities are divided into three groups and stored in the shift register U12, the shift register U13 and the shift register U14 respectively, and then transmitted to the microcontroller U1.
[0096] In the drive circuit, two motor power supply circuits are set, one channel has two terminals, and the output voltage polarity (+- or -+) can be changed. The motor drive signal circuit adopts 16 channels, which are divided into 3 groups, and each group supports independent power supply. In this embodiment, the first motor drive chip U15, the second motor drive chip U17, the third motor drive chip U20, the fourth motor drive chip U24, the fifth motor drive chip U27, the sixth motor drive chip U28, the seventh motor drive chip U31, the eighth motor drive chip U33, the ninth motor drive chip U16, the tenth motor drive chip, the eleventh motor drive chip, the twelfth motor drive chip, the thirteenth motor drive chip, the fourteenth motor drive chip, the fifteenth motor drive chip and the sixteenth motor drive chip all adopt AS4950, which is a mature chip. The AS4950 adopts VP single power supply and has a built-in charge pump. The two logic inputs of AS4950 control the H-bridge driver, which consists of four N-MOS and can control the motor bidirectionally with a peak current of up to 3.5A.
[0097] In this embodiment, the current acquisition circuit is connected to the drive circuit to obtain the motor running current. Among them, the first ADC digital-to-analog converter U35, the second ADC digital-to-analog converter U40, and the analog switch signal chip U39 are used to perform independent current detection and motor fault identification on each output channel. For example, the 122nd resistor R122 on the ninth motor driver chip U16 is used as a current detection resistor, which is connected to the AIN0 pin of the first ADC digital-to-analog converter U35 through the LSS pin of the ninth motor driver chip U16, and the analog quantity is converted to digital quantity in the first ADC digital-to-analog converter U35, and the first bidirectional isolator chip U36 is used for transmission, and finally fed back to the microcontroller U1. In this embodiment, the following functions are achieved by setting up a current acquisition circuit: (1) judging whether the motor is operating normally and obtaining the real-time load; (2) judging whether there is a broken line or overload current; (3) judging whether the motor is connected incorrectly, that is, the currents of motors of different powers are different; (4) when the motor is used in a low-temperature environment, there is a risk of frost and water accumulation in the motor, the load fluctuates greatly, and the motor is easily damaged or fails, in which case the operating current is used for fault diagnosis and real-time status feedback.
[0098] In the temperature acquisition circuit, the temperature sensor on the motor body is externally connected using the fourteenth connection interface CN14, the fifteenth connection interface CN15, the sixteenth connection interface CN16 and the seventeenth connection interface CN17. In this embodiment, the third ADC digital-to-analog converter U44 is used to collect and convert temperature data, and the first bidirectional analog switch chip U43, the second bidirectional analog switch chip U45, the third bidirectional analog switch chip U47, and the fourth bidirectional analog switch chip U48 are used for conversion and transmission. The data transmitted by the first bidirectional analog switch chip U43, the second bidirectional analog switch chip U45, the third bidirectional analog switch chip U47, and the fourth bidirectional analog switch chip U48 are fed back to the microcontroller U1 via the jumper resistor to digital output converter U46. Normally, a group is selected from the jumper resistors R235 / R238 / R239, R244 / R249 / R250, and the corresponding third ADC digital-to-analog converter U44 and the jumper resistor to digital output converter U46 are used for temperature conversion.
[0099] In this embodiment, the analog quantity acquisition circuit is externally connected to a laser displacement sensor, which is amplified by an analog signal amplification circuit, and then switched and converted to digital by a multiplexing chip U49 and an analog-to-digital converter U51.
[0100] The above embodiments are only preferred embodiments of the present utility model and are not intended to limit the protection scope of the present utility model. Any changes that adopt the design principles of the present utility model and are made through non-creative labor on this basis should fall within the protection scope of the present utility model.
Claims
1. A motor control device, externally connected to a motor body, a temperature sensor, a position sensor and a laser displacement sensor, wherein the motor body is mounted on the motor input flange of a motion mechanism, the position sensor and the laser displacement sensor are arranged on the motion mechanism, the temperature sensor is arranged on the motor body, and a plurality of position sensors are arranged and are arranged one by one at the origin and limit points of the motion mechanism, characterized in that: It includes a main control circuit, a drive circuit, a temperature acquisition circuit, a communication circuit, a switch input circuit, an analog quantity acquisition circuit, a current acquisition circuit and a power supply circuit; The communication circuit, switch input circuit, analog quantity acquisition circuit, temperature acquisition circuit, drive circuit, current acquisition circuit and power supply circuit are connected to the main control circuit; The drive circuit is connected to the motor body and obtains the forward and reverse control signal sent by the main control circuit; The temperature acquisition circuit is connected to a temperature sensor on the motor body to obtain the operating temperature of the motor body and feed it back to the main control circuit; The communication circuit is connected to the main control circuit and performs data transmission and debugging access; The switch input circuit is connected to the limit signal and origin signal of the position sensor, and feeds back the positive and negative limit and origin states to the main control circuit; The analog quantity acquisition circuit is externally connected to a laser displacement sensor and feeds back real-time position information to the main control circuit; The current collection circuit is connected to the motor body and feeds back the running current of the motor body to the main control circuit.
2. A motor control device according to claim 1, characterized in that: The communication circuit includes a 485 communication circuit and an Ethernet circuit; the 485 communication circuit is connected to the main control circuit and performs debugging data writing; the Ethernet circuit is connected to the main control circuit and performs data transmission; The 485 communication circuit includes a differential receiver U8 and a 485 connection socket; the differential receiver U8 is connected to the main control circuit; The Ethernet circuit includes an Ethernet control chip U10 and a vertical network port U11; the Ethernet control chip U10 is connected to the main control circuit.
3. A motor control device according to claim 1, characterized in that: The drive circuit includes a motor power supply circuit and a motor drive signal circuit; the motor power supply circuit is connected to the power supply circuit and supplies power to the motor body; the motor drive signal circuit is connected to the main control circuit and receives the forward and reverse control signal issued by the main control circuit; The motor drive signal circuit includes an 8-bit serial shift parallel output register group, a motor drive chipset and a photoelectric coupler group; The 8-bit serial shift parallel output register group includes a first 8-bit serial shift parallel output register U19, a second 8-bit serial shift parallel output register U22, a third 8-bit serial shift parallel output register U25 and a fourth 8-bit serial shift parallel output register U30 connected to the main control circuit; The motor drive chipset includes a first motor drive chip U15, a second motor drive chip U17, a third motor drive chip U20, a fourth motor drive chip U24, a fifth motor drive chip U27, a sixth motor drive chip U28, a seventh motor drive chip U31, an eighth motor drive chip U33, a ninth motor drive chip U16, a tenth motor drive chip, an eleventh motor drive chip, a twelfth motor drive chip, a thirteenth motor drive chip, a fourteenth motor drive chip, a fifteenth motor drive chip and a sixteenth motor drive chip; The photoelectric coupler group includes a first photoelectric coupler, a second photoelectric coupler, a third photoelectric coupler, a fourth photoelectric coupler, a fifth photoelectric coupler, a sixth photoelectric coupler, a seventh photoelectric coupler, an eighth photoelectric coupler, a ninth photoelectric coupler, a tenth photoelectric coupler, an eleventh photoelectric coupler, a twelfth photoelectric coupler, a thirteenth photoelectric coupler, a fourteenth photoelectric coupler, a fifteenth photoelectric coupler and a sixteenth photoelectric coupler; The first motor driver chip U15, the second motor driver chip U17, the third motor driver chip U20 and the fourth motor driver chip U24 are connected to the first 8-bit serial shift parallel output register U19; The fifth motor driving chip U27, the sixth motor driving chip U28, the seventh motor driving chip U31 and the eighth motor driving chip U33 are connected to the second 8-bit serial shift parallel output register U22; The first photoelectric coupler, the second photoelectric coupler, the third photoelectric coupler, the fourth photoelectric coupler, the fifth photoelectric coupler, the sixth photoelectric coupler, the seventh photoelectric coupler and the eighth photoelectric coupler are connected to the third 8-bit serial shift parallel output register U25; The ninth photoelectric coupler, the tenth photoelectric coupler, the eleventh photoelectric coupler, the twelfth photoelectric coupler, the thirteenth photoelectric coupler, the fourteenth photoelectric coupler, the fifteenth photoelectric coupler and the sixteenth photoelectric coupler are connected to the fourth 8-bit serial shift parallel output register U30; The outputs of the first photoelectric coupler and the second photoelectric coupler are connected to the ninth motor driving chip U16; The outputs of the third photoelectric coupler and the fourth photoelectric coupler are connected to the tenth motor driving chip; The outputs of the fifth photoelectric coupler and the sixth photoelectric coupler are connected to the eleventh motor driving chip; The outputs of the seventh photoelectric coupler and the eighth photoelectric coupler are connected to the twelfth motor driving chip; The outputs of the ninth photoelectric coupler and the tenth photoelectric coupler are connected to the thirteenth motor driving chip; The outputs of the eleventh photoelectric coupler and the twelfth photoelectric coupler are connected to the fourteenth motor driving chip; The outputs of the thirteenth photoelectric coupler and the fourteenth photoelectric coupler are connected to the fifteenth motor driving chip; The outputs of the fifteenth photoelectric coupler and the sixteenth photoelectric coupler are connected to the sixteenth motor driving chip; The first motor driver chip U15, the second motor driver chip U17, the third motor driver chip U20 and the fourth motor driver chip U24 are externally connected to the reserved opening of the first motor body; The fifth motor driving chip U27, the sixth motor driving chip U28, the seventh motor driving chip U31 and the eighth motor driving chip U33 are externally connected to the reserved opening of the second motor body; The ninth motor driving chip U16, the tenth motor driving chip, the eleventh motor driving chip and the twelfth motor driving chip are externally connected to the reserved opening of the third motor body; The thirteenth motor driving chip, the fourteenth motor driving chip, the fifteenth motor driving chip and the sixteenth motor driving chip are externally connected to the reserved opening of the fourth motor body.
4. A motor control device according to claim 3, characterized in that: The current acquisition circuit includes a first ADC digital-to-analog converter U35, a second ADC digital-to-analog converter U40, a first bidirectional isolator chip U36, a second bidirectional isolator chip U41, a first analog switch chip U54, a second analog switch chip U55, a seventeenth photocoupler, an eighteenth photocoupler, a nineteenth photocoupler and a twentieth photocoupler; The first ADC digital-to-analog converter U35 is connected to the ninth motor driving chip U16, the tenth motor driving chip and the eleventh motor driving chip; The second ADC digital-to-analog converter U40 is connected to the thirteenth motor driving chip, the fourteenth motor driving chip, and the fifteenth motor driving chip; The first analog switch chip U54 is connected to the first ADC digital-to-analog converter U35 and the twelfth motor driving chip; The second analog switch chip U55 is connected to the second ADC digital-to-analog converter U40 and the sixteenth motor driving chip; The seventeenth photocoupler is connected to the first analog switch chip U54; The eighteenth photoelectric coupler is connected to the first ADC digital-to-analog converter U35; The nineteenth photoelectric coupler is connected to the second analog switch chip U55; The twentieth photoelectric coupler is connected to the second ADC digital-to-analog converter U40; The first bidirectional isolator chip U36 is connected to the first ADC digital-to-analog converter U35; The second bidirectional isolator chip U41 is connected to the second ADC digital-to-analog converter U40; Outputs of the first bidirectional isolator chip U36 , the second bidirectional isolator chip U41 , the seventeenth photocoupler, the eighteenth photocoupler, the nineteenth photocoupler, and the twentieth photocoupler are connected to the main control circuit.
5. A motor control device according to claim 3 or 4, characterized in that: The motor power supply circuit is provided with two paths, and either path includes a field effect transistor Q2, a 204th resistor R204, a 67th diode D67, a 198th resistor R198, a 197th resistor R197, a 199th resistor R199, a 205th resistor R205, a 37th diode U37, a 114th capacitor C114 and a 68th light-emitting diode D68; The drain of the field effect transistor Q2 is connected to the power supply circuit, the gate is grounded via the 204th resistor R204, and the source is connected to the 197th resistor R197; The one end of the one hundred and ninety-eighth resistor R198 connected in series with the sixty-eighth light emitting diode D68 is connected to the source of the field effect transistor Q2, and the other end is grounded; The input anode of the sixty-seventh diode D67 is connected to the gate of the field effect transistor Q2, and the output cathode is connected to the source of the field effect transistor Q2; The one end of the first one hundred and ninety-ninth resistor R199 and the second one hundred and fifth resistor R205 connected in series is connected to the one hundred and ninety-seventh resistor R197, and the other end is grounded; The input anode of the thirty-seventh diode U37 is grounded, the output cathode is connected between the one-hundred-ninety-seventh resistor R197 and the one-hundred-ninety-ninth resistor R199, and the control end is connected between the one-hundred-ninety-ninth resistor R199 and the two-hundred-fifth resistor R205; One end of the 114th capacitor C114 is connected between the 197th resistor R197 and the 199th resistor R199, and the other end is grounded.
6. The motor control device according to claim 1, characterized in that: The switch input circuit is provided with several paths, and any path includes a twenty-first photocoupler, a forty-seventh resistor R47, a forty-ninth resistor R49, a fifty-third capacitor C53, a forty-fifth resistor R45 and a twelfth diode D12; the forty-ninth resistor R49 and the fifty-third capacitor C53 are connected in parallel between the inputs of the twenty-first photocoupler; the forty-seventh resistor R47 is connected to the input anode of the twenty-first photocoupler; the twelfth diode D12 and the forty-fifth resistor R45 are connected in series to the collector of the twenty-first photocoupler.
7. The motor control device according to claim 1, characterized in that: The temperature acquisition circuit includes a third ADC digital-to-analog converter U44, a jumper resistor to digital output converter U46, a first bidirectional analog switch chip U43, a second bidirectional analog switch chip U45, a third bidirectional analog switch chip U47, a fourth bidirectional analog switch chip U48, a fourteenth connection interface CN14, a fifteenth connection interface CN15, a sixteenth connection interface CN16 and a seventeenth connection interface CN17; The third ADC digital-to-analog converter U44 and the jumper resistor to digital output converter U46 are connected to the main control circuit and provide feedback on the operating temperature of the motor body; The first bidirectional analog switch chip U43 is connected to the third ADC digital-to-analog converter U44, the jumper resistor to digital output converter U46 and the fourteenth connection interface CN14; The second bidirectional analog switch chip U45 is connected to the third ADC digital-to-analog converter U44, the jumper resistor to digital output converter U46 and the fifteenth connection interface CN15; The third bidirectional analog switch chip U47 is connected to the third ADC digital-to-analog converter U44, the jumper resistor to digital output converter U46 and the sixteenth connection interface CN16; The fourth bidirectional analog switch chip U48 is connected to the third ADC digital-to-analog converter U44, the jumper resistor to digital output converter U46 and the seventeenth connection interface CN17; The fourteenth connection interface CN14, the fifteenth connection interface CN15, the sixteenth connection interface CN16 and the seventeenth connection interface CN17 are externally connected to the temperature sensor on the motor body.
8. The motor control device according to claim 1, characterized in that: The analog quantity acquisition circuit includes an analog signal amplifying circuit, a multiplexing chip U49 and an analog-to-digital converter U51; the analog signal amplifying circuit is provided with several channels, and is connected to the inputs of the multiplexing chip U49 in a one-to-one correspondence; the multiplexing chip U49 is connected to the analog-to-digital converter U51; the multiplexing chip U49 and the analog-to-digital converter U51 are connected to the main control circuit.
9. A motor control device according to claim 1 or 2 or 3 or 4 or 6 or 7 or 8, characterized in that: The main control circuit adopts STM32 series.
