Camera module replacement system and method
By designing a camera module replacement system, using module identification, information switching and information control modules, the problem that existing equipment cannot adapt to different camera modules is solved, and the rapid and low cost of equipment upgrades is achieved.
Patent Information
- Application Number
- CN202410998146.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-24
- Publication Date
- 2024-11-26
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing facial recognition devices cannot adapt the same main device to different types of camera modules, resulting in a long product upgrade cycle and high cost.
A camera module replacement system is designed, including a module identification module, information switching module and information control module. The high and low level judgment module determines whether the camera module is inserted, reads its configuration information, and switches the module and information based on the information. Control module, matching and adjusting voltage values to suit different types of camera modules.
It realizes the adaptation of the same device with different types of camera modules, reducing the product upgrade cost and time period, and only needs to replace the camera module without the need for the whole machine to be replaced.
Smart Images

Figure CN119031222A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of face recognition technology, and more specifically to a face recognition system supporting multiple cameras and multiple camera modules and a module replacement method thereof. Background Art
[0002] Face recognition is a biometric technology that uses facial features to identify people. It uses a camera or a camera to collect images or video streams containing faces, and automatically detects and tracks faces in the images, and then performs a series of related technologies on the detected faces. It is also commonly called portrait recognition or facial recognition. Currently, face recognition technology has been widely used in all walks of life.
[0003] With the continuous development of science and technology, people have more and more demands on the functions of cameras. For example, image acquisition products such as surveillance camera modules or surveillance cameras have the functions of video recording and image shooting, and can realize multiple functions through cameras. Face recognition is also an important function of cameras. However, in practical applications, existing face recognition technologies generally have problems such as poor environmental adaptability and unsatisfactory recognition effects. Therefore, the products need to be upgraded.
[0004] However, most common facial recognition devices can only be configured with one camera module, with a single application scenario. It is impossible to adapt the same main device to different types of camera modules. The device needs to be returned to the factory for upgrade or replaced, resulting in long product upgrade cycles and high costs. Summary of the invention
[0005] In response to the problems existing in the above-mentioned fields, the present invention proposes a camera module replacement system and method, which can solve the technical problem that the same main device cannot be adapted to different types of camera modules, and the whole device needs to be returned to the factory for upgrade or replaced, resulting in a long product upgrade cycle and high cost.
[0006] In order to solve the above technical problems, the present invention discloses a camera module replacement system, comprising:
[0007] Module identification module, including connector and main control unit;
[0008] The connector includes a high and low level judgment module and a data channel, wherein the high and low level judgment module is used to judge whether the camera module is inserted into the data channel, and the data channel is used to connect the camera module and the main control unit data;
[0009] The main control unit is used to determine whether the camera module is inserted into the data channel through the high and low level judgment module. When the output of the high and low level judgment module is low level, it indicates that the camera module is inserted, and reads the configuration information carried by the inserted camera module;
[0010] An information switching module, used to match the configuration information of the inserted camera module with the configuration information of camera modules of various interface types preset in the main control unit, and determine the interface type of the inserted camera module;
[0011] The information control module is used to compare the required voltage corresponding to the interface type of the inserted camera module with the preset voltage value of the data channel, adjust the preset voltage value of the data channel so that the adjusted voltage value matches the required voltage of the inserted camera module; and insert the camera module of the determined interface type into the interface of the data channel after the voltage value is adjusted.
[0012] Preferably, the main control unit reads the configuration information carried by the inserted camera module, including CMOS model, configuration quantity, lens information, power supply requirements, and image effect file number.
[0013] Preferably, the main control unit further includes:
[0014] A display unit, used to prompt the insertion of the camera module;
[0015] The image acquisition unit is used to wait for the prompt of the display unit when replacing the camera module, insert the new camera module, and visualize the configuration information of the inserted new camera module;
[0016] Communication bus; when the new camera module is inserted, the output of the high and low level judgment module is low level, and the communication bus is used to obtain the configuration information of the new camera module, divide the data interface type into USB interface type data and MIPI interface type data, and send the obtained configuration information of the new camera module to the image acquisition unit.
[0017] Preferably, the image acquisition unit also includes a storage unit, which is used to store the configuration information of camera modules of various interface types preset; the image acquisition unit matches the configuration information of the new camera module obtained according to the communication bus with the configuration information of camera modules of various interface types preset in the storage unit, and displays the interface type of the inserted new camera module.
[0018] Preferably, the information control module is used to control the power supply of the inserted camera module according to the power supply demand in the main control unit; wherein, the camera module with USB interface type data is powered by a USB control unit; the camera module with MIPI interface type data is powered by configuring analog voltage and digital voltage.
[0019] Preferably, the information control module further includes an image processing module for configuring a driver file and image effects corresponding to the interface type of the inserted camera module according to the interface type of the inserted camera module.
[0020] Preferably, the information control module further includes:
[0021] A voltage detection unit, used to compare the voltage required by the inserted camera module to see whether the power supply requirement is met, and configure analog voltage and digital voltage that meet the power supply requirement;
[0022] A voltage control unit, used to divide the analog voltage and digital voltage obtained by the voltage detection unit, and output a digital voltage and digital voltage that match the inserted camera module;
[0023] The power-on control unit is used to compare the output analog voltage and digital voltage that match the inserted camera module with the required voltage in the storage unit by connecting different voltage detection units to see whether the power supply requirements are met; if the configured analog voltage and digital voltage meet the power supply requirements, the voltage start-up time is controlled to meet the power-on requirements of the inserted camera module.
[0024] Preferably, a method for replacing a camera module is also included, comprising the following steps:
[0025] The high and low level judgment module in the connector is used to judge whether the camera module is inserted into the data channel on the connector. When the output of the high and low level judgment module is low level, it indicates that the camera module is inserted;
[0026] Read the configuration information carried by the inserted camera module;
[0027] Compare the configuration information of the inserted camera module with the configuration information of camera modules of various interface types preset in the main control unit to determine the interface type of the inserted camera module;
[0028] Compare the required voltage corresponding to the interface type of the inserted camera module and the preset voltage value of the data channel, adjust the preset voltage value of the data channel so that the adjusted voltage value matches the required voltage corresponding to the interface type of the inserted camera module; insert the camera module with the determined interface type into the interface of the data channel after the voltage value is adjusted.
[0029] Compared with the prior art, the present invention has the following beneficial effects:
[0030] The present invention uses a module identification module to determine whether the camera module is inserted into the data channel, and the communication bus reads the configuration information of the new camera module, and divides the data interface type into data channels of different interface types. According to the information switching module, the interface type of the inserted camera module is determined, and the data interface type adapted to the inserted camera module can be matched; for different types of data communication interfaces, the information control module compares the required voltage corresponding to the interface type of the inserted camera module with the preset voltage value of the data channel, and adjusts the preset voltage value of the data channel so that the adjusted voltage value matches the required voltage of the inserted camera module, and then the power is turned on to complete the adaptation of the image effect. The system can achieve the adaptation of the same device to different types of camera modules. Compared with the traditional product form, the solution proposed in this application only needs to replace the camera module in different application scenarios when upgrading is required, and does not need to replace the entire machine, thereby reducing the cost and time cycle of product upgrades. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 It is a schematic diagram of the overall method flow of the present invention;
[0032] Figure 2 A schematic diagram of a storage unit of the present invention;
[0033] Figure 3 It is a schematic diagram of a module identification unit of the present invention;
[0034] Figure 4 This is a schematic diagram of a USB interface type data communication control unit of the present invention;
[0035] FIG5 is a schematic diagram of a MIPI interface type data communication control unit of the present invention, wherein:
[0036] FIG5( a ) is a schematic diagram of analog voltage configuration of a MIPI interface type data communication control unit of the present invention;
[0037] FIG5( b ) is a schematic diagram of a digital voltage configuration of a MIPI interface type data communication control unit of the present invention;
[0038] Figure 6 This is a schematic diagram of the components of a traditional camera. DETAILED DESCRIPTION
[0039] The following will be combined with the attached embodiment of the present invention Figure 1-6 , the technical solutions in the embodiments of the present invention are clearly and completely described. It should be understood that the terms described in the present invention are only used to describe specific implementation methods and are not used to limit the present invention.
[0040] In the prior art, a device can only be configured with one camera module corresponding to the device's insertion port, and the application scenario is single. It is impossible to adapt the same main device to different types of camera modules. It needs to be returned to the factory for upgrade or the whole device needs to be replaced, resulting in a long product upgrade cycle and high cost. Therefore, the present application discloses a camera module replacement system and method, including:
[0041] The module identification module includes a connector and a main control unit, wherein:
[0042] The connector includes a high and low level judgment module and a data channel. The high and low level judgment module is used to judge whether the camera module is inserted into the data channel. The data channel is used to connect the camera module and the main control unit data.
[0043] The high and low level judgment module is used by the host to judge whether the camera module is inserted normally. When a camera module is inserted, it is a low level, and when no camera module is inserted, it is a high level. When the high and low level judgment module is in different states, the host enters different working modes.
[0044] The main control unit is used to determine whether the camera module is inserted into the data channel through the high and low level judgment module. When the output of the high and low level judgment module is low level, it indicates that the detection foot has a camera module inserted, and reads the configuration information carried by the inserted camera module;
[0045] The configuration information in the storage module M1 in the main control unit is read through the I2C bus. The camera module will be burned before leaving the factory. The configuration information carried by the camera module includes CMOS model, configuration quantity, lens information, power supply requirements, image effect file number, etc.
[0046] The main control unit also includes a communication bus, an image acquisition unit and a display unit. When the camera module needs to be replaced, the image acquisition unit enters the new module matching mode, and the display unit prompts to insert the required camera module; insert the new camera module, and visualize the configuration information of the inserted new camera module. The communication bus is used to read the acquired module configuration information, divide the data interface type into USB interface type data and MIPI interface type data, and send the acquired configuration information of the new camera module to the image acquisition unit. When the camera module needs to be replaced, the host does not detect the image acquisition unit, and will enter the new module matching mode, and the display unit prompts "Please insert the required module unit".
[0047] The image acquisition unit also includes a storage unit for storing the configuration information of camera modules of various interface types preset; the image acquisition unit matches the configuration information of the new camera module obtained according to the communication bus with the configuration information of the camera modules of various interface types preset in the storage unit, and displays the interface type of the inserted new camera module.
[0048] The information switching module is used to match the configuration information of the inserted camera module with the configuration information of camera modules of various interface types preset in the main control unit to determine the interface type of the inserted camera module.
[0049] The information control module compares the required voltage corresponding to the interface type of the inserted camera module with the preset voltage value of the data channel, and adjusts the preset voltage value of the data channel so that the adjusted voltage value matches the required voltage of the inserted camera module; inserts the camera module of the determined interface type into the interface of the data channel after the voltage value is adjusted, and powers on, thereby completing the replacement of the camera module.
[0050] The information control module controls the power supply of the inserted camera module according to the power supply requirements in the main control unit; among them, the camera module with USB interface type data is powered by the USB control unit; the camera module with MIPI interface type data is powered by configuring analog voltage and digital voltage, and the voltage turn-on time is controlled according to the power supply requirements to meet different power-on timings and adapt the image effect.
[0051] The information control module also includes an image processing module, which is used to configure a driving file and an image effect corresponding to the interface type of the inserted camera module according to the interface type of the inserted camera module.
[0052] The information control module also includes:
[0053] A voltage detection unit, used to compare the voltage required by the inserted camera module to see whether the power supply requirement is met, and configure an analog voltage that meets the power supply requirement;
[0054] A voltage control unit, used to divide the analog voltage obtained by the voltage detection unit and output a digital voltage matching the inserted camera module;
[0055] The power-on control unit is used to compare the output analog voltage and digital voltage that match the inserted camera module with the required voltage in the storage unit by connecting different voltage detection units to see whether the power supply requirements are met, so as to ensure that the required voltage corresponding to the interface type of the inserted camera module matches the preset voltage value of the data channel; if the configured analog voltage and digital voltage meet the power supply requirements, the voltage start-up time is controlled to meet the power-on requirements of the inserted camera module.
[0056] The present application also proposes a method for replacing a camera module, comprising the following steps:
[0057] The high and low level judgment module in the connector is used to judge whether the camera module is inserted into the data channel on the connector. When the output of the high and low level judgment module is low level, it indicates that the camera module is inserted, and the configuration information carried by the inserted camera module is read;
[0058] Matching the configuration information of the inserted camera module with the configuration information of camera modules of various interface types preset in the main control unit to determine the interface type of the inserted camera module;
[0059] Compare the required voltage corresponding to the interface type of the inserted camera module and the preset voltage value of the data channel, adjust the preset voltage value of the data channel so that the adjusted voltage value matches the required voltage corresponding to the interface type of the inserted camera module, so that the configured voltage and the required voltage can match; insert the camera module with the determined interface type into the interface of the data channel after the voltage value is adjusted.
[0060] This method enables the same device to adapt to camera modules of different interface types. Compared with traditional devices, the solution set up in this application only requires replacing the camera module when an upgrade is needed, without replacing the entire device, thereby reducing product upgrade costs and time cycles.
[0061] Example
[0062] like Figure 1 As shown, an embodiment of the present invention provides a camera module replacement system, comprising:
[0063] According to customer needs, the corresponding module information is set on the back-end management platform, and the corresponding information is sent to the designated device through the network. The device obtains the configuration information of the camera module and determines whether it is inserted through the module identification module;
[0064] like Figure 2-3 As shown, when the output of the high and low level judgment module in the connector is low, it indicates that a camera module is inserted, and the configuration information obtained in the storage unit M1 of the main control unit includes CMOS model, configuration quantity, lens information, power supply requirements, image effect file number, etc.
[0065] When the module needs to be replaced, the original matching image acquisition unit module is removed after power is turned off, and the host is powered on and started; if the device does not detect the image acquisition unit, it automatically enters the module adaptation mode, and the screen of the display unit reminds you to insert the module.
[0066] The module identification module determines whether the module is inserted, including completing the power and signal connection between the J1 connector and the mainboard;
[0067] Among them, CIS0 and CIS1 are data channels used by the module for MIPI interface type data communication, USB1 and USB2 are data channels used by the module for USB interface type data communication; VCC_IN1 provides a power channel for the USB module, VCC_SEN1, VCC_SEN2, and VCC_SEN3 provide power channels for the module for MIPI interface type data; the light control provides the control signal required for the fill light for the control module, and the module insertion detection is for the host to determine whether the module is inserted normally. It is low level when there is a camera module and high level when there is no camera module. When it is in different states, the host enters different working modes.
[0068] When the camera module needs to be replaced, the host fails to detect the image acquisition unit and enters the new module matching mode. The display unit prompts "Please insert the required module unit";
[0069] Insert the module unit that needs to be adapted, pull the detection pin of the camera module unit low, and the communication bus reads the configuration information of the module obtained from the storage unit M1, including CMOS model, configuration quantity, lens information, power supply requirements, image effect file number, etc., divides the data interface type into USB interface type data and MIPI interface type data, and sends the obtained configuration information of the new camera module to the image acquisition unit.
[0070] The image acquisition unit is used to wait for the prompt of the display unit, insert the new camera module, and visualize the configuration information of the inserted new camera module when replacing the camera module; the storage unit in the image acquisition unit is used to store the configuration information of the preset camera modules of each interface type; the image acquisition unit matches the configuration information of the new camera module obtained according to the communication bus with the configuration information of the camera modules of each interface type preset in the storage unit, and displays the interface type of the inserted new camera module.
[0071] The power supply control unit performs power supply control according to the power supply demand in the storage unit M1. The image acquisition unit of USB interface type data supplies power to the module through the USB control unit; the image acquisition unit of MIPI interface type data configures analog voltage through U1 and U2, and matches digital voltage through U3 and U4, where:
[0072] Powering the module via the USB control unit includes the following steps:
[0073] The main control unit reads the configuration information in the storage unit M1 through the I2C bus;
[0074] The USB control unit includes transistors Q3 and Q5 and F1. One end of Q3 is connected to the collector of the transistor Q5, and the other end of Q3 is connected to F1. Figure 4 As shown;
[0075] If it is USB interface type data, the base 1 pin of Q5 transistor is used to control the opening of Q3 to power the module. F1 is used to protect the system power supply to prevent the external module from short-circuiting and causing system damage.
[0076] If it is MIPI interface type data, read the required analog voltage value according to the information in the storage unit M1, configure the analog voltage through U1 and U2, and match the digital voltage through U3 and U4, including the following steps:
[0077] As shown in FIG5(a), the analog voltage is configured through U1 and U2 according to the power supply requirement in the storage unit M1, the analog voltage value that U2 needs to configure is read, and the feedback voltage is adapted through U2;
[0078] There are two schemes for adapting the feedback voltage of U2. Scheme 1 uses the voltage divided by R4 and R9 as the feedback value voltage of the power chip U1. Scheme 2 uses the voltage divided by R5 and R10 as the feedback voltage of the power chip U1 to output different analog voltages.
[0079] As shown in FIG5(a), matching the digital voltage through U3 and U4 is based on the power supply requirements in the storage unit M1, reading the analog voltage value that U4 needs to configure, and adapting the feedback voltage through U4;
[0080] There are two solutions for U4 to adapt the feedback voltage:
[0081] In the first scheme, the voltage divided by R15 and R20 is used as the feedback voltage of the power chip U3. In the second scheme, the voltage divided by R16 and R21 is used as the feedback voltage of the power chip U3 to output different digital voltages.
[0082] According to the configured analog voltage and digital voltage, different voltage detection units are connected through SEN_ADC1 and SEN_ADC2 to compare with the required voltage in the storage unit M1 to see whether the power supply requirement is met;
[0083] If the configured analog voltage and digital voltage meet the power supply requirements, the power-on control units Q1 and Q2 control the turn-on time of the analog voltage, and Q4 and Q6 control the turn-on time of the digital voltage to meet different power-on timings and adapt the image effect.
[0084] By controlling the opening time of Q1 and Q4 through Q2 and Q6, different power-on requirements of different modules can be achieved.
[0085] Specifically, different voltage detection units connected to SEN_ADC1 and SEN_ADC2 are compared with the required voltage in the storage unit M1 to see whether the power supply requirement is met, so as to ensure that the configured voltage matches the required voltage.
[0086] Among them, the voltage detection unit connected to SEN_ADC1 includes R6, R8 and C7. The voltage division of R6 and R8 ensures that the collected voltage range is within the collection range of ADC, and C7 ensures the real-time and anti-interference ability of the collected voltage; the voltage detection unit connected to SEN_ADC2 includes R17, R20 and C15. The voltage division of R17 and R20 ensures that the collected voltage range is within the collection range of ADC, and C15 ensures the real-time and anti-interference ability of the collected voltage, so that the configured voltage can match the required voltage.
[0087] After determining that the configured voltage meets the requirements, the opening time of Q1 and Q4 is controlled by Q2 and Q6 to adapt different modules to different power-on requirements.
[0088] Through the configuration information in the storage unit M1, the main control unit completes the selection of the data channel and the adaptation of the image effect. After the adaptation is completed, the current module image data is displayed on the screen of the display unit. The device voice prompts that the adaptation is completed and automatically restarts to enter the normal working mode.
[0089] The present application also proposes a method for replacing the camera module system, comprising the following steps:
[0090] S1: According to customer needs, the corresponding module information is set on the back-end management platform, and the corresponding information is sent to the designated device through the network. The device obtains the configuration information of the module and determines whether to insert the module through the module identification unit;
[0091] like Figure 2 As shown, M1 is the storage chip of the camera module, which will be burned before leaving the factory. The CMOS model, configuration quantity, lens information, power supply requirements, image effect file number, etc. obtained by M1 are generally burned into the register before the camera module leaves the factory. When using the camera module, you only need to read the pre-burned imaging parameters to achieve the preset imaging effect.
[0092] S2: Insert M1 for detection. When the module needs to be replaced, turn off the power and remove the original matching image acquisition unit module, and power on the host to start; the device does not detect the image acquisition unit and automatically enters the module adaptation mode. The screen of the display unit reminds you to insert the module. Insert the module unit that needs to be adapted.
[0093] like Figure 3 As shown, the module identification unit determines whether to insert a replacement module, including completing the connection of power and signals between the J1 connector and the mainboard;
[0094] Among them, CIS0 and CIS1 are data channels used by the module for MIPI interface type data communication, USB1 and USB2 are data channels used by the module for USB interface type data communication; VCC_IN1 provides a power channel for the USB module, VCC_SEN1, VCC_SEN2, and VCC_SEN3 provide power channels for the module for MIPI interface type data; light control is the control signal required to control the module fill light, and module insertion detection is for the host to determine whether the module is inserted normally. When there is a module, it is low level, and when there is no module, it is high level. The module insertion detection is in different states, and the host enters different working modes;
[0095] When the module needs to be replaced, the host fails to detect the image acquisition unit and enters the new module matching mode. The display unit prompts "Please insert the required module unit".
[0096] Insert the module unit that needs to be adapted, pull the module unit detection pin low, and the communication bus reads the module configuration information obtained from the storage unit M1, including CMOS model, configuration quantity, lens information, power supply requirements, image effect file number, etc., and divides the data interface type into USB interface type data and MIPI interface type data.
[0097] S3: The power supply control unit performs power supply control according to the power supply demand in M1. The image acquisition unit of USB interface type data supplies power to the module through the USB control unit; the image acquisition unit of MIPI interface type data configures analog voltage through U1 and U2, and matches digital voltage through U3 and U4;
[0098] S31: Powering the module via the USB control unit includes the following steps:
[0099] The main control unit reads the information in M1 through the I2C bus;
[0100] The USB control unit includes transistors Q3 and Q5 and F1. One end of Q3 is connected to the collector of the transistor Q5, and the other end of Q3 is connected to F1. Figure 4 As shown;
[0101] If it is USB interface type data, the base 1 pin of Q5 transistor is used to control the opening of Q3 to power the module. F1 is used to protect the system power supply to prevent the external module from short-circuiting and causing system damage.
[0102] S32: If it is MIPI interface type data, read the required analog voltage value according to the information in M1, configure the analog voltage through U1 and U2, and match the digital voltage through U3 and U4, including the following steps:
[0103] S321: As shown in FIG5(a), configuring the analog voltage through U1 and U2 is based on the power supply requirements in M1, reading the analog voltage value to be configured, and adapting the feedback voltage through U2;
[0104] There are two schemes for adapting the feedback voltage of U2. In scheme one, the voltage divided by R4 and R9 is used as the feedback voltage of the power chip U1. In scheme two, the voltage divided by R5 and R10 is used as the feedback voltage of the power chip U1 to output different analog voltages.
[0105] S322: As shown in FIG5(a), matching the digital voltage through U3 and U4 is based on the power supply requirement in M1, reading the analog voltage value that U4 needs to configure, and adapting the feedback voltage through U4;
[0106] There are two schemes for adapting the feedback voltage of U4. Scheme 1 uses the voltage divided by R15 and R20 as the feedback value voltage of the power chip U3. Scheme 2 uses the voltage divided by R16 and R21 as the feedback voltage of the power chip U3 to output different digital voltages.
[0107] S4: According to the configured analog voltage and digital voltage, connect different voltage detection units through SEN_ADC1 and SEN_ADC2 to compare with the required voltage in M1 to see whether the power supply requirement is met;
[0108] If the configured analog voltage and digital voltage meet the power supply requirements, the power-on control units Q1 and Q2 control the turn-on time of the analog voltage, and Q4 and Q6 control the turn-on time of the digital voltage to meet different power-on timings and adapt the image effect.
[0109] Different voltage detection units connected through SEN_ADC1 and SEN_ADC2 are compared with the required voltage in M1 to see whether the power supply requirement is met, so as to ensure that the configured voltage matches the required voltage.
[0110] Among them, the voltage detection unit connected to SEN_ADC1 includes R6, R8 and C7. The voltage division of R6 and R8 ensures that the collected voltage range is within the collection range of ADC, and C7 ensures the real-time and anti-interference ability of the collected voltage; the voltage detection unit connected to SEN_ADC2 includes R17, R20 and C15. The voltage division of R17 and R20 ensures that the collected voltage range is within the collection range of ADC, and C15 ensures the real-time and anti-interference ability of the collected voltage, so that the configured voltage matches the required energy voltage.
[0111] S5: After determining that the configured voltage meets the requirements, the opening time of Q1 and Q4 is controlled through Q2 and Q6 to achieve adaptation of different modules to different power-on requirements.
[0112] Through the configuration information in M1, the main control unit completes the selection of data channels and the adaptation of image effects. After the adaptation is completed, the current module image data is displayed on the screen display unit. The device voice prompts that the adaptation is completed and automatically restarts to enter the normal working mode.
[0113] The solution proposed in this application can enable the same main device to adapt to different types of image sensor modules. Compared with the existing device that only matches one module device, the method proposed in this application has stronger market adaptability and scene adaptability.
[0114] By separating the structural parts, the camera module and the host are two independent units. In the production process, the host and the camera module can be stocked independently, and the camera module can be adapted to multiple hosts, reducing the risk of high inventory and high costs.
[0115] Traditional product forms need to be returned to the factory for upgrade or the entire machine needs to be replaced if an upgrade is required, which has high cost and long time cycle. Compared with traditional product forms, the method proposed in this application only requires replacing the image module in different application scenarios, without replacing the entire machine, reducing the customer's product upgrade cost and the ability to quickly upgrade products.
[0116] like Figure 6 As shown, the three core units of traditional cameras are in a unified form and cannot be split or replaced autonomously. For example, the early customers configured ordinary image module units, which can only perform image acquisition or simple recognition. If liveness detection or 3D structure information acquisition is required, or the binocular camera, long-focus and short-focus camera replacement, it is necessary to re-customize or re-develop the entire machine, the product market adaptability is not high, and the production cycle is too long. This application solves the problem of arbitrary assembly of different types of camera modules and hosts. Users only need to replace the camera module with the corresponding function to perform image acquisition or image recognition.
[0117] The hardware control unit and system software switch the corresponding system and configuration according to the automatic detection information, which can complete the rapid upgrade of the product and greatly shorten the time cycle of product upgrade.
[0118] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
[0119] In addition, unless otherwise specified, all technical and scientific terms used in the present invention have the same meanings as commonly understood by those skilled in the art to which the present invention belongs. All documents mentioned in this specification are incorporated by reference to disclose and describe the methods related to the documents. In the event of any conflict with any incorporated document, the content of this specification shall prevail.
Claims
1. A camera module replacement system, characterized in that: include: Module identification module, including connector and main control unit; The connector includes a high and low level judgment module and a data channel, wherein the high and low level judgment module is used to judge whether the camera module is inserted into the data channel, and the data channel is used to connect the camera module and the main control unit data; The main control unit is used to determine whether the camera module is inserted into the data channel through the high and low level judgment module. When the output of the high and low level judgment module is low level, it indicates that the camera module is inserted, and reads the configuration information carried by the inserted camera module; An information switching module, used to match the configuration information of the inserted camera module with the configuration information of camera modules of various interface types preset in the main control unit, and determine the interface type of the inserted camera module; The information control module is used to compare the required voltage corresponding to the interface type of the inserted camera module with the preset voltage value of the data channel, adjust the preset voltage value of the data channel so that the adjusted voltage value matches the required voltage of the inserted camera module; and insert the camera module of the determined interface type into the interface of the data channel after the voltage value is adjusted.
2. The camera module replacement system according to claim 1, characterized in that: The main control unit reads the configuration information carried by the inserted camera module, including CMOS model, configuration quantity, lens information, power supply requirements, and image effect file number.
3. The camera module replacement system according to claim 2, characterized in that: The main control unit also includes: A display unit, used to prompt the insertion of the camera module; The image acquisition unit is used to wait for the prompt of the display unit when replacing the camera module, insert the new camera module, and visualize the configuration information of the inserted new camera module; Communication bus; when the new camera module is inserted, the output of the high and low level judgment module is low level, and the communication bus is used to obtain the group configuration information of the new camera module, divide the data interface type into USB interface type data and MIPI interface type data, and send the obtained configuration information of the new camera module to the image acquisition unit.
4. The camera module replacement system according to claim 3, characterized in that: The image acquisition unit also includes a storage unit, which is used to store the configuration information of camera modules of various interface types preset; the image acquisition unit matches the configuration information of the new camera module obtained according to the communication bus with the configuration information of the camera modules of various interface types preset in the storage unit, and displays the interface type of the inserted new camera module.
5. The camera module replacement system according to claim 4, characterized in that: The information control module is used to control the power supply of the inserted camera module according to the power supply demand in the main control unit; wherein, the camera module with USB interface type data is powered by a USB control unit; the camera module with MIPI interface type data is powered by configuring analog voltage and digital voltage.
6. The camera module replacement system according to claim 5, characterized in that: The information control module also includes an image processing module, which is used to configure a driving file and an image effect corresponding to the interface type of the inserted camera module according to the interface type of the inserted camera module.
7. The camera module replacement system according to claim 6, characterized in that: The information control module also includes: A voltage detection unit, used to compare the voltage required by the inserted camera module to see whether the power supply requirement is met, and configure analog voltage and digital voltage that meet the power supply requirement; A voltage control unit, used to divide the analog voltage and digital voltage obtained by the voltage detection unit, and output analog voltage and digital voltage matching the inserted camera module; The power-on control unit is used to compare the output analog voltage and digital voltage that match the inserted camera module with the required voltage in the storage unit by connecting different voltage detection units to see whether the power supply requirements are met; if the configured analog voltage and digital voltage meet the power supply requirements, the voltage start-up time is controlled to meet the power-on requirements of the inserted camera module.
8. A method for replacing a camera module according to any one of claims 1 to 7, characterized in that: The following steps are involved: The high and low level judgment module in the connector is used to judge whether the camera module is inserted into the data channel on the connector. When the output of the high and low level judgment module is low level, it indicates that the camera module is inserted, and the configuration information carried by the inserted camera module is read; Compare the configuration information of the inserted camera module with the configuration information of camera modules of various interface types preset in the main control unit to determine the interface type of the inserted camera module; Compare the required voltage corresponding to the interface type of the inserted camera module and the preset voltage value of the data channel, adjust the preset voltage value of the data channel so that the adjusted voltage value matches the required voltage corresponding to the interface type of the inserted camera module; insert the camera module with the determined interface type into the interface of the data channel after the voltage value is adjusted.
Citation Information
Cited By
Camera module PMIC with high compatibility and power supply method thereof
CN119676551A
