Automatic testing system for electric eye device

By designing an automatic test system, using the main control device and automatic test module, combined with the drive, blocking and detection circuit, fully automatic testing of the electric eye device is realized, solving the problems of low testing efficiency and limited accuracy in the existing technology, and realizing the Efficient and accurate detection of the electric eye device and real-time display of quality status.

CN110440845BActive Publication Date: 2024-11-19FOSHAN FAENZA SANITARY WARE
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN201910643362.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-07-17
Publication Date
2024-11-19
Estimated Expiration
2039-07-17

AI Technical Summary

Technical Problem

The testing methods of existing electrical eye devices require manual operation, are inefficient and difficult to fully automate, resulting in limited testing efficiency and accuracy.

Method used

An automatic testing system for the electric eye device including the main control device and the automatic testing module is designed. Through the combination of the drive device, the blocking device, the electric eye device and the detection circuit, the automatic detection and testing are realized, and the function selection circuit, the distance setting circuit, The circuit components such as the driving control circuit, signal conversion circuit and indication circuit can automatically detect the pulse signal and induction distance of the electro-eye device under the control of the main control device.

Benefits of technology

It realizes fully automatic testing of the electric eye device, which can accurately determine whether the electric eye device is qualified and displays the quality status in real time, improving the testing efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110440845B_ABST
    Figure CN110440845B_ABST
Patent Text Reader

Abstract

The present invention discloses an automatic test system for an electric eye device, comprising a main control device and at least one group of automatic test modules connected to the main control device, wherein the automatic test modules are arranged on a detection station and correspond to the detection station one by one; each automatic test module comprises a driving device, a blocking device, an electric eye device and a detection circuit; the driving device is respectively connected to the main control device and the blocking device, and is used to drive the blocking device to move under the control of the main control device; the electric eye device is used to generate a pulse signal according to the distance between the electric eye device and the blocking device; the detection circuit is respectively connected to the main control device and the electric eye device, and is used to send a pulse signal to the main control device to drive the control device, and receive a pulse signal of the electric eye device to detect the electric eye device. The present invention can realize automatic testing of the electric eye device, with high accuracy and convenient operation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of bathroom equipment, and in particular to an automatic testing system for an electric eye device. Background Art

[0002] With the development of sanitary ware, the application of induction sanitary ware is becoming more and more widespread, and the electric eye is a core component of induction sanitary ware. It controls the action of the solenoid valve by sensing the distance between people or objects and it to achieve automatic flushing. In the design, manufacturing and quality management process of the electric eye, its sensing distance, static current, solenoid valve drive pulse and other parameters need to be strictly controlled.

[0003] The existing test method of the electric eye is: the tester first fixes the electric eye to be tested on a platform at a certain height, connects the input end to the input power supply through an ammeter; the output end is connected to the solenoid valve, and then the distance parameters are set by a handheld remote control. After setting, the induction baffle is pushed by hand to move, and the pulse signal of the solenoid valve is judged by the sound of the solenoid valve. When multiple people are testing, there is interference, and the testers need to concentrate highly on listening, and the test efficiency is low. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide an automatic test system for an electric eye device which has a simple structure and is easy to operate, and can realize automatic testing of the electric eye device.

[0005] In order to solve the above technical problems, the present invention provides an automatic testing system for an electric eye device, comprising a main control device and at least one group of automatic testing modules connected to the main control device, wherein the automatic testing modules are arranged on the detection stations and correspond to the detection stations one by one; each automatic testing module comprises a driving device, a blocking device, an electric eye device and a detection circuit; the driving device is respectively connected to the main control device and the blocking device, and is used to drive the blocking device to move under the control of the main control device; the electric eye device is used to generate a pulse signal according to the distance between the electric eye device and the blocking device; the detection circuit is respectively connected to the main control device and the electric eye device, and is used to send a pulse signal to the main control device to drive the control device, and receive the pulse signal of the electric eye device to detect the electric eye device.

[0006] As an improvement of the above scheme, the detection circuit includes: a function selection circuit for selecting the function to be detected; a distance setting circuit for setting the sensing distance between the electric eye device and the blocking device; a drive control circuit for sending a pulse signal to the main control device; a signal conversion circuit for converting the pulse signal sent by the electric eye device into a level signal; and a control chip, which is respectively connected to the function selection circuit, the distance setting circuit, the drive control circuit and the signal conversion circuit.

[0007] As an improvement of the above solution, the detection circuit further includes an indication circuit connected to the control chip, and the indication circuit includes a light emitting diode.

[0008] As an improvement of the above solution, the input end of the function selection circuit is connected to the control chip, and the output end is connected to the main control device.

[0009] As an improvement of the above solution, the distance setting circuit includes a transistor, the base of the transistor is connected to the control chip, the emitter is grounded, and the collector is connected to the power supply.

[0010] As an improvement of the above solution, the distance setting circuit further includes an infrared emitting tube, and the collector of the transistor is connected to a power supply via the infrared emitting tube.

[0011] As an improvement of the above solution, the transistor is an NPN transistor.

[0012] As an improvement of the above scheme, the drive control circuit includes a forward sub-circuit, a backward sub-circuit and a reset sub-circuit; the input end of the forward sub-circuit is connected to the control chip, and the output end is connected to the main control device; the input end of the backward sub-circuit is connected to the control chip, and the output end is connected to the main control device; the input end of the reset sub-circuit is connected to the control chip, and the output end is connected to the main control device.

[0013] As an improvement of the above scheme, the signal conversion circuit includes a valve opening pulse conversion circuit and a valve closing pulse conversion circuit; the valve opening pulse conversion circuit includes a valve opening photoelectric coupler, the input end of the valve opening photoelectric coupler is connected to the electric eye device, and the output end is connected to the control chip; the valve closing pulse conversion circuit includes a valve closing photoelectric coupler, the input end of the valve closing photoelectric coupler is connected to the electric eye device, and the output end is connected to the control chip.

[0014] As an improvement of the above solution, the electric eye device automatic testing system also includes a touch display screen connected to the main control device.

[0015] The beneficial effects of implementing the present invention are:

[0016] The present invention realizes automatic testing of one or more electric eye devices individually or simultaneously by flexibly starting one or more automatic testing modules.

[0017] The testing process of the present invention realizes full-automatic operation, can accurately judge whether the electric eye device is qualified, and can display the quality status in real time. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 It is a structural schematic diagram of the automatic testing system of the electric eye device of the present invention;

[0019] Figure 2It is a circuit diagram of the detection circuit in the present invention. DETAILED DESCRIPTION

[0020] In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. It is hereby stated that the directional terms such as up, down, left, right, front, back, inside, outside, etc. that appear or will appear in the text of the present invention are only based on the accompanying drawings of the present invention, and are not specific limitations of the present invention.

[0021] See also Figure 1 , Figure 1 The specific structure of the automatic test system of the electric eye device of the present invention is shown, which includes a main control device 1 and at least one group of automatic test modules connected to the main control device 1, and the automatic test modules are arranged on the detection stations and correspond to the detection stations one by one. Therefore, the tester can start one or more automatic test modules according to actual needs to realize the simultaneous automatic test of one or more electric eye devices.

[0022] Each automatic test module includes a driving device 2, a blocking device 3, an electric eye device 4 and a detection circuit. Specifically:

[0023] The main control device 1 is connected to the detection circuit and the drive device 2 respectively, and is used to control the drive device 2 according to the pulse signal of the detection circuit. Preferably, the main control device 1 is preferably a PLC controller, but it is not limited to this, as long as the motor can be driven according to the pulse signal.

[0024] The driving device 2 is connected to the blocking device 3 and is used to drive the blocking device 3 to move. The driving device 2 includes a servo motor and a screw rod, and the servo motor drives the blocking device 3 to move forward / backward / reset through the screw rod.

[0025] The electric eye device 4 is used to generate a pulse signal according to the distance between the electric eye device 4 and the blocking device 3. It should be noted that when the electric eye device 4 works normally, it can detect the blocking device 3 within the detection range and generate a pulse signal. When the electric eye device 4 is abnormal, it cannot detect the blocking device 3 within the detection range, that is, it cannot generate a pulse signal. Therefore, whether the electric eye device 4 is abnormal can be determined by judging whether the electric eye device 4 can detect the blocking device 3 within the detection range.

[0026] The detection circuit is connected to the electric eye device 4, respectively, and is used to receive the pulse signal of the electric eye device 4 to detect the electric eye device 4. It should be noted that when the blocking device 3 moves within a preset range, when the detection circuit receives the pulse signal sent by the electric eye device 4, it indicates that the electric eye device 4 is normal, and when the detection circuit does not receive the pulse signal sent by the electric eye device 4, it indicates that the electric eye device 4 is abnormal.

[0027] During the automatic test, the tester presets the distance value through the detection circuit; the detection circuit sends a pulse signal to the main control device 1 according to the preset distance value; the main control device 1 controls the driving device 2 according to the pulse signal, thereby driving the blocking device 3 to move according to the preset distance value; during the movement, the electric eye device 4 detects the blocking device 3 in real time, and when the electric eye device 4 detects the blocking device 3, it sends a pulse signal to the detection circuit, and when the electric eye device 4 does not detect the blocking device 3, it does not send a pulse signal to the detection circuit; accordingly, when the detection circuit receives the pulse signal sent by the electric eye device 4, it indicates that the electric eye device 4 is normal, and when the detection circuit does not receive the pulse signal sent by the electric eye device 4, it indicates that the electric eye device 4 is abnormal. Therefore, through the effective combination of the main control device 1 and the automatic test module, the electric eye device 4 can be accurately detected.

[0028] like Figure 2 As shown, the detection circuit includes a function selection circuit A, a distance setting circuit B, a drive control circuit C, a signal conversion circuit D and a control chip U1.

[0029] The control chip U1 is respectively connected to the function selection circuit A, the distance setting circuit B, the drive control circuit C and the signal conversion circuit D. The model of the control chip U1 is preferably PIC16F676, but not limited thereto.

[0030] Function selection circuit A is used to select the function to be tested. Specifically, the input end of the function selection circuit A is connected to the control chip U1, and the output end is connected to the main control device 1. The tester can select the faucet function, the large flush function or the small flush function through the function selection circuit A, thereby realizing the detection of different functions with strong flexibility. Preferably, the function selection circuit A is connected to the eighth pin of the control chip U1.

[0031] The distance setting circuit B is used to set the sensing distance between the electric eye device 4 and the blocking device 3. Specifically, the distance setting circuit B includes a transistor Q1, the base of which is connected to the control chip U1, the emitter is grounded, and the collector is connected to the power supply. Further, the distance setting circuit B also includes an infrared emitting tube D2, the collector of which is connected to the power supply through the infrared emitting tube D2; the transistor Q1 is preferably an NPN transistor. Preferably, the distance setting circuit B is connected to the ninth pin of the control chip U1.

[0032] The driving control circuit C is used to send a pulse signal to the main control device 1. Specifically, the driving control circuit C includes a forward subcircuit, a backward subcircuit and a reset subcircuit; the input end of the forward subcircuit is connected to the control chip U1, and the output end is connected to the main control device 1, and the forward subcircuit is used to send a forward pulse signal to the main control device 1; the input end of the backward subcircuit is connected to the control chip U1, and the output end is connected to the main control device 1, and the backward subcircuit is used to send a backward pulse signal to the main control device 1; the input end of the reset subcircuit is connected to the control chip U1, and the output end is connected to the main control device 1, and the reset subcircuit is used to send a reset pulse signal to the main control device 1. Preferably, the forward subcircuit, the backward subcircuit and the reset subcircuit are connected to the fifth, sixth and seventh pins of the control chip U1 in sequence.

[0033] The signal conversion circuit D is used to convert the pulse signal sent by the electric eye device 4 into a level signal. Specifically, the signal conversion circuit D includes a valve opening pulse conversion circuit and a valve closing pulse conversion circuit; the valve opening pulse conversion circuit includes a valve opening photoelectric coupler U2, the input end of the valve opening photoelectric coupler U2 is connected to the electric eye device 4, and the output end is connected to the control chip U1; the valve closing pulse conversion circuit includes a valve closing photoelectric coupler U3, the input end of the valve closing photoelectric coupler U3 is connected to the electric eye device 4, and the output end is connected to the control chip U1. The valve opening pulse conversion circuit and the valve closing pulse conversion circuit are connected to the twelfth and thirteenth pins of the control chip U1 in sequence.

[0034] During the automatic test, the tester selects the corresponding function (such as faucet function, large flush function or small flush function) through the function selection circuit A, and starts the electric eye device and sets the sensing distance through the distance setting circuit B; after completing the setting of the sensing distance, the control chip U1 controls the forward, backward or reset of the blocking device 3 through the driving control circuit C; during the movement of the blocking device 3, the switch valve pulse signal in the electric eye device 4 is converted into a low-current level signal through the signal conversion circuit D, so as to facilitate the control chip U1 to detect. Accordingly, when the control chip U1 receives the level signal, it means that the electric eye device 4 is normal, and when the control chip U1 does not receive the level signal, it means that the electric eye device 4 is abnormal.

[0035] Further, the detection circuit also includes an indication circuit E connected to the control chip U1, and the indication circuit E includes a light emitting diode D1. Preferably, the indication circuit E is connected to the third pin of the control chip U1. Therefore, when the control chip U1 detects the state of the electric eye device 4, it can be displayed through the indication circuit E, so that the tester can timely understand whether the electric eye device 4 is qualified according to the state of the light emitting diode D1 (such as constant light / flash, color).

[0036] In addition, the electric eye device automatic test system also includes a touch screen 5 connected to the main control device 1. The tester can quickly set and read the test data / parameters through the touch screen 5, which is convenient, fast and intuitive.

[0037] As can be seen from the above, the present invention has the following beneficial effects:

[0038] 1. The present invention flexibly starts one or more automatic testing modules, thereby realizing automatic testing of one or more electric eye devices individually or simultaneously.

[0039] 2. The testing process of the present invention realizes full-automatic operation, can accurately judge whether the electric eye device is qualified, and can display the quality status in real time.

[0040] 3. The present invention can simultaneously realize the infrared sensing distance setting, the sensing distance detection and the quiescent current test, and can effectively meet the needs of development tests such as sample testing and life testing.

[0041] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. An automatic test system for electric eye devices, It is characterized in that It includes a main control device and at least one group of automatic test modules connected to the main control device, wherein the automatic test modules are arranged on the test stations and correspond to the test stations one by one; Each automatic test module includes a driving device, a blocking device, an electric eye device and a detection circuit; The driving device is connected to the main control device and the blocking device respectively, and is used to drive the blocking device to move under the control of the main control device; The electric eye device is used to generate a pulse signal according to the distance between the electric eye device and the blocking device; The detection circuit is connected to the main control device and the electric eye device, respectively, for sending a pulse signal to the main control device to drive the control device, and receiving a pulse signal from the electric eye device to detect the electric eye device; During the automatic test, the detection circuit sends a pulse signal to the main control device according to the preset distance value, and the main control device controls the driving device according to the pulse signal, thereby driving the blocking device to move according to the preset distance value; During the movement, the electric eye device detects the blocking device in real time. When the electric eye device detects the blocking device, it sends a pulse signal to the detection circuit. When the electric eye device does not detect the blocking device, it does not send a pulse signal to the detection circuit. When the detection circuit receives the pulse signal sent by the electric eye device, it indicates that the electric eye device is normal. When the detection circuit does not receive the pulse signal sent by the electric eye device, it indicates that the electric eye device is abnormal.

2. The automatic testing system for electric eye device as claimed in claim 1, It is characterized in that The detection circuit comprises: A function selection circuit, used for selecting the function to be detected; A distance setting circuit, used for setting the sensing distance between the electric eye device and the blocking device; A drive control circuit, used for sending a pulse signal to a main control device; A signal conversion circuit, used for converting the pulse signal sent by the electric eye device into a level signal; A control chip is connected to the function selection circuit, the distance setting circuit, the drive control circuit and the signal conversion circuit respectively.

3. The automatic testing system for electric eye device as claimed in claim 2, It is characterized in that The detection circuit also includes an indication circuit connected to the control chip, and the indication circuit includes a light emitting diode.

4. The automatic testing system for electric eye device as claimed in claim 2, It is characterized in that The input end of the function selection circuit is connected to the control chip, and the output end is connected to the main control device.

5. The automatic testing system for electric eye device as claimed in claim 2, It is characterized in that The distance setting circuit comprises a triode, the base of the triode is connected to the control chip, the emitter is grounded, and the collector is connected to the power supply.

6. The automatic testing system for electric eye device as claimed in claim 5, It is characterized in that The distance setting circuit also includes an infrared emitting tube, and the collector of the triode is connected to a power source through the infrared emitting tube.

7. The automatic testing system for electric eye device as claimed in claim 5, It is characterized in that The transistor is an NPN transistor.

8. The automatic testing system for electric eye device as claimed in claim 2, It is characterized in that The drive control circuit includes a forward subcircuit, a backward subcircuit and a reset subcircuit; The input end of the forward subcircuit is connected to the control chip, and the output end is connected to the main control device; The input end of the backward subcircuit is connected to the control chip, and the output end is connected to the main control device; The input end of the reset subcircuit is connected to the control chip, and the output end is connected to the main control device.

9. The automatic testing system for electric eye device as claimed in claim 2, It is characterized in that The signal conversion circuit includes a valve opening pulse conversion circuit and a valve closing pulse conversion circuit; The valve-opening pulse conversion circuit comprises a valve-opening photoelectric coupler, the input end of the valve-opening photoelectric coupler is connected to the electric eye device, and the output end is connected to the control chip; The valve closing pulse conversion circuit comprises a valve closing photoelectric coupler, the input end of the valve closing photoelectric coupler is connected to the electric eye device, and the output end is connected to the control chip.

10. The automatic testing system for electric eye device as claimed in claim 1, It is characterized in that Also included is a touch screen display connected to the main control unit.

Citation Information

Patent Citations

  • Reflection-type infrared photoelectric sensor and program control frequency distance adjustment method thereof

    CN105005094A

  • Testing device and method of high frequency low voltage ultrasonic sensor

    CN107389117A

  • A material level control device and system for fault self diagnosis

    CN204808038U

  • Electric eye device automatic test system

    CN210719228U

  • Switching power supply device

    US20050063201A1