Disclosure of Invention
An object of the utility model is to overcome prior art's defect, provide a sunlight sensor testing arrangement to improve sunlight sensor's detection efficiency, avoid the outflow of defective products.
The utility model discloses a realize like this:
the utility model provides a solar sensor testing arrangement, beat a module and test circuit including light source, controller, shading module, yields, the yields, shading module includes the first cylinder of first solenoid valve, light screen and drive light screen, first solenoid valve is connected with first cylinder electricity, the yields is beaten the module and is included the second solenoid valve, beat a frock and drive and beat the second cylinder that the frock was beaten the yields and is got ready, the second solenoid valve is connected with second cylinder electricity, test circuit includes that direct current supply circuit, customer use analog circuit, shading module circuit, yields are beaten a module circuit, customer use analog circuit's output and controller electricity are connected, first solenoid valve passes through shading module circuit and controller electricity and is connected, the second solenoid valve is beaten a module circuit and controller electricity through the yields and is connected.
Preferably, the dc power supply circuit includes a transformer J1, a rectifying circuit, a 24V regulated converter U1, a 12V regulated converter U2, and a 5V regulated converter U3, and the transformer J1, the rectifying circuit, the 24V regulated converter U1, the 12V regulated converter U2, and the 5V regulated converter U3 are connected in series in this order.
Preferably, the analog circuit used by the client includes a voltage stabilizing chip ADR445BRZ, a sunlight sensor socket JP5, a first output pin AIN7, a second output pin AIN8, a third output pin AIN9 and a fourth output pin AIN10, an input pin of the voltage stabilizing chip ADR445BRZ is electrically connected with an output pin of the 12V voltage stabilizing converter U2, an output pin of the voltage stabilizing chip ADR445BRZ is electrically connected with a first pin of the sunlight sensor socket JP5, the first output pin AIN7, the second output pin AIN8, the third output pin AIN9 and the fourth output pin AIN10 are electrically connected with the controller, two resistors are connected in series between the first output pin AIN7 and a second pin of the sunlight sensor socket JP5, four resistors are connected in series between the first output pin AIN7 and the second output pin AIN8, two resistors are connected in series between the second output pin n8 and a ground terminal,
two resistors are connected in series between the third output pin AIN9 and the third pin of the sunlight sensor socket JP5, four resistors are connected in series between the third output pin AIN9 and the fourth output pin AIN10, two resistors are connected in series between the fourth output pin AIN10 and the ground terminal,
the second pin of the solar sensor socket JP5, the third pin of the solar sensor socket JP5, the first output pin AIN7, the second output pin AIN8, the third output pin AIN9 and the fourth output pin AIN10 are all electrically connected to the ground through a capacitor.
Preferably, the light shielding module circuit comprises a first solenoid valve socket J3, a transistor Q2, and a diode D9, wherein a collector of the transistor Q2 is electrically connected to an input terminal of the diode D9, an output terminal of the diode D9 is electrically connected to a first pin of a first solenoid valve socket J3, an output terminal of the diode D9 is electrically connected to an output pin of the 24V zener converter U1, a collector of the transistor Q2 is electrically connected to a second pin of the first solenoid valve socket J3, a base of the transistor Q2 is electrically connected to the controller through a resistor R88, an output terminal of the resistor R88 is electrically connected to an output pin of the 5V zener converter U3 through a resistor R87, an emitter of the transistor Q2 is connected to the base of the transistor Q2 through a resistor, and an emitter of the transistor Q2 is grounded.
Preferably, the good product dotting module circuit comprises a second solenoid valve socket J4, a transistor Q3 and a diode D10, a collector of the transistor Q3 is electrically connected with an input end of a diode D10, an output end of the diode D10 is electrically connected with a second pin of the second solenoid valve socket J4, an output end of the diode D10 is electrically connected with an output pin of a 24V regulated voltage converter U1, a collector of the transistor Q3 is electrically connected with a first pin of the second solenoid valve socket J4, a base of the transistor Q3 is electrically connected with the controller through a resistor R91, an output end of the resistor R91 is electrically connected with an output pin of a 5V regulated voltage converter U3 through a resistor R90, an emitter of the transistor Q3 is connected with a base of the transistor Q3 through a resistor, and an emitter of the transistor Q3 is grounded.
Preferably, the solar sensor testing device further comprises a buzzer circuit, the buzzer circuit comprises a triode Q1 and a buzzer BL1, a collector of the triode Q1 is electrically connected with a cathode of the buzzer, an anode of the buzzer BL1 is electrically connected with an output pin of the 5V regulated voltage converter U3, a base of the triode Q1 is electrically connected with the controller through a resistor R85, an output end of the resistor R85 is electrically connected with an output pin of the 5V regulated voltage converter U3 through a resistor R84, an emitter of the triode Q1 is connected with the base of the triode Q1 through a resistor, and an emitter of the triode Q1 is grounded.
Preferably, the sunlight sensor testing device further comprises a pedal circuit, the pedal circuit comprises a pedal socket J2, a first pin of the pedal socket J2 is electrically connected with an output pin of the 5V regulated converter U3 through a resistor, a first pin of the pedal socket J2 is electrically connected with the controller, and a second pin of the pedal socket J2 is grounded.
The utility model discloses following beneficial effect has:
in the utility model, the light/no light test of the sunlight sensor adopts the mode of adding a controller to the light shading module and the light shading module circuit, thereby greatly improving the automation degree of the light/no light test of the sunlight sensor and improving the detection efficiency, in the utility model, the detection of the sunlight sensor comprises the detection of the analog circuit by a client, the client uses the analog circuit to simulate the test condition of the sunlight sensor at the terminal client to detect whether the product is qualified or not so as to meet the use requirement of the client, the controller detects whether the output value of the analog circuit used by the client meets the requirement or not, the detection mode is efficient and accurate, the artificial misjudgment can not occur, the outflow of the defective product can be avoided, in the utility model, when the sunlight sensor is judged to be the defective product by the controller, the controller can give a high level to the defective product dotting module circuit, the good product dotting module is controlled to be dotted, when the solar sensor is judged to be a defective product by the controller, the controller can give a high level to the buzzer circuit, the buzzer can continuously make a sound to remind a tester that the product is a defective product, the good product and the defective product are effectively distinguished in the above mode, and the outflow of the defective product is avoided.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments in the present invention, all other embodiments obtained by a person skilled in the art without creative efforts belong to the protection scope of the present invention.
Referring to fig. 1-7, an embodiment of the present invention provides a test fixture for a solar sensor, which includes a light source, a controller, a shading module, a non-defective product dotting module and a test circuit, the shading module comprises a first electromagnetic valve, a shading plate and a first cylinder for driving the shading plate, the first electromagnetic valve is electrically connected with the first cylinder, the good product dotting module comprises a second electromagnetic valve, a dotting tool and a second air cylinder for driving the dotting tool to dotte a good product, the second electromagnetic valve is electrically connected with the second cylinder, the test circuit comprises a direct current power supply circuit, a customer use simulation circuit, a shading module circuit and a good product dotting module circuit, the output end of the analog circuit used by the customer is electrically connected with the controller, the first electromagnetic valve is electrically connected with the controller through the shading module circuit, and the second electromagnetic valve is electrically connected with the controller through the good product dotting module circuit.
In the utility model, the light/no light test of the sunlight sensor adopts the mode of adding a controller to the light shading module and the light shading module circuit, thereby greatly improving the automation degree of the light/no light test of the sunlight sensor and improving the detection efficiency, in the utility model, the detection of the sunlight sensor comprises the detection of the analog circuit by a client, the client uses the analog circuit to simulate the test condition of the sunlight sensor at the terminal client to detect whether the product is qualified or not so as to meet the use requirement of the client, the controller detects whether the output value of the analog circuit used by the client meets the requirement or not, the detection mode is efficient and accurate, the artificial misjudgment can not occur, the outflow of the defective product can be avoided, in the utility model, when the sunlight sensor is judged to be the defective product by the controller, the controller can give a high level to the defective product dotting module circuit, the good product dotting module is controlled to be dotted, when the solar sensor is judged to be a defective product by the controller, the controller can give a high level to the buzzer circuit, the buzzer can continuously make a sound to remind a tester that the product is a defective product, the good product and the defective product are effectively distinguished in the above mode, and the outflow of the defective product is avoided.
In this embodiment, the controller may be implemented by using a common single chip, the single chip performs data transmission with the upper computer, and the upper computer screen may also be used to display PASS/FAIL to represent whether the product is qualified, the communication between the single chip and each circuit and the communication between the single chip and the upper computer, the related programs are conventional programs in the field, and except for defining an interface, other modifications of the programs are not required.
The utility model provides a solar sensor testing arrangement still includes test fixture, and test fixture is used for fixing light section of thick bamboo and solar sensor's position, adjusts light section of thick bamboo to the solar sensor distance.
The direct-current power supply circuit comprises a transformer J1, a rectifying circuit, a 24V voltage stabilizing converter U1, a 12V voltage stabilizing converter U2 and a 5V voltage stabilizing converter U3, the rectifying circuit is composed of four rectifying diodes IN4007, M7 appearing IN each figure is also the rectifying diode IN4007, and the transformer J1, the rectifying circuit, the 24V voltage stabilizing converter U1, the 12V voltage stabilizing converter U2 and the 5V voltage stabilizing converter U3 are sequentially connected IN series. And the direct current power supply circuit provides a direct current power supply of 5V/12V/24V for the sunlight sensor/shading module circuit/good product dotting module circuit.
Fig. 1 shows a DC power supply circuit, an input terminal AC220V is stepped down by a transformer (24V output), a diode is rectified to DC24V, and then converted into stable DC24V/DC12V/DC5V by a 24V/12V/5V regulator converter, which provides an input power for a light shielding module circuit/a good product lighting module circuit/a solar sensor/a buzzer circuit, respectively.
As shown in fig. 2-3, the customer-used analog circuit includes a voltage regulator chip ADR445BRZ, a sunlight sensor socket JP5, a first output pin AIN7, a second output pin AIN8, a third output pin AIN9 and a fourth output pin AIN10, an input pin of the voltage regulator chip ADR445BRZ is electrically connected with an output pin of the 12V voltage regulator converter U2, an output pin of the voltage regulator chip ADR445BRZ is electrically connected with a first pin VCC of the sunlight sensor socket JP5, the voltage regulator chip ADR445BRZ can provide a more stable and accurate 5V dc voltage to meet the requirement of the sunlight sensor, the first output pin AIN7, the second output pin AIN8, the third output pin 9 and the fourth output pin AIN10 are all electrically connected with the controller, two resistors are connected in series between the first output pin AIN7 and the second pin of the sunlight sensor socket JP5, four resistors are connected in series between the first output pin 7 and the second output pin 8, four resistors are connected in series between the output pin 48325 and the output pin 8,
two resistors are connected in series between the third output pin AIN9 and the third pin of the sunlight sensor socket JP5, four resistors are connected in series between the third output pin AIN9 and the fourth output pin AIN10, two resistors are connected in series between the fourth output pin AIN10 and the ground terminal,
the second pin of the solar sensor socket JP5, the third pin of the solar sensor socket JP5, the first output pin AIN7, the second output pin AIN8, the third output pin AIN9 and the fourth output pin AIN10 are all electrically connected to the ground through a capacitor.
The client uses the analog circuit to carry out analog test through the client service environment, and the singlechip detects the voltage/current output by the first output pin AIN7, the second output pin AIN8, the third output pin AIN9 and the fourth output pin AIN10 so as to judge whether the sunlight sensor is qualified or not and whether the service requirement of the client is met or not. The commonly used sunlight sensor of SS06& SS07 is taken as an example for detection.
As shown in fig. 4, the light blocking module circuit includes a first solenoid socket J3, a transistor Q2, a diode D9, a collector of the transistor Q2 is electrically connected to an input terminal of the diode D9, an output terminal of the diode D9 is electrically connected to a first pin of the first solenoid socket J3, an output terminal of the diode D9 is electrically connected to an output pin of the 24V zener converter U1, a collector of the transistor Q2 is electrically connected to a second pin of the first solenoid socket J3, a base of the transistor Q2 is electrically connected to the controller through a resistor R88, an output terminal of the resistor R88 is electrically connected to an output pin of the 5V zener converter U3 through a resistor R87, an emitter of the transistor Q2 is connected to a base of the transistor Q2 through a resistor, the emitter of the transistor Q2 is grounded. When the light test is carried out, the single chip microcomputer gives a low level to DO0, Q2 is cut off and is not conducted, no current flows on a shading plate electromagnetic valve externally connected with a first electromagnetic valve socket J3, the first electromagnetic valve is disconnected, and a shading plate cylinder does not act; after the light test is finished (the interval time is controlled by a programmable program), the lightless test is carried out, at the moment, the single chip microcomputer gives a high level to DO0, Q2 is conducted, the electromagnetic valve of the J3 external shading plate is in current circulation, the first electromagnetic valve is conducted in a coupling mode, the air cylinder of the shading plate acts to shield the light source, and the lightless test is finished.
As shown in fig. 5, the good product dotting module circuit includes a second solenoid valve socket J4, a transistor Q3, and a diode D10, a collector of the transistor Q3 is electrically connected to an input terminal of the diode D10, an output terminal of the diode D10 is electrically connected to a second pin of the second solenoid valve socket J4, an output terminal of the diode D10 is electrically connected to an output pin of the 24V zener converter U1, a collector of the transistor Q3 is electrically connected to a first pin of the second solenoid valve socket J4, a base of the transistor Q3 is electrically connected to the controller through a resistor R91, an output terminal of the resistor R91 is electrically connected to an output pin of the 5V zener converter U3 through a resistor R90, an emitter of the transistor Q3 is connected to a base of the transistor Q3 through a resistor, and an emitter of the transistor Q3 is grounded. The good product is got ready the module and is also through supplying power for the second solenoid valve, controls the cylinder action of getting ready the frock equally, and when the test shows for the good product, the cylinder action on getting ready the frock gets ready the sign for testing the product, and when the test shows for the defective products, the cylinder on getting ready the frock does not act, does not have on the product and gets ready the sign. Whether the product is provided with the dotting mark or not is also an important mark for judging whether the product is a good product/a defective product/a product to be detected.
After the product is tested and shown to be qualified, the single chip microcomputer provides DO2 with a high level, Q3 is conducted, current flows through a second electromagnetic valve on a dotting module externally connected with a second electromagnetic valve socket J4, the second electromagnetic valve is conducted in a coupling mode, a dotting cylinder acts to drive a dotting tool to act, and a dotting mark is marked on the product; when the product test shows that the product is a defective product, the single chip microcomputer supplies a low level to DO2, Q3 is cut off, no current flows in a second electromagnetic valve on a second electromagnetic valve socket J4 external dotting module, the electromagnetic valve does not act, a baffle cylinder does not act, and the product is not dotted.
As shown in fig. 6, the solar sensor testing device further includes a buzzer circuit, the buzzer circuit includes a triode Q1 and a buzzer BL1, a collector of the triode Q1 is electrically connected to a cathode of the buzzer, an anode of the buzzer BL1 is electrically connected to an output pin of the 5V regulated voltage converter U3, a base of the triode Q1 is electrically connected to the controller through a resistor R85, an output end of the resistor R85 is electrically connected to an output pin of the 5V regulated voltage converter U3 through a resistor R84, an emitter of the triode Q1 is connected to a base of the triode Q1 through a resistor, and an emitter of the triode Q1 is grounded. When the product test is the defective products, the buzzer circuit can receive a high level, the buzzer can continuously make a sound, the test personnel is reminded that the product is the defective products, when the test is the defective products, the buzzer circuit module can receive a low level, and the buzzer can not generate the sound.
As shown in fig. 6, after the test is completed, the test result is qualified, the single chip microcomputer gives a low level to DO1, Q1 is cut off, and the buzzer is not called; and a test result FAIL, wherein the single chip microcomputer gives a high level to DO1, Q1 is conducted, and the buzzer continuously gives an alarm to prompt a tester that the product is a defective product.
As shown in fig. 7, the sunlight sensor testing apparatus further includes a pedal circuit, the pedal circuit includes a pedal socket J2, a first pin of the pedal socket J2 is electrically connected to an output pin of the 5V regulated converter U3 through a resistor, a first pin of the pedal socket J2 is electrically connected to the controller, and a second pin of the pedal socket J2 is grounded. Before the pedal is stepped on, the singlechip obtains high level at the DI0 interface, and a test program does not act; after the pedal is stepped on, the input high level is pulled to be LOW level, the test program starts to act, and the product is tested.
The utility model provides a solar sensor testing arrangement founds simply, and the operation is popular and understandable, and operating personnel only need key into the product test parameter on the host computer according to the operation instruction, builds the test fixture that needs the test product to correspond and can start product test. The device has the functions of dotting/shading/buzzer alarming and the like, is easy to operate, can more effectively distinguish good products/defective products, and simultaneously improves the testing efficiency.
The above description is only a preferred embodiment of the present invention, and should not be taken as limiting the invention, and any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.