CN103853519B - Yield display system - Google Patents
Yield display system Download PDFInfo
- Publication number
- CN103853519B CN103853519B CN201410079202.XA CN201410079202A CN103853519B CN 103853519 B CN103853519 B CN 103853519B CN 201410079202 A CN201410079202 A CN 201410079202A CN 103853519 B CN103853519 B CN 103853519B
- Authority
- CN
- China
- Prior art keywords
- output
- signal
- display system
- line
- production
- 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
Links
- 238000004519 manufacturing process Methods 0.000 claims abstract description 30
- 238000002955 isolation Methods 0.000 claims abstract description 13
- 230000033764 rhythmic process Effects 0.000 claims abstract description 8
- 230000006641 stabilisation Effects 0.000 claims description 4
- 238000011105 stabilization Methods 0.000 claims description 4
- 238000009434 installation Methods 0.000 claims 1
- 230000003287 optical effect Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 2
- 230000007812 deficiency Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Landscapes
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
本发明提出了一种产量显示系统,包括电脑主机、显示器、光电信号隔离放大器以及用于安装在生产线线尾的光电开关;光电开关用于在产品出线时产生信号变化;光信号隔离放大器用于接收光电开关的信号变化并把信号放大传输至电脑主机的接口;电脑主机用于定时扫描接口信号,当输入信号状态发生变化时,确认为有产品出线;显示器用于根据电脑主机确认产品出线的数量显示产量。本发明的产量显示系统,改变了传统的PLC计数与LED显示的模式,大大提高工作稳定性,增加实用功能,并能有效地对生产节奏进行调节提示,满足实际使用需要。
The invention proposes a production display system, including a computer host, a display, a photoelectric signal isolation amplifier and a photoelectric switch installed at the end of the production line; the photoelectric switch is used to generate signal changes when the product goes out of the line; the optical signal isolation amplifier is used to Receive the signal change of the photoelectric switch and amplify the signal and transmit it to the interface of the computer host; the computer host is used to scan the interface signal regularly, and when the input signal state changes, it is confirmed that there is a product out of the line; the display is used to confirm the product out of the line according to the computer host The quantity shows the yield. The output display system of the present invention changes the traditional PLC counting and LED display modes, greatly improves the working stability, adds practical functions, and can effectively adjust and prompt the production rhythm to meet the needs of actual use.
Description
技术领域technical field
本发明涉及产量显示系统。The present invention relates to a production display system.
背景技术Background technique
传统的产量显示都是采用LED显示牌与PLC计数器组合的形式实现,但这样的形式存在稳定性差的缺点,不利于实际使用。The traditional output display is realized in the form of a combination of LED display board and PLC counter, but this form has the disadvantage of poor stability, which is not conducive to practical use.
发明内容Contents of the invention
针对上述现有技术不足,本发明要解决的技术问题是,提供一种不同于现有LED显示牌与PLC计数器形式的产量显示系统,提高稳定性。In view of the above-mentioned deficiencies in the prior art, the technical problem to be solved by the present invention is to provide a production display system different from the existing LED display board and PLC counter to improve stability.
为解决上述技术问题,本发明采用的技术方案为,产量显示系统,包括电脑主机、显示器、光电信号隔离放大器以及用于安装在生产线线尾的光电开关;光电开关用于在产品出线时产生信号变化;光电信号隔离放大器用于接收光电开关的信号变化并把信号放大传输至电脑主机的接口;电脑主机用于定时扫描接口信号,当输入信号状态发生变化时,确认为有产品出线;显示器用于根据电脑主机确认产品出线的数量显示产量。In order to solve the above-mentioned technical problems, the technical solution adopted in the present invention is that the output display system includes a host computer, a display, a photoelectric signal isolation amplifier and a photoelectric switch installed at the end of the production line; the photoelectric switch is used to generate a signal when the product goes out change; the photoelectric signal isolation amplifier is used to receive the signal change of the photoelectric switch and amplify and transmit the signal to the interface of the computer host; the computer host is used to scan the interface signal regularly, and when the input signal state changes, it is confirmed that there is a product out of the line; the display is used It is used to display the output according to the number of products that are confirmed by the host computer.
进一步的技术方案为,所述电脑主机用于定时扫描接口信号具体为执行如下步骤:S1:调用动态库初始化接口,加载WDM底层IO驱动;S2:打开数据库,加载生产信息,读取Ini文件,并加载端口地址和显示配置;S3:根据配置信息,初始化用户界面;S4:启动TIMER控件,定时20毫秒扫描接口状态,若输入信号状态发生变化,则确认为有产品出线,并执行步骤S5:更新数据库产量数据,完成后执行S6;否则返回步骤S4;S6:返回步骤S4。A further technical solution is that the host computer is used to regularly scan the interface signal to perform the following steps: S1: call the dynamic library initialization interface, load the WDM underlying IO driver; S2: open the database, load the production information, read the Ini file, And load the port address and display configuration; S3: Initialize the user interface according to the configuration information; S4: Start the TIMER control, scan the interface status at a regular interval of 20 milliseconds, if the input signal status changes, confirm that there is a product out of the line, and execute step S5: Update the production data in the database, and execute S6 after completion; otherwise, return to step S4; S6: return to step S4.
进一步的技术方案为,所述电脑主机所执行的步骤S4中,当输入信号状态发生变化时,还判断输入信号的持续稳定时间,当输入信号的持续稳定时间大于参考时间时,才确认为有产品出线。A further technical solution is that in step S4 executed by the host computer, when the state of the input signal changes, it also judges the continuous stable time of the input signal, and only when the continuous stable time of the input signal is greater than the reference time, it is confirmed that there is The product is ready.
优选地,所述参考时间为2-4秒。Preferably, the reference time is 2-4 seconds.
进一步的技术方案为,所述生产信息包括历史数据、生产计划和班次信息;所述电脑主机在确认为有产品出线后,执行步骤S7:对当日产量以及当前小时产量进行增加,并与计划产量进行对比,计算剩余时间与完成度,完成后执行步骤S5;显示器还用于根据电脑主机的数据显示当日产量、当前小时产量、剩余时间以及完成度。A further technical solution is that the production information includes historical data, production plan and shift information; after the host computer confirms that there are products coming out of the assembly line, it executes step S7: increase the output of the day and the current hour, and compare it with the planned output For comparison, calculate the remaining time and degree of completion, and execute step S5 after completion; the display is also used to display the daily output, current hourly output, remaining time, and degree of completion according to the data of the host computer.
进一步的技术方案为,所述生产信息还包括生产节奏调整策略;电脑主机所执行的步骤S7中还包括在计算剩余时间与完成度后,根据生产节奏调整策略判断是否需要进行提示。A further technical solution is that the production information also includes a production rhythm adjustment strategy; the step S7 executed by the host computer also includes determining whether a reminder is needed according to the production rhythm adjustment strategy after calculating the remaining time and completion degree.
进一步的技术方案为,还包括音箱;电脑主机所执行的步骤S7中,当判断为需要进行提示时,根据数据库附带的产量信息以及是否完成计划参数,控制音箱进行语音提示播放。A further technical solution is to include a speaker; in step S7 executed by the host computer, when it is judged that a prompt is required, the speaker is controlled to play the voice prompt according to the output information attached to the database and whether the plan parameter is completed.
进一步的技术方案为,还包括摄像头;所述电脑主机所执行的步骤S5中,还包括控制摄像头对产品出线状态进行抓图的步骤。A further technical solution is to include a camera; the step S5 performed by the computer host also includes the step of controlling the camera to capture a picture of the product's outgoing state.
进一步的技术方案为,所述光电信号隔离放大器包括光耦、开关管和继电器;光耦的输入端与光电开关连接;光耦的负输出端连接到开关管的阴极,且开关管的阴极接地;光耦的正输出端连接到开关管的控制极;光耦的正输出端还通过一个电阻连接到直流供电端;开关管的阳极与一个二极管的阳极连接,该二极管的阴极连接到直流供电端;继电器的线圈并联于所述二极管的两端,继电器的开关与电脑主机连接。A further technical solution is that the photoelectric signal isolation amplifier includes an optocoupler, a switch tube and a relay; the input terminal of the optocoupler is connected to the photoelectric switch; the negative output terminal of the optocoupler is connected to the cathode of the switch tube, and the cathode of the switch tube is grounded ; The positive output terminal of the optocoupler is connected to the control pole of the switch tube; the positive output terminal of the optocoupler is also connected to the DC power supply terminal through a resistor; the anode of the switch tube is connected to the anode of a diode, and the cathode of the diode is connected to the DC power supply terminal; the coil of the relay is connected in parallel with the two ends of the diode, and the switch of the relay is connected with the host computer.
本发明的产量显示系统,改变了传统的PLC计数与LED显示的模式,大大提高工作稳定性,增加实用功能,并能有效地对生产节奏进行调节提示,满足实际使用需要。The output display system of the present invention changes the traditional PLC counting and LED display modes, greatly improves the working stability, adds practical functions, and can effectively adjust and prompt the production rhythm to meet the needs of actual use.
附图说明Description of drawings
图1是本发明产量显示系统的结构示意图。Fig. 1 is a structural schematic diagram of the output display system of the present invention.
图2是本发明产量显示系统的控制流程图。Fig. 2 is a control flow chart of the output display system of the present invention.
图3是本发明产量显示系统的光电信号隔离放大器的示意图。Fig. 3 is a schematic diagram of a photoelectric signal isolation amplifier of the output display system of the present invention.
具体实施方式detailed description
如图1所示,本发明的产量显示系统包括电脑主机、显示器、光电信号隔离放大器、摄像头、括音箱以及用于安装在生产线线尾的光电开关;光电开关用于在产品出线时产生信号变化;光电信号隔离放大器用于接收光电开关的信号变化并把信号放大传输至电脑主机的接口(本实施例中为打印口并口IO);电脑主机用于定时扫描接口信号,当输入信号状态发生变化时,确认为有产品出线;显示器用于根据电脑主机确认产品出线的数量显示产量。As shown in Figure 1, the output display system of the present invention includes a computer host, a display, a photoelectric signal isolation amplifier, a camera, a sound box, and a photoelectric switch installed at the end of the production line; the photoelectric switch is used to generate signal changes when the product goes out. The photoelectric signal isolation amplifier is used to receive the signal change of the photoelectric switch and amplifies and transmits the signal to the interface of the host computer (in this embodiment, the parallel port IO of the printing port); the host computer is used for timing scanning interface signals, when the input signal state changes When it is confirmed that there are products out of the line; the display is used to confirm the number of products out of the line according to the computer host to display the output.
具体地,本发明的产量显示系统的电脑主机的执行流程如图2所示,S1:调用动态库初始化接口,加载WDM底层IO驱动。Specifically, the execution flow of the host computer of the output display system of the present invention is shown in FIG. 2 , S1: call the dynamic library initialization interface, and load the bottom IO driver of WDM.
S2:打开数据库,加载生产信息,读取Ini文件,并加载端口地址和显示配置;所述生产信息包括历史数据、生产计划和班次信息;生产信息还包括生产节奏调整策略;S2: Open the database, load the production information, read the Ini file, and load the port address and display configuration; the production information includes historical data, production plan and shift information; the production information also includes production rhythm adjustment strategies;
S3:根据配置信息,初始化用户界面。显示器显示用户界面。S3: Initialize the user interface according to the configuration information. The display displays the user interface.
S4:启动TIMER控件,定时20毫秒扫描接口状态,若输入信号状态发生变化,判断输入信号的持续稳定时间,当输入信号的持续稳定时间大于参考时间时,则确认为有产品出线,并执行步骤S7,否则不确定为有产品出线,返回步骤S4重新准备下一次扫描;本实施例中,所述参考时间为2-4秒,优选为3秒,输入信号的稳定时间为接通的稳定时间,本实施例中以电脑主机接口的接通状态为光电开关检测到有产品的状态;S4: Start the TIMER control and scan the interface status at a regular interval of 20 milliseconds. If the state of the input signal changes, judge the continuous stability time of the input signal. When the continuous stability time of the input signal is greater than the reference time, it is confirmed that there is a product out of the line, and execute the steps S7, otherwise it is not sure that there is a product out of the line, return to step S4 to prepare for the next scan again; in this embodiment, the reference time is 2-4 seconds, preferably 3 seconds, and the stabilization time of the input signal is the stabilization time of turning on , in the present embodiment, the photoelectric switch detects the state that there is a product with the connected state of the host computer interface;
步骤S7:对当日产量以及当前小时产量进行增加,并与计划产量进行对比,计算剩余时间与完成度,根据生产节奏调整策略判断是否需要进行提示;当判断为需要进行提示时,根据数据库附带的产量信息以及是否完成计划参数,控制音箱进行语音提示播放;完成后执行步骤S5;显示器还用于根据电脑主机的数据显示当日产量、当前小时产量、剩余时间以及完成度;Step S7: Increase the output of the day and the current hourly output, compare it with the planned output, calculate the remaining time and degree of completion, and judge whether it is necessary to prompt according to the production rhythm adjustment strategy; Output information and whether to complete the planned parameters, control the speaker to play voice prompts; after completion, perform step S5; the display is also used to display the daily output, current hourly output, remaining time and completion degree according to the data of the computer host;
步骤S5:更新数据库产量数据,控制摄像头对产品出线状态进行抓图,方便进行后续产品质量查询;完成后执行S6;Step S5: Update the output data in the database, control the camera to take a picture of the product's outgoing status, so as to facilitate subsequent product quality inquiries; execute S6 after completion;
S6:返回步骤S4。S6: return to step S4.
其中,光电信号隔离放大器的结构如图3所示。光电信号隔离放大器包括光耦U1、开关管Q1和继电器K1;光耦U1的输入端与光电开关连接(具体地,本实施例中,光耦U1的正输入端连接5V直流电源,负输入端与光电开关连接);光耦U1的负输出端连接到开关管Q1的阴极,且开关管Q1的阴极接地;光耦U1的正输出端连接到开关管Q1的控制极;光耦U1的正输出端还通过一个电阻R1连接到12V直流供电端;开关管Q1的阳极与一个二极管D1的阳极连接,该二极管D1的阴极连接到直流供电端;继电器K1的线圈并联于所述二极管D1的两端,继电器K1的开关与电脑主机连接。Among them, the structure of the photoelectric signal isolation amplifier is shown in Figure 3. The photoelectric signal isolation amplifier includes optocoupler U1, switch tube Q1 and relay K1; the input terminal of optocoupler U1 is connected with photoelectric switch (specifically, in this embodiment, the positive input terminal of optocoupler U1 is connected to 5V DC power supply, and the negative input terminal connected to the photoelectric switch); the negative output terminal of the optocoupler U1 is connected to the cathode of the switch tube Q1, and the cathode of the switch tube Q1 is grounded; the positive output terminal of the optocoupler U1 is connected to the control pole of the switch tube Q1; the positive output terminal of the optocoupler U1 The output terminal is also connected to the 12V DC power supply terminal through a resistor R1; the anode of the switch tube Q1 is connected to the anode of a diode D1, and the cathode of the diode D1 is connected to the DC power supply terminal; the coil of the relay K1 is connected in parallel to the two ends of the diode D1 terminal, the switch of relay K1 is connected with the host computer.
上文所述仅为本发明的产量显示系统的一个较佳实施例,本领域技术人员根据本发明的思路,可以作出变形及简化,例如取消摄像头以及由摄像头进行抓图的步骤,取消步骤S7而当步骤S4中确认为有产品出线时直接执行步骤S5,取消音箱及相应的处理步骤,又或者取消步骤S4中的对输入信号持续稳定时间进行判断的步骤,这样的方式虽然使整体的方案功能上有所减弱,但在整体上仍属于本发明的技术构思,应当包含在本发明的保护范围之内。此外,优选地,也可以在线尾增设自动条码扫描仪与视频卡,实现产品的质量回溯检查。The above is only a preferred embodiment of the output display system of the present invention. Those skilled in the art can make deformations and simplifications according to the ideas of the present invention, such as canceling the camera and the steps of capturing pictures by the camera, canceling step S7 And when it is confirmed in step S4 that there is a product to go out of the line, step S5 is directly executed, the sound box and the corresponding processing steps are cancelled, or the step of judging the input signal continuous stable time in step S4 is cancelled. The function is weakened to some extent, but still belongs to the technical concept of the present invention as a whole, and should be included in the protection scope of the present invention. In addition, preferably, an automatic barcode scanner and video card can also be added at the end of the line to realize the retrospective inspection of product quality.
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the scope of the present invention. within the scope of protection.
Claims (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410079202.XA CN103853519B (en) | 2014-03-05 | 2014-03-05 | Yield display system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410079202.XA CN103853519B (en) | 2014-03-05 | 2014-03-05 | Yield display system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN103853519A CN103853519A (en) | 2014-06-11 |
| CN103853519B true CN103853519B (en) | 2016-08-17 |
Family
ID=50861228
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201410079202.XA Active CN103853519B (en) | 2014-03-05 | 2014-03-05 | Yield display system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN103853519B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113176762B (en) * | 2021-04-13 | 2024-05-28 | 诸暨兴大豪科技开发有限公司 | Method, device, equipment and storage medium for determining embroidery product number |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1215151A (en) * | 1998-07-11 | 1999-04-28 | 中国科学院安徽光学精密机械研究所 | Laser on-line testing and checking apparatus for rubber element outline |
| CN201040599Y (en) * | 2007-06-05 | 2008-03-26 | 天津电子信息职业技术学院 | Packaging machine intelligent controller |
| CN202306354U (en) * | 2011-10-13 | 2012-07-04 | 温州大学城市学院 | Intelligent control system of paper cup forming machine |
-
2014
- 2014-03-05 CN CN201410079202.XA patent/CN103853519B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1215151A (en) * | 1998-07-11 | 1999-04-28 | 中国科学院安徽光学精密机械研究所 | Laser on-line testing and checking apparatus for rubber element outline |
| CN201040599Y (en) * | 2007-06-05 | 2008-03-26 | 天津电子信息职业技术学院 | Packaging machine intelligent controller |
| CN202306354U (en) * | 2011-10-13 | 2012-07-04 | 温州大学城市学院 | Intelligent control system of paper cup forming machine |
Also Published As
| Publication number | Publication date |
|---|---|
| CN103853519A (en) | 2014-06-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN105055173B (en) | Intelligent medicine box | |
| US11991580B2 (en) | Method and system for realizing function by causing elements of hardware to perform linkage operation | |
| CN104460626A (en) | Integrated stage control system based on internet of things | |
| CN103853519B (en) | Yield display system | |
| EP3451256A1 (en) | Apparatus and method for estimating remaining capacity of cosmetic product | |
| CN102111502A (en) | Connection reminding method and mobile terminal | |
| KR20200084268A (en) | A user device which is estimating a activity state of user in a home network and control method thereof | |
| CN205486112U (en) | Long -range guidance is with intelligent indoor vanity mirror | |
| CN103606357B (en) | LCD TV backlight sequence control method and system | |
| CN104917984A (en) | A system and method for intelligently switching display screen parameters of a TV system | |
| CN206489623U (en) | Restaurant order device | |
| CN102371785B (en) | Printing device, control method and printing system thereof | |
| EP1435570A3 (en) | Method for operation mode notification. | |
| CN102610198A (en) | Method for improving display effect of electronic ink display screen | |
| CN205573369U (en) | Wireless printer structure for food and beverage | |
| CN212180986U (en) | Medium-voltage line transformer identification slave, host and system | |
| CN105094100A (en) | Multi-module cooperation stage control system | |
| CN204390282U (en) | Portable money transaction supervising device | |
| US11860598B2 (en) | Control system and control method | |
| CN202309942U (en) | Projector with auto-flip function | |
| CN202261397U (en) | Data process system, server and terminal | |
| CN105306722A (en) | Mobile terminal and method for realizing clock function thereof | |
| CN203057200U (en) | Intelligent transmitter terminal cloud service system | |
| CN202976764U (en) | Large screen used for selling field wireless calling service system | |
| CN201746183U (en) | Elevator floor liquid crystal display |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20170704 Address after: Tianhe District West Village Guangzhou city Guangdong province 510000 compound No. 2 No. 46 two floor by the northeast corner of room 02 Patentee after: GUANGZHOU VINWO ELECTRONIC TECHNOLOGY CO.,LTD. Address before: Tianhe District West Village Guangzhou city Guangdong province 510000 compound No. 2 No. 46 two floor by the northeast corner of room 01 Patentee before: GUANGZHOU WINWO ELECTRONICS CO.,LTD. |
|
| PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: Production display system Granted publication date: 20160817 Pledgee: Bank of China Limited by Share Ltd. Guangzhou Panyu branch Pledgor: GUANGZHOU VINWO ELECTRONIC TECHNOLOGY CO.,LTD. Registration number: Y2024980056124 |
|
| PE01 | Entry into force of the registration of the contract for pledge of patent right |