Mold ID detection device, method and storage medium

文档序号:1754425 发布日期:2019-11-29 浏览:8次 中文

阅读说明:本技术 模具id检测装置、方法及存储介质 (Mold ID detection device, method and storage medium ) 是由 韦荣发 张莹 黄棋 石峰 黄文平 于 2019-08-28 设计创作,主要内容包括:本发明公开一种模具ID检测装置、方法及存储介质,该装置包括中央处理单元、键盘输入模块、模具ID盒接口模块、感应器接口模块、以及数字显示模块,其中,所述键盘输入模块、模具ID盒接口模块、感应器接口模块、以及数字显示模块分别与所述中央处理单元连接,所述模具ID盒接口模块还与模具ID盒中的ID线连接,所述感应器接口模块还分别与两个料板感应器的电源线和信号线连接。本发明能将模具运行ID号同时以十进制和二进制形式显示出来,解决了用户不易通过接线端口以识别模具ID号的技术问题,提高了工作效率。(The present invention discloses a kind of mold ID detection device, method and storage medium, the device includes central processing unit, keyboard input module, mold ID pod interface module, inductor interface module and digital display module, wherein, the keyboard input module, mold ID pod interface module, inductor interface module and digital display module are connect with the central processing unit respectively, the mold ID pod interface module is also connect with the ID line in mold ID box, and the inductor interface module is also connect with the power supply line of two flitch inductors and signal wire respectively.Mold can be run ID number and show solve the technical issues of user not easily passs through Wiring port to identify mold ID number, improve work efficiency simultaneously with the decimal system and binary form by the present invention.)

1. a kind of mold ID detection device, which is characterized in that connect including central processing unit, keyboard input module, mold ID box Mouth mold block, inductor interface module and digital display module, wherein the keyboard input module, mold ID pod interface mould Block, inductor interface module and digital display module are connect with the central processing unit respectively, the mold ID pod interface Module is also connect with the ID line in mold ID box, the inductor interface module also power supply line with two flitch inductors respectively It is connected with signal wire;

The central processing unit is for being converted to the mold decimal code information that user is inputted by keyboard input module Binary number information, and the decimal code information and binary number information are exported to the digital display module;

The central processing unit is also used to read the ID line level signal of the mold ID pod interface module, the inductor connects The binary number of the ID line level signal is converted into the decimal system by the level signal of mouth mold block, by the ID line level signal It is exported with the decimal system and binary form to the digital display module;

The central processing unit be also used to by mold decimal code information that user is inputted by keyboard input module with work as Front mold ID box mold number compares, and comparing result is exported to the digital display module;

The central processing unit is also used to judge the flitch inductor according to the level signal of the inductor interface module It exports with the presence or absence of failure, and by judging result to the digital display module.

2. mold ID detection device according to claim 1, which is characterized in that the inductor interface module includes resistance R1, resistance R2, resistance R3, resistance R4, resistance R5, resistance R6, resistance R7, resistance R8, resistance R9, resistance R10, fuse FUSE1, fuse FUSE2, described two flitch inductors include flitch inductor S1, flitch inductor S2;Wherein,

One end of the resistance R1 is connect with one end of DC power supply, the resistance R6 respectively, and the other end of the resistance R6 is logical It crosses the fuse FUSE1 to connect with the pin a of one end of the resistance R4, the flitch inductor S1 respectively, the resistance The other end of R4 is connect with the pin PA2 of one end of the resistance R5, the central processing unit respectively, the flitch inductor The pin b of S1 is by the one end with the resistance R3 respectively the resistance R2, the pin PA1 connection of the central processing unit, The other end of the resistance R3 is grounded, the pin c ground connection of the flitch inductor S1, the other end and the electricity of the resistance R5 One end connection of R10 is hindered, the other end ground connection of the resistance R5, the other end of the resistance R10 is respectively with the resistance R9's The other end of the pin PA3 connection of one end, the central processing unit, the resistance R9 passes through the another of the fuse FUSE2 One end connection, and connect with the pin d of the flitch inductor S2, the pin of the flitch inductor S2 passes through the resistance R7 It is connect respectively with the pin PA4 of one end of the resistance R8, the central processing unit, the other end ground connection of the resistance R8, The pin f of the flitch inductor S2 is grounded.

3. mold ID detection device according to claim 1, which is characterized in that the mold ID detection device further includes drop The input terminal of die block, the voltage reduction module is connect with DC power supply, the output end of the voltage reduction module and the central processing Unit connection, the inductor interface module are also connect with the DC power supply.

4. mold ID detection device according to claim 1 to 3, feature exist, the digital display module packet Include LCD display.

5. a kind of mold ID detection method, which is characterized in that the method is applied to as described in claim 1-4 any one Mold ID detection device, the described method comprises the following steps:

When receiving the mold decimal code information that user is inputted by keyboard input module, the mold decimal system is compiled Number information is converted to binary number information, and the decimal code information and binary number information is exported aobvious to number Show module;

ID line level signal, the level signal of inductor interface module for reading mold ID pod interface module, by the ID line electricity The binary number of ordinary mail number is converted into the decimal system, and the ID line level signal is exported with the decimal system and binary form to number Word display module;

The mold decimal code information that user is inputted by keyboard input module is compared with front mold ID box mold number is worked as, Comparing result is exported to digital display module;

Whether the flitch inductor connecting with the inductor interface module is judged according to the level signal of inductor interface module There are failures, and judging result is exported to the digital display module.

6. a kind of computer readable storage medium, which is characterized in that be stored with mold ID on the computer readable storage medium Program is detected, the mold ID detects the step of realizing method as claimed in claim 5 when program is run by processor.

Technical field

The present invention relates to mold detection technique field more particularly to a kind of mold ID detection devices, method and storage medium.

Background technique

In vehicle cladding element punching production process, cold-punching mold accesses CAN bus by its ID box, and controls with press Unit establishes communication.The ID box of mold includes the ID line, plate inductor power line and signal wire of mold.The ID line of mold is suitable In address wire, connection method is consistent with the binary code that it is numbered, and " 1 " is high level, and " 0 " indicates to connect low level.Current Most of mold ID line is Wiring type, is shown and detection function comprising ID number, when ID line connection error or ID signal fault When, it cannot quickly identify defect source.

A kind of patent document of existing Publication No. CN1033837754B " offline inspection mold ID box device ", packet Inductor detection module, power module, ID line interface, 4 switches and 2 voltage comparators are included, when needing to compare ID line Level correspond to mold number it is whether correct when, need operator carry out Binary Conversion be the decimal system or by target mold number convert For binary number, to compare lookup reason, working efficiency is low and difficulty is higher.

Summary of the invention

The main purpose of the present invention is to provide a kind of mold ID detection devices, it is intended to by mold operation ID number simultaneously with ten System and binary form are shown, are solved the technical issues of user not easily passs through Wiring port to identify mold ID number, are mentioned High working efficiency.

To achieve the above object, the present invention provides a kind of mold ID detection device, including the input of central processing unit, keyboard Module, mold ID pod interface module, inductor interface module and digital display module, wherein the keyboard input module, Mold ID pod interface module, inductor interface module and digital display module are connect with the central processing unit respectively, institute Mold ID pod interface module is stated also to connect with the ID line in mold ID box, the inductor interface module also respectively with two flitch The power supply line of inductor is connected with signal wire;

The central processing unit is used to turn user by the mold decimal code information that keyboard input module inputs It is changed to binary number information, and the decimal code information and binary number information are exported to the number display mould Block;

The central processing unit is also used to read the ID line level signal of the mold ID pod interface module, the induction The binary number of the ID line level signal is converted into the decimal system by the level signal of device interface module, by the ID line level Signal is exported with the decimal system and binary form to the digital display module;

The central processing unit is also used to the mold decimal code information for inputting user by keyboard input module It compares with front mold ID box mold number is worked as, and comparing result is exported to the digital display module;

The central processing unit is also used to judge the flitch sense according to the level signal of the inductor interface module It answers device with the presence or absence of failure, and judging result is exported to the digital display module.

The further technical solution of the present invention is, the inductor interface module include resistance R1, resistance R2, resistance R3, Resistance R4, resistance R5, resistance R6, resistance R7, resistance R8, resistance R9, resistance R10, fuse FUSE1, fuse FUSE2, institute Stating two flitch inductors includes flitch inductor S1, flitch inductor S2;Wherein,

One end of the resistance R1 is connect with one end of DC power supply, the resistance R6 respectively, and the resistance R6's is another End is connect with the pin a of one end of the resistance R4, the flitch inductor S1 respectively by the fuse FUSE1, described The other end of resistance R4 is connect with the pin PA2 of one end of the resistance R5, the central processing unit respectively, the flitch sense Answering the pin b of device S1 by the resistance R2, one end with the resistance R3, the pin PA1 of the central processing unit connect respectively It connects, the other end ground connection of the resistance R3, the pin c ground connection of the flitch inductor S1, the other end of the resistance R5 and institute State resistance R10 one end connection, the resistance R5 the other end ground connection, the other end of the resistance R10 respectively with the resistance The other end of the pin PA3 connection of one end of R9, the central processing unit, the resistance R9 passes through the fuse FUSE2 Other end connection, and connect with the pin d of the flitch inductor S2, the pin of the flitch inductor S2 passes through the electricity Resistance R7 is connect with the pin PA4 of one end of the resistance R8, the central processing unit respectively, another termination of the resistance R8 Ground, the pin f ground connection of the flitch inductor S2.

The further technical solution of the present invention is that the mold ID detection device further includes voltage reduction module, the decompression mould The input terminal of block is connect with DC power supply, and the output end of the voltage reduction module is connect with the central processing unit, the induction Device interface module is also connect with the DC power supply.

The further technical solution of the present invention is that the digital display module includes LCD display.

To achieve the above object, the present invention also proposes that a kind of mold ID detection method, the method are applied to as described above Mold ID detection device, the described method comprises the following steps:

When receiving the mold decimal code information that user is inputted by keyboard input module, by the mold ten into Number information processed is converted to binary number information, and the decimal code information and binary number information are exported to number Word display module;

ID line level signal, the level signal of inductor interface module for reading mold ID pod interface module, by the ID The binary number of line level signal is converted into the decimal system, and the ID line level signal is exported with the decimal system and binary form To digital display module;

The mold decimal code information that user is inputted by keyboard input module with when front mold ID box mold phase Comparison, comparing result is exported to digital display module;

The flitch inductor connecting with the inductor interface module is judged according to the level signal of inductor interface module With the presence or absence of failure, judging result is exported to the digital display module.

To achieve the above object, the present invention also proposes a kind of computer readable storage medium, the computer-readable storage Mold ID detection program is stored on medium, the mold ID detection program realizes method as described above when being run by processor The step of.

Inventive die ID detection device, method and storage medium have the effect that

1, traditional mold ID box does not have mold ID number display function, fails effectively to alarm when terminal block mistake, The digital display module of inventive die ID detection device can be shown when front mold ID number and plate state in place, be had good Visualizing effect;

2, inductor interface module can detect current flitch inductor sense state, be sensor signal terminal wiring with Malfunction elimination provides convenience;

3, the application of digital display module, when can substantially reduce new projects' sensor signal lines wiring and inductive signal detection Between, shorten project debugging cycle.

Detailed description of the invention

Fig. 1 is the structural block diagram of inventive die ID detection device preferred embodiment;

Fig. 2 is the structural schematic diagram of inductor interface module in inventive die ID detection device preferred embodiment;

Fig. 3 is the structural schematic diagram of voltage regulator circuit in inventive die ID detection device preferred embodiment;

Fig. 4 is the flow diagram of inventive die ID detection method preferred embodiment.

The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.

Specific embodiment

It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.

Fig. 1 is please referred to, Fig. 1 is the structural block diagram of inventive die ID detection device preferred embodiment.

As shown in Figure 1, in the present embodiment, mold ID detection device, including central processing unit 1, keyboard input module 2, mold ID pod interface module 3, inductor interface module 4 and digital display module 5, wherein keyboard input module 2, mold ID pod interface module 3, inductor interface module 4 and digital display module 5 are connect with central processing unit 1 respectively, mold ID Pod interface module 3 is also connect with the ID line in mold ID box, the also electricity with two flitch inductors respectively of inductor interface module 4 Source line is connected with signal wire.

In the present embodiment, keyboard input module 2 is used to input the decimal code of mold, digital display module 5 for user For the mold number of mold number and mold ID pod interface module 3 to be inputted with binary system and decimal form display simultaneously, and can Show that the current state for the flitch inductor connecting with inductor interface module 4, mold ID pod interface module 3 are used for connecting mold ID line in ID box.

Central processing unit 1 is used to convert user by the mold decimal code information that keyboard input module 2 inputs For binary number information, and decimal code information and binary number information are exported to digital display module 5, wherein Digital display module 5 can use LCD display.

Central processing unit 1 is also used to read the ID line level signal of mold ID pod interface module 3, inductor interface module The binary number of ID line level signal is converted into the decimal system by 4 level signal, by ID line level signal with the decimal system and two into Form processed is exported to digital display module 5.

The mold decimal code information that central processing unit 1 is also used to input user by keyboard input module 2 with When front mold ID box mold number compares, and comparing result is exported to digital display module 5.

Central processing unit 1 is also used to judge whether flitch inductor is deposited according to the level signal of inductor interface module 4 It exports in failure, and by judging result to digital display module 5.Central processing unit 1 quickly can judge to correct errors and lock as a result, Determine guilty culprit position.

It is understood that the workflow of mold ID detection device, which is divided into, reads information and diagnosis in the present embodiment.

Wherein, when reading information, mold decimal code that central processing unit 1 will be inputted by keyboard input module 2 Information is exported to digital display module 5 simultaneously with the decimal system and binary form, and reads the ID line of mold ID pod interface module 3 With 4 level of inductor interface module, by ID line level signal constitute binary number conversion after with the decimal system and binary form Export digital display module 5;In diagnosis, central processing unit 1 will input mold number and the mold number of ID pod interface module is right It exports than result to digital display module 5, and judges that flitch inductor whether there is failure according to inductor interface module 4, it is defeated Judging result is to digital display module 5 out.

The present embodiment in a manner of binary decimal by showing reality simultaneously in digital display module 5 as a result, ID line level signal and the corresponding ID line level signal of the die number of input, so that mold ID box does not need cutting for carry out mode It changes, the conversion without carrying out signal compares, and the change of ID line connection is quickly carried out convenient for operator;In addition, according to inductor Interface module 4 judge flitch inductor with the presence or absence of failure, and by digital display module 5 show flitch inductor currently whether There is the state of flitch and short circuit, have good improvement of visual effect, reduces its troubleshooting time.

Further, as shown in Fig. 2, in the present embodiment, inductor interface module 4 includes resistance R1, resistance R2, resistance R3, resistance R4, resistance R5, resistance R6, resistance R7, resistance R8, resistance R9, resistance R10, fuse FUSE1, fuse FUSE2, Two flitch inductors include flitch inductor S1, flitch inductor S2.

Wherein, one end of resistance R1 is connect with one end of DC power supply 7, resistance R6 respectively, and the other end of resistance R6 passes through Fuse FUSE1 is connect with the pin a of one end of resistance R4, flitch inductor S1 respectively, the other end of resistance R4 respectively with electricity Hinder the pin PA2 connection of one end, central processing unit 1 of R5, the pin b of flitch inductor S1 pass through resistance R2 respectively with resistance One end of R3, the pin PA1 connection of central processing unit 1, the other end ground connection of resistance R3, the pin c of flitch inductor S1 connect The other end on ground, resistance R5 is connect with one end of resistance R10, the other end of resistance R5 ground connection, the other end of resistance R10 respectively with The pin PA3 connection of one end, central processing unit 1 of resistance R9, the other end of resistance R9 pass through the other end of fuse FUSE2 Connection, and connect with the pin d of flitch inductor S2, the pin of flitch inductor S2 passes through one of resistance R7 respectively with resistance R8 The pin PA4 connection at end, central processing unit 1, the other end ground connection of resistance R8, the pin f ground connection of flitch inductor S2.

When the pin e of the pin b of plate inductor S1 or plate inductor S2 have signal, central processing unit 1 Pin PA1 or pin PA4 is high voltage, and shows state in digital display module 5;As the pin b of plate inductor S1 Perhaps the pin PA1 or pin PA4 of central processing unit 1 are low-voltage when the pin e no signal of plate inductor S2, and State is shown in digital display module 5.When the pin a and pin c of plate inductor S1 are shorted or plate inductor S2 When pin d and pin f is shorted, the pin PA2 or pin PA3 of central processing unit 1 are low-voltage, and in digital display module Short circuit is shown in 5;When pin a and pin the c disconnection of plate inductor S1 or the pin d and pin f of plate inductor S2 are disconnected When opening, the pin PA2 or pin PA3 of central processing unit 1 are high voltage, and show normally in digital display module 5.

Further, in the present embodiment, mold ID detection device further includes voltage reduction module 6, the input terminal of voltage reduction module 6 It is connect with DC power supply 7, the output end of voltage reduction module 6 is connect with central processing unit 1, and inductor interface module 4 is gone back and direct current Power supply 7 connects.

As shown in figure 3, the voltage reduction module 6 is converted to 7 voltage of 24V DC power supply by voltage-stablizer LM1 and voltage-stablizer LM2 DC voltage needed for central processing unit 1.

Compared with prior art, inventive die ID detection device has the effect that

1, traditional mold ID box does not have mold ID number display function, fails effectively to alarm when terminal block mistake, The digital display module of inventive die ID detection device can be shown when front mold ID number and plate state in place, be had good Visualizing effect;

2, inductor interface module can detect current flitch inductor sense state, be sensor signal terminal wiring with Malfunction elimination provides convenience;

3, the application of digital display module, when can substantially reduce new projects' sensor signal lines wiring and inductive signal detection Between, shorten project debugging cycle.

To achieve the above object, the present invention also proposes that a kind of mold ID detection method, this method are applied to embodiment as above The mold ID detection device.As shown in figure 4, this method preferred embodiment the following steps are included:

Step S10, when receiving the mold decimal code information that user is inputted by keyboard input module, by mold Decimal code information is converted to binary number information, and decimal code information and binary number information are exported to number Word display module.

Step S20 reads ID line level signal, the level signal of inductor interface module of mold ID pod interface module, The binary number of ID line level signal is converted into the decimal system, and ID line level signal is exported with the decimal system and binary form To digital display module.

Step S30, the mold decimal code information that user is inputted by keyboard input module with when front mold ID box Mold number compares, and comparing result is exported to digital display module.

Step S40 judges the flitch sense connecting with inductor interface module according to the level signal of inductor interface module It answers device with the presence or absence of failure, judging result is exported to digital display module.

It is understood that the workflow of mold ID detection method, which is divided into, reads information and diagnosis in the present embodiment.

Wherein, when reading information, central processing unit believes the mold decimal code inputted by keyboard input module Breath is exported to digital display module simultaneously with the decimal system and binary form, and reads ID line and the sense of mold ID pod interface module Device interface module level is answered, number is exported with the decimal system and binary form after the binary number conversion that ID line level signal is constituted Word display module;In diagnosis, central processing unit will input mold number and the mold comparing result of ID pod interface module is defeated Out to digital display module, and judge that flitch inductor with the presence or absence of failure, exports judging result according to inductor interface module To digital display module.

The present embodiment in digital display module while in a manner of binary decimal by showing practical ID as a result, Line level signal and the corresponding ID line level signal of the die number of input, so that mold ID box does not need cutting for carry out mode It changes, the conversion without carrying out signal compares, and the change of ID line connection is quickly carried out convenient for operator;In addition, according to inductor Interface module judges that flitch inductor shows whether flitch inductor currently has with the presence or absence of failure, and by digital display module The state of flitch and short circuit has good improvement of visual effect, reduces its troubleshooting time.

Compared with prior art, inventive die ID detection method has the effect that

1, traditional mold ID box does not have mold ID number display function, fails effectively to alarm when terminal block mistake, The digital display module of inventive die ID detection device can be shown when front mold ID number and plate state in place, be had good Visualizing effect;

2, inductor interface module can detect current flitch inductor sense state, be sensor signal terminal wiring with Malfunction elimination provides convenience;

3, the application of digital display module, when can substantially reduce new projects' sensor signal lines wiring and inductive signal detection Between, shorten project debugging cycle.

To achieve the above object, the present invention also proposes a kind of computer readable storage medium, the computer-readable storage Mold ID detection program is stored on medium, the mold ID detection program realizes mold as described above when being run by processor The step of ID detection method, which is not described herein again.

The above description is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all utilizations Equivalent structure made by description of the invention and accompanying drawing content or process transformation, are applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

10页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种基于无功电流与电压频率反馈的孤岛检测方法

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!

技术分类