CN109584534B - RS485 and high-speed infrared communicator with pulse sampling function - Google Patents
RS485 and high-speed infrared communicator with pulse sampling function Download PDFInfo
- Publication number
- CN109584534B CN109584534B CN201811653375.2A CN201811653375A CN109584534B CN 109584534 B CN109584534 B CN 109584534B CN 201811653375 A CN201811653375 A CN 201811653375A CN 109584534 B CN109584534 B CN 109584534B
- Authority
- CN
- China
- Prior art keywords
- infrared
- singlechip
- pulse sampling
- communication
- electric energy
- 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
- 238000005070 sampling Methods 0.000 title claims abstract description 30
- 238000004891 communication Methods 0.000 claims abstract description 53
- 238000001514 detection method Methods 0.000 claims abstract description 31
- 238000012795 verification Methods 0.000 claims abstract description 14
- 238000000034 method Methods 0.000 claims abstract description 7
- 230000004397 blinking Effects 0.000 claims description 3
- 238000007689 inspection Methods 0.000 description 10
- 238000004519 manufacturing process Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 2
- 238000002955 isolation Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000002457 bidirectional effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 239000000126 substance Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C23/00—Non-electrical signal transmission systems, e.g. optical systems
- G08C23/04—Non-electrical signal transmission systems, e.g. optical systems using light waves, e.g. infrared
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C19/00—Electric signal transmission systems
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Arrangements For Transmission Of Measured Signals (AREA)
- Optical Communication System (AREA)
Abstract
The invention discloses an RS485 and high-speed infrared communicator with a pulse sampling function, which comprises detection equipment and equipment to be detected; the method is characterized in that: the infrared detection device further comprises a singlechip, an RS485 communication module, an infrared transmitting tube, an infrared receiving tube and an indicator lamp, wherein the RS485 communication module, the infrared transmitting tube, the infrared receiving tube and the indicator lamp are connected with the singlechip, the detection device can be connected with the singlechip through signals of the RS485 communication module, the singlechip is connected with the infrared transmitting tube to transmit infrared signals to the device to be detected, the singlechip can receive the infrared signals transmitted by the device to be detected through the infrared receiving tube to conduct infrared communication and pulse sampling, and the singlechip indicates a communication state, a pulse sampling state and verification results through the indicator lamp.
Description
Technical Field
The invention relates to an RS485 and high-speed infrared communicator with a pulse sampling function.
Background
In the production process of the electric energy meter at the outlet, the electric energy meter inspection table used for the electric energy meter verification can be used for inspecting 60 electric energy meters at the same time, high-speed infrared communication is usually adopted between the inspection table and the electric energy meter, and the electric energy meter inspection table is generally only provided with an RS485 communication interface. To realize communication between the inspection bench and the electric energy meter, an RS485 and high-speed infrared communicator is necessary, and no communicator with the function is currently available on the market. How to realize the quick communication between the electric energy meter inspection bench and the electric energy meter in the production process becomes an important difficult problem, and in addition, corresponding hardware support and complex wiring of the electric energy meter are required when the metering signal output and second clock output functions are detected, so that the cost is increased.
Referring to fig. 1, the existing solution is to use the combination of RS485 and RS232 communicators and the combination of RS232 and high-speed infrared communicators to realize communication, which has complex circuit, inconvenient carrying and high cost, and requires the same communication baud rate between the RS485 end and the high-speed infrared end, so that the communication limitation is large; when detecting the metering signal output and the second clock output functions of the electric energy meter, one inspection bench can simultaneously inspect 60 electric energy meters, and one electric energy meter needs to be connected with 4 cables, so that the inspection bench needs to be connected with 240 cables to the electric energy meter, the detection process is complicated, the efficiency is low, and the production automation is not facilitated; the inspection process and the inspection result have no hardware prompt function, and are difficult to accurately locate when faults occur.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides an RS485 and high-speed infrared communicator with a pulse sampling function.
The technical scheme adopted for solving the technical problems is as follows:
An RS485 and high-speed infrared communicator with a pulse sampling function comprises detection equipment and equipment to be detected; the method is characterized in that: the infrared detection device comprises a single chip microcomputer, an RS485 communication module, an infrared emission tube, an infrared receiving tube and an indicator lamp, wherein the RS485 communication module is connected with the single chip microcomputer through signals of the RS485 communication module, the single chip microcomputer is connected with the infrared emission tube to emit infrared signals to the device to be detected, the single chip microcomputer can receive the infrared signals emitted by the device to be detected through the infrared receiving tube to conduct infrared communication and pulse sampling, and the single chip microcomputer indicates a communication state, a pulse sampling state and verification results through the indicator lamp.
In another preferred embodiment, the indicator light indicates the pulse sampling status by being on or blinking.
In another preferred embodiment, the indicator light indicates the communication status by being on or flashing.
In another preferred embodiment, the indicator light is a color-changing light emitting diode.
In another preferred embodiment, the device further comprises a photoelectric coupler, and the singlechip is connected with the photoelectric coupler and used for outputting pulse signals to the detection equipment.
In another preferred embodiment, the RS485 communication module, the infrared transmitting tube and the infrared receiving tube have different communication baud rates.
In another preferred embodiment, the detection device is an electric energy meter detection device, and the device to be detected is an electric energy meter.
The beneficial effects of the invention are as follows:
1. The invention can realize the bidirectional conversion of communication signals of the RS485 communication interface of the detection equipment and the high-speed infrared communication interface of the equipment to be detected, does not need a complex communication converter and a complex circuit, saves hardware resources by infrared communication and pulse sampling multiplexing, and is convenient for staff to observe the detection condition by the indicator lamp; the RS485 communication module receives detection signals and verification result signals of the electric energy meter detection table, the infrared emission tube and the infrared receiving tube can realize infrared communication and pulse sampling multiplexing, and the infrared emission tube and the infrared receiving tube are used for receiving metering pulse infrared signals, second pulse signals of a clock and the like of the electric energy meter; the indicator light indicates a communication state, a pulse sampling state and a verification result; the corresponding hardware support cost of the electric energy meter in the process of detecting the metering signal output and the second clock output functions is saved; the wiring of the electric energy meter can be reduced in the production process, the production efficiency is improved, the production cost is reduced, the automation level of the electric energy meter production is greatly improved, the stability of the electric energy meter verification process is improved, and the factory quality of electric energy meter products is improved.
2. The adoption pilot lamp is through bright or scintillation indication pulse sampling state and communication state easily staff observe in the production process.
3. The color-changing light-emitting diode is adopted to indicate the verification result signals by emitting light with different colors, so that a worker can conveniently and rapidly acquire the verification result according to the light-emitting color of the light-emitting diode.
4. And the passive optical coupler is used for realizing the isolation output of passive signals.
5. The singlechip sets the baud rate of the communication of the RS485 communication module, the infrared transmitting tube and the infrared receiving tube, and the RS485 communication module, the infrared transmitting tube and the infrared receiving tube can also work under different baud rates to avoid communication limitation.
6. The electric energy meter detection efficiency is improved by the communication between the electric energy meter detection equipment and the electric energy meter.
The invention is described in further detail below with reference to the drawings and examples; however, the RS485 and high-speed infrared communicator with the pulse sampling function is not limited to the embodiment.
Drawings
FIG. 1 is a block diagram of a prior art system;
FIG. 2 is a block diagram of a system according to a preferred embodiment of the present invention
FIG. 3 is a flow chart of a preferred embodiment of the present invention.
Detailed Description
Referring to fig. 2 and 3, the RS485 and high-speed infrared communicator with the pulse sampling function of the present invention includes an electric energy meter detection table 10, an electric energy meter 20, a single chip microcomputer U1, and an infrared transmitting tube LED2, an infrared receiving tube LED3, an RS485 communication module U2 and an indicator LED1 which are connected to the single chip microcomputer U1, wherein the electric energy meter detection table 10 includes a measurement error detection port and a clock precision detection port and can be connected to the single chip microcomputer U1 through signals of the RS485 communication module U2, the single chip microcomputer U1 is connected to the infrared transmitting tube LED2 to transmit infrared signals to the electric energy meter 20, the single chip microcomputer U1 can receive infrared signals sent by the electric energy meter 20 through the infrared receiving tube LED3 to perform infrared communication and pulse sampling, the single chip microcomputer U1 is further connected to a photoelectric coupler U3 for passive optical coupling isolation to output passive signals, and the single chip microcomputer U1 indicates a communication state, a pulse sampling state and a verification result through the indicator LED 1.
The singlechip U1 sets the baud rate of the respective communication of the RS485 communication module U2, the infrared emission tube LED2 and the infrared receiving tube LED3, and the RS485 communication module U2, the infrared emission tube LED2 and the infrared receiving tube LED3 can communicate under different baud rates.
The use mode of the embodiment is as follows: the electric energy meter detection table 10 sends out detection signals, the singlechip U1 receives the detection signals through the RS485 communication module U2, the singlechip U1 drives the infrared emission tube LED2 and the infrared receiving tube LED3 to work, when infrared communication is carried out, the singlechip U1 drives the indicator lamp LED1 to flash in red and green light, and when the infrared receiving tube LED3 carries out pulse sampling, the singlechip U1 sends information collected by the infrared receiving tube LED3 through the RS485 communication module U2; when the pulse sampling is carried out and the clock pulse is carried out, the singlechip U1 sends a second pulse of the clock to the clock precision detection port of the electric energy meter inspection bench 10 through the photoelectric coupler U3, and the singlechip U1 drives the indicator light LED1 to display red light; after the electric energy meter detection table 10 finishes detecting the electric energy meter 20, the electric energy meter detection table 10 sends a verification result signal, the singlechip U1 receives the verification result signal through the RS485 communication module U2, the singlechip U1 drives the indicator light LED1 to emit red light when verification is failed, and the singlechip U1 drives the indicator light LED1 to emit green light when verification is qualified.
The above embodiment is only used for further explaining an RS485 and high-speed infrared communicator with pulse sampling function, but the present invention is not limited to the embodiment, and any simple modification, equivalent variation and modification of the above embodiment according to the technical substance of the present invention falls within the protection scope of the technical solution of the present invention.
Claims (5)
1. An RS485 and high-speed infrared communicator with a pulse sampling function comprises detection equipment and equipment to be detected; the method is characterized in that: the detection device comprises a singlechip, an RS485 communication module, an infrared emission tube, an infrared receiving tube and an indicator lamp, wherein the RS485 communication module is connected with the singlechip, the detection device can be connected with the singlechip through signals of the RS485 communication module, the singlechip is connected with the infrared emission tube to emit infrared signals to the device to be detected, the singlechip can receive the infrared signals emitted by the device to be detected through the infrared receiving tube to perform infrared communication and pulse sampling, and the singlechip indicates a communication state, a pulse sampling state and verification results through the indicator lamp; the single chip microcomputer is connected with the photoelectric coupler and used for outputting pulse signals to the detection equipment; the RS485 communication module, the infrared transmitting tube and the infrared receiving tube have different communication baud rates.
2. The RS485 and high speed infrared communicator with pulse sampling function according to claim 1, wherein: the indicator light indicates the pulse sampling state by being on or blinking.
3. The RS485 and high speed infrared communicator with pulse sampling function according to claim 1, wherein: the indicator light indicates the communication state by being on or blinking.
4. The RS485 and high speed infrared communicator with pulse sampling function according to claim 1, wherein: the indicator light is a color-changing light-emitting diode.
5. The RS485 and high speed infrared communicator with pulse sampling function according to claim 1, wherein: the detection equipment is electric energy meter detection equipment, and the equipment to be detected is the electric energy meter.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811653375.2A CN109584534B (en) | 2018-12-29 | 2018-12-29 | RS485 and high-speed infrared communicator with pulse sampling function |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811653375.2A CN109584534B (en) | 2018-12-29 | 2018-12-29 | RS485 and high-speed infrared communicator with pulse sampling function |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109584534A CN109584534A (en) | 2019-04-05 |
CN109584534B true CN109584534B (en) | 2024-06-11 |
Family
ID=65915382
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811653375.2A Active CN109584534B (en) | 2018-12-29 | 2018-12-29 | RS485 and high-speed infrared communicator with pulse sampling function |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109584534B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109557499B (en) * | 2018-12-29 | 2023-12-15 | 漳州科能电器有限公司 | Detection method of multifunctional infrared ammeter |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100502181B1 (en) * | 2004-09-08 | 2005-07-20 | 주식회사 창성에이스산업 | Hybrid flame detector having self-checking function |
CN202948057U (en) * | 2012-07-20 | 2013-05-22 | 芜湖汇昌物联网科技产业园有限公司 | Single-phase intelligent electric energy measuring instrument |
CN103942945A (en) * | 2014-02-24 | 2014-07-23 | 安徽爱姆恩智能科技有限公司 | Novel Zigbee infrared learning transponder, and control method thereof |
CN203858355U (en) * | 2013-12-04 | 2014-10-01 | 珠海中慧微电子有限公司 | Function testing circuit of electric energy meter |
CN104378871A (en) * | 2013-08-16 | 2015-02-25 | 江南大学 | Intelligent optical control lamp system |
CN205334727U (en) * | 2015-12-21 | 2016-06-22 | 神华集团有限责任公司 | Infrared remote control device |
CN207367365U (en) * | 2017-05-31 | 2018-05-15 | 南京工业职业技术学院 | A kind of infrared forwarding system based on HC-12 |
CN209103525U (en) * | 2018-12-29 | 2019-07-12 | 漳州科能电器有限公司 | A kind of RS485 with impulse sampling function and high speed infrared communicator |
-
2018
- 2018-12-29 CN CN201811653375.2A patent/CN109584534B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100502181B1 (en) * | 2004-09-08 | 2005-07-20 | 주식회사 창성에이스산업 | Hybrid flame detector having self-checking function |
CN202948057U (en) * | 2012-07-20 | 2013-05-22 | 芜湖汇昌物联网科技产业园有限公司 | Single-phase intelligent electric energy measuring instrument |
CN104378871A (en) * | 2013-08-16 | 2015-02-25 | 江南大学 | Intelligent optical control lamp system |
CN203858355U (en) * | 2013-12-04 | 2014-10-01 | 珠海中慧微电子有限公司 | Function testing circuit of electric energy meter |
CN103942945A (en) * | 2014-02-24 | 2014-07-23 | 安徽爱姆恩智能科技有限公司 | Novel Zigbee infrared learning transponder, and control method thereof |
CN205334727U (en) * | 2015-12-21 | 2016-06-22 | 神华集团有限责任公司 | Infrared remote control device |
CN207367365U (en) * | 2017-05-31 | 2018-05-15 | 南京工业职业技术学院 | A kind of infrared forwarding system based on HC-12 |
CN209103525U (en) * | 2018-12-29 | 2019-07-12 | 漳州科能电器有限公司 | A kind of RS485 with impulse sampling function and high speed infrared communicator |
Also Published As
Publication number | Publication date |
---|---|
CN109584534A (en) | 2019-04-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN204481817U (en) | Optical module parameter testing equipment | |
CN102299739B (en) | SFP module test method and test terminal | |
CN106569286B (en) | A kind of photoelectric detection system | |
CN209103525U (en) | A kind of RS485 with impulse sampling function and high speed infrared communicator | |
CN105680938B (en) | A kind of HD video optical fiber transmission self checking method and device | |
CN205693674U (en) | The multichannel debugging system of integrating device on a kind of bi-directional light device board | |
CN107453806A (en) | Optical module multichannel automates device for adjusting and measuring | |
CN209181997U (en) | A kind of high/low temperature eye figure test device automatically switched for multichannel optical module | |
CN109584534B (en) | RS485 and high-speed infrared communicator with pulse sampling function | |
CN109639348A (en) | Quickly detection optical cable on-off and the method for positioning | |
CN102967567A (en) | Online monitoring instrument for water quality by colorimetry | |
CN111157876A (en) | System and method for testing PCBA (printed circuit board assembly) with luminous LED (light-emitting diode) | |
CN210867698U (en) | Four-channel optical module parallel test system | |
CN105911394B (en) | PIN-FET light-receiving component Auto-Test System | |
CN209358545U (en) | The synthesis optical fiber inspection device of integrated FC optical fiber link and Network Check | |
CN205426185U (en) | Measure circuit of light curtain | |
CN216751765U (en) | Device for evaluating transceiving performance parameters of optical module through multi-channel test | |
CN103384166B (en) | The fiber port line order tester of Optical Access Network | |
CN105812052B (en) | A kind of optical module calibration system and method | |
CN108988939A (en) | It is a kind of it is quick judge optical cable decaying whether the method for exception and optical module luminous power specific value | |
CN102080951A (en) | Cloth width measuring system | |
CN215893785U (en) | Result-visualized portable photoelectric detector | |
CN201477176U (en) | Cable marker checking device | |
CN206177557U (en) | Fast testing device of optical device | |
CN201318989Y (en) | Testing system of light source optical performance parameters under temperature changing environment |
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 |