Lens test circuit

By designing the resistance detection module, main control module and gate module of the lens test circuit, the motor action is automatically detected and driven, which solves the problem of cumbersome detection process of the existing lens test circuit and improves the detection efficiency.

CN114137311BActive Publication Date: 2025-05-13DONGGUAN YUTONG OPTICAL TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111562379.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-20
Publication Date
2025-05-13
Estimated Expiration
2041-12-20

AI Technical Summary

Technical Problem

The existing lens testing circuit requires manual buttons to enter the detection motor resistance mode. After the personnel determine that the resistance value is OK, the motor will act, resulting in cumbersome detection process and low efficiency.

Method used

A lens testing circuit is designed, including a resistance value detection module, a main control module, a gate module and a motor drive module. The detection process is simplified by automatically detecting the motor resistance value and automatically driving the motor to act during normal times.

Benefits of technology

The automatic process optimization of lens testing is realized, the detection efficiency is improved, the steps of manually determining resistance values are avoided, and the operation efficiency is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114137311B_ABST
    Figure CN114137311B_ABST
Patent Text Reader

Abstract

The present invention discloses a lens test circuit. The lens test circuit is used to test the motor of the lens, and the lens test circuit includes a resistance detection module, a main control module, a gating module and a motor drive module; the resistance detection module is used to detect whether the resistance of the motor is normal, and outputs a detection signal when it is normal; the main control module is used to receive the detection signal and output a gating control signal and a drive output control signal; the motor drive module includes a drive signal output terminal, the motor drive module is used to output a motor drive signal through the drive signal output terminal based on the drive output control signal, and the gating module is used to gating the motor drive signal to the motor based on the gating control signal to drive the motor to actuate. By adopting the above scheme, the detection process is optimized and the effect of improving the working efficiency is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to a lens testing technology, and in particular to a lens testing circuit. Background Art

[0002] At present, lenses usually include motors. To ensure the basic performance of the lens, the FOCUS and ZOOM ends of the motors that drive the lens need to be tested separately using motor driver chips to ensure that the shipped lenses do not have basic performance quality issues. At the same time, abnormal motor resistance will also affect product quality.

[0003] When testing an existing lens test circuit, it is usually necessary to first press a button to enter the motor resistance detection mode. After the personnel determine that the resistance is OK according to the instructions, they then press a button to make the motor driver chip drive the lens motor for actuation detection. Summary of the invention

[0004] The present invention provides a lens testing circuit to optimize the testing process and improve the operating efficiency.

[0005] The embodiment of the present invention provides a lens test circuit for testing a motor of a lens, wherein the lens test circuit comprises a resistance detection module, a main control module, a gating module and a motor driving module;

[0006] The resistance detection module includes a motor signal input terminal, the motor includes a motor signal output terminal, the motor signal input terminal is electrically connected to the motor signal output terminal, and is used to detect whether the resistance of the motor is normal, and output a detection signal when it is normal;

[0007] The resistance detection module includes a detection signal output terminal, and the main control module includes a detection signal receiving terminal, the detection signal output terminal and the detection signal receiving terminal are electrically connected, and the main control module is used to receive the detection signal and output a gating control signal and a driving output control signal;

[0008] The main control module includes a gating control signal output terminal and a driving output control signal output terminal, the gating module includes a gating control signal receiving terminal, and the gating control signal output terminal is electrically connected to the gating control signal receiving terminal;

[0009] The motor driving module includes a motor driving signal output terminal and a driving output control signal receiving terminal, and the driving output control signal receiving terminal is electrically connected to the driving output control signal output terminal. The motor driving module is used to output a motor driving signal through the driving signal output terminal based on the driving output control signal, and the selection module is used to select the motor driving signal to the motor based on the selection control signal to drive the motor to actuate.

[0010] In an optional embodiment of the present invention, the resistance detection module includes an open circuit resistance detection module and / or a short circuit resistance detection module;

[0011] The disconnection resistance detection module includes a first motor signal input terminal and a disconnection detection signal output terminal, the first motor signal input terminal is electrically connected to the motor signal output terminal, the main control module includes a disconnection detection signal receiving terminal, the disconnection detection signal output terminal is electrically connected to the disconnection detection signal receiving terminal, the disconnection resistance detection module is used to detect whether the resistance of the motor is less than a preset disconnection resistance, and output the disconnection detection signal when it is less than the preset disconnection resistance;

[0012] The short-circuit resistance detection module includes a second motor signal input terminal and a short-circuit detection signal output terminal, the second motor signal input terminal is electrically connected to the motor signal output terminal, the main control module includes a short-circuit detection signal receiving terminal, the short-circuit detection signal output terminal is electrically connected to the short-circuit detection signal receiving terminal, and the short-circuit resistance detection module is used to detect whether the resistance of the motor is greater than a preset short-circuit resistance, and output the short-circuit detection signal when it is greater.

[0013] In an optional embodiment of the present invention, the resistance detection module includes a circuit-breaking resistance detection module, the circuit-breaking resistance detection module includes a first comparator, the first comparator includes a first input terminal, the first motor signal input terminal and the circuit-breaking detection signal output terminal, the first input terminal is used to connect the circuit-breaking reference voltage of the first comparator;

[0014] The first comparator is used to output the disconnection detection signal when the input voltage at the first input terminal is greater than the input voltage at the first motor signal input terminal.

[0015] In an optional embodiment of the present invention, the open circuit resistance detection module further includes a first resistor, a second resistor and a third resistor;

[0016] One end of the first resistor is electrically connected to a power supply, the other end of the first resistor is electrically connected to the second resistor, one end of the second resistor facing away from the first resistor is electrically connected to the ground, and the first input end is connected between the first resistor and the second resistor;

[0017] One end of the third resistor is electrically connected to the power supply, and the other end of the third resistor is electrically connected to the disconnection detection signal output end.

[0018] In an optional embodiment of the present invention, the first resistor and / or the second resistor are adjustable resistors.

[0019] In an optional embodiment of the present invention, the resistance detection module includes a short-circuit resistance detection module, and the short-circuit resistance detection module includes a second comparator and a voltage dividing unit;

[0020] The voltage dividing unit includes the second motor signal input terminal, and the voltage dividing unit also includes a voltage dividing voltage output terminal. The voltage dividing unit is connected in series between the motor and the ground, and is used to divide the voltage between the motor and the ground and output it from the voltage dividing voltage output terminal;

[0021] The second comparator comprises a second input terminal, a divided voltage receiving terminal and the short-circuit detection signal output terminal, wherein the second input terminal is used to connect the short-circuit reference voltage of the second comparator; the divided voltage output terminal is electrically connected to the divided voltage receiving terminal;

[0022] The second comparator is used for outputting the short-circuit detection signal when the input voltage at the second input terminal is greater than the input voltage at the divided voltage receiving terminal.

[0023] In an optional embodiment of the present invention, the short-circuit resistance detection module further includes a fourth resistor, a fifth resistor and a sixth resistor;

[0024] One end of the fourth resistor is electrically connected to a power supply, the other end of the fourth resistor is electrically connected to the fifth resistor, one end of the fifth resistor facing away from the fourth resistor is electrically connected to the ground, and the second input end is connected between the fourth resistor and the fifth resistor;

[0025] One end of the sixth resistor is electrically connected to the power supply, and the other end of the sixth resistor is electrically connected to the disconnection detection signal output end.

[0026] In an optional embodiment of the present invention, the fourth resistor and / or the fifth resistor is an adjustable resistor.

[0027] In an optional embodiment of the present invention, the voltage dividing unit includes a seventh resistor, an eighth resistor, a ninth resistor and a tenth resistor;

[0028] The seventh resistor and the eighth resistor are connected in parallel, and the ninth resistor and the tenth resistor are connected in parallel;

[0029] One end of the seventh resistor and the eighth resistor connected in parallel is electrically connected to the motor, and the other end of the seventh resistor and the eighth resistor connected in parallel is electrically connected to one end of the ninth resistor and the tenth resistor connected in parallel;

[0030] The divided voltage output terminal is located between the seventh resistor and the eighth resistor connected in parallel and between the ninth resistor and the tenth resistor connected in parallel;

[0031] The other end of the ninth resistor and the tenth resistor connected in parallel is electrically connected to the ground.

[0032] In an optional embodiment of the present invention, the gating module further includes a first connection end and a second connection end, the motor drive signal output end is electrically connected to the first connection end, and the second connection end is electrically connected to the motor;

[0033] The gating module is used to gate the first connection end and the second connection end based on the gating control signal so that the motor driving signal is gated to the motor.

[0034] In an optional embodiment of the present invention, the gating module further includes a gating chip, and the gating chip includes the gating control signal receiving end, the first connecting end, and the second connecting end.

[0035] The present invention detects whether the resistance of the motor is normal through a resistance detection module, then receives the detection signal and feeds back a gating control signal through a main control module when the resistance detection module detects that the motor resistance is normal, and then gates the motor drive signal to the motor through the gating module when receiving the gating control signal, so that the motor drive signal output by the motor drive module can drive the motor to actuate. Therefore, after the lens test circuit detects the resistance of the motor and determines that the motor resistance is normal, the motor drive module can automatically drive the motor to actuate through the main control module and the gating module. There is no need to press a button to enter a resistance detection mode during the test. After the personnel determines that the resistance is OK according to the instructions, they press a button to enable the motor drive chip to drive the motor of the lens to perform actuation detection, thereby achieving the effect of optimizing the detection process and improving the work efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 A connection block diagram of a lens test circuit and a motor provided in an embodiment of the present invention;

[0037] Figure 2 A circuit schematic diagram of a resistance detection module provided in an embodiment of the present invention;

[0038] Figure 3 A circuit schematic diagram of a motor terminal provided by an embodiment of the present invention;

[0039] Figure 4 A circuit schematic diagram of a gating module provided by an embodiment of the present invention;

[0040] Figure 5 A circuit schematic diagram of a resistance detection module provided in an embodiment of the present invention;

[0041] Figure 6 A circuit schematic diagram of a main control module provided by an embodiment of the present invention;

[0042] Figure 7 A circuit schematic diagram of a motor drive module provided by an embodiment of the present invention.

[0043] Among them: 1. Resistance detection module; 11. Open circuit resistance detection module; 111. First comparator; 112. First resistor; 113. Second resistor; 114. Third resistor; 12. Short circuit resistance detection module; 121. Second comparator; 122. Voltage divider unit; 1221. Seventh resistor; 1222. Eighth resistor; 1223. Ninth resistor; 1224. Tenth resistor; 123. Fourth resistor; 124. Fifth resistor; 125. Sixth resistor; 2. Main control module; 3. Selection module; 4. Motor drive module. DETAILED DESCRIPTION

[0044] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.

[0045] Figure 1 A connection block diagram of a lens test circuit and a motor provided in an embodiment of the present invention is shown in FIG1 . The lens test circuit is used to test the motor of the lens. The lens test circuit includes a resistance detection module 1, a main control module 2, a selection module 3 and a motor drive module 4.

[0046] The resistance detection module 1 includes a motor signal input terminal, and the motor includes a motor signal output terminal. The motor signal input terminal is electrically connected to the motor signal output terminal, and is used to detect whether the resistance of the motor is normal, and output a detection signal when it is normal.

[0047] The resistance detection module 1 includes a detection signal output terminal, and the main control module 2 includes a detection signal receiving terminal. The detection signal output terminal and the detection signal receiving terminal are electrically connected. The main control module 2 is used to receive the detection signal and output a selection control signal and a drive output control signal.

[0048] The main control module 2 includes a strobe control signal output terminal and a drive output control signal output terminal, and the strobe module 3 includes a strobe control signal receiving terminal, and the strobe control signal output terminal is electrically connected to the strobe control signal receiving terminal.

[0049] The motor driving module 4 includes a motor driving signal output terminal and a driving output control signal receiving terminal, and the driving output control signal receiving terminal is electrically connected to the driving output control signal output terminal. The motor driving module 4 is used to output the motor driving signal through the driving signal output terminal based on the driving output control signal, and the selection module 3 is used to select the motor driving signal to the motor based on the selection control signal to drive the motor to actuate.

[0050] Among them, the resistance detection module 1 refers to a module that can detect whether the resistance of the motor is normal, the main control module 2 refers to a module that can control the gating control signal of the gating module 3 according to the detection signal feedback, the motor driving module 4 refers to a module that can drive the motor to operate, the gating module 3 refers to a module that can select the motor driving signal and the motor, and gating means that the motor driving signal output from the driving signal output end can be output to the motor, and then the motor receives the motor driving signal and can start to operate.

[0051] In the above scheme, the resistance detection module 1 detects whether the resistance of the motor is normal, and then the main control module 2 receives the detection signal and feeds back the selection control signal when the resistance detection module 1 detects that the motor resistance is normal, and then the selection module 3 selects the motor drive signal to the motor when the selection control signal is received, so that the motor drive signal output by the motor drive module 4 can drive the motor to actuate. Therefore, after the lens test circuit detects the resistance of the motor and determines that the motor resistance is normal, the main control module 2 and the selection module 3 can automatically enable the motor drive module 4 to drive the motor to actuate. There is no need to press a button to enter the resistance detection mode during the test. After the personnel determines that the resistance is OK according to the instructions, they press the button to enable the motor drive chip to drive the motor of the lens for actuation detection, thereby achieving the effect of optimizing the detection process and improving the operation efficiency.

[0052] In an optional embodiment of the present invention, Figure 2 As shown, the resistance detection module 1 includes a short circuit resistance detection module 11; the short circuit resistance detection module 11 includes a first motor signal input terminal and a short circuit detection signal output terminal, the first motor signal input terminal is electrically connected to the motor signal output terminal, the main control module 2 includes a short circuit detection signal receiving terminal, the short circuit detection signal output terminal is electrically connected to the short circuit detection signal receiving terminal, and the short circuit resistance detection module 11 is used to detect whether the resistance of the motor is less than a preset short circuit resistance, and output a short circuit detection signal when it is less than.

[0053] Among them, when the motor is short-circuited, the internal resistance will be infinite. The preset short-circuit resistance refers to the preset resistance that the motor will not be higher than when it is normal and should be higher than when it is short-circuited. By determining whether the resistance of the motor is less than the preset short-circuit resistance, it can be determined whether there is a short-circuit abnormality inside the motor. Therefore, based on the short-circuit detection signal, it can be determined whether there is a short-circuit abnormality inside the motor, so it is possible to detect whether the resistance inside the motor is normal.

[0054] Based on the above embodiment, the resistance detection module 1 includes a circuit-breaking resistance detection module 11, and the circuit-breaking resistance detection module 11 includes a first comparator 111. The first comparator 111 includes a first input terminal, a first motor signal input terminal and a circuit-breaking detection signal output terminal. The first input terminal is used to connect the circuit-breaking reference voltage of the first comparator 111; the first comparator 111 is used to output a circuit-breaking detection signal when the input voltage at the first input terminal is greater than the input voltage at the first motor signal input terminal.

[0055] The circuit-breaking reference voltage refers to a voltage value that the motor resistance will not be higher than when it is normal. When the motor is internally disconnected, the internal resistance will be infinite, so the voltage value at the motor will be larger at this time. Therefore, when the motor is internally disconnected and the resistance is abnormal, the input voltage of the first motor signal input terminal will be greater than the input voltage of the first input terminal. Therefore, by using the first comparator 111 and setting the circuit-breaking reference voltage, it is possible to conveniently determine whether the motor resistance of the lens is normal.

[0056] On the basis of the above embodiment, the open circuit resistance detection module 11 further includes a first resistor 112 , a second resistor 113 and a third resistor 114 .

[0057] One end of the first resistor 112 is electrically connected to the power supply, the other end of the first resistor 112 is electrically connected to the second resistor 113 , one end of the second resistor 113 away from the first resistor 112 is electrically connected to the ground, and the first input end is connected between the first resistor 112 and the second resistor 113 .

[0058] One end of the third resistor 114 is electrically connected to the power supply, and the other end of the third resistor 114 is electrically connected to the disconnection detection signal output terminal.

[0059] Among them, since the first resistor 112 and the second resistor 113 have a voltage dividing function, by connecting the first input terminal between the first resistor 112 and the second resistor 113, the circuit breaking reference voltage value can be changed by setting the resistance values ​​of the first resistor 112 and the second resistor 113, so that the circuit breaking reference voltage value can be input to determine whether the motor resistance of the lens is normal.

[0060] Exemplarily, the first resistor 112 and / or the second resistor 113 are adjustable resistors.

[0061] Among them, the adjustable resistor is also called a variable resistor, and its English name is Rheostat. The adjustable resistor is a type of resistor. The resistance value of the adjustable resistor can be adjusted artificially to meet the needs of the circuit.

[0062] For example, in a specific embodiment, the first resistor 112 is a fixed resistor, and the second resistor 113 is an adjustable resistor.

[0063] For example, in another specific embodiment, the second resistor 113 is a fixed resistor, and the first resistor 112 is an adjustable resistor.

[0064] Illustratively, in another specific embodiment, the second resistor 113 and the first resistor 112 are both adjustable resistors.

[0065] By making the first resistor 112 and / or the second resistor 113 adjustable resistors, the tester can easily adjust the resistance of the first resistor 112 and / or the second resistor 113 to change the circuit-breaking reference voltage value, thereby meeting the testing requirements of motors with different resistance values ​​and having strong versatility.

[0066] In an optional embodiment of the present invention, the resistance detection module 1 includes a short-circuit resistance detection module 12; the short-circuit resistance detection module 12 includes a second motor signal input terminal and a short-circuit detection signal output terminal, the second motor signal input terminal is electrically connected to the motor signal output terminal, the main control module 2 includes a short-circuit detection signal receiving terminal, the short-circuit detection signal output terminal is electrically connected to the short-circuit detection signal receiving terminal, and the short-circuit resistance detection module 12 is used to detect whether the resistance of the motor is greater than a preset short-circuit resistance, and output a short-circuit detection signal when it is greater.

[0067] Among them, when the motor is short-circuited, the internal resistance will be infinitely small, close to 0. The preset short-circuit resistance refers to the preset resistance that the motor will not be lower than when it is normal and should be lower than when it is short-circuited. By determining whether the resistance of the motor is greater than the preset short-circuit resistance, it can be determined whether there is a short-circuit abnormality inside the motor. Therefore, based on the short-circuit detection signal, it can be determined whether there is a short-circuit abnormality inside the motor. Therefore, it can be detected whether the resistance inside the motor is normal, and it can be determined whether the resistance of the motor is within the specification, thereby avoiding the outflow of defective motor resistance products.

[0068] On the basis of the above embodiment, the resistance detection module 1 includes a short-circuit resistance detection module 12 , and the short-circuit resistance detection module 12 includes a second comparator 121 and a voltage dividing unit 122 .

[0069] The voltage divider unit 122 includes a second motor signal input terminal, and the voltage divider unit 122 also includes a voltage divider voltage output terminal. The voltage divider unit 122 is connected in series between the motor and the ground, and is used to divide the voltage between the motor and the ground and output it from the voltage divider voltage output terminal.

[0070] The second comparator 121 includes a second input terminal, a divided voltage receiving terminal and a short-circuit detection signal output terminal. The second input terminal is used to connect the short-circuit reference voltage of the second comparator 121; the divided voltage output terminal is electrically connected to the divided voltage receiving terminal.

[0071] The second comparator 121 is used for outputting a short-circuit detection signal when the input voltage at the second input terminal is greater than the input voltage at the divided voltage receiving terminal.

[0072] Among them, when the motor is short-circuited, the internal resistance will be infinitely small, close to 0. Since the motor and the voltage divider unit 122 are connected in series, the voltage divider unit 122 will also have a certain resistance, so the voltage output by the voltage divider voltage output terminal of the voltage divider unit 122 will increase at this time. The short-circuit reference voltage refers to the voltage value that the voltage output by the voltage divider voltage output terminal of the voltage divider unit 122 will not be higher than when the motor resistance is normal. Therefore, when the motor is short-circuited and the resistance is abnormal, the input voltage of the voltage divider voltage receiving terminal will be greater than the input voltage of the second input terminal. Therefore, through the second comparator 121 and the setting of the short-circuit reference voltage, it is convenient to judge whether the motor resistance of the lens is normal, and whether the motor resistance is within the specification, thereby avoiding the outflow of defective motor resistance products.

[0073] On the basis of the above embodiment, the short-circuit resistance detection module 12 further includes a fourth resistor 123 , a fifth resistor 124 and a sixth resistor 125 .

[0074] One end of the fourth resistor 123 is electrically connected to the power supply, the other end of the fourth resistor 123 is electrically connected to the fifth resistor 124 , one end of the fifth resistor 124 away from the fourth resistor 123 is electrically connected to the ground, and the second input end is connected between the fourth resistor 123 and the fifth resistor 124 .

[0075] One end of the sixth resistor 125 is electrically connected to the power supply, and the other end of the sixth resistor 125 is electrically connected to the disconnection detection signal output terminal.

[0076] Among them, since the fourth resistor 123 and the fifth resistor 124 have a voltage dividing function, by connecting the second input terminal between the fourth resistor 123 and the fifth resistor 124, the short-circuit reference voltage value can be changed by setting the resistance values ​​of the fourth resistor 123 and the fifth resistor 124, so as to facilitate inputting the short-circuit reference voltage value to determine whether the motor resistance of the lens is normal.

[0077] Exemplarily, the fourth resistor 123 and / or the fifth resistor 124 are adjustable resistors.

[0078] Illustratively, in a specific embodiment, the fourth resistor 123 is a fixed resistor, and the fifth resistor 124 is an adjustable resistor.

[0079] Illustratively, in another specific embodiment, the fifth resistor 124 is a fixed resistor, and the fourth resistor 123 is an adjustable resistor.

[0080] Illustratively, in another specific embodiment, the fourth resistor 123 and the fifth resistor 124 are both adjustable resistors.

[0081] By making the fourth resistor 123 and / or the fifth resistor 124 adjustable resistors, the tester can conveniently adjust the resistance of the fourth resistor 123 and / or the fifth resistor 124 to change the short-circuit reference voltage value, thereby meeting the testing requirements of motors with different resistance values ​​and having strong versatility.

[0082] In an optional embodiment of the present invention, the voltage dividing unit 122 includes a seventh resistor 1221 , an eighth resistor 1222 , a ninth resistor 1223 and a tenth resistor 1224 .

[0083] The seventh resistor 1221 and the eighth resistor 1222 are connected in parallel, and the ninth resistor 1223 and the tenth resistor 1224 are connected in parallel.

[0084] One end of the seventh resistor 1221 and the eighth resistor 1222 connected in parallel is electrically connected to the motor, and the other end of the seventh resistor 1221 and the eighth resistor 1222 connected in parallel is electrically connected to one end of the ninth resistor 1223 and the tenth resistor 1224 connected in parallel.

[0085] The divided voltage output terminal is located between the seventh resistor 1221 and the eighth resistor 1222 connected in parallel and between the ninth resistor 1223 and the tenth resistor 1224 connected in parallel.

[0086] The other end of the ninth resistor 1223 and the tenth resistor 1224 connected in parallel is electrically connected to the ground.

[0087] Among them, by setting the seventh resistor 1221, the eighth resistor 1222, the ninth resistor 1223 and the tenth resistor 1224, when the resistance values ​​of the seventh resistor 1221, the eighth resistor 1222, the ninth resistor 1223 and the tenth resistor 1224 are different, the voltage output by the voltage divider output terminal will also be correspondingly different. When the motor is short-circuited internally, the internal resistance will be infinitely small, close to 0. At this time, by setting the seventh resistor 1221, the eighth resistor 1222, the ninth resistor 1223 and the tenth resistor 1224, the voltage output by the voltage divider output terminal will increase, which will be much higher than the internal resistance of the motor when it is normal. Therefore, by outputting a short-circuit detection signal when the input voltage at the second input terminal is greater than the input voltage at the voltage divider receiving terminal, it is possible to conveniently determine whether the motor resistance of the lens is normal.

[0088] In an optional embodiment of the present invention, the selection module 3 also includes a first connection terminal and a second connection terminal, the motor drive signal output terminal is electrically connected to the first connection terminal, and the second connection terminal is electrically connected to the motor; the selection module 3 is used to select the first connection terminal and the second connection terminal based on the selection control signal so that the motor drive signal is selected to the motor.

[0089] When the selection module 3 receives the selection control signal, it can conveniently make the first connection end and the second connection end electrically conductive, so that the motor driving signal can be output to the motor to drive the motor to start operation, and the selection is more convenient.

[0090] On the basis of the above embodiment, the gating module 3 further includes a gating chip, and the gating chip includes a gating control signal receiving end, a first connecting end and a second connecting end.

[0091] Among them, currently, relay gating is usually used for gating. Compared with using relays, the advantages of using gating chips are as follows: 1. It can avoid the induced electromotive force and peak current generated by the relay from damaging other weak-current components in the circuit; 2. It is small in size and does not take up space; 3. It has a fast response speed.

[0092] The following is a specific example to illustrate the specific structure of the lens test circuit. In this example, the lens has two motors, both of which are four-phase, totaling eight phases. The lens test circuit has motor terminals for connecting the motors, such as Figure 3 As shown, J1 and J2 in the figure are motor terminals. The pins LD MOTB-, LD MOTB+, LD MOTA-, and LD MOTA+ of J1 are used to connect to the four phases of one motor, and the pins ZM MOTB-, ZM MOTB+, ZM MOTA-, and ZM MOTA+ of J2 are used to connect to the four phases of another motor.

[0093] The gating module 3 includes a gating chip, such as Figure 4 As shown, U2, U5, U6, and U8 in the figure are all enabling chips, each enabling chip corresponds to two phases, the S1B pin of the enabling chip is connected to the S1AD1 pin, and the S2B pin of the enabling chip is connected to the S2AD2 pin. Since the S1B pin and S2B pin of the enabling chip are electrically connected to the motor signal input end of the resistance detection module 1, that is, the input positions of LD MOTB2-, LDMOTB2+, LD MOTA2-, LD MOTA2+, ZM MOTB2-, ZM MOTB2+, ZM MOTA2-, and ZM MOTA2+ in the figure, the motor is electrically connected to the resistance detection module 1.

[0094] like Figure 2 and Figure 5As shown, there are two resistance detection modules 1, which are used to detect the resistance of two motors respectively. The following is a specific description of one of them. The first comparator 111 is U1A in the figure, and the second comparator 121 is U1B in the figure. When the motor is disconnected, the input voltage of pin 5 of U1A will increase, so that the input voltage of pin 5 of U1A will be greater than the input voltage of pin 4. At this time, LED1 outputs a high level. When the motor is short-circuited, the input voltage of pin 7 of U1B will increase, so that the input voltage of pin 7 of U1B will be greater than the input voltage of pin 6. At this time, LED2 outputs a low level. Therefore, when the motor is normal, LED1 and LED2 will both output a high level. Similarly, when both motors are normal, LED1, LED2, LED3, and LED4 will all output a high level. The end that outputs LED1, LED2, LED3, and LED4 is the detection signal output end.

[0095] like Figure 6 As shown, pins 93, 92, 91 and 89 marked with LED1, LED2, LED3 and LED4 in the main control module 2 are the detection signal receiving ends. When LED1, LED2, LED3 and LED4 all have outputs and are received by the main control module 2, pins 58, 59, 63 and 64 marked with SWITCH1, SWITCH2, SWITCH3 and SWITCH4 of the main control module 2 all have outputs, and pins 58, 59, 63 and 64 of the main control module 2 are the selection control signal output ends.

[0096] like Figure 4 and Figure 6 As shown, the IN1 pins of the enable chip U2, the enable chip U5, the enable chip U6, and the enable chip U8 marked with SWITCH1, SWITCH2, SWITCH3, and SWITCH4 are the receiving ends of the enable control signals; when the IN1 pins of the enable chip U2, the enable chip U5, the enable chip U6, and the enable chip U8 receive the SWITCH1, SWITCH2, SWITCH3, and SWITCH4 signals respectively, the S1A pins of the enable chip U2, the enable chip U5, the enable chip U6, and the enable chip U8 will be connected to the D1 pin and the S2A pin will be connected to the D2 pin.

[0097] like Figure 7As shown, the motor drive signal of the motor drive module 4 will be output by pins 21, 19, 17, 15, 44, 46, 40, and 42 marked with LD MOTB1-, LD MOTB1+, LDMOTA1-, LD MOTA1+, ZM MOTB1-, ZM MOTB1+, ZM MOTA1-, and ZM MOTA1+. Pins 21, 19, 17, 15, 44, 46, 40, and 42 are the motor drive signal output terminals. Figure 4 and Figure 7 As shown, the S1A pin of the enable chip U2, the enable chip U5, the enable chip U6, and the enable chip U8 is the first connection end, and the D2 pin of the enable chip U2, the enable chip U5, the enable chip U6, and the enable chip U8 is the second connection end. When the S2A pin and D2 are turned on, the motor driving signal will be output to the motor to drive the motor to operate.

[0098] The above scheme is a specific description of this embodiment. In actual applications, the pin numbers and specific connection methods of the selection chip, the chip used by the main control module 2, and the chip used by the motor drive module 4 will be different depending on the selection. No specific limitation is made here, only examples are given.

[0099] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A lens test circuit for testing a lens motor, characterized in that: It comprises a resistance detection module (1), a main control module (2), a gating module (3) and a motor driving module (4); The resistance detection module (1) comprises a motor signal input terminal, the motor comprises a motor signal output terminal, the motor signal input terminal is electrically connected to the motor signal output terminal, and is used to detect whether the resistance of the motor is normal, and output a detection signal when it is normal; The resistance detection module (1) comprises a detection signal output terminal, and the main control module (2) comprises a detection signal receiving terminal, the detection signal output terminal and the detection signal receiving terminal are electrically connected, and the main control module (2) is used to receive the detection signal and output a gating control signal and a driving output control signal; The main control module (2) comprises a gating control signal output terminal and a driving output control signal output terminal, and the gating module (3) comprises a gating control signal receiving terminal, wherein the gating control signal output terminal is electrically connected to the gating control signal receiving terminal; The motor drive module (4) comprises a motor drive signal output terminal and a drive output control signal receiving terminal, wherein the drive output control signal receiving terminal is electrically connected to the drive output control signal output terminal, and the motor drive module (4) is used to output a motor drive signal through the drive signal output terminal based on the drive output control signal, and the gating module (3) is used to gating the motor drive signal to the motor based on the gating control signal, so as to drive the motor to actuate; The gating module (3) further comprises a first connection end and a second connection end, the motor drive signal output end is electrically connected to the first connection end, and the second connection end is electrically connected to the motor; The gating module (3) is used to gating the first connection end and the second connection end based on the gating control signal so that the motor driving signal is gated to the motor.

2. The lens testing circuit according to claim 1, characterized in that: The resistance detection module (1) comprises an open circuit resistance detection module (11) and / or a short circuit resistance detection module (12); The disconnection resistance detection module (11) comprises a first motor signal input terminal and a disconnection detection signal output terminal, wherein the first motor signal input terminal is electrically connected to the motor signal output terminal, and the main control module (2) comprises a disconnection detection signal receiving terminal, wherein the disconnection detection signal output terminal is electrically connected to the disconnection detection signal receiving terminal, and the disconnection resistance detection module (11) is used to detect whether the resistance of the motor is less than a preset disconnection resistance, and output the disconnection detection signal when the resistance is less than the preset disconnection resistance; The short-circuit resistance detection module (12) comprises a second motor signal input terminal and a short-circuit detection signal output terminal, the second motor signal input terminal is electrically connected to the motor signal output terminal, the main control module (2) comprises a short-circuit detection signal receiving terminal, the short-circuit detection signal output terminal is electrically connected to the short-circuit detection signal receiving terminal, and the short-circuit resistance detection module (12) is used to detect whether the resistance of the motor is greater than a preset short-circuit resistance, and output the short-circuit detection signal when it is greater.

3. The lens testing circuit according to claim 2, characterized in that: The resistance detection module (1) comprises a circuit-breaking resistance detection module (11), the circuit-breaking resistance detection module (11) comprises a first comparator (111), the first comparator (111) comprises a first input terminal, the first motor signal input terminal and the circuit-breaking detection signal output terminal, the first input terminal is used to connect the circuit-breaking reference voltage of the first comparator (111); The first comparator (111) is used to output the disconnection detection signal when the input voltage at the first input terminal is greater than the input voltage at the first motor signal input terminal.

4. The lens testing circuit according to claim 3, characterized in that: The open circuit resistance detection module (11) further comprises a first resistor (112), a second resistor (113) and a third resistor (114); One end of the first resistor (112) is electrically connected to a power source, the other end of the first resistor (112) is electrically connected to the second resistor (113), one end of the second resistor (113) facing away from the first resistor (112) is electrically connected to the ground, and the first input end is connected between the first resistor (112) and the second resistor (113); One end of the third resistor (114) is electrically connected to the power supply, and the other end of the third resistor (114) is electrically connected to the disconnection detection signal output end.

5. The lens testing circuit according to claim 4, characterized in that: The first resistor (112) and / or the second resistor (113) are adjustable resistors.

6. The lens testing circuit according to claim 2, characterized in that: The resistance detection module (1) comprises a short-circuit resistance detection module (12), and the short-circuit resistance detection module (12) comprises a second comparator (121) and a voltage dividing unit (122); The voltage dividing unit (122) comprises the second motor signal input terminal, the voltage dividing unit (122) also comprises a voltage dividing voltage output terminal, the voltage dividing unit (122) is connected in series between the motor and the ground, and is used to divide the voltage between the motor and the ground and output it from the voltage dividing voltage output terminal; The second comparator (121) comprises a second input terminal, a divided voltage receiving terminal and the short-circuit detection signal output terminal, wherein the second input terminal is used to connect the short-circuit reference voltage of the second comparator (121); the divided voltage output terminal is electrically connected to the divided voltage receiving terminal; The second comparator (121) is used for outputting the short-circuit detection signal when the input voltage at the second input terminal is greater than the input voltage at the divided voltage receiving terminal.

7. The lens testing circuit according to claim 6, characterized in that: The short-circuit resistance detection module (12) further comprises a fourth resistor (123), a fifth resistor (124) and a sixth resistor (125); One end of the fourth resistor (123) is electrically connected to a power source, the other end of the fourth resistor (123) is electrically connected to the fifth resistor (124), one end of the fifth resistor (124) facing away from the fourth resistor (123) is electrically connected to the ground, and the second input end is connected between the fourth resistor (123) and the fifth resistor (124); One end of the sixth resistor (125) is electrically connected to the power supply, and the other end of the sixth resistor (125) is electrically connected to the disconnection detection signal output end.

8. The lens testing circuit according to claim 7, characterized in that: The fourth resistor (123) and / or the fifth resistor (124) are adjustable resistors.

9. The lens testing circuit according to claim 6, characterized in that: The voltage dividing unit (122) comprises a seventh resistor (1221), an eighth resistor (1222), a ninth resistor (1223) and a tenth resistor (1224); The seventh resistor (1221) and the eighth resistor (1222) are connected in parallel, and the ninth resistor (1223) and the tenth resistor (1224) are connected in parallel; One end of the seventh resistor (1221) and the eighth resistor (1222) connected in parallel is electrically connected to the motor, and the other end of the seventh resistor (1221) and the eighth resistor (1222) connected in parallel is electrically connected to one end of the ninth resistor (1223) and the tenth resistor (1224) connected in parallel; The divided voltage output terminal is located between the seventh resistor (1221) and the eighth resistor (1222) connected in parallel and between the ninth resistor (1223) and the tenth resistor (1224) connected in parallel; The other end of the ninth resistor (1223) and the tenth resistor (1224) connected in parallel is electrically connected to the ground.

10. The lens testing circuit according to claim 1, characterized in that: The gating module (3) further comprises a gating chip, wherein the gating chip comprises the gating control signal receiving end, the first connecting end and the second connecting end.

Citation Information

Patent Citations

  • Motor control and multifunctional protection circuit for vibration tests

    CN104052350A

  • Camera module group detection method, device and instrument

    CN106597193A