CN210719228U - Automatic test system for electric eye device - Google Patents
Automatic test system for electric eye device Download PDFInfo
- Publication number
- CN210719228U CN210719228U CN201921128446.7U CN201921128446U CN210719228U CN 210719228 U CN210719228 U CN 210719228U CN 201921128446 U CN201921128446 U CN 201921128446U CN 210719228 U CN210719228 U CN 210719228U
- Authority
- CN
- China
- Prior art keywords
- circuit
- electric eye
- main control
- control device
- control chip
- 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
Images
Landscapes
- Eye Examination Apparatus (AREA)
Abstract
The utility model discloses an automatic testing system of an electric eye device, which comprises a main control device and at least one group of automatic testing modules connected with the main control device, wherein the automatic testing modules are arranged on detection stations and correspond to the detection stations 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 with the main control device and the blocking device and is used for driving the blocking device to move under the control of the main control device; the electric eye device is used for generating a pulse signal according to the distance between the electric eye device and the blocking device; the detection circuit is respectively connected with the main control device and the electric eye device and used for sending pulse signals to the main control device to drive the control device and receiving the pulse signals of the electric eye device to detect the electric eye device. Adopt the utility model discloses, can realize the automatic test of electric eye device, the accuracy is high, convenient operation.
Description
Technical Field
The utility model relates to a bathroom equipment technical field especially relates to an electric eye device automatic test system.
Background
Along with the development of bathrooms, the application of the induction sanitary ware is wider and wider, and the electric eye is a core component in the induction sanitary ware and controls the action of the electromagnetic valve by sensing the distance between a person or an object and the electric eye, so that automatic flushing is realized. In the design, manufacture and quality management processes of the electric eye, parameters such as induction distance, quiescent current, electromagnetic valve driving pulse and the like need to be strictly controlled.
The existing test method of the electric eye comprises the following steps: firstly, fixing an electric eye to be tested on a platform with a certain height by a tester, and connecting an input end to an input power supply through an ammeter; the output is connected to the solenoid valve, then handheld remote controller sets up apart from the parameter, and the hand push response baffle removes after setting up, judges the pulse signal of solenoid valve through the sound of solenoid valve action, and many people test, the existence is closed up, and the tester needs high concentration to listen, and efficiency of software testing is lower.
SUMMERY OF THE UTILITY MODEL
The utility model aims to solve the technical problem that an automatic test system of electric eye device with simple structure and convenient operation can be realized.
In order to solve the technical problem, the utility model provides an automatic testing system of an electric eye device, which comprises a main control device and at least one group of automatic testing modules connected with the main control device, wherein the automatic testing modules are arranged on detection stations and correspond to the detection stations 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 with the main control device and the blocking device and is used for driving the blocking device to move under the control of the main control device; the electric eye device is used for generating a pulse signal according to the distance between the electric eye device and the blocking device; the detection circuit is respectively connected with the main control device and the electric eye device and used for sending pulse signals to the main control device to drive the control device and receiving the pulse signals of the electric eye device to detect the electric eye device.
As an improvement of the above aspect, the detection circuit includes: the function selection circuit is used for selecting a function to be detected; the distance setting circuit is used for setting the induction distance between the electric eye device and the blocking device; the driving control circuit is used for sending a pulse signal to the main control device; the signal conversion circuit is used for converting the pulse signal sent by the electric eye device into a level signal; and the control chip is respectively connected with the function selection circuit, the distance setting circuit, the driving control circuit and the signal conversion circuit.
As an improvement of the above scheme, the detection circuit further comprises an indication circuit connected with the control chip, and the indication circuit comprises a light emitting diode.
As an improvement of the scheme, the input end of the function selection circuit is connected with the control chip, and the output end of the function selection circuit is connected with the main control device.
As an improvement of the scheme, the distance setting circuit comprises a triode, wherein the base electrode of the triode is connected with the control chip, the emitting electrode of the triode is grounded, and the collecting electrode of the triode is connected with the power supply.
As an improvement of the above scheme, the distance setting circuit further comprises an infrared emission tube, and a collector electrode of the triode is connected with a power supply through the infrared emission tube.
As an improvement of the above scheme, the triode is an NPN type triode.
As an improvement of the above scheme, the driving 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 with the control chip, and the output end of the forward sub-circuit is connected with the main control device; the input end of the backward sub-circuit is connected with the control chip, and the output end of the backward sub-circuit is connected with the main control device; the input end of the reset sub-circuit is connected with the control chip, and the output end of the reset sub-circuit is connected with the main control device.
As an improvement of the above scheme, the signal conversion circuit comprises 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 with an electric eye device, and the output end of the valve opening photoelectric coupler is connected with a 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 with the electric eye device, and the output end of the valve closing photoelectric coupler is connected with the control chip.
As an improvement of the above scheme, the automatic testing system for the electric eye device further comprises a touch display screen connected with the main control device.
Implement the utility model has the advantages that:
the utility model discloses a start one or more automatic test module in a flexible way to realize the independent or automatic test simultaneously of one or more electric eye device.
The utility model discloses a full automatic operation is realized to the testing process, can judge accurately whether qualified electric eye device to can show the quality state in real time.
Drawings
Fig. 1 is a schematic structural diagram of the automatic testing system for an electric eye device of the present invention;
fig. 2 is a circuit diagram of the detection circuit of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings. It is only noted that the invention is intended to be limited to the specific forms set forth herein, including any reference to the drawings, as well as any other specific forms of embodiments of the invention.
Referring to fig. 1, fig. 1 shows the specific structure of the automatic testing system for electric eye device of the present invention, which comprises a main control device 1 and at least one set of automatic testing modules connected to the main control device 1, wherein the automatic testing modules are arranged on the detection stations and correspond to the detection stations one to one. Thus, the tester may activate one or more automatic test modules according to actual needs to enable simultaneous automatic testing of one or more electric-eye devices.
Each automatic test module comprises a driving device 2, a blocking device 3, an electric eye device 4 and a detection circuit. Specifically, the method comprises the following steps:
the main control device 1 is connected to the detection circuit and the driving device 2, respectively, and is configured to control the driving device 2 according to a pulse signal of the detection circuit. Preferably, the main control device 1 is preferably a PLC controller, but is not limited thereto as long as the motor driving can be realized according to the pulse signal.
The driving device 2 is connected with the blocking device 3 and is used for driving the blocking device 3 to move. The driving device 2 comprises a servo motor and a screw rod, and the servo motor drives the blocking device 3 to move forwards/backwards/reset through the screw rod.
The electric eye device 4 is used for generating 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 is operating normally, the blocking device 3 in the detection range may be detected and a pulse signal may be generated, and when the electric eye device 4 is abnormal, the blocking device 3 in the detection range may not be detected, that is, the pulse signal may not be generated, and therefore, it is possible to determine whether the electric eye device 4 is abnormal by determining whether the electric eye device 4 may detect the blocking device 3 in the detection range.
The detection circuit is connected with the electric eye device 4 respectively and is used for receiving the pulse signal of the electric eye device 4 to detect the electric eye device 4. It should be noted that the blocking device 3 moves within the preset range, and 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.
During automatic testing, a tester presets a distance value through a detection circuit; the detection circuit sends a pulse signal to the main control device 1 according to a preset distance value; the main control device 1 controls the driving device 2 according to the pulse signal, so as to drive the blocking device 3 to move according to a preset distance value; in the moving process, the electric eye device 4 detects the blocking device 3 in real time, when the electric eye device 4 detects the blocking device 3, a pulse signal is sent to the detection circuit, and when the electric eye device 4 does not detect the blocking device 3, the pulse signal is not sent to the detection circuit; accordingly, when the detection circuit receives the pulse signal transmitted 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 transmitted by the electric-eye device 4, it indicates that the electric-eye device 4 is abnormal. Therefore, the main control device 1 and the automatic test module are effectively combined, so that the electric eye device 4 can be accurately detected.
As shown in fig. 2, the detection circuit includes a function selection circuit a, a distance setting circuit B, a driving control circuit C, a signal conversion circuit D, and a control chip U1.
The control chip U1 is connected to the function selection circuit a, the distance setting circuit B, the drive control circuit C, and the signal conversion circuit D, respectively. The model of the control chip U1 is preferably, but not limited to, PIC16F 676.
The function selection circuit a is used to select a function to be detected. Specifically, the input end of the function selection circuit a is connected with the control chip U1, the output end is connected with the main control device 1, and a tester can select a faucet function, a large flushing function or a small flushing function through the function selection circuit a, so that detection of different functions is realized, and the flexibility is strong. Preferably, the function selection circuit a is connected to the eighth pin of the control chip U1.
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 comprises a transistor Q1, wherein the base of the transistor Q1 is connected with the control chip U1, the emitter is grounded, and the collector is connected with the power supply. Further, the distance setting circuit B further comprises an infrared emission tube D2, and the collector of the triode Q1 is connected to a power supply through the infrared emission tube D2; the transistor Q1 is preferably an NPN transistor. Preferably, the distance setting circuit B is connected to a ninth pin of the control chip U1.
The drive control circuit C is used to transmit a pulse signal to the main control device 1. Specifically, the driving control circuit C includes a forward sub-circuit, a backward sub-circuit, and a reset sub-circuit; the input end of the forward sub-circuit is connected with the control chip U1, the output end of the forward sub-circuit is connected with the main control device 1, and the forward sub-circuit is used for sending forward pulse signals to the main control device 1; the input end of the backward sub-circuit is connected with the control chip U1, the output end of the backward sub-circuit is connected with the main control device 1, and the backward sub-circuit is used for sending backward pulse signals to the main control device 1; the input end of the reset sub-circuit is connected with the control chip U1, the output end of the reset sub-circuit is connected with the main control device 1, and the reset sub-circuit is used for sending reset pulse signals to the main control device 1. Preferably, the forward sub-circuit, the backward sub-circuit and the reset sub-circuit are sequentially connected with the fifth pin, the sixth pin and the seventh pin of the control chip U1.
The signal conversion circuit D is configured to convert the pulse signal transmitted from the electric-eye device 4 into a level signal. Specifically, the signal conversion circuit D includes an open valve pulse conversion circuit and a close valve pulse conversion circuit; the valve opening pulse conversion circuit comprises a valve opening photoelectric coupler U2, the input end of the valve opening photoelectric coupler U2 is connected with the electric eye device 4, and the output end of the valve opening photoelectric coupler U2 is connected with the control chip U1; the valve closing pulse conversion circuit comprises a valve closing photoelectric coupler U3, the input end of the valve closing photoelectric coupler U3 is connected with the electric eye device 4, and the output end of the valve closing photoelectric coupler U3 is connected with the control chip U1. And the valve opening pulse conversion circuit and the valve closing pulse conversion circuit are sequentially connected with a twelfth pin and a thirteenth pin of the control chip U1.
During automatic testing, a tester selects a corresponding function (such as a faucet function, a large flushing function or a small flushing function) through the function selection circuit A, and starts the electric eye device through the distance setting circuit B and sets a sensing distance; after the setting of the sensing distance is finished, the control chip U1 controls the forward movement, the backward movement or the reset of the blocking device 3 through the driving control circuit C; during the movement of the blocking device 3, the switching valve pulse signal in the electric eye device 4 is converted into a low-current level signal by the signal conversion circuit D, so that the control chip U1 can detect the low-current level signal. Accordingly, when the control chip U1 receives the level signal, it indicates that the electric-eye device 4 is normal, and when the control chip U1 does not receive the level signal, it indicates that the electric-eye device 4 is abnormal.
Further, the detection circuit also comprises an indicating circuit E connected with the control chip U1, and the indicating circuit E comprises a light emitting diode D1. Preferably, the indication circuit E is connected to a third pin of the control chip U1. Therefore, when the control chip U1 detects the status of the electric-eye device 4, the status can be displayed by the indicating circuit E, so that the tester can know whether the electric-eye device 4 is qualified or not in time according to the status (e.g. constant brightness/flashing, color) of the light emitting diode D1.
In addition, the automatic test system for the electric eye device further comprises a touch display screen 5 connected with the main control device 1. The tester can quickly set and read the test data/parameters through touching the display screen 5, and the method is convenient and quick and has strong intuition.
Therefore, the utility model discloses following beneficial effect has:
1. the utility model discloses a start one or more automatic test module in a flexible way to realize the independent or automatic test simultaneously of one or more electric eye device.
2. The utility model discloses a full automatic operation is realized to the testing process, can judge accurately whether qualified electric eye device to can show the quality state in real time.
3. The utility model discloses can realize infrared induction distance simultaneously and set for, the induction distance detects and merges with the quiescent current test, can satisfy the demand of development tests such as test article test, life-span test effectively.
The foregoing is a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, many modifications and decorations can be made without departing from the principle of the invention, and these modifications and decorations are also regarded as the protection scope of the present invention.
Claims (10)
1. An automatic testing system for an electric eye device is characterized by comprising a main control device and at least one group of automatic testing modules connected with the main control device, wherein the automatic testing modules are arranged on detection stations and correspond to the detection stations 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 with the main control device and the blocking device and is used for driving the blocking device to move under the control of the main control device;
the electric eye device is used for generating a pulse signal according to the distance between the electric eye device and the blocking device;
the detection circuit is respectively connected with the main control device and the electric eye device and used for sending pulse signals to the main control device to drive the control device and receiving the pulse signals of the electric eye device to detect the electric eye device.
2. The electro-ocular device automatic test system of claim 1, wherein the detection circuit comprises:
the function selection circuit is used for selecting a function to be detected;
the distance setting circuit is used for setting the induction distance between the electric eye device and the blocking device;
the driving control circuit is used for sending a pulse signal to the main control device;
the signal conversion circuit is used for converting the pulse signal sent by the electric eye device into a level signal;
and the control chip is respectively connected with the function selection circuit, the distance setting circuit, the driving control circuit and the signal conversion circuit.
3. The electro-ocular device automatic test system of claim 2, wherein the detection circuit further comprises an indicator circuit connected to the control chip, the indicator circuit comprising a light emitting diode.
4. The electro-ocular device automatic test system of claim 2, wherein the function selection circuit has an input connected to the control chip and an output connected to the main control device.
5. The system of claim 2, wherein the distance setting circuit comprises a transistor having a base connected to the control chip, an emitter connected to ground, and a collector connected to a power source.
6. The system of claim 5, wherein the distance setting circuit further comprises an infrared emitter, and wherein the collector of the transistor is connected to a power source via the infrared emitter.
7. The electro-ocular device automatic test system of claim 5, wherein the transistor is an NPN transistor.
8. The electro-ocular device automatic test system of claim 2, wherein 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 with the control chip, and the output end of the forward sub-circuit is connected with the main control device;
the input end of the backward sub-circuit is connected with the control chip, and the output end of the backward sub-circuit is connected with the main control device;
the input end of the reset sub-circuit is connected with the control chip, and the output end of the reset sub-circuit is connected with the main control device.
9. The electro-ocular device automatic test system of claim 2, wherein the signal conversion circuit comprises an open valve pulse conversion circuit and a closed valve 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 with an electric eye device, and the output end of the valve opening photoelectric coupler is connected with a 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 with the electric eye device, and the output end of the valve closing photoelectric coupler is connected with the control chip.
10. The electro-ocular device automatic test system of claim 1, further comprising a touch display screen connected to the master control device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201921128446.7U CN210719228U (en) | 2019-07-17 | 2019-07-17 | Automatic test system for electric eye device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201921128446.7U CN210719228U (en) | 2019-07-17 | 2019-07-17 | Automatic test system for electric eye device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN210719228U true CN210719228U (en) | 2020-06-09 |
Family
ID=70928206
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201921128446.7U Active CN210719228U (en) | 2019-07-17 | 2019-07-17 | Automatic test system for electric eye device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN210719228U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110440845A (en) * | 2019-07-17 | 2019-11-12 | 佛山市法恩洁具有限公司 | A kind of electric eye device Auto-Test System |
-
2019
- 2019-07-17 CN CN201921128446.7U patent/CN210719228U/en active Active
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110440845A (en) * | 2019-07-17 | 2019-11-12 | 佛山市法恩洁具有限公司 | A kind of electric eye device Auto-Test System |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105866683B (en) | A kind of test macro of closed loop stepper motor and its driver | |
CN202600077U (en) | Multi-board combined test board and test system of remote controller | |
CN101413983B (en) | IGBT bridge circuit and drive protective circuit detection device | |
CN103019940B (en) | A kind of electric energy meter embedded software half simulation testing device | |
CN103487775B (en) | Intelligent digital micro resistor standard device | |
CN210719228U (en) | Automatic test system for electric eye device | |
CN111435143A (en) | Universal testing device and method | |
CN102207538A (en) | Multifunctional dry reed pipe tester | |
CN102901904B (en) | A kind of Multifunctional intelligent detection device for circuit board | |
CN207473046U (en) | A kind of test system of remote control circuitry plate | |
CN203480800U (en) | Display screen switching response time test system | |
CN102841287B (en) | Three-phase power circuit detection method and three-phase power circuit detection system | |
CN210894557U (en) | Transformer substation cable core checking and measuring instrument | |
CN208239888U (en) | Entire car controller automatic testing equipment | |
CN203365564U (en) | Automatic testing system of remote controller | |
CN101770030A (en) | Distance measuring device and control method thereof | |
CN110440845A (en) | A kind of electric eye device Auto-Test System | |
CN211042693U (en) | Detection apparatus for two line control valve durability | |
CN212112224U (en) | Thing networking intelligent household equipment testing arrangement | |
CN201408246Y (en) | Infrared receiver module automatic test instrument | |
CN209102870U (en) | A kind of automobile-used single-pole double-throw switch (SPDT) performance automatic test system | |
CN210427730U (en) | Circuit board switching value input automatic checkout device | |
CN206580410U (en) | A kind of lift car simulation detection system | |
CN206057472U (en) | A kind of device of quick detection infrared receiver tube open circuit | |
CN202013375U (en) | Multifunctional reed switch testing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |