CN110823165B - Platform, method and device for measuring straightness of forged crankshaft blank and electronic equipment - Google Patents

Platform, method and device for measuring straightness of forged crankshaft blank and electronic equipment Download PDF

Info

Publication number
CN110823165B
CN110823165B CN201911131946.0A CN201911131946A CN110823165B CN 110823165 B CN110823165 B CN 110823165B CN 201911131946 A CN201911131946 A CN 201911131946A CN 110823165 B CN110823165 B CN 110823165B
Authority
CN
China
Prior art keywords
data
module
measuring
power supply
straightness
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911131946.0A
Other languages
Chinese (zh)
Other versions
CN110823165A (en
Inventor
林栋�
丛子凌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
WENDENG HENGRUN FORGING CO Ltd
Original Assignee
WENDENG HENGRUN FORGING CO Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by WENDENG HENGRUN FORGING CO Ltd filed Critical WENDENG HENGRUN FORGING CO Ltd
Priority to CN201911131946.0A priority Critical patent/CN110823165B/en
Publication of CN110823165A publication Critical patent/CN110823165A/en
Application granted granted Critical
Publication of CN110823165B publication Critical patent/CN110823165B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B21/00Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant
    • G01B21/22Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant for measuring angles or tapers; for testing the alignment of axes
    • G01B21/24Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant for measuring angles or tapers; for testing the alignment of axes for testing alignment of axes
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B21/00Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant
    • G01B21/02Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant for measuring length, width, or thickness
    • G01B21/04Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant for measuring length, width, or thickness by measuring coordinates of points
    • G01B21/042Calibration or calibration artifacts
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B5/00Measuring arrangements characterised by the use of mechanical techniques
    • G01B5/0025Measuring of vehicle parts
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B5/00Measuring arrangements characterised by the use of mechanical techniques
    • G01B5/003Measuring of motor parts

Abstract

The embodiment of the invention provides a platform, a method and a device for measuring the straightness of a forged crankshaft blank and electronic equipment, wherein the platform comprises a power supply module, a switch control module, a processing module and a measuring module, the power supply module, the processing module and the measuring module are connected with the switch control module, the measuring module is connected with the processing module, and the processing module is connected with the power supply module; the power supply module is used for providing power support for the switch control module and the processing module, and the switch control module is used for setting a measurement period; the measuring module is used for measuring the forge piece to be measured to obtain measuring data; the processing module is used for obtaining straightness data based on the measured data when the measured data is effective data; wherein valid data refers to data in a set measurement period. The platform relieves the problem of low detection efficiency in the prior art, can quickly and automatically measure the crankshaft straightness accuracy data, saves a large amount of time and labor cost, and improves the detection efficiency.

Description

Platform, method and device for measuring straightness of forged crankshaft blank and electronic equipment
Technical Field
The invention relates to the field of crankshaft detection, in particular to a platform, a method and a device for measuring the straightness of a forged crankshaft blank and electronic equipment.
Background
In the manufacturing process of a crankshaft of an internal combustion engine or a crankshaft for an automobile, the detection of geometric characteristic items of a crankshaft blank is generally required, for example, the straightness of the crankshaft blank is measured, and if the straightness is out of tolerance, the crankshaft is directly judged to be useless, so the straightness measurement of the crankshaft blank directly determines whether the crankshaft is usable or not.
At present, the existing crankshaft straightness measuring method mainly adopts a platform detection tool, for example, a support for a marking platform is adopted to support a forge piece to be measured, a horizontal direction is found, and then a height gauge is used for measuring the position of each main shaft.
Disclosure of Invention
In view of the above, the present invention provides a platform, a method, a device and an electronic apparatus for measuring the straightness of a forged crankshaft blank.
In order to achieve the above purpose, the embodiment of the present invention adopts the following technical solutions:
in a first aspect, an embodiment of the invention provides a forged crankshaft blank straightness measuring platform, which comprises a power supply module, a switch control module, a processing module and a measuring module, wherein the power supply module, the processing module and the measuring module are connected with the switch control module, the measuring module is connected with the processing module, and the processing module is connected with the power supply module;
the power supply module is used for providing power support for the switch control module and the processing module, and the switch control module is used for setting a measurement period; the measuring module is used for measuring the forge piece to be measured to obtain measuring data; the processing module is used for obtaining straightness data based on the measurement data when the measurement data is valid data; wherein the valid data refers to data in a set measurement period.
In an alternative embodiment, the power module includes a power adapter and a first power source connected; the switch control module comprises a trigger switch and a delay relay which are connected; the processing module comprises an AD sampling module and a PC which are connected; the measuring module comprises a test support table and an electronic ruler arranged on the test support table; the electronic ruler, the delay relay and the first power supply are connected with the AD sampling module; the first power supply is connected with the time delay relay; the time delay relay is connected with the electronic ruler;
the power adapter is used for converting alternating current into direct current and outputting the direct current to the first power supply, and the first power supply is used for supplying power to the time delay relay and the AD sampling module; the trigger switch is used for providing a high-level trigger signal, and the high-level trigger signal is used for triggering the time delay relay to be conducted; the delay relay is used for setting a measurement period; the test support table is used for placing the forge piece to be measured; the electronic ruler is used for measuring the forge piece to be measured to generate simulation data; the AD sampling module is used for converting the analog data into digital data and outputting the digital data to a PC (personal computer) through a preset serial port; the PC is used for judging whether the digital data output by the preset serial port is valid data or not, and when the digital data is valid data, straightness data are obtained based on the digital data; the valid data refers to data of the time delay relay in a conducting state.
In an alternative embodiment, the power supply module further comprises a second power supply connected to the power adapter; the measuring module further comprises a speed reducing motor connected with the second power supply; the second power supply is used for supplying power to the speed reducing motor, and the speed reducing motor is used for driving the forging piece to be measured to move.
In an optional embodiment, the AD sampling module is integrated in the MCU; the MCU adopts STM32F103C8T6 main control chip.
In an alternative embodiment, the power adapter adopts a 24V 1A power adapter; the first power supply adopts a 3A high-precision DC adjustable step-down power supply.
In a second aspect, an embodiment of the present invention provides a method for measuring straightness of a forged crankshaft blank, which is applied to a PC, and the method includes:
receiving digital data sent by an AD sampling module through a preset serial port; the digital data is obtained by performing analog-to-digital conversion on analog data output by the electronic ruler by the AD sampling module;
judging whether the digital data output by the preset serial port is valid data or not;
when the digital data are effective data, obtaining straightness data based on the digital data; the effective data refers to data of the time delay relay in a conducting state.
In an alternative embodiment, the method further comprises:
when the digital data is valid data, a graph is drawn based on the digital data.
In an alternative embodiment, the method further comprises:
and comparing the straightness data with a preset threshold value, and judging that the forge piece to be measured is qualified when the straightness data is smaller than the preset threshold value.
In a third aspect, an embodiment of the present invention provides a forged crankshaft blank straightness measuring apparatus, where the apparatus includes:
the receiving unit is used for receiving the digital data sent by the AD sampling module through a preset serial port; the digital data is obtained by performing analog-to-digital conversion on analog data output by the electronic ruler by the AD sampling module;
the judging unit is used for judging whether the digital data output by the preset serial port is valid data or not;
the calculating unit is used for obtaining straightness data based on the digital data when the digital data is effective data; the effective data refers to data of the time delay relay in a conducting state.
In a fourth aspect, an embodiment of the present invention provides an electronic device, including a processor and a memory, where the memory stores machine executable instructions capable of being executed by the processor, and the processor can execute the machine executable instructions to implement the method described in any one of the foregoing embodiments.
In a fifth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the method described above.
The forged crankshaft blank straightness measuring platform comprises a power supply module, a switch control module, a processing module and a measuring module, wherein the power supply module, the processing module and the measuring module are connected with the switch control module, the measuring module is connected with the processing module, and the processing module is connected with the power supply module; the power supply module is used for providing power support for the switch control module and the processing module, and the switch control module is used for setting a measurement period; the measuring module is used for measuring the forge piece to be measured to obtain measuring data; the processing module is used for obtaining straightness data based on the measurement data when the measurement data is valid data; wherein the valid data refers to data in a set measurement period. Therefore, according to the technical scheme provided by the embodiment of the invention, the crankshaft straightness data can be rapidly and automatically measured, a large amount of time and labor cost are saved, the detection efficiency is improved, and meanwhile, the improvement of the product quality is greatly facilitated.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
FIG. 1 is a schematic diagram illustrating a forged crankshaft blank straightness measurement platform provided by an embodiment of the present invention;
FIG. 2 is a detailed structural diagram of a forged crankshaft blank straightness measuring platform according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a power-on initialization process of a platform for measuring the straightness of a forged crankshaft blank according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating PC-side task initialization of a platform for measuring straightness of a forged crankshaft blank according to an embodiment of the present invention;
FIG. 5 is a flow chart illustrating a method for measuring the straightness of a forged crankshaft blank according to an embodiment of the present invention;
FIG. 6 is a schematic diagram illustrating a forged crankshaft blank straightness measuring device according to an embodiment of the present invention;
fig. 7 shows a schematic diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
It is noted that relational terms such as "first" and "second," and the like, may 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. Also, 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 may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
At present, two main methods for measuring the straightness of the existing crankshaft are provided, one method is to adopt a platform detection tool, for example, a bracket is used for supporting a forge piece to be measured on a scribing platform, a horizontal direction is found out, and then a height gauge is used for measuring the position of each main shaft; and in the other method, the sample plates are respectively aligned to the positions of the main shafts, and the gap of the sample plates is visually observed to estimate and read the numerical value, so that the numerical value is inaccurate.
Based on the above, the platform, the method, the device and the electronic equipment for measuring the straightness of the forged crankshaft blank, which are provided by the embodiment of the invention, can solve the problems of low detection efficiency and low accuracy in the prior art, improve the detection efficiency and improve the accuracy of a detection result.
First embodiment
Referring to fig. 1 and fig. 2, an embodiment of the present invention provides a forged crankshaft blank straightness measuring platform, including a power supply module 10, a switch control module 11, a processing module 12, and a measuring module 13, where the power supply module, the processing module, and the measuring module are connected to the switch control module, the measuring module is connected to the processing module, and the processing module is connected to the power supply module;
the power supply module is used for providing power support for the switch control module and the processing module, and the switch control module is used for setting a measurement period; the measuring module is used for measuring the forge piece to be measured to obtain measuring data; the processing module is used for obtaining straightness data based on the measurement data when the measurement data is valid data; wherein the valid data refers to data in a set measurement period.
Further, the processing module is further used for determining whether the forging to be measured meets the process requirements based on the straightness data; specifically, whether the straightness data are smaller than a preset threshold value or not can be judged, if yes, the process requirements are met, and the forge piece to be measured is qualified.
Further, the power supply module comprises a power adapter 101 and a first power supply 102 which are connected; the switch control module comprises a trigger switch 111 and a delay relay 112 which are connected; the processing module comprises an AD sampling module 121 and a PC122 which are connected; the measuring module comprises a test support table 131 and an electronic ruler 132 arranged on the test support table; the electronic ruler, the delay relay and the first power supply are connected with the AD sampling module; the first power supply is connected with the time delay relay; the time delay relay is connected with the electronic ruler; namely, the first power supply is connected with the electronic ruler through the time delay relay, and the first power supply supplies power to the electronic ruler through the time delay relay.
Further, the trigger switch receives a pressing operation of a user and generates a high-level trigger signal.
The power adapter is used for converting alternating current into direct current and outputting the direct current to the first power supply, and the first power supply is used for supplying power to the time delay relay and the AD sampling module; the trigger switch is used for providing a high-level trigger signal, and the high-level trigger signal is used for triggering the time delay relay to be conducted; the delay relay is used for setting a measurement period; the test support table is used for placing the forge piece to be measured; the electronic ruler is used for measuring the forge piece to be measured to generate simulation data; the AD sampling module is used for converting the analog data into digital data and outputting the digital data to a PC (personal computer) through a preset serial port; the PC is used for judging whether the digital data output by the preset serial port is valid data or not, and when the digital data is valid data, straightness data are obtained based on the digital data; the valid data refers to data of the time delay relay in a conducting state.
Further, the preset serial port is a USB port.
Further, the PC is also used for drawing a curve graph based on the digital data when the digital data is effective data;
and the PC is also used for comparing the straightness accuracy data with a preset threshold value, and when the straightness accuracy data is smaller than the preset threshold value, judging that the forge piece to be measured is qualified.
Further, the power supply module further comprises a second power supply 103 connected with the power adapter; the measuring module further comprises a reduction motor 133 connected to the second power supply; the second power supply is used for supplying power to the speed reducing motor, and the speed reducing motor is used for driving the forging piece to be measured to move.
Furthermore, the delay relay is connected with the speed reducing motor and used for controlling the speed reducing motor to be turned on or turned off.
Further, the AD sampling module is integrated in the MCU; the MCU adopts an Elsai STM 3210 AD sampling module; specifically, the MCU adopts an onboard STM32F103C8T6 main control chip.
The main parameters of the onboard STM32F103C8T6 main control chip are as follows: the onboard CH340 serial port is converted into a USB chip, so that the AD sampling result can be conveniently checked on a PC through a USB port; a UART serial communication interface is reserved and can be connected with other single-chip microcomputers; an analog input channel: 10-channel single-ended input; sampling voltage input range: 0-3.3V; power supply voltage: 5V/3.3V; resolution ratio: 12Bit (4096).
Further, the power adapter adopts a 24V 1A power adapter, and the parameters are as follows: input voltage: 100-240 VAC; input frequency: 50/60 Hz; input current: 0.6A; output voltage: 24 VDC; output current: 1A. The 24V 1A power adapter is used for converting 220V ac voltage into 24V dc voltage and outputting the voltage.
Furthermore, the first power supply adopts a 3A high-precision DC adjustable step-down power supply.
The main parameters of the 3A high-precision DC adjustable voltage reduction power supply comprise: input voltage: 5-27V; the output voltage is 1-24V; output current: a maximum of 3A; output power: when the output power is less than 30W, the output is automatically closed when the output power is more than 30W; and (3) voltage display: the resolution is 0.01V; current display: 0.001A; and (3) capacity display: the resolution ratio is 0.001Ah, and the measuring range is 99.99 Ah; conversion efficiency: less than 95%; working current: about 30 mA; input reverse connection protection: comprises the following steps of; the output end prevents flowing backward: comprises the following steps of; short-circuit protection: there are.
Furthermore, the time delay relay adopts a JK-DE-3V time delay relay, and the main parameters are as follows:
supply voltage: 3-4V; signal voltage range: 2-30V; controllable voltage: 250VAC or 30 VDC; the controllable current: less than 10A; time-delay range: 0 second to 999 minutes; actuation reaction time: 10Ms (MAX); release reaction time: 5Ms (MAX).
Furthermore, the second power supply adopts an adjustable direct current voltage reduction power supply, and the input voltage of the adjustable direct current voltage reduction power supply is as follows: 4.5-40V; output voltage: 1.2-28V; output current: 3a (max); the working frequency is 150 KHz.
Further, the gear motor adopts a direct current gear motor, and the rated voltage of the gear motor is as follows: 6-18V; no-load rotation speed per minute: 5-15 rpm/min.
Further, the PC selects a computer with a win7 system, and the main parameters are as follows: a core i3 processor; 4G internal memory; above the hard disk 120G.
Furthermore, the electronic ruler is a KTR12-100 spring electronic ruler, and the main parameters are as follows: input voltage: 0-5V; the output voltage is 0-5V; maximum range: 100 mm; and (3) measuring precision: 0.05 mm.
Specifically, the detailed information of each module of the platform is shown in table 1.
Table 1 detailed information table of platform module
Figure BDA0002278558360000101
Figure BDA0002278558360000111
It should be noted that in other embodiments, the first power source may be directly connected to the electronic ruler to directly supply power to the electronic ruler, without the need for a delay relay to be connected to the electronic ruler.
Referring to fig. 3, when the AD sampling module is powered on, the platform first performs power initialization, where the initialization includes main chip initialization, system clock initialization, debugging serial port initialization, low level bit initialization, transmission code rate initialization, 10-channel initialization, and USB serial port initialization; judging whether the initialization is successful, if so, outputting information (initialization success information); if not, the platform cannot run, and at the moment, information is output (information cannot be run).
For easy understanding, the following uses the PC terminal as an execution subject and briefly describes the task initialization process of the platform with reference to fig. 4:
initializing and starting PC software, and acquiring all serial port information of a mainboard (MCU integrated with an AD adoption module); selecting an effective serial port to obtain data, wherein the effective serial port refers to a USB port; judging whether the data is valid, specifically, judging whether the data is valid by acquiring the level information of the delay relay and judging whether the level information of the delay relay is a high level, wherein when the level of the delay relay is the high level, the delay relay is conducted, and the data is valid; if not, namely the data is invalid, executing the data acquisition to continue judging; if the data is valid, starting a timer (usually 6 s); obtaining quantitative data and drawing a curve graph; calculating the straightness; judging whether the process requirements are met, if so, outputting OK to indicate that the product is qualified; if not, the process requirement is not met, NG is output, and the product is unqualified.
It should be noted that, according to the usage environment of the electronic ruler, the electronic ruler is reciprocated for 4 hours to measure the accuracy and reliability of the electronic ruler, and the specific test steps are as follows:
(1) fixing an electronic ruler, supplying power to the platform, opening serial port debugging software special for a PC (personal computer), calibrating by using standard thickness test blocks (standard forged pieces) respectively, and recording serial port output numerical values;
(2) contacting the head part of the electronic ruler with a cam shaft, continuously rotating for 4 hours at a low speed, and monitoring whether the fluctuation of an output 0 value is uniform;
(3) after the 4-hour experiment is finished, the standard thickness test block is used again to measure the output value, the average value is obtained through multiple measurements, and the error is not more than 0.1mm when the average value is compared with the initial data.
The forged crankshaft blank straightness measuring platform provided by the embodiment of the invention comprises a power supply module, a switch control module, a processing module and a measuring module, wherein the power supply module, the processing module and the measuring module are connected with the switch control module, the measuring module is connected with the processing module, and the processing module is connected with the power supply module; the power supply module is used for providing power support for the switch control module and the processing module, and the switch control module is used for setting a measurement period; the measuring module is used for measuring the forge piece to be measured to obtain measuring data; the processing module is used for obtaining straightness data based on the measurement data when the measurement data is valid data; wherein the valid data refers to data in a set measurement period. Therefore, according to the technical scheme provided by the embodiment of the invention, the crankshaft straightness numerical value can be rapidly and automatically measured, the main shaft curve can be drawn, the crankshaft blank straightness data can be visually represented by the numerical value and the curve through the display, a large amount of time and labor cost are saved, and great help is brought to the improvement of the product quality.
It should be noted that through a series of tests, the forged crankshaft blank straightness measuring platform generates certain system fluctuation during operation, but within the indexing error of the electronic ruler, the measuring result is not influenced. Through comprehensive analysis, this forged crankshaft blank straightness accuracy measurement system can satisfy the design demand: the electronic ruler has the requirements of smooth sliding, rapid rebound, stable operation and accuracy; the requirement of abnormal data can be effectively avoided when the data is acquired. The requirement of straightness conditions can be intuitively expressed; and judging the product qualification according to the process requirements. In addition, the measuring system can measure the straightness of crankshafts in various sizes by matching with measuring support platforms in different sizes.
Second embodiment
Referring to fig. 5, an embodiment of the present invention provides a method for measuring the straightness of a forged crankshaft blank, applied to the above-mentioned measuring platform and executed by a PC, and the method includes:
step S502, receiving digital data sent by an AD sampling module through a preset serial port;
the preset serial port is a USB port, and the digital data is obtained by performing analog-to-digital conversion on analog data output by the electronic ruler by the AD sampling module.
Step S504, judge whether the digital data that the said preset serial port outputs are valid data;
specifically, the step S504 includes:
1. acquiring the level of the delay relay through the MCU;
2. judging whether the level of the delay relay is higher than a preset level, wherein the preset level is set to be 1000V; when the voltage is higher than the preset level, the time delay relay is conducted, and the digital data is judged to be valid data.
In other embodiments, the MCU may perform the determination and transmit the determination result to the PC.
Step S506, when the digital data are effective data, straightness data are obtained based on the digital data; the effective data refers to data of the time delay relay in a conducting state.
Specifically, when the digital data is valid data, obtaining straightness data based on the digital data includes:
1) obtaining a plurality of mean data based on the digital data;
specifically, one average value data is obtained for every three consecutive (preset) digital data, so that a plurality of average value data are obtained.
2) Calculating extreme data based on the plurality of average data;
specifically, the extremum data of the plurality of average value data is obtained by an extremum formula (an existing formula may be used).
3) And carrying out division operation on the polar data to obtain straightness data.
Specifically, the extreme value data is divided by 2 to obtain straightness data.
For convenience of understanding, five valid digital data a1, a2, a3, a4 and a5 are taken as an example for explanation, a plurality of average data are firstly calculated according to the rule of every three consecutive digital data, at this time, a1, a2 and a3 are averaged to obtain an average data b1, a2, a3 and a4 are averaged to obtain b2, a5, a3 and a4 are averaged to obtain b3, then b1, b2 and b3 are averaged to obtain an extreme value c1, and finally c1 is divided by 2 to obtain a straightness data D.
In an alternative embodiment, the method further comprises:
step S508, when the digital data is effective data, drawing a curve graph based on the digital data;
the straightness status can be visually represented in step S508, for example, the crankshaft blank straightness data can be visually represented by a numerical value and a curve through a display.
In an alternative embodiment, the method further comprises:
and step S510, comparing the straightness data with a preset threshold value, and judging that the forge piece to be measured is qualified when the straightness data is smaller than the preset threshold value.
Through the step S510, the qualification of the product can be judged according to the process requirement, which is helpful for improving the product quality.
It should be noted that steps S508 and S510 are only for convenience of description, do not represent the order of the steps, and should not be construed as limiting the scope; for example, step S510 may precede step S508.
The method for measuring the straightness of the forged crankshaft blank can quickly and automatically measure the crankshaft straightness numerical value and draw a main shaft curve, can visually express the crankshaft blank straightness data by using the numerical value and the curve through a display, saves a large amount of time and labor cost, and is greatly helpful for improving the product quality.
In addition, the embodiment of the invention also provides a method for measuring the straightness of a forged crankshaft blank, which is applied to an AD sampling module and comprises the following steps:
(1) acquiring analog data output by an electronic ruler;
(2) converting the analog data to digital data;
(3) outputting the digital data to a PC (personal computer) through a preset serial port so that the PC judges whether the digital data output by the preset serial port is valid data or not, and when the digital data is valid data, obtaining straightness data based on the digital data; the effective data refers to data of the time delay relay in a conducting state.
Further, the method further comprises:
(4) and preprocessing the digital data, wherein the preprocessing comprises eliminating abnormal data.
Third embodiment
Referring to fig. 6, an embodiment of the present invention provides a forged crankshaft blank straightness measuring apparatus 600, including:
the receiving unit 601 is configured to receive digital data sent by the AD sampling module through a preset serial port; the digital data is obtained by performing analog-to-digital conversion on analog data output by the electronic ruler by the AD sampling module;
a determining unit 602, configured to determine whether digital data output by the preset serial port is valid data;
a calculating unit 603 configured to obtain straightness data based on the digital data when the digital data is valid data; the effective data refers to data of the time delay relay in a conducting state.
In an alternative embodiment, the apparatus further comprises:
a drawing unit 604 that draws a graph based on the digital data when the digital data is valid data;
in an optional embodiment, the determining unit 602 is further configured to compare the straightness data with a preset threshold, and determine that the forging to be measured is qualified when the straightness data is smaller than the preset threshold.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working process of the apparatus described above may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
The forged crankshaft blank straightness measuring device provided by the embodiment of the invention has the same technical characteristics as the forged crankshaft blank straightness measuring method provided by the embodiment, so that the same technical problems can be solved, and the same technical effects can be achieved.
Referring to fig. 7, based on the same inventive concept, an embodiment of the invention further provides an electronic device 100, including: a processor 40, a memory 41, a bus 42 and a communication interface 43, wherein the processor 40, the communication interface 43 and the memory 41 are connected through the bus 42; the processor 40 is arranged to execute executable modules, such as computer programs, stored in the memory 41.
The Memory 41 may include a high-speed Random Access Memory (RAM) and may also include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 43 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, etc. may be used.
The bus 42 may be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 7, but this does not indicate only one bus or one type of bus.
The memory 41 is used for storing a program, the processor 40 executes the program after receiving an execution instruction, and the method executed by the apparatus defined by the flow process disclosed in any of the foregoing embodiments of the present invention may be applied to the processor 40, or implemented by the processor 40.
The processor 40 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 40. The Processor 40 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory 41, and the processor 40 reads the information in the memory 41 and completes the steps of the method in combination with the hardware thereof.
The embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method provided by the above embodiment are executed.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative and, for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, each functional module or unit in each embodiment of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a smart phone, a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application.

Claims (9)

1. A forged crankshaft blank straightness measuring platform is characterized by comprising a power supply module, a switch control module, a processing module and a measuring module, wherein the power supply module, the processing module and the measuring module are connected with the switch control module, the measuring module is connected with the processing module, and the processing module is connected with the power supply module;
the power supply module is used for providing power support for the switch control module and the processing module, and the switch control module is used for setting a measurement period; the measuring module is used for measuring the forge piece to be measured to obtain measuring data; the processing module is used for obtaining straightness data based on the measurement data when the measurement data is valid data; wherein the valid data refers to data in a set measurement period;
the power supply module comprises a power adapter and a first power supply which are connected; the switch control module comprises a trigger switch and a delay relay which are connected; the processing module comprises an AD sampling module and a PC which are connected; the measuring module comprises a test support table and an electronic ruler arranged on the test support table; the electronic ruler, the delay relay and the first power supply are connected with the AD sampling module; the first power supply is connected with the time delay relay; the time delay relay is connected with the electronic ruler;
the power adapter is used for converting alternating current into direct current and outputting the direct current to the first power supply, and the first power supply is used for supplying power to the time delay relay and the AD sampling module; the trigger switch is used for providing a high-level trigger signal, and the high-level trigger signal is used for triggering the time delay relay to be conducted; the delay relay is used for setting a measurement period; the test support table is used for placing the forge piece to be measured; the electronic ruler is used for measuring the forge piece to be measured to generate simulation data; the AD sampling module is used for converting the analog data into digital data and outputting the digital data to a PC (personal computer) through a preset serial port; the PC is used for judging whether the digital data output by the preset serial port is valid data or not, and when the digital data is valid data, straightness data are obtained based on the digital data; the valid data refers to data of the time delay relay in a conducting state.
2. The platform of claim 1, wherein the power module further comprises a second power source connected to a power adapter; the measuring module further comprises a speed reducing motor connected with the second power supply; the second power supply is used for supplying power to the speed reducing motor, and the speed reducing motor is used for driving the forging piece to be measured to move.
3. The platform of claim 1, wherein the AD sampling module is integrated in an MCU; the MCU adopts STM32F103C8T6 main control chip.
4. The platform of claim 1, wherein the power adapter is a 24V 1A power adapter; the first power supply adopts a 3A high-precision DC adjustable step-down power supply.
5. A forged crankshaft blank straightness measuring method applied to a PC of a process module in a forged crankshaft blank straightness measuring platform according to any one of claims 1 to 4, the method comprising:
receiving digital data sent by an AD sampling module through a preset serial port; the digital data is obtained by performing analog-to-digital conversion on analog data output by the electronic ruler by the AD sampling module;
judging whether the digital data output by the preset serial port is valid data or not;
when the digital data are effective data, obtaining straightness data based on the digital data; the effective data refers to data of the time delay relay in a conducting state.
6. The method of claim 5, further comprising:
when the digital data is valid data, a graph is drawn based on the digital data.
7. The method of claim 5, further comprising:
and comparing the straightness data with a preset threshold value, and judging that the forge piece to be measured is qualified when the straightness data is smaller than the preset threshold value.
8. A forged crankshaft blank straightness measuring apparatus applied to a PC of a process module in a forged crankshaft blank straightness measuring platform according to any one of claims 1 to 4, the apparatus comprising:
the receiving unit is used for receiving the digital data sent by the AD sampling module through a preset serial port; the digital data is obtained by performing analog-to-digital conversion on analog data output by the electronic ruler by the AD sampling module;
the judging unit is used for judging whether the digital data output by the preset serial port is valid data or not;
the calculating unit is used for obtaining straightness data based on the digital data when the digital data is effective data; the effective data refers to data of the time delay relay in a conducting state.
9. An electronic device comprising a processor and a memory, the memory storing machine executable instructions executable by the processor to implement the method of any one of claims 5-7.
CN201911131946.0A 2019-11-19 2019-11-19 Platform, method and device for measuring straightness of forged crankshaft blank and electronic equipment Active CN110823165B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911131946.0A CN110823165B (en) 2019-11-19 2019-11-19 Platform, method and device for measuring straightness of forged crankshaft blank and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911131946.0A CN110823165B (en) 2019-11-19 2019-11-19 Platform, method and device for measuring straightness of forged crankshaft blank and electronic equipment

Publications (2)

Publication Number Publication Date
CN110823165A CN110823165A (en) 2020-02-21
CN110823165B true CN110823165B (en) 2022-03-25

Family

ID=69556529

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911131946.0A Active CN110823165B (en) 2019-11-19 2019-11-19 Platform, method and device for measuring straightness of forged crankshaft blank and electronic equipment

Country Status (1)

Country Link
CN (1) CN110823165B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202013177U (en) * 2011-04-15 2011-10-19 贵州英特利智能控制工程研究有限责任公司 Grating ruler measurement device based on advanced reduced instruction set computer (RISC) machine (ARM) processor and field programmable gata array (FPGA)
CN103324131A (en) * 2013-05-28 2013-09-25 清华大学 Wafer copper film thickness on-line measuring module control system
CN104280691A (en) * 2013-07-12 2015-01-14 海洋王(东莞)照明科技有限公司 High and low voltage testing circuit
CN108195286A (en) * 2017-12-25 2018-06-22 山东省科学院激光研究所 Wheel hub detection method, device, system and control device
CN108917552A (en) * 2018-07-12 2018-11-30 清华大学 Workpiece surface profile on-position measure system and method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4462786B2 (en) * 2001-07-17 2010-05-12 株式会社リコー Measurement apparatus, measurement control unit, measurement method, program, and storage medium
CN106931949A (en) * 2015-12-31 2017-07-07 中国科学院沈阳自动化研究所 A kind of electronic module system and method for subaqueous survey

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202013177U (en) * 2011-04-15 2011-10-19 贵州英特利智能控制工程研究有限责任公司 Grating ruler measurement device based on advanced reduced instruction set computer (RISC) machine (ARM) processor and field programmable gata array (FPGA)
CN103324131A (en) * 2013-05-28 2013-09-25 清华大学 Wafer copper film thickness on-line measuring module control system
CN104280691A (en) * 2013-07-12 2015-01-14 海洋王(东莞)照明科技有限公司 High and low voltage testing circuit
CN108195286A (en) * 2017-12-25 2018-06-22 山东省科学院激光研究所 Wheel hub detection method, device, system and control device
CN108917552A (en) * 2018-07-12 2018-11-30 清华大学 Workpiece surface profile on-position measure system and method

Also Published As

Publication number Publication date
CN110823165A (en) 2020-02-21

Similar Documents

Publication Publication Date Title
RU2016131884A (en) Method and device for calculating expended technical resource
CN109182462B (en) Method and device for judging whether detection indexes are positive or negative
CN110823165B (en) Platform, method and device for measuring straightness of forged crankshaft blank and electronic equipment
CN111027531A (en) Pointer instrument information identification method and device and electronic equipment
JP5476860B2 (en) AC impedance measurement system
CN113076648A (en) Fatigue acceleration test and residual life prediction method for speed reducer and storage processing system
CN111144009B (en) Running state evaluation method, device, equipment and storage medium of fan
EP3913727A1 (en) Battery residual value determination system
CN114061659A (en) Device monitoring method, device, electronic device, storage medium, and program product
CN101413967A (en) Method for controlling automatic measurement of oscilloscope
CN109304639B (en) Device for determining the position of a high load in a machine tool
JP2015052487A (en) Material strength estimation device
CN117033918A (en) Waveform data segmentation processing method and device
JP6985180B2 (en) Numerical control device
TWI510942B (en) System and method for outputting measurement codes
CN112613263B (en) Simulation verification method and device, electronic equipment and computer-readable storage medium
JP6457771B2 (en) RMS value measuring method and apparatus
Ren et al. Research of software size estimation method
EP3399279A3 (en) Condition based accurate indoor positioning
CN112241147B (en) Warming system and warming method suitable for processing machine
CN114227378A (en) Clamp state detection method and device, terminal and storage medium
CN111007817A (en) Equipment processing workpiece quality detection method and device and computer readable storage medium
CN111624918A (en) Method, device and system for acquiring working state of microcontroller and readable storage medium
WO2017002242A1 (en) Electricity plan assistance system, electricity plan assistance device, electricity plan assistance method, and electricity plan assistance program
JP6345479B2 (en) Power supply inspection apparatus and power supply inspection method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant