Detection circuit and color sorter equipment

By designing a detection circuit in the color selection device, and using the detection unit and the controller to judge the open circuit fault of the light emitting unit, the problem of difficult detection of the infrared driver module in the color selection device is solved, and timely maintenance of the fault and guaranteeing the color selection effect is achieved.

CN111812542BActive Publication Date: 2025-05-20CHINA HEFEI TAIHE OPTOELECTRONICS TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010796224.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-08-10
Publication Date
2025-05-20
Estimated Expiration
2040-08-10

AI Technical Summary

Technical Problem

The failure of infrared driver modules in color selection equipment is difficult to detect and maintain in a timely manner, affecting the color selection effect.

Method used

A detection circuit is designed, including a controller and a plurality of light source modules, each light source module including a light emitting unit, a switching unit and a detection unit. The detection unit detects the state of the switch unit, determines whether there is an open circuit fault in the light emitting unit, and transmits a voltage signal to the controller for judgment.

Benefits of technology

It realizes accurate detection of whether there are open circuit faults for multiple light emitting units, and can determine which light emitting unit has a fault, so as to promptly maintain and replace it to ensure color selection effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111812542B_ABST
    Figure CN111812542B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention provides a detection circuit and a color sorter device, which relate to the field of detection technology. The detection circuit includes a controller and multiple light source modules, each of which includes a light-emitting unit, a switch unit and a detection unit electrically connected in sequence; the detection units of each light source module are electrically connected in sequence, and the first detection unit is electrically connected to the controller and the power supply; each switch unit is in an on state when the light-emitting unit is working normally; and is in an off state when the light-emitting unit is open; the first detection unit generates a first voltage when the switch unit is in an on state; generates a second voltage when the switch unit is in an off state; the second detection unit generates a third voltage when the switch unit is in an on state; and generates a fourth voltage when the switch unit is in an off state; the controller determines whether there is an open-circuit light-emitting unit among the multiple light-emitting units based on the first voltage or the second voltage. The detection circuit can realize accurate open circuit detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of detection technologies, and in particular, to a detection circuit and a color sorter device. Background Art

[0002] When the identification module of a color sorting device adopts an infrared image acquisition device, the required infrared light source includes a plurality of infrared driving modules. Each infrared driving module has a plurality of infrared lamps connected in series. If the filament of one infrared lamp is broken, all the infrared lamps in one infrared driving module will not light up, affecting the color sorting effect of the color sorting device.

[0003] Since the color sorting device has a plurality of infrared driving modules, it is impossible to know which infrared driving module is faulty through the human-machine interface or the remote control human-machine interface, and it is impossible to perform maintenance and replacement in a timely manner. Summary of the Invention

[0004] The objectives of the present invention include, for example, providing a detection circuit and a color sorter device that can achieve accurate open-circuit detection.

[0005] Embodiments of the present invention may be implemented as follows:

[0006] In a first aspect, an embodiment of the present invention provides a detection circuit, including a controller and a plurality of light source modules. Each of the light source modules includes a light emitting unit, a switching unit, and a detection unit that are electrically connected in sequence; the detection units of each of the light source modules are electrically connected in sequence. The first detection unit is electrically connected to both the controller and a power supply, and the first detection unit is the last one of the plurality of detection units that are electrically connected in sequence.

[0007] Each of the switching units is in a conducting state when the corresponding light emitting unit is operating normally; and is in a disconnected state when the corresponding light emitting unit is open-circuited.

[0008] The first detection unit is configured to generate a first voltage when the switching unit corresponding to the first detection unit is in a conducting state, and transmit the first voltage to the controller; and is further configured to generate a second voltage when the switching unit corresponding to the first detection unit is in a disconnected state, and transmit the second voltage to the controller.

[0009] The second detection unit is configured to generate a third voltage when the switch unit corresponding to the second detection unit is in an on state, and transmit the third voltage to the third detection unit; and is further configured to generate a fourth voltage when the switch unit corresponding to the second detection unit is in an off state, and transmit the fourth voltage to the third detection unit; wherein, the second detection unit is a non-last one of a plurality of the detection units electrically connected in sequence, and the third detection unit is the detection unit electrically connected to the output end of the second detection unit;

[0010] The controller is configured to determine whether there is an open light-emitting unit among the plurality of light-emitting units according to the first voltage or the second voltage.

[0011] In an alternative embodiment, the first detection unit includes a first resistor and a second resistor. One end of the first resistor is electrically connected to both the second detection unit and the switch unit electrically connected to the first detection unit. The other end of the first resistor is electrically connected to both the controller and one end of the second resistor. The other end of the second resistor is electrically connected to the power supply.

[0012] In an alternative embodiment, each second detection unit includes a third resistor and a fourth resistor. One end of the third resistor is electrically connected to both the fourth detection unit and the switch unit corresponding to the second detection unit. The other end of the third resistor is electrically connected to both the third detection unit and one end of the fourth resistor. The other end of the fourth resistor is left floating; wherein, the fourth detection unit is the detection unit electrically connected to the input end of the second detection unit.

[0013] In an alternative embodiment, the first detection unit further includes a fifth resistor. One end of the first resistor is electrically connected to the switch unit corresponding to the first detection unit through the fifth resistor.

[0014] In an alternative embodiment, the second detection unit further includes a sixth resistor. One end of the third resistor is electrically connected to the switch unit corresponding to the second detection unit through the sixth resistor.

[0015] In an alternative embodiment, each switch unit includes a first switching tube, a second switching tube, and a seventh resistor. The first pin of the first switching tube is electrically connected to the corresponding light-emitting unit. The second pin of the first switching tube is electrically connected to the power supply through the seventh resistor. The first pin of the second switching tube is electrically connected between the second pin of the first switching tube and the seventh resistor. The second pin of the second switching tube is electrically connected to the corresponding detection unit. The third pins of the first switching tube and the second switching tube are both grounded;

[0016] When the corresponding light-emitting unit is operating normally, the first switching transistor is in the conducting state; when the corresponding light-emitting unit is open-circuited, the first switching transistor is in the non-conducting state.

[0017] When the first switching transistor is in the conducting state, the second switching transistor is in the non-conducting state; when the first switching transistor is in the non-conducting state, the second switching transistor is in the conducting state.

[0018] In an alternative embodiment, each light-emitting unit includes an infrared lamp and a thermistor. The infrared lamp and the thermistor are connected in series between the power supply and the ground, and the corresponding switching unit is electrically connected between the infrared lamp and the thermistor.

[0019] In an alternative embodiment, the infrared lamp is an infrared halogen lamp or an infrared LED lamp.

[0020] In an alternative embodiment, each light source module further includes a connection unit. The first detection unit and the second detection unit are electrically connected in sequence through the connection unit, and the first detection unit is also electrically connected to the controller through the connection unit.

[0021] In a second aspect, an embodiment of the present invention provides a color sorter device, including the detection circuit according to any one of the foregoing embodiments.

[0022] The beneficial effects of the embodiments of the present invention include, for example: a detection circuit and a color sorter device. The detection circuit includes a controller and multiple light source modules. Each light source module includes a light emitting unit, a switching unit, and a detection unit that are electrically connected in sequence; the detection units of each light source module are electrically connected in sequence. The first detection unit is electrically connected to both the controller and the power supply, and the first detection unit is the last one of the multiple detection units that are electrically connected in sequence; each switching unit is in a conducting state when the corresponding light emitting unit is operating normally; and is in an open state when the corresponding light emitting unit is open-circuited; the first detection unit is used to generate a first voltage when the switching unit corresponding to the first detection unit is in a conducting state, and transmit the first voltage to the controller; and is further used to generate a second voltage when the switching unit corresponding to the first detection unit is in an open state, and transmit the second voltage to the controller; the second detection unit is used to generate a third voltage when the switching unit corresponding to the second detection unit is in a conducting state, and transmit the third voltage to the third detection unit; and is further used to generate a fourth voltage when the switching unit corresponding to the second detection unit is in an open state, and transmit the fourth voltage to the third detection unit; wherein, the second detection unit is not the last one of the multiple detection units that are electrically connected in sequence, and the third detection unit is the detection unit electrically connected to the output end of the second detection unit; the controller is used to judge whether there is an open-circuited light emitting unit among the multiple light emitting units according to the first voltage or the second voltage. It can be seen that by electrically connecting the detection units of each light source module in sequence, the controller can detect whether there is an open-circuited light emitting unit among the multiple light emitting units according to the magnitude of the voltage output by the first detection unit, and can judge which specific light emitting unit is the open-circuited light emitting unit according to the magnitude of the voltage output by the first detection unit, and then can perform maintenance and replacement on the light emitting unit in time, ensuring the color sorting effect of the color sorter device. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the drawings required to be used in the embodiments. It should be understood that the following drawings only show some embodiments of the present invention, and therefore should not be regarded as limiting the scope. For those of ordinary skill in the art, without creative efforts, other related drawings can also be obtained based on these drawings.

[0024] Figure 1 It is a schematic structural diagram of a color sorter device provided by an embodiment of the present invention;

[0025] Figure 2 It is a schematic structural diagram of a detection circuit provided by an embodiment of the present invention;

[0026] Figure 3 It is a schematic circuit diagram of a detection circuit provided by an embodiment of the present invention;

[0027] Figure 4 Another circuit schematic diagram of the detection circuit provided by an embodiment of the present invention;

[0028] Figure 5 Another structural schematic diagram of the detection circuit provided by an embodiment of the present invention.

[0029] Icons: 100 - color sorter device; 110 - detection circuit; 111 - controller; 112 - light source module; 1121 - light emitting unit; 1122 - switch unit; 1123 - detection unit; 1124 - connection unit; 120 - power supply; 130 - communication module; 200 - human - machine device; R1 - first resistor; R2 - second resistor; R3 - third resistor; R4 - fourth resistor; R5 - fifth resistor; R6 - sixth resistor; R7 - seventh resistor; R8 - eighth resistor; R9 - ninth resistor; R10 - tenth resistor; Q1 - first switching tube; Q2 - second switching tube; H - infrared lamp; RT - thermistor. Specific embodiments

[0030] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Apparently, the described embodiments are some, but not all, of the embodiments of the present invention. The components of the embodiments of the present invention described and illustrated in the accompanying drawings here can be arranged and designed in various different configurations.

[0031] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the claimed present invention, but merely represents selected embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts fall within the scope of protection of the present invention.

[0032] It should be noted that: similar reference numerals and letters denote similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings.

[0033] In the description of the present invention, it should be noted that if terms such as "upper", "lower", "inner", "outer", etc. are used to indicate the orientation or positional relationship, it is based on the orientation or positional relationship shown in the drawings or the orientation or positional relationship when the product of the present invention is usually placed. It is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as a limitation of the present invention.

[0034] In addition, terms such as "first" and "second" are only used for distinguishing descriptions and should not be construed as indicating or implying relative importance.

[0035] It should be noted that, without conflict, the features in the embodiments of the present invention can be combined with each other.

[0036] Please refer to Figure 1 , this embodiment provides a schematic structural diagram of a color sorter device 100. The color sorter device 100 includes a detection circuit 110 and a power supply 120. The power supply 120 is used to supply power to the detection circuit 110, and the detection circuit 110 is used to detect whether there is an open light-emitting unit and determine which specific light-emitting unit has an open-circuit fault.

[0037] In this embodiment, the color sorter device 100 further includes a communication module 130. The detection circuit 110 is communicatively connected to the human-machine device 200 through the communication module 130. The detection circuit 110 is used to send the detection result to the human-machine device 200 through the communication module 130, and the human-machine device 200 stores and displays the detection result so that the user can obtain the detection result in time and replace the light-emitting unit in time when an open-circuit fault occurs in the light-emitting unit.

[0038] Please refer to Figure 2 , for Figure 1 a schematic structural diagram of an implementable detection circuit 110 shown. The detection circuit 110 includes a controller 111 and a plurality of light source modules 112. Each light source module 112 includes a light-emitting unit 1121, a switch unit 1122, and a detection unit 1123 that are electrically connected in sequence; the detection units 1123 of each light source module 112 are electrically connected in sequence. The first detection unit is electrically connected to both the controller 111 and the power supply 120, and the first detection unit is the last one of the plurality of detection units 1123 that are electrically connected in sequence.

[0039] In this embodiment, each switch unit 1122 is in a conducting state when the corresponding light-emitting unit 1121 is operating normally; and is in a non-conducting state when the corresponding light-emitting unit 1121 is open-circuited. The first detection unit is configured to generate a first voltage when the switch unit 1122 corresponding to the first detection unit is in the conducting state, and transmit the first voltage to the controller 111; and is further configured to generate a second voltage when the switch unit 1122 corresponding to the first detection unit is in the non-conducting state, and transmit the second voltage to the controller 111. The second detection unit is configured to generate a third voltage when the switch unit 1122 corresponding to the second detection unit is in the conducting state, and transmit the third voltage to the third detection unit; and is further configured to generate a fourth voltage when the switch unit 1122 corresponding to the second detection unit is in the non-conducting state, and transmit the fourth voltage to the third detection unit. Wherein, the second detection unit is a non-last one among a plurality of sequentially electrically connected detection units 1123, and the third detection unit is a detection unit 1123 electrically connected to the output end of the second detection unit. The controller 111 is configured to determine whether there is an open-circuited light-emitting unit 1121 among the plurality of light-emitting units 1121 based on the first voltage or the second voltage.

[0040] It can be understood that if the detection circuit 110 includes three light source modules 112, namely a light source module a, a light source module b, and a light source module c. Then the light source module a includes a light-emitting unit a, a switch unit a, and a detection unit a, the light source module b includes a light-emitting unit b, a switch unit b, and a detection unit b, and the light source module c includes a light-emitting unit c, a switch unit c, and a detection unit c.

[0041] Wherein, the light-emitting unit a, the switch unit a, and the detection unit a are sequentially electrically connected, the light-emitting unit b, the switch unit b, and the detection unit b are sequentially electrically connected, and the light-emitting unit c, the switch unit c, and the detection unit c are sequentially electrically connected. The detection unit a, the detection unit b, and the detection unit c are sequentially electrically connected, and the detection unit c is further electrically connected to both the controller 111 and the power supply 120. That is, the detection unit c is the first detection unit, and the detection unit a and the detection unit b are the second detection units. The detection unit b and the detection unit c can be the third detection unit. When the detection unit a is electrically connected to the detection unit b, the detection unit b is the detection unit 1123 electrically connected to the output end of the detection unit a, which is equivalent to the detection unit 1123 electrically connected to the output end of the second detection unit. When the detection unit b is electrically connected to the detection unit c, the detection unit c is the detection unit 1123 electrically connected to the output end of the detection unit b, which is equivalent to the detection unit 1123 electrically connected to the output end of the second detection unit.

[0042] Moreover, when the lighting unit a operates normally, the switch unit a is in the conducting state; when the lighting unit a is open-circuited, the switch unit a is in the off state. When the lighting unit b operates normally, the switch unit b is in the conducting state; when the lighting unit b is open-circuited, the switch unit b is in the off state. When the lighting unit c operates normally, the switch unit c is in the conducting state; when the lighting unit c is open-circuited, the switch unit c is in the off state.

[0043] The detection unit c is configured to generate a first voltage when the switch unit c is in the conducting state and transmit the first voltage to the controller 111; it is also configured to generate a second voltage when the switch unit c is in the off state and transmit the second voltage to the controller 111. The detection unit a is configured to generate a third voltage when the switch unit a is in the conducting state and transmit the third voltage to the detection unit b; it is also configured to generate a fourth voltage when the switch unit a is in the off state and transmit the fourth voltage to the detection unit b. The detection unit b is configured to generate a third voltage when the switch unit b is in the conducting state and transmit the third voltage to the detection unit c; it is also configured to generate a fourth voltage when the switch unit b is in the off state and transmit the fourth voltage to the detection unit c. Moreover, the third voltage generated by the detection unit a and the third voltage generated by the detection unit b can be different voltage values, and the fourth voltage generated by the detection unit a and the fourth voltage generated by the detection unit b can also be different voltage values.

[0044] Since whether the lighting unit 1121 is open-circuited will affect the conducting state of the corresponding switch unit 1122, and the conducting state of the switch unit 1122 will affect the magnitude of the voltage generated by the corresponding detection unit 1123, and the voltage generated by each detection unit 1123 will affect the magnitude of the voltage generated by other detection units 1123, the controller 111 can determine whether there is an open-circuited lighting unit 1121 based on the first voltage and the second voltage generated by the first detection unit.

[0045] For ease of understanding, please refer to Figure 3 for Figure 2 a schematic circuit diagram of an implementable circuit of the detection circuit 110. The first detection unit includes a first resistor R1 and a second resistor R2. One end of the first resistor R1 is electrically connected to both the second detection unit and the switch unit 1122 that are electrically connected to the first detection unit. The other end of the first resistor R1 is electrically connected to both the controller 111 and one end of the second resistor R2. The other end of the second resistor R2 is electrically connected to the power supply 120.

[0046] It can be understood that if the first detection unit is the above-mentioned detection unit c, then one end of the first resistor R1 is electrically connected to both the detection unit b and the switch unit c.

[0047] Each second detection unit includes a third resistor R3 and a fourth resistor R4. One end of the third resistor R3 is electrically connected to both the fourth detection unit and the switch unit 1122 corresponding to the second detection unit. The other end of the third resistor R3 is electrically connected to both the third detection unit and one end of the fourth resistor R4. The other end of the fourth resistor R4 is floating; wherein, the fourth detection unit is the detection unit 1123 electrically connected to the input end of the second detection unit.

[0048] It can be understood that if the second detection units are the above-mentioned detection unit a and detection unit b, then one end of the third resistor R3 in detection unit a is electrically connected to switch unit a, and the other end of the third resistor R3 in detection unit a is electrically connected to both detection unit b and one end of the fourth resistor R4, and the other end of the fourth resistor R4 in detection unit a is floating. One end of the third resistor R3 in detection unit b is electrically connected to both detection unit a and switch unit b, and the other end of the third resistor R3 in detection unit b is electrically connected to both detection unit c and one end of the fourth resistor R4, and the other end of the fourth resistor R4 in detection unit b is floating.

[0049] Among them, detection unit a and detection unit b can be used as the fourth detection unit. In other words, when detection unit a is electrically connected to detection unit b, detection unit a is the detection unit 1123 electrically connected to the input end of detection unit b, and when detection unit b is electrically connected to detection unit c, detection unit b is the detection unit 1123 electrically connected to the input end of detection unit c.

[0050] In this embodiment, the conduction states of switch unit a, switch unit b, and switch unit c will affect the voltage division of the third resistor R3 in detection unit a, the third resistor R3 in detection unit b, the first resistor R1 in detection unit c, and the second resistor R2 in detection unit c. That is, the third voltage and the fourth voltage generated by the second detection unit will affect the magnitudes of the first voltage and the second voltage generated by the first detection unit.

[0051] As Figure 3 shown, each of the switch units 1122 includes a first switch tube Q1, a second switch tube Q2, and a seventh resistor R7. The first pin of the first switch tube Q1 is electrically connected to the corresponding light-emitting unit 1121. The second pin of the first switch tube Q1 is electrically connected to the power supply 120 through the seventh resistor R7. The first pin of the second switch tube Q2 is electrically connected between the second pin of the first switch tube Q1 and the seventh resistor R7. The second pin of the second switch tube Q2 is electrically connected to the corresponding detection unit 1123. The third pins of the first switch tube Q1 and the second switch tube Q2 are both grounded.

[0052] In this embodiment, the first switching transistor Q1 is in the conducting state when the corresponding light-emitting unit 1121 operates normally; and is in the non-conducting state when the corresponding light-emitting unit 1121 is open-circuited. The second switching transistor Q2 is in the non-conducting state when the first switching transistor Q1 is in the conducting state; and is in the conducting state when the first switching transistor Q1 is in the non-conducting state.

[0053] It can be understood that the circuit structures of the switching units 1122 of each light source module 112 are the same. As shown above, if the detection circuit 110 includes three light source modules 112, namely light source module a, light source module b, and light source module c. Then the first pin of the first switching transistor Q1 of the switching unit a is electrically connected to the light-emitting unit a, and the second pin of the second switching transistor Q2 of the switching unit a is electrically connected to the detection unit a. The first pin of the first switching transistor Q1 of the switching unit b is electrically connected to the light-emitting unit b, and the second pin of the second switching transistor Q2 of the switching unit b is electrically connected to the detection unit b. The first pin of the first switching transistor Q1 of the switching unit c is electrically connected to the light-emitting unit c, and the second pin of the second switching transistor Q2 of the switching unit c is electrically connected to the detection unit c.

[0054] Specifically, the second pin of the second switching transistor Q2 of the switching unit a is electrically connected to one end of the third resistor R3 of the detection unit a, the second pin of the second switching transistor Q2 of the switching unit b is electrically connected to one end of the third resistor R3 of the detection unit b, and the second pin of the second switching transistor Q2 of the switching unit c is electrically connected to one end of the first resistor R1 of the detection unit c.

[0055] Moreover, the first switching transistor Q1 of the switching unit a is in the conducting state when the light-emitting unit a operates normally; and is in the non-conducting state when the light-emitting unit a is open-circuited. The first switching transistor Q1 of the switching unit b is in the conducting state when the light-emitting unit b operates normally; and is in the non-conducting state when the light-emitting unit b is open-circuited. The first switching transistor Q1 of the switching unit c is in the conducting state when the light-emitting unit c operates normally; and is in the non-conducting state when the light-emitting unit c is open-circuited.

[0056] Specifically, if each light-emitting unit 1121 is operating normally, then each second switching transistor Q2 is in a non-conducting state, the detection unit c generates a first voltage, and the value of the first voltage is the voltage value provided by the power supply 120. Since each second switching transistor Q2 is in a non-conducting state, the third resistor R3 and the first resistor R1 cannot divide the voltage with the second resistor R2. If the light-emitting unit a is open-circuited, the light-emitting unit b and the light-emitting unit c are operating normally, then the second switching transistor Q2 of the switching unit a is in a conducting state, and the second switching transistors Q2 of the switching unit b and the switching unit c are both in a non-conducting state. The detection unit c generates a second voltage, and the value of the second voltage is obtained by dividing the voltage provided by the power supply 120 by the second resistor R2 with the sum of the third resistor R3 of the detection unit a, the third resistor R3 of the detection unit b, and the first resistor R1. That is, the value of the second voltage can be calculated by the formula V out2 =V vcc *(r 1 +2r 3 ) / (r 1 +r 2 +2r 3 ), where V out2 is the second voltage, V vcc is the voltage provided by the power supply 120, r 1 is the resistance value of the first resistor R1, r 2 is the resistance value of the second resistor R2, and 2r 3 is the sum of the resistance values of the third resistors R3 of the detection unit a and the detection unit b.

[0057] If the light-emitting unit b is open-circuited, the light-emitting unit a and the light-emitting unit c are operating normally, then the second switching transistor Q2 of the switching unit b is in a conducting state, and the second switching transistors Q2 of the switching unit a and the switching unit c are both in a non-conducting state. The detection unit c generates a second voltage. Since the second switching transistor Q2 of the switching unit b is in a conducting state, and the second switching transistors Q2 of the switching unit a and the switching unit c are both in a non-conducting state, a path is formed by the power supply 120, the second resistor R2, the first resistor R1, the third resistor R3 of the detection unit b, and the second switching transistor Q2 of the switching unit b. The value of the second voltage is obtained by dividing the voltage provided by the power supply 120 by the second resistor R2 with the sum of the third resistor R3 of the detection unit b and the first resistor R1. That is, the value of the second voltage can be calculated by the formula V out2 =V vcc *(r 1 +r 3 ) / (r 1 +r 2 +r 3 ), where V out2 is the second voltage, V vcc is the voltage provided by the power supply 120, r 1is the resistance value of the first resistor R1, r 2 is the resistance value of the second resistor R2, r 3 is the resistance value of the third resistor R3 of the detection unit b.

[0058] If the light-emitting unit c is open-circuited, and the light-emitting units a and b are working normally, then the second switching transistor Q2 of the switching unit c is in the conducting state, and the second switching transistors Q2 of the switching units a and b are both in the non-conducting state, and the detection unit c generates a second voltage. Since the second switching transistor Q2 of the switching unit c is in the conducting state, and the second switching transistors Q2 of the switching units a and b are both in the non-conducting state, then a path is formed among the power supply 120, the second resistor R2, the first resistor R1, and the second switching transistor Q2 of the switching unit c, and the value of the second voltage is obtained by dividing the voltage provided by the power supply 120 by the first resistor R1 and the second resistor R2. That is, the value of the second voltage can be calculated by the formula V out2 = V vcc * r 1 / (r 1 + r 2 ), V out2 is the second voltage, V vcc is the voltage provided by the power supply 120, r 1 is the resistance value of the first resistor R1, r 2 is the resistance value of the second resistor R2.

[0059] As Figure 3 shown, each light-emitting unit 1121 includes an infrared lamp H and a thermistor RT. The infrared lamp H and the thermistor RT are connected in series between the power supply 120 and the ground, and the corresponding switching unit 1122 is electrically connected between the infrared lamp H and the thermistor RT.

[0060] It can be understood that the circuit structures of the light-emitting units 1121 of each light source module 112 are the same. As shown above, if the detection circuit 110 includes three light source modules 112, namely the light source module a, the light source module b, and the light source module c. Then the switching unit a is electrically connected between the infrared lamp H and the thermistor RT of the light-emitting unit a, the switching unit b is electrically connected between the infrared lamp H and the thermistor RT of the light-emitting unit b, and the switching unit c is electrically connected between the infrared lamp H and the thermistor RT of the light-emitting unit c. Specifically, the first pin of the first switching transistor Q1 of the switching unit a is electrically connected between the infrared lamp H and the thermistor RT of the light-emitting unit a, the first pin of the first switching transistor Q1 of the switching unit b is electrically connected between the infrared lamp H and the thermistor RT of the light-emitting unit b, and the first pin of the first switching transistor Q1 of the switching unit c is electrically connected between the infrared lamp H and the thermistor RT of the light-emitting unit c.

[0061] In this embodiment, the number of infrared lamps H can be multiple, and the multiple infrared lamps H are electrically connected to the thermistor RT in sequence. Preferably, the number of infrared lamps H can be set to 4.

[0062] Among them, the infrared lamp H is an infrared halogen lamp or an infrared LED (Light Emitting Diode) lamp. That is, the infrared lamp H can be an infrared halogen lamp or an external infrared LED lamp. Since the price of the infrared LED lamp is too high, preferably, the infrared lamp H is an external infrared halogen lamp.

[0063] In this embodiment, the principle that whether there is an open - circuit fault in the light - emitting unit 1121 affects the conduction state of the switching unit 1122 is as follows: The thermistor RT is used as a sampling resistor, and the voltage across the thermistor RT is used as a detection source for whether there is an open - circuit fault in the infrared lamp H.

[0064] To ensure the working stability and safety of the switching unit 1122, as Figure 3 shown, each switching unit 1122 includes an eighth resistor R8, a ninth resistor R9, and a tenth resistor R10. The first pin of the first switching transistor Q1 is electrically connected to the corresponding light - emitting unit 1121 through the eighth resistor R8. The ninth resistor R9 is electrically connected between the first pin of the first switching transistor Q1 and the ground. The tenth resistor R10 is electrically connected between the first pin of the second switching transistor Q2 and the ground. The eighth resistor R8, the ninth resistor R9, and the tenth resistor R10 are used to protect the first switching transistor Q1 and the second switching transistor Q2.

[0065] Figure 3 The circuit structure of the detection unit 1123 shown can only determine which light - emitting unit 1121 has an open - circuit fault when one light - emitting unit 1121 has an open - circuit fault. However, when multiple light - emitting units 1121 have open - circuit faults, it can only detect that there is an open - circuit fault in the light - emitting unit 1121, but it cannot determine which light - emitting units 1121 have open - circuit faults. Therefore, as Figure 4 shown, this is another circuit schematic diagram of the detection circuit 110 provided by the present invention. Figure 4 The circuit structure of the detection unit 1123 shown can determine which light - emitting units 1121 have open - circuit faults when multiple light - emitting units 1121 have open - circuit faults.

[0066] Figure 4 The circuit structure of the first detection unit shown in Figure 3 also includes a fifth resistor R5 on the basis of what is shown. One end of the first resistor R1 is electrically connected to the switching unit 1122 corresponding to the first detection unit through the fifth resistor R5.

[0067] It can be understood that if the first detection unit is the above detection unit c, one end of the first resistor R1 is electrically connected to the switch unit c through the fifth resistor R5. Specifically, one end of the first resistor R1 is electrically connected to the second pin of the second switch tube Q2 of the switch unit c through the fifth resistor R5.

[0068] Figure 4 The circuit structure of the second detection unit shown in Figure 3 also includes a sixth resistor R6 on the basis shown. One end of the third resistor R3 is electrically connected to the switch unit 1122 corresponding to the second detection unit through the sixth resistor R6.

[0069] It can be understood that if the second detection units are the above detection unit a and detection unit b, one end of the third resistor R3 in the detection unit a is electrically connected to the switch unit a through the sixth resistor R6 of the detection unit a. One end of the third resistor R3 in the detection unit b is electrically connected to the switch unit b through the sixth resistor R6 of the detection unit b. Specifically, one end of the third resistor R3 in the detection unit a is electrically connected to the second pin of the second switch tube Q2 of the switch unit a through the sixth resistor R6 of the detection unit a. One end of the third resistor R3 in the detection unit b is electrically connected to the second pin of the second switch tube Q2 of the switch unit b through the sixth resistor R6 of the detection unit b.

[0070] In this embodiment, if the light-emitting unit a and the light-emitting unit b are open-circuited and the light-emitting unit c works normally, then the second switch tubes Q2 of the switch unit a and the second switch tubes Q2 of the switch unit b are both in the conducting state, and the second switch tube Q2 of the switch unit c is in the non-conducting state, and the detection unit c generates a second voltage. And the value of the second voltage is calculated through the path composed of the third resistor R3 and the sixth resistor R6 of the detection unit a, the third resistor R3 and the sixth resistor R6 of the detection unit b, the first resistor R1, the second resistor R2 and the power supply 120. That is, the third resistor R3 and the sixth resistor R6 of the detection unit a are in parallel with the sixth resistor R6 of the detection unit b, and the parallel impedance of the third resistor R3 and the sixth resistor R6 of the detection unit a and the sixth resistor R6 of the detection unit b is in series with the third resistor R3 of the detection unit b, the first resistor R1 and the second resistor R2. Therefore, the value of the second voltage can be calculated by the formula V out2 =V vcc *(r 1 +r 3 +r z1 ) / (r 1 +r 2 +r 3 +r z1 ), where r z1 is the parallel impedance value of the third resistor R3 and the sixth resistor R6 of the detection unit a and the sixth resistor R6 of the detection unit b.

[0071] If the light-emitting unit a and the light-emitting unit c are open-circuited and the light-emitting unit b operates normally, then the second switching transistors Q2 of the switching unit a and the second switching transistors Q2 of the switching unit c are both in the conducting state, and the second switching transistor Q2 of the switching unit b is in the non-conducting state, and the detection unit c generates a second voltage. And the value of the second voltage is calculated through the path composed of the third resistor R3 and the sixth resistor R6 of the detection unit a, the third resistor R3 of the detection unit b, the fifth resistor R5 of the detection unit c, the first resistor R1, the second resistor R2, and the power supply 120. That is, the third resistor R3 and the sixth resistor R6 of the detection unit a, the third resistor R3 of the detection unit b are in parallel with the fifth resistor R5 of the detection unit c, and the parallel impedance of the third resistor R3 and the sixth resistor R6 of the detection unit a, the third resistor R3 of the detection unit b and the fifth resistor R5 of the detection unit c is in series with the first resistor R1 and the second resistor R2. Therefore, the value of the second voltage can be calculated by the formula V out2 =V vcc *(r 1 +r z2 ) / (r 1 +r 2 +r z2 ) where r z2 is the parallel impedance value of the third resistor R3 and the sixth resistor R6 of the detection unit a, the third resistor R3 of the detection unit b and the fifth resistor R5 of the detection unit c.

[0072] It can be seen that when different multiple light-emitting units 1121 have open-circuit faults, the values of the second voltage generated by the detection unit c are different. The controller 111 can determine which specific light-emitting units 1121 have open-circuit faults according to the obtained second voltage.

[0073] The detection principle for other multiple light-emitting units 1121 having open-circuit faults can refer to the above embodiments and will not be repeated here.

[0074] Please refer to Figure 5 , which is another implementable structural schematic diagram of the detection circuit 110 provided by the embodiment of the present invention. Figure 5 As shown in the detection circuit 110 in Figure 2 , on the basis of the detection circuit 110 shown in

[0075] It can be understood that, as shown above, if the detection circuit 110 includes three light source modules 112, namely light source module a, light source module b, and light source module c, then light source module a further includes connection unit a, light source module b further includes connection unit b, and light source module c further includes connection unit c.

[0076] Among them, detection unit a is electrically connected to detection unit b through connection unit a, detection unit b is electrically connected to detection unit c through connection unit b, and detection unit c is electrically connected to both controller 111 and power supply 120 through connection unit c.

[0077] It can be understood that the other end of the third resistor R3 in detection unit a is electrically connected to one end of the third resistor R3 in detection unit b through connection unit a, the other end of the third resistor R3 in detection unit b is electrically connected to one end of the first resistor R1 in detection unit c through connection unit b, and the other end of the first resistor R1 in detection unit c is electrically connected to controller 111 through connection unit c. The other end of the second resistor R2 is electrically connected to power supply 120 through connection unit c.

[0078] In this embodiment, the resistance values of the first resistor R1, the second resistor R2, the third resistor R3, the fourth resistor R4, the fifth resistor R5, and the sixth resistor R6 can be the same or different. For the convenience of calculation, the resistance values of the first resistor R1, the second resistor R2, the third resistor R3, the fourth resistor R4, the fifth resistor R5, and the sixth resistor R6 are preferably set to the same resistance value.

[0079] In this embodiment, the first switching tube Q1 can be a triode, the second switching tube Q2 can be a mos (Metal Oxide Semiconductor) tube, and the connection unit 1124 can be a pin header.

[0080] Among them, the first pin of the first switching tube Q1 can be the base of the triode, the second pin of the first switching tube Q1 can be the collector of the triode, and the third pin of the first switching tube Q1 can be the emitter of the triode. The first pin of the second switching tube Q2 can be the gate of the mos tube, the second pin of the second switching tube Q2 can be the drain of the mos tube, and the third pin of the second switching tube Q2 can be the source of the mos tube.

[0081] In summary, the embodiments of the present invention provide a detection circuit and a color sorter device. The detection circuit includes a controller and multiple light source modules. Each light source module includes a light emitting unit, a switch unit, and a detection unit that are electrically connected in sequence. The detection units of each light source module are electrically connected in sequence. The first detection unit is electrically connected to both the controller and the power supply, and the first detection unit is the last one of the multiple detection units that are electrically connected in sequence. Each switch unit is in a conducting state when the corresponding light emitting unit is operating normally, and is in a disconnected state when the corresponding light emitting unit is open-circuited. The first detection unit is configured to generate a first voltage when the switch unit corresponding to the first detection unit is in the conducting state, and transmit the first voltage to the controller. It is also configured to generate a second voltage when the switch unit corresponding to the first detection unit is in the disconnected state, and transmit the second voltage to the controller. The second detection unit is configured to generate a third voltage when the switch unit corresponding to the second detection unit is in the conducting state, and transmit the third voltage to the third detection unit. It is also configured to generate a fourth voltage when the switch unit corresponding to the second detection unit is in the disconnected state, and transmit the fourth voltage to the third detection unit. Wherein, the second detection unit is not the last one of the multiple detection units that are electrically connected in sequence, and the third detection unit is the detection unit electrically connected to the output end of the second detection unit. The controller is configured to determine whether there is an open-circuited light emitting unit among the multiple light emitting units based on the first voltage or the second voltage. It can be seen that by electrically connecting the detection units of each light source module in sequence, the controller can detect whether there is an open-circuited light emitting unit among the multiple light emitting units according to the magnitude of the voltage output by the first detection unit, and can determine which specific light emitting unit is open-circuited based on the magnitude of the voltage output by the first detection unit. Furthermore, the light emitting unit can be maintained and replaced in a timely manner, ensuring the color sorting effect of the color sorter device.

[0082] As described above, the above is only the specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by those skilled in the art within the technical scope disclosed by the present invention should be covered by the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.

Claims

1. A detection circuit, characterized in that: It includes a controller and a plurality of light source modules, each of which includes a light emitting unit, a switch unit and a detection unit electrically connected in sequence; the detection units of each light source module are electrically connected in sequence, a first detection unit is electrically connected to the controller and a power source, and the first detection unit is the last one of the plurality of detection units electrically connected in sequence; Each of the switch units is in an on state when the corresponding light-emitting unit works normally; and is in an off state when the corresponding light-emitting unit is open circuited; The first detection unit is used to generate a first voltage when the switch unit corresponding to the first detection unit is in an on state, and transmit the first voltage to the controller; and is also used to generate a second voltage when the switch unit corresponding to the first detection unit is in an off state, and transmit the second voltage to the controller; The second detection unit is used to generate a third voltage when the switch unit corresponding to the second detection unit is in an on state, and transmit the third voltage to the third detection unit; and is also used to generate a fourth voltage when the switch unit corresponding to the second detection unit is in an off state, and transmit the fourth voltage to the third detection unit; wherein the second detection unit is not the last one of the plurality of detection units electrically connected in sequence, and the third detection unit is the detection unit electrically connected to the output end of the second detection unit; The controller is used to determine whether there is an open-circuit light-emitting unit among the plurality of light-emitting units according to the first voltage or the second voltage; Each of the light-emitting units includes an infrared lamp and a thermistor, the infrared lamp and the thermistor are connected in series between the power supply and the ground, and the corresponding switch unit is electrically connected between the infrared lamp and the thermistor; Each of the light source modules further includes a connection unit, through which the first detection unit and the second detection unit are electrically connected in sequence, and the first detection unit is also electrically connected to the controller through the connection unit.

2. The detection circuit according to claim 1, characterized in that: The first detection unit includes a first resistor and a second resistor, one end of the first resistor is electrically connected to the second detection unit and the switch unit electrically connected to the first detection unit, the other end of the first resistor is electrically connected to the controller and one end of the second resistor, and the other end of the second resistor is electrically connected to the power supply.

3. The detection circuit according to claim 1, characterized in that: Each of the second detection units includes a third resistor and a fourth resistor, one end of the third resistor is electrically connected to the fourth detection unit and the switch unit corresponding to the second detection unit, the other end of the third resistor is electrically connected to the third detection unit and one end of the fourth resistor, and the other end of the fourth resistor is suspended; wherein the fourth detection unit is the detection unit electrically connected to the input end of the second detection unit.

4. The detection circuit according to claim 2, characterized in that: The first detection unit further includes a fifth resistor, and one end of the first resistor is electrically connected to a switch unit corresponding to the first detection unit through the fifth resistor.

5. The detection circuit according to claim 3, characterized in that: The second detection unit further includes a sixth resistor, and one end of the third resistor is electrically connected to the switch unit corresponding to the second detection unit through the sixth resistor.

6. The detection circuit according to claim 1, characterized in that: Each of the switch units includes a first switch tube, a second switch tube and a seventh resistor, wherein a first pin of the first switch tube is electrically connected to the corresponding light-emitting unit, a second pin of the first switch tube is electrically connected to the power supply through the seventh resistor, a first pin of the second switch tube is electrically connected between the second pin of the first switch tube and the seventh resistor, a second pin of the second switch tube is electrically connected to the corresponding detection unit, and a third pin of the first switch tube and a third pin of the second switch tube are both grounded; The first switch tube is in a conducting state when the corresponding light-emitting unit works normally; and is in a non-conducting state when the corresponding light-emitting unit is open circuited; The second switch tube is in a non-conducting state when the first switch tube is in a conducting state; and is in a conducting state when the first switch tube is in a non-conducting state.

7. The detection circuit according to claim 1, characterized in that: The infrared lamp is an infrared halogen lamp or an infrared LED lamp.

8. A color sorting machine, characterized in that: The method comprises a detection circuit as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Lighting system for vehicle

    CN1822733A

  • Detection circuit and color sorter equipment

    CN212459992U