CN116973741A - Detection method for zero-crossing on-off parameters of relay - Google Patents

Detection method for zero-crossing on-off parameters of relay Download PDF

Info

Publication number
CN116973741A
CN116973741A CN202310959569.XA CN202310959569A CN116973741A CN 116973741 A CN116973741 A CN 116973741A CN 202310959569 A CN202310959569 A CN 202310959569A CN 116973741 A CN116973741 A CN 116973741A
Authority
CN
China
Prior art keywords
relay
contact
time
optocoupler
pin
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.)
Pending
Application number
CN202310959569.XA
Other languages
Chinese (zh)
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.)
Zhongshan Kezhuoer Electrical Appliance Co ltd
Original Assignee
Zhongshan Kezhuoer Electrical Appliance 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 Zhongshan Kezhuoer Electrical Appliance Co ltd filed Critical Zhongshan Kezhuoer Electrical Appliance Co ltd
Priority to CN202310959569.XA priority Critical patent/CN116973741A/en
Publication of CN116973741A publication Critical patent/CN116973741A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/327Testing of circuit interrupters, switches or circuit-breakers
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/175Indicating the instants of passage of current or voltage through a given value, e.g. passage through zero

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Testing Electric Properties And Detecting Electric Faults (AREA)

Abstract

The invention provides a method for detecting zero-crossing on-off parameters of a relay, which specifically comprises the following steps: s1, inputting waveforms of relay contacts and waveforms of AC zero crossing into an MCU through a rectification optocoupler isolation circuit, and then carrying out logic detection through the MCU, and directly converting the waveforms into specific and visual time parameter values; s2, MCU logic detection is carried out, the on-point time and the off-point time of the relay contact are calculated, and compared with the time parameter of the zero crossing point, and products out of range are screened out. The invention can realize automatic test of the zero-crossing on-off parameters of the relay, read the zero-crossing on-off parameters of the relay, preset parameter ranges, rapidly screen out products with the non-meeting requirements of the on-off time and the zero-crossing time of the contact point of the relay, reduce test cost and improve production efficiency.

Description

Detection method for zero-crossing on-off parameters of relay
Technical Field
The invention relates to the technical field of circuit detection, in particular to a method for detecting zero-crossing on-off parameters of a relay.
Background
The closer the relay contacts are to the zero-crossing point, the lower the voltage of the contacts is, the smaller the generated arc is, and the longer the service life of the relay contacts is. In order to extend the stability and reliability of the relay contacts, it is necessary to switch the contacts on and off at a location near the zero crossing of the ac power supply in the control logic. This time parameter is typically measured with an oscilloscope. The current relay contact is connected and disconnected by the test method: the AC input waveforms were monitored separately with a two-channel oscilloscope, waveforms at both ends of the relay contacts. The wiring method is shown in fig. 1. And when the relay contacts are switched on, the voltages at two ends are 0, when the relay contacts are switched off, the voltages at two ends of the contacts are overlapped with the AC input voltage, at the moment, the oscilloscope cursors are respectively positioned at the contact switching-off positions and the middle zero crossing positions of the AC, so that the time parameters of the switching-off points and the zero crossing points of the relay can be tested, and the test result is shown in figure 2. And then testing the time parameters of the contact on of the relay, wherein the contact on of the relay, the voltage of the two ends of the relay is 0, the cursors of the oscilloscope are respectively positioned at the contact on positions and the middle zero crossing positions of the AC, so that the time parameters of the contact on point and the zero crossing point of the relay can be tested, and the test result is shown in figure 3. However, the oscilloscope tests the time difference between the on/off and zero crossing of the contact of the relay, and has the advantages of high resolution and accuracy. The method has the defects of low test efficiency, low speed, high test cost and the like, and parameters are required to be read manually to position a test cursor.
Disclosure of Invention
Aiming at the defects of the prior art, the invention provides a method for detecting the zero-crossing on-off parameters of a relay, which can realize automatic test of the zero-crossing on-off parameters of the relay, read the zero-crossing on-off parameters of the relay, preset the parameter range, rapidly screen out products with non-meeting requirements of the contact on-off time and the zero-crossing time of the relay, reduce the test cost and improve the production efficiency.
In order to achieve the technical scheme, the invention provides a method for detecting zero-crossing on-off parameters of a relay, which specifically comprises the following steps:
s1, inputting waveforms of relay contacts and waveforms of AC zero crossing into an MCU through a rectification optocoupler isolation circuit, and then carrying out logic detection through the MCU, and directly converting the waveforms into specific and visual time parameter values;
s2, detecting the on-point time and the off-point time of the relay contact by the MCU logic, comparing the on-point time and the off-point time with the time parameter of the zero crossing point, and screening out products out of range.
Preferably, the rectifying optocoupler isolation circuit comprises a rectifier 1, a rectifier 2, resistors R1 and R2, an optocoupler 1, an optocoupler 2, a load L1 and a relay S1, wherein the positive electrode of the rectifier 1 is connected with one end of the resistor R1, the other end of the resistor R1 is connected with a first pin of the optocoupler 1, the negative electrode of the rectifier 1 is connected with a second pin of the optocoupler 1, a third pin of the optocoupler 1 is connected with the MCU, a fourth pin of the optocoupler 1 is grounded, the first pin of the rectifier 1 is connected with one end of the load L1 and an AC220V power N line, the other end of the load L1 is connected with a second contact of the relay S1, the first contact of the relay S1 is connected with the AC220V power L line, and the second pin of the rectifier 1 is connected with the first contact of the relay S1 and the AC220V power L line; the positive pole of rectifier 2 is connected with one end of resistance R2, and the other end of resistance R2 is connected with the first pin of optocoupler 2, and the negative pole of rectifier 2 is connected with the second pin of optocoupler 2, and the third pin of optocoupler 2 is connected with MCU, and the fourth pin of optocoupler 2 is grounded, the first pin of rectifier 2 is connected with the first contact of relay S1 and AC220V power L line, the second pin of rectifier 2 is connected with the second contact of relay S1.
Preferably, the third connector of the oscilloscope is connected with the first contact and the second contact of the relay S1 respectively through wires, and the second connector of the oscilloscope is connected to a circuit connected with the MCU through a wire, wherein the circuit is connected with the third pin of the optical coupler 1.
Preferably, after the contact is switched on, detecting the falling edge of the contact of the optical coupler 2 and the rising edge of the optical coupler 1 through MCU program logic to obtain the time of the conduction point and the zero crossing point of the contact of the relay S1; detecting the rising edge of the contact of the optical coupler 2 and the rising edge of the optical coupler 1 through MCU program logic to obtain the time of the disconnection point and the zero crossing point of the contact of the relay S1; and after the program logic is displayed and operated, the relay on time is calculated, and products out of range are screened out.
The method for detecting the zero-crossing on-off parameters of the relay has the beneficial effects that: the invention inputs the waveform of the relay contact into the MCU through the rectification and optocoupler isolation method, carries out logic detection through the MCU, directly converts the waveform into specific and visual time parameter values, can preset a judging range, realizes automatic detection, compares the time parameters of contact connection and zero crossing point, screens out products beyond the range, has low cost of the testing device, high testing speed and quick numerical display, and is convenient for realizing batch detection of production.
Drawings
Fig. 1 is a circuit diagram of a wiring circuit for detection using a dual-channel oscilloscope in the prior art.
Fig. 2 is a graph of the test results of time parameters of the disconnection point and zero crossing point of the relay in the prior art.
Fig. 3 is a graph of the results of testing the time parameters of the relay on point and the zero crossing point in the prior art.
FIG. 4 is a diagram of a test circuit according to the present invention.
FIG. 5 is a schematic diagram of the wiring used in the present invention to verify the effect of the present invention with an oscilloscope.
Fig. 6 is a graph of the time parameters of the relay on point and the zero crossing point, and the verification test result using an oscilloscope in the present invention.
Fig. 7 is a graph of the time parameters of the relay on point and the zero crossing point, and the verification test result using an oscilloscope in the present invention.
FIG. 8 is a graph of test results obtained using the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art without making any inventive effort are within the scope of the present invention.
Examples: a method for detecting zero-crossing on-off parameters of a relay.
Referring to fig. 4 to 8, a method for detecting zero-crossing on-off parameters of a relay specifically includes the following steps:
(1) The method comprises the steps of designing a rectification optocoupler isolation circuit, wherein the rectification optocoupler isolation circuit comprises a rectifier 1, a rectifier 2, resistors R1 and R2, an optocoupler 1, an optocoupler 2, a load L1 and a relay S1, wherein the positive electrode of the rectifier 1 is connected with one end of the resistor R1, the other end of the resistor R1 is connected with a first pin of the optocoupler 1, the negative electrode of the rectifier 1 is connected with a second pin of the optocoupler 1, a third pin of the optocoupler 1 is connected with an MCU, a fourth pin of the optocoupler 1 is grounded, the first pin of the rectifier 1 is connected with one end of the load L1 and an AC220V power supply N line, the other end of the load L1 is connected with a second contact of the relay S1, the first contact of the relay S1 is connected with the AC220V power supply L line, and the second pin of the rectifier 1 is connected with the first contact of the relay S1 and the AC220V power supply L line; the positive pole of rectifier 2 is connected with one end of resistance R2, and the other end of resistance R2 is connected with the first pin of optocoupler 2, and the negative pole of rectifier 2 is connected with the second pin of optocoupler 2, and the third pin of optocoupler 2 is connected with MCU, and the fourth pin of optocoupler 2 is grounded, the first pin of rectifier 2 is connected with the first contact of relay S1 and AC220V power L line, the second pin of rectifier 2 is connected with the second contact of relay S1. During actual operation, the waveform of the relay contact is input into the MCU through a rectification and optocoupler isolation method, and the zero-crossing on-off parameters of the relay can be automatically read through the MCU. The waveform of the relay contact is subjected to rectification and coupling treatment by the rectifier 1 and the optical coupler 1 to obtain a zero-crossing waveform of the AC input; the waveform of the relay contact is rectified and coupled by the rectifier 2 and the optical coupler 3 to obtain the on-off waveform of the two ends of the relay contact, and then the on-off waveform is automatically detected and compared by the MCU to directly display the AC period and obtain the time parameters of contact on and contact off.
(2) The third joint of the oscilloscope is respectively connected with the left contact and the right contact of the relay through wires, and the second joint of the oscilloscope is connected with the MCU and the third pin of the optical coupler 1 through wires; connecting a first joint of the oscilloscope with a third pin of the MCU and the optical coupler 2 through a lead; the oscilloscope verification wiring method is shown in fig. 5, then the contacts are turned on, the oscilloscope is actually measured to obtain the on-point time and the off-point time of the relay contacts, the program logic detects the falling edge of the contacts of the optical coupler 2 and the rising edge of the optical coupler 1, and the on-point time and the zero-crossing point time of the relay contacts can be obtained, and the test result is shown in fig. 6. Testing the relay off time: the oscilloscope verification wiring method is as shown in fig. 5, and the program logic detects the rising edge of the contact of the optical coupler 2 and the rising edge of the optical coupler 1, so that the time of the disconnection point and the zero crossing point of the relay contact can be obtained. The test results are shown in fig. 7.
(3) Comparing with the zero-crossing time parameter, and screening out products in an out-of-range mode: after the display operation of the program logic, the relay on time is calculated to be 8.5ms, the oscilloscope is actually measured to be 8.48ms, the resolution and the error accord with the industry standard (the relay contact point is required to be within 2ms before and after zero crossing). The time for opening the relay is calculated to be 2.875ms after zero crossing, the test result is not in accordance with the industry standard (the relay contact needs to be opened within 2ms before zero crossing), and the test result is shown in fig. 8.
In practical production application, the invention can input waveforms of relay contacts into MCU through rectification and optocoupler isolation methods, carry out logic detection through MCU, directly convert the waveforms into specific and visual time parameter values, preset a judging range, realize automatic detection, compare time parameters of contact connection and zero crossing points, screen out products in an out-of-range, and has the advantages of low cost, fast testing speed, quick numerical display and convenient realization of batch detection of production.
The foregoing is a preferred embodiment of the present invention, but the present invention should not be limited to the embodiment and the disclosure of the drawings, so that the equivalents and modifications can be made without departing from the spirit of the disclosure.

Claims (3)

1. A detection method of relay zero crossing on-off parameters is characterized by comprising the following steps:
s1, inputting waveforms of relay contacts and waveforms of AC zero crossing into an MCU through a rectification optocoupler isolation circuit, and then carrying out logic detection through the MCU, and directly converting the waveforms into specific and visual time parameter values;
s2, detecting the on-point time and the off-point time of the relay contact by the MCU logic, comparing the on-point time and the off-point time with the time parameter of the zero crossing point, and screening out products out of range.
2. The method for detecting the zero-crossing on-off parameter of the relay according to claim 1, wherein: the rectifying optocoupler isolation circuit comprises a rectifier 1, a rectifier 2, resistors R1 and R2, an optocoupler 1, an optocoupler 2, a load L1 and a relay S1, wherein the positive electrode of the rectifier 1 is connected with one end of the resistor R1, the other end of the resistor R1 is connected with a first pin of the optocoupler 1, the negative electrode of the rectifier 1 is connected with a second pin of the optocoupler 1, a third pin of the optocoupler 1 is connected with an MCU, a fourth pin of the optocoupler 1 is grounded, the first pin of the rectifier 1 is connected with one end of the load L1 and an AC220V power supply N line, the other end of the load L1 is connected with a second contact of the relay S1, the first contact of the relay S1 is connected with the AC220V power supply L line, and the second pin of the rectifier 1 is connected with a first contact of the relay S1 and the AC220V power supply L line; the positive pole of rectifier 2 is connected with one end of resistance R2, and the other end of resistance R2 is connected with the first pin of optocoupler 2, and the negative pole of rectifier 2 is connected with the second pin of optocoupler 2, and the third pin of optocoupler 2 is connected with MCU, and the fourth pin of optocoupler 2 is grounded, the first pin of rectifier 2 is connected with the first contact of relay S1 and AC220V power N line, the second pin of rectifier 2 is connected with the second contact of relay S1.
3. The method for detecting the zero-crossing on-off parameter of the relay according to claim 2, wherein: after the contact is connected, detecting the falling edge of the contact of the optical coupler 2 and the rising edge of the optical coupler 1 through MCU program logic to obtain the time of the conducting point and the zero crossing point of the contact of the relay S1; detecting the rising edge of the contact of the optical coupler 2 and the rising edge of the optical coupler 1 through MCU program logic to obtain the time of the disconnection point and the zero crossing point of the contact of the relay S1; after the display operation of the program logic, the on time of the relay is calculated, and then the on time is compared with the time actually measured by the oscilloscope, and products out of range are screened out.
CN202310959569.XA 2023-08-01 2023-08-01 Detection method for zero-crossing on-off parameters of relay Pending CN116973741A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310959569.XA CN116973741A (en) 2023-08-01 2023-08-01 Detection method for zero-crossing on-off parameters of relay

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310959569.XA CN116973741A (en) 2023-08-01 2023-08-01 Detection method for zero-crossing on-off parameters of relay

Publications (1)

Publication Number Publication Date
CN116973741A true CN116973741A (en) 2023-10-31

Family

ID=88474598

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310959569.XA Pending CN116973741A (en) 2023-08-01 2023-08-01 Detection method for zero-crossing on-off parameters of relay

Country Status (1)

Country Link
CN (1) CN116973741A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103186150A (en) * 2011-12-30 2013-07-03 北大方正集团有限公司 Alternating current heater control device and method
CN206497184U (en) * 2017-01-24 2017-09-15 深圳天川电气技术有限公司 A kind of detection means and the detection circuit for contactor
CN109507547A (en) * 2018-11-08 2019-03-22 杭州德意电器股份有限公司 A kind of household electrical appliances plug discharging test control device and its control method
CN110459433A (en) * 2019-08-27 2019-11-15 九阳股份有限公司 A kind of relay zero-crossing control method and cooking apparatus
CN212459957U (en) * 2020-03-18 2021-02-02 云南电网有限责任公司迪庆供电局 Auxiliary switch contact state detection circuit in circuit breaker detection device
CN212568933U (en) * 2020-04-29 2021-02-19 杭州涂鸦信息技术有限公司 Zero-crossing detection calibrating device and zero-crossing detection calibrating system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103186150A (en) * 2011-12-30 2013-07-03 北大方正集团有限公司 Alternating current heater control device and method
CN206497184U (en) * 2017-01-24 2017-09-15 深圳天川电气技术有限公司 A kind of detection means and the detection circuit for contactor
CN109507547A (en) * 2018-11-08 2019-03-22 杭州德意电器股份有限公司 A kind of household electrical appliances plug discharging test control device and its control method
CN110459433A (en) * 2019-08-27 2019-11-15 九阳股份有限公司 A kind of relay zero-crossing control method and cooking apparatus
CN212459957U (en) * 2020-03-18 2021-02-02 云南电网有限责任公司迪庆供电局 Auxiliary switch contact state detection circuit in circuit breaker detection device
CN212568933U (en) * 2020-04-29 2021-02-19 杭州涂鸦信息技术有限公司 Zero-crossing detection calibrating device and zero-crossing detection calibrating system

Similar Documents

Publication Publication Date Title
CN106405313B (en) The rosin joint test device and test method of chip
CN106526456B (en) Integrated circuit on-line testing device and testing method
CN106707158A (en) Time relay calibration device and calibration method thereof
CN204188783U (en) A kind of proving installation of Switching Power Supply
CN215932107U (en) Poor contact detection circuit in capacitor leakage current and insulation resistance test
CN110763992A (en) AC/DC comprehensive test method for on-load tap-changer of large transformer
CN111751622A (en) Method and system for measuring circuit breaker loop resistance
CN103064001A (en) Detecting method and detecting device of driving board of inverter compressor
CN116973741A (en) Detection method for zero-crossing on-off parameters of relay
CN105467218A (en) Contact resistance testing method of circuit breaker used for short-circuit protection
CN205067654U (en) A online test appearance for detecting opto -coupler
CN207946515U (en) Mutual inductor polarity tester
CN216560948U (en) Wiring harness detection device for distribution automation terminal
CN210347864U (en) Automatic checking device for key characteristics of nuclear-grade commercial item relay
JPH07301646A (en) Printed circuit board inspecting device
CN213337987U (en) Connecting wire automatic detection circuit and device
CN112068038A (en) Detection apparatus for seek best shielding number of turns of flyback transformer
CN204166076U (en) A kind of Multifunction silicon controlled tester being applied to big current rectifying installation
CN111638450A (en) Relay contact service life detection system and detection method thereof
CN204536522U (en) A kind of quick self-checking device of Transformer Winding frequency response characteristic p-wire
CN107179520B (en) Test control method and device for secondary electron module of zero-flux current transformer
CN215871102U (en) Connector device for quickly switching star and triangle connection method of three-phase motor
CN217484455U (en) Analog load driving circuit for detecting multi-quality items of electric control board
CN214335088U (en) Integrated self-adaptive electrical parameter testing device for quality safety monitoring
CN216848067U (en) Portable six-in-one spot inspection device

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