WO2022048556A1 - 通信电路、控制方法、装置及电子设备 - Google Patents
通信电路、控制方法、装置及电子设备 Download PDFInfo
- Publication number
- WO2022048556A1 WO2022048556A1 PCT/CN2021/115873 CN2021115873W WO2022048556A1 WO 2022048556 A1 WO2022048556 A1 WO 2022048556A1 CN 2021115873 W CN2021115873 W CN 2021115873W WO 2022048556 A1 WO2022048556 A1 WO 2022048556A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- ois
- oiss
- gyroscope
- control
- target
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 47
- 238000004891 communication Methods 0.000 title claims abstract description 41
- 230000003287 optical effect Effects 0.000 claims abstract description 18
- 230000026969 oncogene-induced senescence Effects 0.000 claims description 169
- 230000002159 abnormal effect Effects 0.000 claims description 14
- 239000003381 stabilizer Substances 0.000 claims description 11
- 230000005669 field effect Effects 0.000 claims description 7
- 238000001514 detection method Methods 0.000 claims description 5
- 230000006641 stabilisation Effects 0.000 abstract description 3
- 238000011105 stabilization Methods 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 230000000694 effects Effects 0.000 description 4
- 230000005856 abnormality Effects 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000007599 discharging Methods 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/68—Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
- H04N23/682—Vibration or motion blur correction
- H04N23/685—Vibration or motion blur correction performed by mechanical compensation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/68—Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
- H04N23/681—Motion detection
- H04N23/6812—Motion detection based on additional sensors, e.g. acceleration sensors
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/68—Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
- H04N23/681—Motion detection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
- G06F13/36—Handling requests for interconnection or transfer for access to common bus or bus system
- G06F13/362—Handling requests for interconnection or transfer for access to common bus or bus system with centralised access control
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K17/00—Electronic switching or gating, i.e. not by contact-making and –breaking
- H03K17/51—Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the components used
- H03K17/56—Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the components used by the use, as active elements, of semiconductor devices
- H03K17/687—Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the components used by the use, as active elements, of semiconductor devices the devices being field-effect transistors
- H03K17/6871—Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the components used by the use, as active elements, of semiconductor devices the devices being field-effect transistors the output circuit comprising more than one controlled field-effect transistor
- H03K17/6874—Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the components used by the use, as active elements, of semiconductor devices the devices being field-effect transistors the output circuit comprising more than one controlled field-effect transistor in a symmetrical configuration
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K19/00—Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits
- H03K19/20—Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits characterised by logic function, e.g. AND, OR, NOR, NOT circuits
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/665—Control of cameras or camera modules involving internal camera communication with the image sensor, e.g. synchronising or multiplexing SSIS control signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/68—Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
- H04N23/682—Vibration or motion blur correction
- H04N23/685—Vibration or motion blur correction performed by mechanical compensation
- H04N23/687—Vibration or motion blur correction performed by mechanical compensation by shifting the lens or sensor position
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
Definitions
- the present application belongs to the field of communication technologies, and in particular relates to a communication circuit, a control method, an apparatus, and an electronic device.
- OIS Optical Image Stabilization, Optical Image Stabilization
- OIS optical Image Stabilization, Optical Image Stabilization
- the principle is to detect the tiny movement through the gyroscope in the lens, and then transmit the signal to the microprocessor.
- the processor immediately calculates the amount of displacement that needs to be compensated. Compensation; thus effectively overcoming image blur caused by camera vibration.
- the OIS system uses the SPI (Serial Peripheral Interface, serial peripheral interface) interface to communicate, the OIS is used as the SPI master device, and the gyroscope is used as the SPI slave device.
- SPI Serial Peripheral Interface, serial peripheral interface
- the SPI protocol is a single host system, that is, a gyroscope can only serve 1 OIS at the same time. When there is only one OIS in the camera, the gyroscope can work normally. Due to the increasing requirements of users for mobile phone cameras, current mobile phones usually have more than one OIS camera.
- the embodiments of the present application provide a communication circuit, a control method, a device and an electronic device, which can solve the problem that multiple OISs access the gyroscope through an SPI interface at the same time, and the SPI cannot work normally, thereby producing a system abnormality.
- a communication circuit including: a plurality of optical image stabilizers OIS, a gyroscope and a control circuit;
- the input end of the control circuit is connected to the power supply terminal, the output end of the control circuit is respectively connected to a plurality of OISs, and the plurality of OISs are all connected to the gyroscope;
- control circuit controls one OIS among the plurality of OISs to conduct with the gyroscope and establish a communication connection.
- a control method which is applied to the communication circuit described in the first aspect, and the method includes:
- the data monitored by the gyroscope is acquired through the turned on OIS, so as to adjust the orientation of the optical component.
- a control device including:
- a detection module for detecting the status of multiple optical image stabilizers OIS
- the control module is configured to control the target OIS to communicate with the gyroscope when only one target OIS among the multiple OISs is in a working state.
- an electronic device comprising: the communication circuit according to the first aspect.
- a fifth aspect provides an electronic device comprising a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being executed by the processor
- the steps of the method as described in the second aspect are implemented when executed.
- a readable storage medium is provided, and a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method according to the second aspect are implemented.
- an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement the second aspect the method described.
- the communication circuit may include a plurality of optical image stabilizers (OIS), a gyroscope, and a control circuit.
- OIS optical image stabilizers
- the input end of the control circuit is connected to the power supply terminal, and the output end is respectively connected to a plurality of OISs, and the plurality of OISs are all connected to the gyroscope.
- the gyroscope is connected, and the control circuit controls one of the multiple OISs to conduct with the gyroscope and establish a communication connection.
- multiple OISs can be connected to one gyroscope.
- the control circuit to control one OIS among the multiple OISs to conduct with the gyroscope, to obtain the data monitored by the gyroscope.
- multiple OISs can be connected to one gyroscope.
- only the working OIS communicates with the gyroscope, and there will be no conflict between multiple OISs and the gyroscope being turned on, and only one gyroscope can be used to save the cost of the entire device.
- FIG. 1 is a structural block diagram of a communication circuit provided by an embodiment of the present application.
- FIG. 2 is a schematic circuit diagram of a communication circuit provided by an embodiment of the present application.
- FIG. 3 is a schematic circuit diagram of another communication circuit provided by an embodiment of the present application.
- FIG. 4 is a schematic circuit diagram of another communication circuit provided by an embodiment of the present application.
- FIG. 6 is a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present application.
- the communication circuit may include: a plurality of optical image stabilizers OIS, a gyroscope 30 and a control circuit 10 .
- the input end of the control circuit 10 is connected to the power terminal, the output end of the control circuit 10 is respectively connected to a plurality of OISs 20, and the plurality of OISs 20 are all connected to the gyroscope 30; wherein, the control circuit 10 controls one of the plurality of OISs 20
- the OIS is turned on with the gyroscope 30 and establishes a communication connection.
- the number of OISs is n, and n is a positive integer.
- one OIS in the plurality of OISs 20 is controlled to be in a working state, that is, it is turned on with the gyroscope 30 and a communication connection is established, which can prevent two or more OIS from being simultaneously connected with each other.
- the system is abnormal due to the communication of the gyroscope 30.
- the communication circuit may include a plurality of optical image stabilizers OIS, a gyroscope 30 and a control circuit 10.
- the input end of the control circuit 10 is connected to the power terminal, the output end is respectively connected to the plurality of OISs 20, and the plurality of OIS 20 Both are connected to the gyroscope 30, and the control circuit 10 controls one OIS among the multiple OISs 20 to conduct conduction with the gyroscope 30 and establish a communication connection.
- the plurality of OISs 20 can be connected to the gyroscope 30.
- the control circuit 10 to control one OIS among the plurality of OISs 20 to conduct with the gyroscope 30, to obtain the data monitored by the gyroscope 30, the plurality of OISs 20 can be connected to the gyroscope 30.
- the OIS in the working state communicates with the gyroscope 30, and there will be no conflict in which multiple OISs 20 communicate with the gyroscope 30, and only one gyroscope 30 can be used to save the cost of the entire device.
- control circuit 10 can control multiple OISs 20 to be turned on at different times, and only one OIS can be turned on at a time, which can avoid that one gyroscope 30 can only serve one OIS at the same time.
- OIS accesses the gyroscope 30 through one SPI interface at the same time, the situation that the SPI cannot work normally occurs.
- the control circuit 10 may include: an OR gate, a first field effect transistor MOS transistor and a second MOS transistor.
- the first input terminal of the XOR gate is respectively connected to the first power supply terminal and the source of the first MOS transistor
- the second input terminal of the XOR gate is respectively connected to the second power supply terminal and the source pole of the second MOS transistor
- the output end of the same-OR gate is connected to the gate of the first MOS tube and the gate of the second MOS tube respectively
- the drain of the first MOS tube is connected to the power input end of the first OIS
- the drain of the second MOS tube Connect with the power input terminal of the second OIS
- the hardware structure that is, the same-OR gate and the MOS tube, is used to control the conduction of the OIS and the gyroscope 30, so that multiple OISs 20 will not access one gyroscope 30 at the same time, and the SPI cannot work normally. situation happens.
- the above hardware structures are all low-cost devices, and the use of this structure can reduce the cost of the overall equipment.
- MOS transistors are metal-oxide-semiconductor field effect transistors, which are used as switches in all embodiments of the present application.
- the MOS transistors in this application are all PMOS transistors.
- OIS1 and OIS2 in FIG. 2 are the SPI interface parts of the two OISs, and other pins of the OIS are not shown;
- GYRO shows the SPI interface part of the gyroscope 30, and other parts of the gyroscope 30 are not shown.
- the power supply of the two OIS is connected to the input terminal of the same-OR gate (XNOR), and its logic is as follows.
- OIS OIS1 works normally; Q1B is also turned on, but because the second power terminal OIS2_VDD is not powered on, the second OIS OIS2 is not working, OIS1 can monopolize the gyroscope 30GYRO, there is no conflict, and it works normally. Similarly, when only OIS2_VDD is powered on, it can work normally.
- the same OR gate outputs a high level, so that the two MOS tubes are turned off , which can prevent OIS from being turned on and has better robustness.
- OIS1_VDD and OIS2_VDD are high at the same time
- CONTROL output is high
- Q1A and Q1B are turned off at the same time
- both OIS1 and OIS2 cannot work, and software control does not work.
- OIS software anomalies are realized; the whole process does not generate erroneous data.
- the embodiment of the present application adopts the control circuit 10 to control multiple OISs 20 and one gyroscope 30, which can avoid the situation that in some embodiments, multiple OISs 20 must correspond to multiple gyroscopes 30, save the number of gyroscopes 30, and thus save costs, and also The purpose of accessing one gyroscope 30 by multiple OISs 20 can be achieved.
- the control circuit 10 may include: a first control terminal and a plurality of MOS transistors.
- the first control terminals are respectively connected to the gates of the multiple MOS transistors; the sources of the multiple MOS transistors are connected to the corresponding power supply terminals, and the drains of the multiple MOS transistors are connected to the power supply input of the corresponding OIS. terminal connection; control one OIS among the plurality of OISs 20 to conduct with the gyroscope 30 through the electrical signals input from the plurality of power supply terminals and the first control terminal.
- the conduction between the OIS and the gyroscope 30 can be controlled by a combination of software and hardware, that is, the conduction between the OIS and the gyroscope 30 is controlled by the software control signal SW_CONTROL, and the control logic is as follows where N is the number of powered OISs.
- SW_CONTROL outputs a low level, all switches are turned on, and 1 powered OIS starts to work; when no OIS is powered on, that is, 0 OIS is powered on, SW_CONTROL outputs a high level and turns off all switches; when multiple OIS20s are powered on, that is, when they work abnormally, SW_CONTROL also outputs a high level to isolate the multiple power supplies that are powered on at the same time from the OIS, and prohibit the OIS from working, thus It prevents multiple OIS20 from communicating with the gyroscope 30 at the same time, thereby preventing SPI conflict and avoiding system abnormality. That is, only when there is one and only one OIS is powered on, the software will pull SW_CONTROL low, all PMOSs are turned on, and the only powered OIS communicates normally with the gyroscope 30 .
- the control circuit 10 is a processor. Specifically, the control circuit 10 may include: a plurality of control terminals respectively connected to the power input terminals of the plurality of OISs 20, and one of the plurality of OISs 20 is controlled by electrical signals input from the plurality of control terminals The OIS is turned on with the gyroscope 30 .
- the conduction between the OIS and the gyroscope 30 is controlled by software, so as to avoid the situation of multiple OISs 20 working at the same time, thereby avoiding the conflict of SPI multi-hosts.
- OIS can work normally when powered on
- the plurality of OISs 20 include SPI interfaces
- the gyroscopes 30 include SPI interfaces
- the SPI interfaces of the plurality of OISs 20 are all connected to the SPI interfaces of the gyroscopes 30, wherein the OISs that are turned on pass through the corresponding The SPI interface obtains the data monitored by the gyroscope 30.
- the OIS and the gyroscope 30 are connected through the SPI interface, and the gyroscope 30 is directly connected to the OIS, so that the gyroscope 30 can quickly send the data to the OIS when monitoring the data, and then adjust the optical components, which can It makes the adjustment faster and improves the sensitivity of the optical components.
- the embodiment of the present application further provides a control method, and the method is applied to any one of the communication circuits described above.
- the control method may include steps shown in steps S501 to S502.
- step S501 the states of the plurality of optical image stabilizers OIS are detected.
- step S502 when only one target OIS among the plurality of OISs 20 is in the working state, the target OIS is controlled to communicate with the gyroscope.
- the target OIS is controlled to communicate with the gyroscope, so that the multiple OIS 20 can be connected to one gyroscope There will be no conflicts when using only one gyroscope, and the cost of the entire device can be saved.
- only one target OIS among the multiple OISs 20 is in a working state, which may include the following steps.
- the target OIS among the plurality of OISs 20 is judged by judging the state of the control circuit connected to the plurality of OISs 20 .
- the control circuit since the control circuit is used to control the conduction between the OIS and the gyroscope, the target OIS can be quickly determined by judging the state of the control circuit.
- the plurality of OISs 20 include a first OIS and a second OIS
- the control circuit may include: an OR gate, a first field effect transistor MOS transistor, and a second MOS transistor.
- the state of the control circuit connected to the plurality of OISs 20 to determine the target OIS among the plurality of OISs 20 may include the following steps.
- the first MOS transistor and/or the second MOS transistor connected to the same-OR gate is controlled to be turned on through the power terminal of the same-OR gate.
- the first MOS tube when the first MOS tube is turned on, the first MOS tube and the first OIS are turned on, and the first OIS is the target OIS; when the second MOS tube is turned on, the second MOS tube and the second OIS are turned on. On, the second OIS is the target OIS.
- the first MOS transistor and/or the second MOS transistor connected to the same-OR gate are controlled to be turned on through the power supply terminal of the same-OR gate.
- the second power supply terminal is at a low level.
- the first MOS transistor and the same-OR gate are turned on, and then the first OIS is the target OIS, and the first OIS is turned on with the gyroscope.
- the second OIS is connected to the same-OR gate, and then the second OIS is the target OIS, and the second OIS is connected to the gyroscope.
- the hardware structure that is, the same-OR gate and the MOS transistor, is used to control the conduction of the OIS, so that multiple OISs 20 do not access a gyroscope at the same time, and avoid the situation that the SPI cannot work normally.
- the above hardware structures are all low-cost devices, and the use of this structure can reduce the cost of the overall equipment. At the same time, it can prevent the two OISs from being turned on and connected to the gyroscope at the same time, that is, when the software is abnormal and the two OISs are powered on at the same time, the same OR gate outputs a high level, so that the two MOS tubes are turned off, which can prevent the OIS from turning on. Has better robustness.
- control circuit may include: a first control terminal and a plurality of MOS transistors.
- the target OIS in the plurality of OISs 20 is judged , can also include the following steps.
- One MOS transistor among the multiple MOS transistors is controlled to be turned on through the multiple power supply terminals and the first control terminal.
- the turned-on MOS tube is turned on with the OIS connected to it, and the turned-on OIS is the target OIS.
- a combination of software and hardware can be used to control the conduction of the OIS and the gyroscope. Specifically, if and only when one OIS is powered on, the first control terminal inputs a low level, all MOS transistors are turned on, and the powered OIS is connected to the gyroscope. When multiple OIS20s are powered on, that is, in the case of abnormal operation, the first control terminal inputs a high level, all MOS tubes are turned off, and OIS work is prohibited, thereby preventing multiple OIS20s from communicating with the gyroscope at the same time, thereby preventing SPI Conflicts to avoid system exceptions.
- control circuit is a processor, and accordingly, by judging the state of the control circuit connected to the plurality of OISs 20, judging the target OIS in the plurality of OISs 20 may further include the following steps.
- one OIS among the plurality of OISs 20 is sequentially controlled as the target OIS through the plurality of control terminals of the processor.
- one OIS among the multiple OIS 20s can be controlled to be connected to the gyroscope through the software, and the multiple OIS 20 can be controlled by the software to work in time-sharing according to the preset sequence.
- the loop works. It can avoid the SPI conflict caused by connecting multiple OIS20s to the gyroscope. Moreover, no additional hardware devices are required, and the cost is low.
- the corresponding OIS can also be selected according to the zoom factor supported by the OIS.
- the time-sharing work of multiple OIS 20s can be controlled by software to avoid SPI conflicts.
- control method may further include: in the case that two or more OISs in the plurality of OISs 20 are detected to be in a working state, determining that the communication circuit is abnormal.
- the embodiment of the present application can prevent multiple OISs 20 from working at the same time, and when the circuit is abnormal, all OISs can be stopped from working to avoid SPI conflicts.
- an embodiment of the present application further provides a control device, including: a detection module and a control module.
- the detection module is configured to detect the state of the plurality of optical image stabilizers OIS; the control module is configured to control the target OIS to communicate with the gyroscope when only one target OIS in the plurality of OIS20 is in a working state .
- the detection module detects the states of multiple OISs 20, and when only one target OIS in the multiple OIS 20 is in the working state, the control module controls the target OIS to communicate with the gyroscope, so that the multiple OIS 20 and the gyroscope can communicate with each other.
- One gyroscope is connected without conflict, and using only one gyroscope can save the cost of the whole device.
- control module is configured to: determine the target OIS in the plurality of OISs 20 by judging the state of the control circuit connected to the plurality of OISs 20 .
- the plurality of OISs 20 include a first OIS and a second OIS;
- the control circuit includes: an OR gate, a first field effect transistor MOS transistor and a second MOS transistor; the control module is used for: by The power terminal of the XOR gate controls the conduction of the first MOS transistor and/or the second MOS transistor connected to the XOR gate; wherein, when the first MOS transistor is turned on, the first MOS transistor is connected to the first OIS.
- the first OIS is the target OIS; when the second MOS tube is turned on, the second MOS tube and the second OIS are turned on, and the second OIS is the target OIS.
- control circuit is a processor; the control module is configured to sequentially control one OIS among the plurality of OISs 20 as a target OIS through a plurality of control terminals of the processor according to a preset sequence.
- control device may further include: a judgment module.
- the judging module is configured to judge that the communication circuit is abnormal when it is detected that two or more OISs among the plurality of OISs 20 are in an operating state.
- control device For the control device provided in the embodiment of the present application, reference may be made to execute the above-mentioned method flow shown in FIG. 5 , and each unit/module and the above-mentioned other operations and/or functions in the device are respectively designed to implement the method shown in FIG. 5 .
- the corresponding processes in the control method can achieve the same or equivalent technical effects, and are not repeated here for the sake of brevity.
- an embodiment of the present application further provides an electronic device, including any of the communication circuits described above. In order to avoid repetition, details are not repeated here.
- an embodiment of the present application further provides an electronic device, including a processor 110, a memory 109, a program or instruction stored in the memory 109 and executable on the processor 110, the program or instruction being processed by the processor
- an electronic device including a processor 110, a memory 109, a program or instruction stored in the memory 109 and executable on the processor 110, the program or instruction being processed by the processor
- the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
- FIG. 6 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present application.
- the electronic device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and Power 111 and other components.
- the electronic device 100 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power management through the power management system. consumption management and other functions.
- a power source such as a battery
- the structure of the electronic device shown in FIG. 6 does not constitute a limitation on the electronic device, and the electronic device may include more or less components than those shown in the figure, or combine some components, or arrange different components, which will not be repeated here. .
- the processor 110 is used to detect the states of the multiple optical image stabilizers OIS; in the case that only one target OIS among the multiple OISs 20 is in a working state, the processor 110 controls the target OIS to communicate with the gyroscope.
- the target OIS is controlled to communicate with the gyroscope, so that the multiple OIS 20 can be connected to one gyroscope There will be no conflicts when using only one gyroscope, and the cost of the entire device can be saved.
- the processor 110 is further configured to determine the target OIS in the plurality of OISs 20 by judging the state of the control circuit connected to the plurality of OISs 20 .
- the control circuit since the control circuit is used to control the conduction between the OIS and the gyroscope, the target OIS can be quickly determined by judging the state of the control circuit.
- the processor 110 is further configured to control the conduction of the first MOS transistor and/or the second MOS transistor connected to the XOR gate through the power supply terminal of the XOR gate;
- the first MOS transistor is turned on with the first OIS, and the first OIS is the target OIS;
- the second MOS transistor is turned on, the second MOS transistor is turned on with the second OIS, and the second OIS is the target OIS.
- the hardware structure that is, the same-OR gate and the MOS transistor, is used to control the conduction of the OIS, so that multiple OISs 20 do not access a gyroscope at the same time, and avoid the situation that the SPI cannot work normally.
- the above hardware structures are all low-cost devices, and the use of this structure can reduce the cost of the overall equipment. At the same time, it can prevent the two OISs from being turned on and connected to the gyroscope at the same time, that is, when the software is abnormal and the two OISs are powered on at the same time, the same OR gate outputs a high level, so that the two MOS tubes are turned off, which can prevent the OIS from turning on. Has better robustness.
- the processor 110 is further configured to sequentially control one OIS among the plurality of OISs 20 as the target OIS through the plurality of control terminals of the processor according to a preset sequence.
- the time-sharing work of multiple OIS 20s can be controlled by software to avoid SPI conflicts. Moreover, no additional hardware devices are required, and the cost is low.
- the processor 110 is further configured to determine that the communication circuit is abnormal when it is detected that two or more OISs in the plurality of OISs 20 are in a working state.
- multiple OISs 20 can be prevented from working at the same time, and when the circuit is abnormal, all OISs can be stopped from working to avoid SPI conflicts.
- the embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, each process of the foregoing control method embodiment can be implemented, and can achieve the same The technical effect, in order to avoid repetition, will not be repeated here.
- the processor is the processor in the electronic device described in the foregoing embodiments.
- the readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
- An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each of the foregoing control method embodiments process, and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
- the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- General Physics & Mathematics (AREA)
- Gyroscopes (AREA)
- Studio Devices (AREA)
Abstract
Description
Claims (19)
- 一种通信电路,包括:多个光学图像稳定器OIS、陀螺仪和控制电路;所述控制电路的输入端与电源端子连接,所述控制电路的输出端分别与多个OIS连接,所述多个OIS均与所述陀螺仪连接;其中,所述控制电路控制所述多个OIS中的一个OIS与所述陀螺仪导通并建立通信连接。
- 根据权利要求1所述的电路,其中,所述多个OIS包括第一OIS和第二OIS,所述控制电路包括:同或门、第一场效应管MOS管和第二MOS管,所述同或门的第一输入端分别与第一电源端子和第一MOS管的源极连接,所述同或门的第二输入端分别与第二电源端子和第二MOS管的源极连接,所述同或门的输出端分别与所述第一MOS管的栅极和第二MOS管的栅极连接;所述第一MOS管的漏极与所述第一OIS的电源输入端连接;所述第二MOS管的漏极与所述第二OIS的电源输入端连接;通过同或门的两个电源端子输入的电信号控制所述第一OIS或第二OIS与所述陀螺仪导通。
- 根据权利要求1所述的电路,其中,所述控制电路包括:第一控制端子和多个MOS管,所述第一控制端子分别与多个所述MOS管的栅极连接;多个所述MOS管的源极均与与其对应的电源端子连接,多个所述MOS管的漏极均与与其对应的OIS的电源输入端连接;通过多个电源端子和所述第一控制端子输入的电信号,控制多个所述OIS中的一个OIS与所述陀螺仪导通。
- 根据权利要求1所述的电路,其中,所述控制电路为处理器,所述处理器包括多个分别与所述多个OIS的电源输入端连接的控制端子,通过多个 所述控制端子输入的电信号控制所述多个OIS中的一个OIS与所述陀螺仪导通。
- 根据权利要求2-4任一项所述的电路,其中,多个所述OIS均包括SPI接口,所述陀螺仪包括SPI接口,多个所述OIS的SPI接口均与所述陀螺仪的SPI接口连接,其中,与所述陀螺仪导通的OIS通过对应的SPI接口获取所述陀螺仪监测到的数据。
- 一种控制方法,应用于如权利要求1-5任一所述的通信电路,所述方法包括:检测多个光学图像稳定器OIS的状态;在多个OIS中仅有一个目标OIS处于工作状态的情况下,控制所述目标OIS与陀螺仪通信。
- 根据权利要求6所述的方法,其中,所述多个OIS中仅有一个目标OIS处于工作状态,包括:通过判断与所述多个OIS连接的控制电路的状态,判断所述多个OIS中的目标OIS。
- 根据权利要求7所述的方法,其中,所述多个OIS包括第一OIS和第二OIS;所述控制电路包括:同或门、第一场效应管MOS管和第二MOS管;所述通过判断与所述多个OIS连接的控制电路的状态,判断所述多个OIS中的目标OIS,包括:通过所述同或门的电源端子,控制与所述同或门连接的第一MOS管和/或第二MOS管导通;其中,在所述第一MOS管导通的情况下,所述第一MOS管与所述第一OIS导通,所述第一OIS为目标OIS;在所述第二MOS管导通的情况下,所述第二MOS管与所述第二OIS导通,所述第二OIS为目标OIS。
- 根据权利要求7所述的方法,其中,所述控制电路为处理器;所述通过判断与所述多个OIS连接的控制电路的状态,判断所述多个OIS中的目标 OIS,包括:按照预设顺序,通过处理器的多个控制端子依次控制多个所述OIS中的一个OIS为目标OIS。
- 根据权利要求6所述的方法,其中,所述方法还包括:在检测到所述多个OIS中的两个及两个以上的OIS处于工作状态的情况下,判定所述通信电路异常。
- 一种控制装置,包括:检测模块,用于检测多个光学图像稳定器OIS的状态;控制模块,用于在多个OIS中仅有一个目标OIS处于工作状态的情况下,控制所述目标OIS与陀螺仪通信。
- 根据权利要求11所述的装置,其中,所述控制模块用于:通过判断与所述多个OIS连接的控制电路的状态,判断所述多个OIS中的目标OIS。
- 根据权利要求12所述的装置,其中,所述多个OIS包括第一OIS和第二OIS;所述控制电路包括:同或门、第一场效应管MOS管和第二MOS管;所述控制模块用于:通过所述同或门的电源端子,控制与所述同或门连接的第一MOS管和/或第二MOS管导通;其中,在所述第一MOS管导通的情况下,所述第一MOS管与所述第一OIS导通,所述第一OIS为目标OIS;在所述第二MOS管导通的情况下,所述第二MOS管与所述第二OIS导通,所述第二OIS为目标OIS。
- 根据权利要求12所述的装置,其中,所述控制电路为处理器;所述控制模块用于:按照预设顺序,通过处理器的多个控制端子依次控制多个所述OIS中的一个OIS为目标OIS。
- 根据权利要求11所述的装置,其中,所述装置还包括:判断模块,用于在检测到所述多个OIS中的两个及两个以上的OIS处于工作状态的情况下,判定所述通信电路异常。
- 一种电子设备,包括:如权利要求1-5任一所述的通信电路。
- 一种电子设备,包括:处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求6至10任一项所述的方法的步骤。
- 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求6至10任一项所述的方法的步骤。
- 一种芯片,包括:处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求6至10任一项所述的方法的步骤。
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2023513892A JP2023539881A (ja) | 2020-09-02 | 2021-09-01 | 通信回路、制御方法、装置及び電子機器 |
EP21863620.7A EP4210321A4 (en) | 2020-09-02 | 2021-09-01 | COMMUNICATION CIRCUIT, CONTROL METHOD AND DEVICE AND ELECTRONIC DEVICE |
US18/115,659 US20230209189A1 (en) | 2020-09-02 | 2023-02-28 | Communication circuit, control method and apparatus, and electronic device |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010909195.7 | 2020-09-02 | ||
CN202010909195.7A CN112188084B (zh) | 2020-09-02 | 2020-09-02 | 通信电路、控制方法、装置及电子设备 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US18/115,659 Continuation US20230209189A1 (en) | 2020-09-02 | 2023-02-28 | Communication circuit, control method and apparatus, and electronic device |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022048556A1 true WO2022048556A1 (zh) | 2022-03-10 |
Family
ID=73925390
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/115873 WO2022048556A1 (zh) | 2020-09-02 | 2021-09-01 | 通信电路、控制方法、装置及电子设备 |
Country Status (5)
Country | Link |
---|---|
US (1) | US20230209189A1 (zh) |
EP (1) | EP4210321A4 (zh) |
JP (1) | JP2023539881A (zh) |
CN (1) | CN112188084B (zh) |
WO (1) | WO2022048556A1 (zh) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20220321765A1 (en) * | 2020-05-14 | 2022-10-06 | Cirrus Logic International Semiconductor Ltd. | Multi-chip camera controller system with inter-chip communication |
KR20210152203A (ko) * | 2020-06-08 | 2021-12-15 | 삼성전기주식회사 | 데이터 공유를 위한 ois 회로, ois 장치 및 그 동작 방법 |
CN112188084B (zh) * | 2020-09-02 | 2022-02-01 | 维沃移动通信有限公司 | 通信电路、控制方法、装置及电子设备 |
CN113686882A (zh) * | 2021-09-24 | 2021-11-23 | 维沃移动通信有限公司 | 线路板、电子设备、线路板的检测方法及其检测装置 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130050536A1 (en) * | 2011-08-25 | 2013-02-28 | Panasonic Corporation | Compound-eye imaging device |
CN109951639A (zh) * | 2019-03-26 | 2019-06-28 | Oppo广东移动通信有限公司 | 摄像头防抖***、方法、电子设备和计算机可读存储介质 |
CN110012224A (zh) * | 2019-03-26 | 2019-07-12 | Oppo广东移动通信有限公司 | 摄像头防抖***、方法、电子设备和计算机可读存储介质 |
CN111050035A (zh) * | 2018-10-12 | 2020-04-21 | 三星电机株式会社 | 相机模块 |
CN111371997A (zh) * | 2020-03-16 | 2020-07-03 | Oppo广东移动通信有限公司 | 移动设备的控制方法及移动设备 |
CN112188084A (zh) * | 2020-09-02 | 2021-01-05 | 维沃移动通信有限公司 | 通信电路、控制方法、装置及电子设备 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20160068407A (ko) * | 2014-12-05 | 2016-06-15 | 삼성전기주식회사 | 촬영 장치 및 촬영 장치의 제어 방법 |
CN106131395A (zh) * | 2016-06-17 | 2016-11-16 | 上海与德通讯技术有限公司 | 防抖***及防抖方法 |
KR102460750B1 (ko) * | 2018-02-13 | 2022-10-31 | 삼성전기주식회사 | Ois 기능을 갖는 카메라 장치 및 그 통신 방법 |
CN111031235B (zh) * | 2019-11-21 | 2021-10-22 | 维沃移动通信有限公司 | 一种ois驱动电路结构、数据获取方法及电子设备 |
-
2020
- 2020-09-02 CN CN202010909195.7A patent/CN112188084B/zh active Active
-
2021
- 2021-09-01 WO PCT/CN2021/115873 patent/WO2022048556A1/zh active Application Filing
- 2021-09-01 EP EP21863620.7A patent/EP4210321A4/en active Pending
- 2021-09-01 JP JP2023513892A patent/JP2023539881A/ja active Pending
-
2023
- 2023-02-28 US US18/115,659 patent/US20230209189A1/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130050536A1 (en) * | 2011-08-25 | 2013-02-28 | Panasonic Corporation | Compound-eye imaging device |
CN111050035A (zh) * | 2018-10-12 | 2020-04-21 | 三星电机株式会社 | 相机模块 |
CN109951639A (zh) * | 2019-03-26 | 2019-06-28 | Oppo广东移动通信有限公司 | 摄像头防抖***、方法、电子设备和计算机可读存储介质 |
CN110012224A (zh) * | 2019-03-26 | 2019-07-12 | Oppo广东移动通信有限公司 | 摄像头防抖***、方法、电子设备和计算机可读存储介质 |
CN111371997A (zh) * | 2020-03-16 | 2020-07-03 | Oppo广东移动通信有限公司 | 移动设备的控制方法及移动设备 |
CN112188084A (zh) * | 2020-09-02 | 2021-01-05 | 维沃移动通信有限公司 | 通信电路、控制方法、装置及电子设备 |
Non-Patent Citations (1)
Title |
---|
See also references of EP4210321A4 * |
Also Published As
Publication number | Publication date |
---|---|
JP2023539881A (ja) | 2023-09-20 |
EP4210321A4 (en) | 2024-03-13 |
US20230209189A1 (en) | 2023-06-29 |
CN112188084B (zh) | 2022-02-01 |
CN112188084A (zh) | 2021-01-05 |
EP4210321A1 (en) | 2023-07-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022048556A1 (zh) | 通信电路、控制方法、装置及电子设备 | |
WO2022135389A1 (zh) | 充电方法、装置及电子设备 | |
US10579569B2 (en) | Universal serial bus type-C interface circuit and pin bypass method thereof | |
US11133802B2 (en) | Repeater for an open-drain communication system using a current detector and a control logic circuit | |
TWI280474B (en) | Method, apparatus and system for optimizing exit latency | |
WO2014126303A1 (ko) | 이동 로봇에 대한 제어 명령과 이동 로봇이 전송한 영상 간 매칭 방법 및 이를 위한 제어 장치 | |
CN108763139A (zh) | 一种i2c通信的控制方法及装置 | |
WO2022156684A1 (zh) | 重定向失败的处理方法、装置、电子设备及可读存储介质 | |
EP3547557B1 (en) | Near field communication integrated circuit and wireless communication device including the same | |
JP4711410B2 (ja) | 半導体集積回路 | |
US10171168B2 (en) | Optoelectronic transceiver with power management | |
WO2015115741A1 (en) | Display apparatus and control method thereof | |
US9854531B2 (en) | Integrated circuit system and integrated circuit | |
JPH1188352A (ja) | 電源制御方式及びインタフェース | |
CN114125575B (zh) | 投屏断连判断处理方法、装置、智能终端及存储介质 | |
CN108595362A (zh) | 一种电子设备及操作电子设备的方法 | |
US9501116B2 (en) | Power integrated device and power control method thereof | |
EP4246171A1 (en) | Sampling assembly and sampling method | |
KR20220040202A (ko) | 플래쉬리스 ois 드라이버 회로 및 ois 장치 | |
KR102410515B1 (ko) | 제어장치 및 이를 제어하는 방법 | |
US20150370673A1 (en) | System and method for providing a communication channel to a power management integrated circuit in a pcd | |
CN107544659B (zh) | 移动终端及传感器与显示屏共电源控制方法、及存储介质 | |
US20230412163A1 (en) | Power supply module and power supply judgment method thereof | |
US20230299936A1 (en) | Apparatus and method for controlling an ethernet switch for a vehicle | |
WO2022218224A1 (zh) | 信息处理方法、装置、终端及网络侧设备 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21863620 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2023513892 Country of ref document: JP Kind code of ref document: A |
|
WWE | Wipo information: entry into national phase |
Ref document number: 202317014198 Country of ref document: IN |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
ENP | Entry into the national phase |
Ref document number: 2021863620 Country of ref document: EP Effective date: 20230403 |