Forging pressure detection control device based on single chip microcomputer
By designing a forging force detection and control device based on a single-chip microcomputer, the problems of slow PLC processing speed and high cost in the existing technology are solved, low-cost, high-precision forging force sampling is achieved, and the efficiency and accuracy of forging force detection are improved.
Patent Information
- Application Number
- CN202420449701.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-07
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2034-03-07
AI Technical Summary
Existing forging force detection controllers use PLC and external ADC modules, resulting in slow processing speed, data collection leakage, false alarms and high costs.
Design a forging force detection and control device based on a single-chip microcomputer, including a main control module, a power module, a relay module, an alarm light module, a forging force acquisition module and a communication module. Through a common mode filter circuit, a buck regulator chip and a DCDC power supply The chip realizes low-cost, high-precision forging force sampling, and uses high-performance microcontrollers and peripheral circuits for control.
It achieves lower cost, higher accuracy and higher forging force sampling rate, and reduces the impact of interference signals on the collection accuracy.
Smart Images

Figure CN221765958U
Abstract
Description
Technical Field
[0001] The utility model relates to the field of multi-station cold forging machines, in particular to a forging force detection control device based on a single chip microcomputer. Background Art
[0002] In the past, forging pressure detection controllers generally used PLC control and external ADC modules for sampling. When the machine was running at high speed, the slow processing speed of PLC led to the omission of forging pressure data and false alarms. In addition, the high cost of PLC and external ADC modules made it difficult to achieve low cost of the device. Utility Model Content
[0003] The purpose of the utility model is to overcome the shortcomings of the prior art, provide a forging force detection control device based on a single chip microcomputer, and solve the deficiencies of the prior art.
[0004] The purpose of the utility model is achieved through the following technical solutions: a forging force detection control device based on a single-chip microcomputer, which includes a main control module, a power module, a relay module, an alarm light module, a forging force acquisition module, an input module and a communication module;
[0005] The signal output end of the main control module is connected to the input ends of the relay module and the alarm light module respectively, the output ends of the forging force acquisition module and the input end module are connected to the input end of the main control module, the main control module and the communication module are connected to each other, and the power supply output end of the power supply module is connected to the power supply input ends of the main control module, the relay module, the alarm light module, the forging force acquisition module, the input module and the communication module respectively.
[0006] The power module includes a common mode filter circuit, a buck regulator chip U6, a DCDC power chip U5 and a linear regulator chip U4;
[0007] The output end of the common-mode filter circuit is connected to the input ends of the buck regulator chip U6, the DCDC power chip U5, the relay module and the alarm light module respectively through a filter capacitor C1; the output end of the buck regulator chip U6 is connected to the 5V power input end of the linear regulator chip U4, the forging force acquisition module and the input module respectively; the output end of the DCDC power chip U5 is connected to the 20V power input of the forging force acquisition module; the output end of the linear regulator chip U4 is connected to the 3.3V power input end of the forging force acquisition module, the main control module, the input module and the communication module.
[0008] The relay module includes two relay switches K1 and K2, and switch tubes Q3 and Q4; the signal output end of the main control module is connected to the gates of the switch tubes Q3 and Q4 respectively, the drain of the switch tube Q3 is connected to the first pin of the switch K1, and the drain of the switch tube Q4 is connected to the first pin of the switch K2; the output end of the common-mode filter circuit is connected to the eighth pins of the switches K1 and K2 through a filter capacitor C1, and the output ends of the switches K1 and K2 are connected to the subsequent control mechanism.
[0009] The alarm light module includes an alarm light P4, switch tubes Q1, Q2 and Q5; the output end of the common-mode filter circuit is connected to the first pin of the alarm light P4 through a filter capacitor C1, and the signal output end of the main control module is connected to the gates of the switch tubes Q1, Q2 and Q5 respectively; the fourth pin of the alarm light P4 is connected to the drain of the switch tube Q2, the third pin is connected to the drain of the switch tube Q5, and the second pin is connected to the drain of the switch tube Q1.
[0010] The forging force acquisition module includes a sensor, an operational amplifier and a comparator; the 5th pin of the sensor is connected to the 3rd pin of the operational amplifier, the 4th pin of the sensor is connected to the power supply output end of the low voltage difference regulator chip U5, the power supply output end of the buck regulator chip U6 is connected to the 4th and 5th pins of the operational amplifier, the output end of the operational amplifier is connected to the input end of the comparator, the power supply output end of the linear regulator chip U4 is connected to the 5th pin of the comparator, and the output end of the comparator is connected to the signal input end of the main control module.
[0011] The input module includes a plurality of optical couplers, each of which inputs a signal, which is input to the signal input end of the main control module after optical coupling isolation by the optical coupler.
[0012] The communication module includes an interface conversion chip U13, connectors CN1 and J1; the UART interface of the main control module is connected to the input end of the interface conversion chip U13, and the interface conversion chip U13 converts the UART interface into an RS232 interface and connects the connectors CN1 and J1 respectively, the connector CN1 is connected to the wireless communication circuit, and the connector J1 is connected to the touch screen.
[0013] The utility model has the following advantages: a forging force detection control device based on a single-chip microcomputer, which has lower cost, higher accuracy, and higher forging force sampling rate than the PCL solution; the main control module is integrated with the forging force acquisition, which reduces the influence of interference signals on the acquisition accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 It is a schematic diagram of the structure of the utility model;
[0015] Figure 2 This is the circuit diagram of the main control module;
[0016] Figure 3 is a circuit diagram of a power module;
[0017] Figure 4 is a circuit diagram of a relay module;
[0018] Figure 5 is a circuit diagram of the warning light module;
[0019] Figure 6 This is a circuit diagram of the forging force acquisition module;
[0020] Figure 7 This is the circuit diagram of the input module;
[0021] Figure 8 Figure 2 is a circuit diagram of the communication module. DETAILED DESCRIPTION
[0022] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the detailed description of the embodiments of the present application provided below in conjunction with the drawings is not intended to limit the scope of protection of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application. The utility model is further described below in conjunction with the drawings.
[0023] like Figure 1 As shown, the utility model specifically relates to a forging force detection control device based on a single chip microcomputer, which includes a main control module, a power module, a relay module, an alarm light module, a forging force acquisition module, an input module and a communication module;
[0024] The signal output end of the main control module is connected to the input ends of the relay module and the alarm light module respectively, the output ends of the forging force acquisition module and the input end module are connected to the input end of the main control module, the main control module and the communication module are connected to each other, and the power supply output end of the power supply module is connected to the power supply input ends of the main control module, the relay module, the alarm light module, the forging force acquisition module, the input module and the communication module respectively.
[0025] Furthermore, if Figure 2As shown, the main control module is mainly composed of a high-performance single-chip microcomputer and its peripheral circuits. The peripheral circuits include a memory U16. The single-chip microcomputer is connected to each module to realize the control of the corresponding module.
[0026] Furthermore, if Figure 3 As shown, the power module includes a common mode filter circuit, a buck regulator chip U6, a DCDC power chip U5 and a linear regulator chip U4;
[0027] Among them, the output end of the common-mode filter circuit is connected to the input ends of the buck regulator chip U6, the DCDC power chip U5, the relay module and the alarm light module respectively after passing through a filter capacitor C1; the output end of the buck regulator chip U6 is connected to the 5V power input end of the linear regulator chip U4, the forging force acquisition module and the input module respectively; the output end of the DCDC power chip U5 is connected to the 20V power input of the forging force acquisition module; the output end of the linear regulator chip U4 is connected to the 3.3V power input end of the forging force acquisition module, the main control module, the input module and the communication module.
[0028] Furthermore, if Figure 4 As shown, the relay module includes two relay switches K1 and K2, and switch tubes Q3 and Q4; the signal output end of the main control module is connected to the gates of the switch tubes Q3 and Q4 respectively, the drain of the switch tube Q3 is connected to the first pin of the switch K1, and the drain of the switch tube Q4 is connected to the first pin of the switch K2; the output end of the common-mode filter circuit is connected to the eighth pins of the switches K1 and K2 through a filter capacitor C1, and the output ends of the switches K1 and K2 are connected to the subsequent control mechanism, which can be used for shutdown and feeding controls.
[0029] Furthermore, if Figure 5 As shown, the alarm light module includes an alarm light P4, switch tubes Q1, Q2 and Q5; the output end of the common-mode filter circuit is connected to the first pin of the alarm light P4 through a filter capacitor C1, and the signal output end of the main control module is connected to the gates of the switch tubes Q1, Q2 and Q5 respectively; the fourth pin of the alarm light P4 is connected to the drain of the switch tube Q2, the third pin is connected to the drain of the switch tube Q5, and the second pin is connected to the drain of the switch tube Q1; the main control module controls the DC alarm light to light up after the control signal passes through the drive circuit, which is used to indicate the current operating status of the equipment.
[0030] Furthermore, if Figure 6As shown, the forging force acquisition module includes a sensor, an operational amplifier and a comparator; the 5th pin of the sensor is connected to the 3rd pin of the operational amplifier, the 4th pin of the sensor is connected to the power supply output end of the low voltage difference regulator chip U5, the power supply output end of the buck regulator chip U6 is connected to the 4th and 5th pins of the operational amplifier, the output end of the operational amplifier is connected to the input end of the comparator, the power supply output end of the linear regulator chip U4 is connected to the 5th pin of the comparator, and the output end of the comparator is connected to the signal input end of the main control module.
[0031] The forging force sensor is independently powered by the linear regulator chip U4 to reduce the interference of power supply noise on the signal. After the operational amplifier processes the input signal, the comparator separates the valid signal points and then processes them by the main control module.
[0032] Furthermore, if Figure 7 As shown, the input module includes multiple optical couplers, each optical coupler inputs a signal, and after optical coupling isolation by the optical coupler, it is input to the signal input end of the main control module.
[0033] Among them, the current signal, the material-free detection signal, the short-inch detection signal, and the proximity switch signal are detected and processed by the main control module after being isolated by the optical coupler.
[0034] Furthermore, if Figure 8 As shown, the communication module includes an interface conversion chip U13, connectors CN1 and J1; the UART interface of the main control module is connected to the input end of the interface conversion chip U13, and the interface conversion chip U13 converts the UART interface into an RS232 interface and connects the connectors CN1 and J1 respectively, the connector CN1 is connected to the wireless communication circuit, and the connector J1 is connected to the touch screen to realize human-computer interaction and remote control.
[0035] The working principle of the utility model is as follows: after the main control module is powered on, the single chip microcomputer initializes the system, reads the configuration data and processing count value stored in the memory, automatically detects whether the forging pressure sensor exists, and waits for the equipment to start running. After the equipment is running, the sensor data is collected, filtered, and calculated to obtain the current forging pressure value, equipment running speed, alarm information, etc. The acquired data is packaged and sent to the display screen for display. At the same time, the instructions sent by the touch screen and the signals of the input module are monitored for timely processing.
[0036] The above is only a preferred embodiment of the utility model. It should be understood that the utility model is not limited to the form disclosed herein, and should not be regarded as excluding other embodiments, but can be used for various other combinations, modifications and improvements, and can be modified within the scope of the concept described herein through the above teachings or the technology or knowledge in the relevant field. The changes and modifications made by those skilled in the art do not deviate from the spirit and scope of the utility model, and should be within the scope of protection of the claims attached to the utility model.
Claims
1. A forging force detection and control device based on a single chip microcomputer, characterized in that: It includes a main control module, a power module, a relay module, an alarm light module, a forging force acquisition module, an input module and a communication module; The signal output end of the main control module is connected to the input ends of the relay module and the alarm light module respectively, the output ends of the forging force acquisition module and the input end module are connected to the input end of the main control module, the main control module and the communication module are connected to each other, and the power supply output end of the power supply module is connected to the power supply input ends of the main control module, the relay module, the alarm light module, the forging force acquisition module, the input module and the communication module respectively.
2. According to claim 1, a forging force detection control device based on a single chip microcomputer is characterized in that: The power module includes a common mode filter circuit, a buck regulator chip U6, a DCDC power chip U5 and a linear regulator chip U4; The output end of the common-mode filter circuit is connected to the input ends of the buck regulator chip U6, the DCDC power chip U5, the relay module and the alarm light module respectively through a filter capacitor C1; the output end of the buck regulator chip U6 is connected to the 5V power input end of the linear regulator chip U4, the forging force acquisition module and the input module respectively; the output end of the DCDC power chip U5 is connected to the 20V power input of the forging force acquisition module; the output end of the linear regulator chip U4 is connected to the 3.3V power input end of the forging force acquisition module, the main control module, the input module and the communication module.
3. The forging force detection control device based on a single chip microcomputer according to claim 2 is characterized in that: The relay module includes two relay switches K1 and K2, and switch tubes Q3 and Q4; the signal output end of the main control module is connected to the gates of the switch tubes Q3 and Q4 respectively, the drain of the switch tube Q3 is connected to the first pin of the switch K1, and the drain of the switch tube Q4 is connected to the first pin of the switch K2; the output end of the common-mode filter circuit is connected to the eighth pins of the switches K1 and K2 through a filter capacitor C1, and the output ends of the switches K1 and K2 are connected to the subsequent control mechanism.
4. The forging force detection control device based on a single chip microcomputer according to claim 2 is characterized in that: The alarm light module includes an alarm light P4, switch tubes Q1, Q2 and Q5; the output end of the common-mode filter circuit is connected to the first pin of the alarm light P4 through a filter capacitor C1, and the signal output end of the main control module is connected to the gates of the switch tubes Q1, Q2 and Q5 respectively; the fourth pin of the alarm light P4 is connected to the drain of the switch tube Q2, the third pin is connected to the drain of the switch tube Q5, and the second pin is connected to the drain of the switch tube Q1.
5. The forging force detection control device based on a single chip microcomputer according to claim 2 is characterized in that: The forging force acquisition module includes a sensor, an operational amplifier and a comparator; the 5th pin of the sensor is connected to the 3rd pin of the operational amplifier, the 4th pin of the sensor is connected to the power supply output end of the low voltage difference regulator chip U5, the power supply output end of the buck regulator chip U6 is connected to the 4th and 5th pins of the operational amplifier, the output end of the operational amplifier is connected to the input end of the comparator, the power supply output end of the linear regulator chip U4 is connected to the 5th pin of the comparator, and the output end of the comparator is connected to the signal input end of the main control module.
6. The forging force detection and control device based on a single chip microcomputer according to claim 2 is characterized in that: The input module includes a plurality of optical couplers, each of which inputs a signal, which is input to the signal input end of the main control module after optical coupling isolation by the optical coupler.
7. The forging force detection and control device based on a single chip microcomputer according to claim 2 is characterized in that: The communication module includes an interface conversion chip U13, connectors CN1 and J1; the UART interface of the main control module is connected to the input end of the interface conversion chip U13, and the interface conversion chip U13 converts the UART interface into an RS232 interface and connects the connectors CN1 and J1 respectively, the connector CN1 is connected to the wireless communication circuit, and the connector J1 is connected to the touch screen.
