Photographic lens test circuit and system
By designing a camera lens test circuit and using USB communication and MCU control modules to support lens testing with different interface types, the problems of high testing cost and complexity in existing technologies are solved, simplified and low-cost batch testing is achieved, and power supply safety is ensured.
Patent Information
- Application Number
- CN202422805193.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-15
- Publication Date
- 2025-09-26
- Estimated Expiration
- 2034-11-15
AI Technical Summary
In existing camera lens testing solutions, cameras are connected to the lenses and tested through a computer serial port assistant program. This results in high testing costs and complexity. In particular, when testing lenses with different interface types, the camera needs to be replaced, which increases the testing cost.
A camera lens test circuit was designed, which included a USB communication module, an MCU control module, a camera lens interface module, and a power conversion module. The USB communication module provided power signals, and the MCU control module sent test instructions. This circuit supported testing of lenses with different interface types, and was combined with the power control module to ensure power supply safety.
This simplifies and reduces the cost of batch camera lens testing, avoids the complexity and high cost of camera replacement, and ensures the safety and reliability of lens power supply.
Smart Images

Figure CN223391390U_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the utility model relate to the field of testing technology, and in particular to a camera lens testing circuit and system. Background Art
[0002] Existing manufacturers' testing of camera lenses requires connecting a camera to the lens, then connecting it to a computer via a USB cable. Testing and writing lens information (manufacturer information, PCBA serial number, customer serial number, and basic lens information) are performed using a computer serial port assistant program. This testing approach presents several issues: Firstly, the camera is extremely expensive, leading to high costs for mass production testing and increased testing costs; secondly, testing lenses with other interface types requires switching to a different camera, complicating testing. Utility Model Content
[0003] The utility model provides a photographic lens testing circuit and system, which realize the testing of batch photographic lenses, simplify the testing and reduce the testing cost.
[0004] To achieve the above objectives, in a first aspect, an embodiment of the present utility model provides a photographic lens test circuit, the circuit comprising: a USB communication module, an MCU control module, a photographic lens interface module, and a power conversion module;
[0005] The power output end of the USB communication module is electrically connected to the input end of the power conversion module; the output end of the power conversion module is electrically connected to each camera lens;
[0006] The test instruction output end of the USB communication module is electrically connected to the test instruction receiving end of the MCU control module; the output end of the MCU control module is electrically connected to the input end of the camera lens interface module; and the output end of the camera lens interface module is electrically connected to each camera lens.
[0007] Optionally, the circuit further includes: a power supply control module;
[0008] The output end of the power conversion module is electrically connected to the input end of the power control module; the output end of the power control module is electrically connected to each camera; the control end of the power control module is electrically connected to the power control end of the MCU control module; the voltage detection end of the MCU control module is electrically connected to the output end of the power conversion module.
[0009] Optionally, the circuit further includes: a power indication module; the power indication module is electrically connected to the output end of the power control module.
[0010] Optionally, the camera lens interface module includes: a full-duplex SPI communication interface unit, a half-duplex SPI communication interface unit and a USRT communication interface unit.
[0011] Optionally, the power conversion module includes a power conversion chip.
[0012] Optionally, the power control module includes a plurality of power control units; each of the power control units includes: a first triode, a pull-up resistor and a first transistor;
[0013] The control end of each first transistor is electrically connected to the control end of the MCU control module; the first end of each first transistor is electrically connected to the first end of the pull-up resistor; the second end of each pull-up resistor is electrically connected to the output end of the power conversion module; the second end of each first transistor is grounded; the first end of each pull-up resistor is also electrically connected to the control end of each first transistor; the second end of each pull-up resistor is also electrically connected to the first end of each first transistor; the second end of each first transistor is electrically connected to each camera.
[0014] Optionally, the power indication module includes a plurality of power indication units; each of the power indication units includes: a current limiting resistor and a light emitting diode;
[0015] The first end of each current-limiting resistor is electrically connected to the second end of each first transistor; the second end of each current-limiting resistor is electrically connected to the first end of each light-emitting diode; and the second end of each light-emitting diode is grounded.
[0016] Optionally, the model of the MCU control module is: STM32G0B1CCT6.
[0017] Optionally, the model of the power conversion chip is: LR9102G-33-AL5-R.
[0018] In a second aspect, an embodiment of the present invention further provides a camera lens testing system, which includes the camera lens testing circuit described in the first aspect, a host computer, and each camera lens; the host computer is electrically connected to the USB communication module.
[0019] The utility model is characterized in that the power output end of the USB communication module is electrically connected to the input end of the power conversion module; the output end of the power conversion module is electrically connected to each camera lens; the test instruction output end of the USB communication module is electrically connected to the test instruction receiving end of the MCU control module; the output end of the MCU control module is electrically connected to the input end of the photographic lens interface module; the output end of the photographic lens interface module is electrically connected to each camera lens, so that the power output end of the USB communication module outputs a power signal to the power conversion module, the power conversion module converts the power signal into a specific power signal required by the photographic lens, and the photographic lens is powered on; after the photographic lens is powered on, the test instruction output end of the USB communication module outputs a test instruction to the MCU control module, and the MCU control module sends the test instruction to the photographic lens through the photographic lens interface module, thereby completing the test of the photographic lens; in addition, since the photographic lens interface module can be an interface module of different types, it can support the testing of photographic lenses of different interface types.
[0020] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present invention, nor is it intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0022] Figure 1 This is a structural diagram of a photographic lens test circuit provided by an embodiment of the present utility model;
[0023] Figure 2 This is a structural diagram of another photographic lens testing circuit provided by an embodiment of the present utility model;
[0024] Figure 3 This is a structural diagram of another photographic lens testing circuit provided by an embodiment of the present utility model;
[0025] Figure 4 This is a structural diagram of another photographic lens testing circuit provided by an embodiment of the present utility model;
[0026] Figure 5 The figure is a schematic diagram of the specific structure of a photographic lens test circuit provided by an embodiment of the present utility model. DETAILED DESCRIPTION
[0027] In order to help those skilled in the art better understand the present invention, the following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making any creative work should fall within the scope of protection of the present invention.
[0028] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0029] Figure 1 FIG. 1 is a schematic diagram of a photographic lens test circuit provided by an embodiment of the present invention; Figure 1 As shown, the circuit includes: a USB communication module 10, an MCU control module 20, a camera lens interface module 30 and a power conversion module 40; the power output terminal VBUS of the USB communication module 10 is electrically connected to the input terminal of the power conversion module 40; the output terminal of the power conversion module 40 is electrically connected to each camera lens; the test instruction output terminal B+ of the USB communication module 10 is electrically connected to the test instruction receiving terminal of the MCU control module 20; the output terminal of the MCU control module 20 is electrically connected to the input terminal of the camera lens interface module 30; and the output terminal of the camera lens interface module 30 is electrically connected to each camera lens.
[0030] The model of the MCU control module 20 may be: STM32G0B1CCT6; the MCU control module 20 is a single PCB board with a small size; the camera lens interface module 30 is a different type of communication interface that can meet the connection requirements of different communication interface camera lenses;
[0031] The specific test process of the camera lens test circuit is as follows: the USB communication module 10 receives the power signal of the external power supply, so that the power output terminal of the USB communication module 10 outputs the power signal to the power conversion module 40, and the power conversion module 40 converts the power signal into a specific power signal required by the corresponding camera lens, and the camera lens is powered on; after the camera lens is powered on, the USB communication module 10 can receive the custom test instructions output by the host computer and output them to the MCU control module 20 through the test instruction output terminal. The MCU control module 20 sends the custom test instructions to the camera lens through the camera lens interface module 30, and then And complete the test of the corresponding photographic lens; since the photographic lens interface module 30 can be an interface module of different types, it can support the test of photographic lenses of different interface types, realize the test of batch photographic lenses and simplify the test, and avoid the need to replace different cameras for testing when testing photographic lenses of other interface types in the existing technology, which complicates the test; in addition, compared with using a camera to connect the photographic lens and then connecting it to the computer with a USB cable, and testing and writing lens information through the computer serial port assistant program, the camera cost is expensive and the cost of mass production and testing is high, which increases the testing cost. The testing cost of this solution is lower.
[0032] Based on the above embodiment, the test circuit is further optimized and each module is refined. Figure 2 FIG. 1 is a schematic structural diagram of another photographic lens test circuit provided by an embodiment of the present utility model; Figure 2 As shown, the circuit also includes: a power control module 50; the output end of the power conversion module 40 is electrically connected to the input end of the power control module 50; the output end of the power control module 50 is electrically connected to each camera lens; the control end of the power control module 50 is electrically connected to the power control end of the MCU control module 20; and the voltage detection end of the MCU control module 20 is electrically connected to the output end of the power conversion module 40.
[0033] In the prior art, a camera is connected to a photographic lens and then to a computer via a USB cable. Testing and lens information writing are performed using a computer serial port assistant program. This testing solution may result in both the camera and the computer supplying power to the lens simultaneously. Since the prior solution cannot detect the power supply status within the photographic lens, if there is a short circuit in the photographic lens or if there is an error in the mounting of the PCB board components inside the photographic lens, the photographic lens PCBA may be easily burned. In severe cases, current may flow back into the camera, damaging the camera's electronic components. In contrast, before testing the photographic lens, the present embodiment powers the photographic lens via the power conversion module 40. During the power supply process, the MCU control module 20 can perform real-time detection of the specific power signal output by the power conversion module 40. When it is detected that the specific power signal meets the power signal requirements of the photographic lens, the power control module 50 is controlled to be turned on, thereby outputting the specific power signal to the photographic lens. When it is detected that the specific power signal does not meet the power signal requirements of the photographic lens, the power control module 50 is controlled to be turned off, thereby preventing the specific power signal from being output to the photographic lens. In this way, the power control module 50 ensures power supply security for the photographic lens.
[0034] Optional, Figure 3 FIG. 1 is a schematic structural diagram of another photographic lens test circuit provided by an embodiment of the present utility model; Figure 3 As shown, the circuit further includes: a power indication module 60 ; the power indication module 60 is electrically connected to the output end of the power control module 50 .
[0035] Among them, the power indication module 60 can indicate whether the photographic lens is in a normal power supply state; specifically, when the power control module 50 is in the on state, the power conversion module 40 outputs a specific power signal to the photographic lens, and at this time the power indication module 60 indicates that the photographic lens is in a normal power supply state; when the power control module 50 is in the off state, the power conversion module 40 cannot output a specific power signal to the photographic lens, and at this time the power indication module 60 indicates that the photographic lens is in an abnormal power supply state.
[0036] Optional, Figure 4 FIG. 1 is a schematic structural diagram of another photographic lens test circuit provided by an embodiment of the present utility model; Figure 4 As shown, the camera lens interface module 30 includes a full-duplex SPI communication interface unit 31, a half-duplex SPI communication interface unit 32, and a USRT communication interface unit 33. In some embodiments, the camera lens interface module 30 includes the full-duplex SPI communication interface unit 31, the half-duplex SPI communication interface unit 32, and the USRT communication interface unit 33, so that the test circuit can be compatible with cameras requiring full-duplex SPI communication, cameras requiring half-duplex SPI communication, and cameras requiring USRT communication.
[0037] The following is a detailed circuit diagram. Figure 5 FIG. 1 is a schematic diagram of a specific structure of a photographic lens test circuit provided by an embodiment of the present utility model; Figure 5 As shown, the power conversion module 40 in the test circuit includes a power conversion chip U1. The model number of the power conversion chip U1 is LR9102G-33-AL5-R. Specifically, the input terminal VIN of the power conversion chip U1 is electrically connected to the power output terminal VBUS of the USB communication module 10; the output terminal VOUT of the power conversion chip U1 is electrically connected to the input terminal of the power control module 50. The power conversion chip U1 also includes an input capacitor C1 and an output capacitor C2. The input capacitor C1 filters the input power signal; the output capacitor C2 filters the input specific power signal.
[0038] Optional, continue to refer to Figure 5 The power control module 50 includes a plurality of power control units 51; each power control unit includes: a first transistor K1, a pull-up resistor R and a first transistor Q1;
[0039] The control end of each first transistor K1 is electrically connected to the control end of the MCU control module 20; the first end of each first transistor K1 is electrically connected to the first end of each pull-up resistor R; the second end of each pull-up resistor R is electrically connected to the output end of the power conversion module 40 (i.e., the output end VOUT of the power conversion chip U1); the second end of each first transistor K1 is grounded; the first end of each pull-up resistor R is also electrically connected to the control end of each first transistor Q1; the second end of each pull-up resistor R is also electrically connected to the first end of each first transistor Q1; the second end of each first transistor Q1 is electrically connected to each camera.
[0040] Specifically, when the MCU control module 20 detects that the specific power signal meets the power signal of any photographic lens, it outputs a high-level control signal to any first transistor K1, the first transistor K1 is turned on, the first end of the first transistor K1 is pulled low, and the first transistor Q1 is turned on, thereby transmitting the specific power signal output from the output end VOUT of the power conversion chip U1 to any photographic lens, so that any photographic lens can be powered on normally; when the MCU control module 20 detects that the specific power signal does not meet the power signal of any photographic lens, it outputs a low-level control signal to any first transistor K1, the first transistor K1 is disconnected, the first end of the first transistor K1 remains at a high level (the pull-up resistor R can ensure that the first end of the first transistor K1 remains at a high level), and the first transistor Q1 is disconnected, thereby failing to transmit the specific power signal output from the output end VOUT of the power conversion chip U1 to any photographic lens, thereby failing to power on any photographic lens.
[0041] Optional, continue to refer to Figure 5 The power indication module 60 includes multiple power indication units 61; each power indication unit 61 includes: a current limiting resistor R1 and a light-emitting diode D1`; the first end of each current limiting resistor R1 is electrically connected to the second end of each first transistor Q1; the second end of each current limiting resistor R1 is electrically connected to the first end of each light-emitting diode D1; the second end of each light-emitting diode D1 is grounded.
[0042] Specifically, when the first transistor Q1 is turned on, the specific power signal output from the output terminal VOUT of the power conversion chip U1 is transmitted to any camera lens, thereby enabling any camera lens to be powered on normally; at the same time, the first light-emitting diode D1 is turned on, and the first light-emitting diode D1 emits light for indication; when the first transistor Q1 is turned off, the specific power signal output from the output terminal VOUT of the power conversion chip U1 cannot be transmitted to any camera lens, thereby preventing any camera lens from being powered on; at the same time, the first light-emitting diode D1 is turned off, and the first light-emitting diode D1 cannot emit light for indication; wherein, the current-limiting resistor R plays a role in current limiting. In this way, light indication is achieved through the first light-emitting diode D1.
[0043] Based on the same inventive concept, the present invention also provides a camera lens testing system, comprising the camera lens testing circuit described in the first aspect above, a host computer, and various camera lenses; the host computer is electrically connected to a USB communication module. The host computer can write custom test instructions; the USB communication module 10 can receive the custom test instructions output by the host computer and output them to the MCU control module 20 via a test instruction output terminal. The MCU control module 20 then transmits the custom test instructions to the camera lens via a camera lens interface module 30, thereby completing the testing of the camera lens. Because this system includes the camera lens testing circuit described in the above embodiment, it also possesses the beneficial effects of the above embodiment, which will not be further elaborated here.
[0044] Note that the above are merely preferred embodiments of the present invention and the technical principles employed. Those skilled in the art will appreciate that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments, and substitutions are possible for those skilled in the art without departing from the scope of protection of the present invention. Therefore, while the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments and may include many other equivalent embodiments without departing from the scope of the present invention. The scope of the present invention is determined by the scope of the appended claims.
Claims
1. A camera lens test circuit, characterized in that: include: USB communication module, MCU control module, camera lens interface module and power conversion module; The power output end of the USB communication module is electrically connected to the input end of the power conversion module; the output end of the power conversion module is electrically connected to each camera lens; The test instruction output end of the USB communication module is electrically connected to the test instruction receiving end of the MCU control module; the output end of the MCU control module is electrically connected to the input end of the camera lens interface module; and the output end of the camera lens interface module is electrically connected to each camera lens.
2. The photographic lens test circuit according to claim 1, wherein: Also includes: Power control module; The output end of the power conversion module is electrically connected to the input end of the power control module; The output end of the power control module is electrically connected to each camera; the control end of the power control module is electrically connected to the power control end of the MCU control module; and the voltage detection end of the MCU control module is electrically connected to the output end of the power conversion module.
3. The camera lens test circuit according to claim 2, wherein: Also includes: Power indicator module; The power indication module is electrically connected to the output end of the power control module.
4. The photographic lens test circuit according to claim 1, wherein: The camera lens interface module includes: a full-duplex SPI communication interface unit, a half-duplex SPI communication interface unit and a USRT communication interface unit.
5. The photographic lens test circuit according to claim 1, wherein: The power conversion module includes a power conversion chip.
6. The photographic lens test circuit according to claim 3, wherein: The power control module includes a plurality of power control units; each of the power control units includes: a first triode, a pull-up resistor and a first transistor; The control end of each first transistor is electrically connected to the control end of the MCU control module; the first end of each first transistor is electrically connected to the first end of the pull-up resistor; the second end of each pull-up resistor is electrically connected to the output end of the power conversion module; the second end of each first transistor is grounded; the first end of each pull-up resistor is also electrically connected to the control end of each first transistor; the second end of each pull-up resistor is also electrically connected to the first end of each first transistor; the second end of each first transistor is electrically connected to each camera.
7. The photographic lens test circuit according to claim 6, wherein: The power indication module includes a plurality of power indication units; Each of the power indicator units includes: a current limiting resistor and a light emitting diode; The first end of each current-limiting resistor is electrically connected to the second end of each first transistor; The second end of each current-limiting resistor is electrically connected to the first end of each light-emitting diode; and the second end of each light-emitting diode is grounded.
8. The photographic lens test circuit according to claim 1, wherein: The model of the MCU control module is: STM32G0B1CCT6.
9. The photographic lens test circuit according to claim 5, wherein: The model of the power conversion chip is: LR9102G-33-AL5-R.
10. A camera lens testing system, characterized in that: It comprises the camera lens test circuit according to any one of claims 1 to 9, a host computer and each camera lens; the host computer is electrically connected to the USB communication module.