CN110381246A - Image capture device - Google Patents

Image capture device Download PDF

Info

Publication number
CN110381246A
CN110381246A CN201810331902.1A CN201810331902A CN110381246A CN 110381246 A CN110381246 A CN 110381246A CN 201810331902 A CN201810331902 A CN 201810331902A CN 110381246 A CN110381246 A CN 110381246A
Authority
CN
China
Prior art keywords
driver
fpga
interface
eyeglass
direct
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810331902.1A
Other languages
Chinese (zh)
Other versions
CN110381246B (en
Inventor
高宗伟
杨敏鸣
陈相
赵世新
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Hikmicro Sensing Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN201810331902.1A priority Critical patent/CN110381246B/en
Publication of CN110381246A publication Critical patent/CN110381246A/en
Application granted granted Critical
Publication of CN110381246B publication Critical patent/CN110381246B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals

Abstract

The disclosure is directed to a kind of image capture devices, belong to electronic technology field.The equipment includes processor, on-site programmable gate array FPGA, driver, motor, eyeglass, the first focusing key and the second focusing key.FPGA is used for when the first interface of FPGA receives tertiary voltage signal, according to the corresponding relationship of preset voltage signal and instruction, is obtained the first driver configuration-direct corresponding with tertiary voltage signal according to predetermined period and is sent to driver;When the second interface of FPGA receives four voltage signals, according to the corresponding relationship of preset voltage signal and instruction, the second driver configuration-direct corresponding with the 4th voltage signal is obtained according to predetermined period and is sent to driver.The event that focusing key is triggered is handled by allowing FPGA, it is possible to reduce user presses focusing key or rotation focusing wheel, carries out the time delay between reaction accordingly to the operation of user to motor.

Description

Image capture device
Technical field
The disclosure is directed to electronic technology fields, especially with respect to a kind of image capture device.
Background technique
For manual focusing Terminal Type, focusing key or focusing wheel can be set on manual focusing Terminal Type.When with When focusing key or rotation focusing wheel are pressed in family, the miniature motor that can be triggered in manual focusing Terminal Type is rotated, with Focusing eyeglass is driven to be moved forward and backward, to realize manual focusing function.
In above process, the place when user presses focusing key or rotation focusing wheel, in manual focusing Terminal Type Reason device can detect that focusing key is pressed or focuses to take turns and be rotated.When processor detects that focusing key is pressed or adjusts When coke wheel is rotated, corresponding focusing instruction can be generated, instructs control motor to be operated accordingly according to focusing.
In implementing the present disclosure, inventor discovery the prior art has at least the following problems:
The process of processor processing focusing instruction is complex.Focusing key or rotation focusing wheel are pressed from user, is arrived Motor reacts the operation of user accordingly, and there are longer time delays between this.
Summary of the invention
In order to overcome the problems, such as that present in the relevant technologies, present disclose provides following technical schemes:
According to the first aspect of the embodiments of the present disclosure, a kind of image capture device is provided, described image acquisition equipment includes Processor, on-site programmable gate array FPGA, driver, motor, eyeglass, the first focusing key and the second focusing key, In:
The first focusing key sends the to the first interface of the processor for continuing in the state of being triggered One voltage signal;
The second focusing key sends the to the second interface of the processor for continuing in the state of being triggered Two voltage signals;
The processor, for when the first interface of the processor initially receives the first voltage signal, from The third interface of the processor sends tertiary voltage signal to the first interface of the FPGA;Second when the processor connects When mouth initially receives the second voltage signal, sent from the 4th interface of the processor to the second interface of the FPGA 4th voltage signal;
The FPGA, for when the first interface of the FPGA receives the tertiary voltage signal, according to preset The corresponding relationship of voltage signal and instruction obtains the first driver configuration-direct corresponding with the tertiary voltage signal, according to Predetermined period is sent to the driver;When the second interface of the FPGA receives four voltage signal, according to pre- If voltage signal and instruction corresponding relationship, obtain corresponding with the 4th voltage signal the second driver configuration-direct, According to predetermined period, it is sent to the driver;
The driver, for matching to the register of the driver according to the first driver configuration-direct It sets, based on the register postponed, drives the motor rotation, to drive the eyeglass mobile to first direction;According to institute The second driver configuration-direct is stated, the register of the driver is configured, based on the register that postpones, described in driving Motor rotation, to drive the eyeglass mobile to second direction, wherein the second direction is opposite to the first direction Direction.
Optionally, the processor is also used to terminate when the first voltage signal or the second voltage signal terminates When, Xiang Suoshu FPGA, which is sent, stops focusing instruction;
The FPGA is also used to when receiving the stopping focusing instruction, stops sending the first drive to the driver Dynamic device configuration-direct or the second driver configuration-direct.
Optionally, the level of the first voltage signal is 0V to any value between 1.3V;
The level of the second voltage signal is 0V to any value between 1.3V;
The level of the tertiary voltage signal is 0V to any value between 1.3V;
The level of 4th voltage signal is 0V to any value between 1.3V.
Optionally, the FPGA includes serial peripheral equipment interface SPI interface, and the driver includes SPI interface;
The FPGA sends first driving to the SPI interface of the driver for the SPI interface from the FPGA Device configuration-direct or the second driver configuration-direct.
Optionally, the driver, is used for:
According to the first driver configuration-direct, the register of the driver is configured, based on postponing Register, control to the motor send the first pulse signal, to drive the motor rotation, and drive the eyeglass to First direction is mobile, wherein the first driver configuration-direct includes for configuring the frequency of first pulse signal, accounting for The information of sky ratio, phase and volt value;
According to the second driver configuration-direct, the register of the driver is configured, based on postponing Register, control to the motor send the second pulse signal, to drive the motor rotation, and drive the eyeglass to Second direction is mobile, wherein the second driver configuration-direct includes for configuring the frequency of second pulse signal, accounting for The information of sky ratio, phase and volt value.
Optionally, the processor is also used to when detecting device power event, and Xiang Suoshu FPGA sends focusing and refers to It enables, the focusing instruction is used to indicate the default end that the eyeglass is moved to removable stroke;
The FPGA is also used to when receiving focusing instruction, according to the predetermined period, Xiang Suoshu driver hair Send third driver configuration-direct;
The driver is also used to the deposit when receiving the third driver configuration-direct, to the driver Device is configured, and based on the register postponed, the motor rotation is driven, to drive the eyeglass to removable stroke Default end is mobile.
Optionally, the equipment further includes limit optocoupler;
The limit optocoupler, for when detecting that the eyeglass is moved to the default end of removable stroke, Xiang Suoshu FPGA, which is sent, stops move;
The FPGA is also used to when receiving the stopping move, stops sending described the to the driver Three driver configuration-directs.
Optionally, the equipment further includes focusing wheel;
The focusing wheel, for whenever rotating predetermined angle to the first rotation direction, the 5th of Xiang Suoshu processor to be connect Mouth sends third pulse signal, whenever rotating predetermined angle to the second rotation direction, the 6th interface hair of Xiang Suoshu processor Send the 4th pulse signal;
The processor is also used to when the 5th interface of the processor is to the third pulse signal, from institute The 7th interface for stating processor sends the 5th pulse signal to the third interface of the FPGA, when the 6th interface of the processor When receiving four pulse signal, the 6th arteries and veins is sent from the 8th interface of the processor to the 4th interface of the FPGA Rush signal;
The FPGA is also used to when the third interface of the FPGA is to five pulse signal, according to default Pulse signal and instruction corresponding relationship, obtain corresponding with the 5th pulse signal the first driver configuration-direct, send out It send to the driver, when the 4th interface of the FPGA is to six pulse signal, is believed according to preset pulse Corresponding relationship number with instruction, obtains corresponding with the 6th pulse signal the second driver configuration-direct, be sent to described in Driver;
The driver is also used to carry out the register of the driver according to the first driver configuration-direct Configuration drives the motor rotation based on the register postponed, to drive the eyeglass mobile to first direction;According to The second driver configuration-direct, configures the register of the driver, based on the register postponed, drives institute Motor rotation is stated, to drive the eyeglass mobile to second direction, wherein the second direction is and the first direction phase Anti- direction.
Optionally, the FPGA, is used for:
Determine the position of the eyeglass;
If the eyeglass is not located at the end of removable stroke, alternatively, the eyeglass is located at the end of removable stroke And the tertiary voltage signal is used to indicate the eyeglass to the direction movement far from the end, then obtains and the third electricity The corresponding first driver configuration-direct of pressure signal is sent to the driver according to predetermined period;
If the eyeglass is not located at the end of removable stroke, alternatively, the eyeglass is located at the end of removable stroke And the 4th voltage signal is used to indicate the eyeglass to the direction movement far from the end, then obtains and the 4th electricity The corresponding second driver configuration-direct of pressure signal is sent to the driver according to predetermined period.
Optionally, the motor includes stepping motor or dc motor.
According to the second aspect of an embodiment of the present disclosure, a kind of image-pickup method, described image acquisition method application are provided In image capture device, described image acquisition equipment include processor, on-site programmable gate array FPGA, driver, motor, Eyeglass, the first focusing key and the second focusing key, which comprises
The first focusing key continues to send the first electricity to the first interface of the processor in the state of being triggered Press signal;
The second focusing key continues to send the second electricity to the second interface of the processor in the state of being triggered Press signal;
When the first interface of the processor initially receives the first voltage signal, the processor is from described The third interface for managing device sends tertiary voltage signal to the first interface of the FPGA;When the second interface of the processor starts When receiving the second voltage signal, second interface of the processor from the 4th interface of the processor to the FPGA Send the 4th voltage signal;
When the first interface of the FPGA receives the tertiary voltage signal, the FPGA believes according to preset voltage Corresponding relationship number with instruction, obtains corresponding with the tertiary voltage signal the first driver configuration-direct, according to default week Phase is sent to the driver;When the second interface of the FPGA receives four voltage signal, the FPGA according to The corresponding relationship of preset voltage signal and instruction obtains the second driver configuration corresponding with the 4th voltage signal and refers to It enables, according to predetermined period, is sent to the driver;
The driver configures the register of the driver, base according to the first driver configuration-direct In with the register postponed, the motor rotation is driven, to drive the eyeglass mobile to first direction;According to described second Driver configuration-direct configures the register of the driver, based on the register postponed, drives the motor Rotation, to drive the eyeglass mobile to second direction, wherein the second direction is side opposite to the first direction To.
Optionally, the method also includes:
When the first voltage signal terminate or the second voltage signal at the end of, the processor is to the FPGA It sends and stops focusing instruction;
When the FPGA receives the stopping focusing instruction, stop sending the configuration of the first driver to the driver Instruction or the second driver configuration-direct.
Optionally, the level of the first voltage signal is 0V to any value between 1.3V;
The level of the second voltage signal is 0V to any value between 1.3V;
The level of the tertiary voltage signal is 0V to any value between 1.3V;
The level of 4th voltage signal is 0V to any value between 1.3V.
Optionally, the FPGA includes serial peripheral equipment interface SPI interface, and the driver includes SPI interface, the FPGA By the first driver configuration-direct or the second driver configuration-direct, it is sent to the driver, comprising:
The FPGA sends first driver to the SPI interface of the driver from the SPI interface of the FPGA and matches Set instruction or the second driver configuration-direct.
Optionally, the driver carries out the register of the driver according to the first driver configuration-direct Configuration drives the motor rotation based on the register postponed, to drive the eyeglass mobile to first direction, comprising:
The driver configures the register of the driver, base according to the first driver configuration-direct In with the register postponed, controls to the motor and send the first pulse signal, to drive the motor rotation, and drive The eyeglass is mobile to first direction, wherein the first driver configuration-direct includes for configuring the first pulse letter Number frequency, duty ratio, the information of phase and volt value;
The driver configures the register of the driver, base according to the second driver configuration-direct In with the register postponed, the motor rotation is driven, to drive the eyeglass mobile to second direction, comprising:
The driver configures the register of the driver, base according to the second driver configuration-direct In with the register postponed, controls to the motor and send the second pulse signal, to drive the motor rotation, and drive The eyeglass is mobile to second direction, wherein the second driver configuration-direct includes for configuring the second pulse letter Number frequency, duty ratio, the information of phase and volt value.
Optionally, the method also includes:
When detecting device power event, the processor sends focusing instruction, the focusing instruction to the FPGA It is used to indicate the default end that the eyeglass is moved to removable stroke;
When receiving focusing instruction, the FPGA sends third according to the predetermined period, Xiang Suoshu driver Driver configuration-direct;
When receiving the third driver configuration-direct, the driver matches the register of the driver It sets, based on the register postponed, the motor rotation is driven, to drive default end of the eyeglass to removable stroke It is mobile.
Optionally, the equipment further includes limit optocoupler, the method also includes:
When detecting that the eyeglass is moved to the default end of removable stroke, the limit optocoupler is sent out to the FPGA Send stopping move;
When receiving the stopping move, the FPGA stops sending the third driver to the driver Configuration-direct.
Optionally, the equipment further includes focusing wheel, the method also includes:
Per the focusing, when rotating predetermined angle to the first rotation direction, the 5th interface of Xiang Suoshu processor is sent wheel Third pulse signal, whenever rotating predetermined angle to the second rotation direction, the 6th interface of Xiang Suoshu processor sends the 4th Pulse signal;
When the 5th interface of the processor is to the third pulse signal, the processor is from the processor The 7th interface send the 5th pulse signal to the third interface of the FPGA, when the 6th interface of the processor is to institute When stating four pulse signals, the 6th pulse signal is sent from the 8th interface of the processor to the 4th interface of the FPGA;
When the third interface of the FPGA is to five pulse signal, the FPGA believes according to preset pulse Corresponding relationship number with instruction, obtains corresponding with the 5th pulse signal the first driver configuration-direct, be sent to described in Driver, when the 4th interface of the FPGA is to six pulse signal, according to preset pulse signal and instruction Corresponding relationship, obtain corresponding with the 6th pulse signal the second driver configuration-direct, be sent to the driver;
The driver configures the register of the driver, base according to the first driver configuration-direct In with the register postponed, the motor rotation is driven, to drive the eyeglass mobile to first direction;According to described second Driver configuration-direct configures the register of the driver, based on the register postponed, drives the motor Rotation, to drive the eyeglass mobile to second direction, wherein the second direction is side opposite to the first direction To.
Optionally, the method also includes:
The FPGA determines the position of the eyeglass;
If the eyeglass is not located at the end of removable stroke, alternatively, the eyeglass is located at the end of removable stroke And the tertiary voltage signal is used to indicate the eyeglass to the direction movement far from the end, the FPGA is then obtained and institute It states the corresponding first driver configuration-direct of tertiary voltage signal and is sent to the driver according to predetermined period;
If the eyeglass is not located at the end of removable stroke, alternatively, the eyeglass is located at the end of removable stroke And the 4th voltage signal is used to indicate the eyeglass to the direction movement far from the end, the FPGA is then obtained and institute The corresponding second driver configuration-direct of the 4th voltage signal is stated, according to predetermined period, is sent to the driver.
The technical scheme provided by this disclosed embodiment can include the following benefits:
Image capture device provided in this embodiment includes processor, on-site programmable gate array FPGA, driver, electronic Machine, eyeglass, the first focusing key and the second focusing key.FPGA according to from different interfaces to varying voltage signal, it is right Driver is configured accordingly, is rotated with controlling motor, and drives eyeglass mobile.Processor is not to focusing key quilt The event of triggering carries out actual processing, but turns to carry out actual processing by the event that FPGA is triggered to focusing key. FPGA is different from the control logic of processor, and the frequency of work is higher than processor, reaction of the FPGA for simple logic control Speed is fast more than processor.The event that focusing key is triggered is handled by allowing FPGA, it is possible to reduce user presses focusing Key or rotation focusing wheel carry out the time delay between reaction accordingly to motor to the operation of user.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.In the accompanying drawings:
Fig. 1 is a kind of structural schematic diagram of image capture device shown according to an exemplary embodiment;
Fig. 2 is the schematic diagram of focusing key shown according to an exemplary embodiment and focusing wheel;
Fig. 3 is a kind of flow chart schematic diagram of image-pickup method shown according to an exemplary embodiment;
Fig. 4 is a kind of structural block diagram of image capture device shown according to an exemplary embodiment.
110 processors;120FPGA;
130 drivers;140 motor;
150 eyeglasses;160 first focusing keys;
170 second focusing keys.
Through the above attached drawings, it has been shown that the specific embodiment of the disclosure will be hereinafter described in more detail.These attached drawings It is not intended to limit the scope of this disclosure concept by any means with verbal description, but is by referring to specific embodiments Those skilled in the art illustrate the concept of the disclosure.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
An exemplary embodiment of the present disclosure provides a kind of image capture devices, and it is red that image capture device can be hand-held Outer thermal imaging system.As shown in Figure 1, the equipment may include processor 110,120 (Field- of on-site programmable gate array FPGA Programmable Gate Array, field programmable gate array), driver 130, motor 140, eyeglass 150, first adjust Burnt key 160 and the second focusing key 170.
Wherein: the first focusing key 160 is used to continue in the state of being triggered to send to the first interface of processor 110 First voltage signal.Second focusing key 170 is used to continue in the state of being triggered to send to the second interface of processor 110 Second voltage signal.Processor 110 is used for when the first interface of processor 110 initially receives first voltage signal, from The third interface for managing device 110 sends tertiary voltage signal to the first interface of FPGA 120;When the second interface of processor 110 is opened When beginning receives second voltage signal, the 4th voltage is sent from the 4th interface of processor 110 to the second interface of FPGA 120 Signal.FPGA 120 is used for when the first interface of FPGA 120 receives tertiary voltage signal, according to preset voltage signal With the corresponding relationship of instruction, the first driver configuration-direct corresponding with tertiary voltage signal is obtained, according to predetermined period, is sent To driver 130;When the second interface of FPGA 120 receives four voltage signals, according to preset voltage signal and instruction Corresponding relationship, obtain corresponding with the 4th voltage signal the second driver configuration-direct according to predetermined period and be sent to driving Device 130.Driver 130 is used to configure the register of driver 130, according to the first driver configuration-direct based on matching The register postponed, drive motor 140 rotate, to drive eyeglass 150 mobile to first direction;It is configured according to the second driver Instruction, configures the register of driver 130, and based on the register postponed, drive motor 140 is rotated, to drive Eyeglass 150 is mobile to second direction.
Wherein, second direction be with first party in the opposite direction.
In an implementation, the model of processor 110 can be HI3519.
First focusing key 160 can be arrow in the upper figure of Fig. 2 and be directed toward left key, and the second focusing key 170 can be Arrow is directed toward right key in the upper figure of Fig. 2.Arrow, which is directed toward left key, can indicate that camera lens is moved to nearly burnt end, and arrow refers to Key to the right can indicate that camera lens is moved to remote burnt end.When different focusing keys is pressed, processor 110 can be with Voltage signal is detected from different interfaces.Therefore, first voltage signal can indicate that camera lens is moved to nearly burnt end, second Voltage signal can indicate that camera lens is moved to remote burnt end.
For the mode of key, user can continue to press the first focusing key 160 or the second focusing key 170, It is lifted again after watching clearly image in display unit.
Optionally, the level of first voltage signal is 0V to any value between 1.3V;The level of second voltage signal For 0V to any value between 1.3V;The level of tertiary voltage signal is 0V to any value between 1.3V;4th voltage The level of signal is 0V to any value between 1.3V.
It can integrate soft core on FPGA 120.Soft core can be NIOS II.Wherein, soft core is a kind of processing of special shape Device 110.Benefit using soft core is can be according to the module of the actual demand customized processor 110 of user.It is different from solid karyomorphism The processor 110 of formula, the configuration parameter of soft core can (System-on-a-Programmable-Chip may be programmed by SOPC System on chip) software is configured, and the configuration parameter of solid core is just immutable after factory.Specifically, user can be In SOPC software, module to be used is added, then can also configure the parameter of these modules, such as the work frequency of processor 110 Rate, Peripheral Interface resource, capacity of RAM (Random-Access Memory, random access memory) etc..
The soft core integrated on FPGA 120 is in the tertiary voltage signal or the 4th voltage letter for receiving the transmission of processor 110 Number when, can according to the corresponding relationship of preset voltage signal and instruction, obtain it is corresponding with tertiary voltage signal first drive Device configuration-direct is sent to driver 130 according to predetermined period, alternatively, according to preset voltage signal pass corresponding with instruction System obtains the second driver configuration-direct corresponding with the 4th voltage signal according to predetermined period and is sent to driver 130.
It, can be according to preset after receiving tertiary voltage signal or the 4th voltage signal in FPGA 120 The corresponding relationship of voltage signal and instruction obtains the first driver configuration-direct corresponding with tertiary voltage signal, according to default Period is sent to driver 130.For example, if voltage signal indicates that camera lens is moved to nearly burnt end, 140 up time of motor Needle rotated or rotated counterclockwise be according to the phase decision of the voltage of input, therefore, according to drive camera lens to nearly coke The rotation direction of motor 140, configures the register of driver 130 when end is moved, so that driver 130 exports Driving signal with target phase.When driver 130 receives a driver configuration-direct, default can be exported Several pulses.It, can be according to predetermined period to drive when driver configuration-direct is sent to driver 130 according to predetermined period The register of dynamic device 130 is configured accordingly, so that driver 130 issues pulse signal according to predetermined period.
In addition to this it is possible to the voltage value for the pulse that driver 130 exports is configured, when voltage value is higher, Motor 140 rotates very fast, and when voltage value is lower, motor 140 is rotated relatively slow, can control eyeglass 150 with this Movement speed.
Optionally, FPGA 120 include serial peripheral equipment interface SPI (Serial Peripheral Interface, it is serial outer If interface) interface, driver 130 includes SPI interface.FPGA120 can be from the SPI interface of FPGA 120 to driver 130 SPI interface sends the first driver configuration-direct or the second driver configuration-direct.
Driver 130 configures the register of driver 130 according to the first driver configuration-direct, based on configuration Register afterwards, drive motor 140 rotate, to drive eyeglass 150 mobile to first direction.Driver 130 can also basis Second driver configuration-direct, configures the register of driver 130, based on the register postponed, drive motor 140 rotations, to drive eyeglass 150 mobile to second direction.The model of driver 130 can be AN41908.In order to further increase Add the driving capability of driver 130, DRV8848 can be increased after AN41908, with preferably 140 turns of drive motor It is dynamic.
Optionally, driver 130 can match the register of driver 130 according to the first driver configuration-direct It sets, based on the register postponed, controls to motor 140 and send the first pulse signal, with the rotation of drive motor 140, and Drive eyeglass 150 mobile to first direction.Wherein, the first driver configuration-direct includes the frequency for configuring the first pulse signal Rate, duty ratio, the information of phase and volt value.It can also be according to the second driver configuration-direct, to the register of driver 130 It is configured, based on the register postponed, controls to motor 140 and send the second pulse signal, with 140 turns of drive motor It is dynamic, and drive eyeglass 150 mobile to second direction.Wherein, the second driver configuration-direct includes for configuring the second pulse letter Number frequency, duty ratio, the information of phase and volt value.
In an implementation, the frequency, duty ratio and volt value of pulse signal can influence the speed of the operating of motor 140, phase Position can influence the rotation direction of motor 140.
Optionally, motor 140 includes stepping motor 140 or dc motor 140.
Image capture device can be set a piece of eyeglass 150, and the focal length of the eyeglass 150 is according to the light of eyeglass 150 itself It learns characteristic to be determined, therefore the focal length of eyeglass 150 is fixed.When adjusting the distance between the eyeglass 150 and photosensitive element, Can be presented on photosensitive element it is fuzzy or clearly as.The process of manual focusing, which can be, finds subject in photosensitive member Presented on part clearly as process.
Optionally, processor 110 is also used to when detecting device power event, sends focusing instruction to FPGA 120, Focusing instruction is used to indicate the default end that eyeglass 150 is moved to removable stroke.FPGA 120, which is also used to work as, receives tune When coke instruction, according to predetermined period, third driver configuration-direct is sent to driver 130.Driver 130 is also used to when reception When to third driver configuration-direct, the register of driver 130 is configured, based on the register postponed, driving electricity Motivation 140 rotates, to drive eyeglass 150 mobile to the default end of removable stroke.
In an implementation, removable stroke may include two ends, and one can be remote Jiao Duan, another can be closely Jiao Duan.Default end can be set to remote Jiao Duan.When processor 110 detects device power event, i.e., equipment is by shutdown shape When state is to open state, focusing instruction is sent to FPGA 120, FPGA 120 controls eyeglass 150 and is moved to the remote of removable stroke Jiao Duan.
Optionally, the equipment that the embodiment of the present disclosure provides further includes limit optocoupler.Limit optocoupler, which is used to work as, detects eyeglass 150 when being moved to the default end of removable stroke, sends to FPGA 120 and stops move.FPGA 120 is also used to work as and connect When receiving stopping move, stop sending third driver configuration-direct to driver 130.
In an implementation, setting limit optocoupler, limit optocoupler can be used for detecting mirror on the corresponding position in remote coke end Whether piece 150 reaches remote Jiao Duan.Limit optocoupler can with FPGA 120 by the I/O of FPGA 120 (Input/Output, it is defeated Entering/export) pin is attached.FPGA 120 can detecte whether limit optocoupler exports stopping move, when limit optocoupler When output stops move, eyeglass 150 has been moved into the default end of removable stroke, at this point it is possible to stop to driver 130 send third driver configuration-direct, are stopped operating with controlling motor 140.
Optionally, FPGA 120 is used to determine the position of eyeglass 150;If eyeglass 150 is not located at the end of removable stroke Portion, alternatively, eyeglass 150 is located at the end of removable stroke and tertiary voltage signal is used to indicate eyeglass 150 to separate end Direction is mobile, then obtains the first driver configuration-direct corresponding with tertiary voltage signal according to predetermined period and be sent to driving Device 130;If eyeglass 150 is not located at the end of removable stroke, alternatively, eyeglass 150 is located at the end of removable stroke and the The direction that four voltage signals are used to indicate eyeglass 150 to separate end is mobile, then acquisition and the 4th voltage signal corresponding second Driver configuration-direct is sent to driver 130 according to predetermined period.
In an implementation, for example, eyeglass 150 is when occurrence of equipment powers on event, it is moved into the remote Jiao Duan of removable stroke. At this point, if ignoring when FPGA 120 detects that control eyeglass 150 continues to carry out mobile voltage signal to the direction at remote burnt end The voltage signal is without processing.When detecting that control eyeglass 150 carries out mobile voltage from remote burnt end to the direction at nearly burnt end When signal, control eyeglass 150 is moved from remote burnt end to the direction at nearly burnt end.At this point, eyeglass 150 and remote burnt end have centainly Distance, even if the distance is very short, when detecting that control eyeglass 150 carries out mobile voltage signal to the direction at remote burnt end again When, the direction that can control eyeglass 150 to remote burnt end is mobile.
Pedometer can be set in FPGA 120, if default end is remote Jiao Duan.Whenever detecting device power thing When part, it can control eyeglass 150 and be moved to remote Jiao Duan, while pedometer being initialized, the value 0 for recording it.Whenever detection To when being moved to the direction at remote burnt end, pedometer is added by corresponding step number according to mobile distance.Whenever detect to When the direction at nearly coke end is moved, pedometer is subtracted by corresponding step number according to mobile distance.
It can specifically be counted according to the quantity of the pulse inputted to stepping motor 140.For example, working as motor 140 when receiving the pulse of a predeterminated voltage and duty ratio, and pedometer can will count is incremented or subtracts 1.Or according to default The resistance value of resistance determines the mobile distance of eyeglass 150, and the counting of pedometer is arranged accordingly according to mobile distance.
For preset resistance, which can be used for detecting the mobile distance of eyeglass 150.It can be in FPGA 120 in advance The corresponding relationship of memory resistor resistance value size and the distance of the movement of eyeglass 150, according to the resistance value of currently detected preset resistance Determine the mobile distance of current lens 150.
Can certainly remote burnt end and nearly burnt end be respectively set limit optocoupler detection eyeglass 150 whether reach remote Jiao Duan or The closely burnt end of person.
If pedometer is counted as 0 when eyeglass 150 is at remote burnt end, when eyeglass 150 is at nearly burnt end, pedometer is counted It is 100.Then when pedometer is counted as 0, when detecting that control eyeglass 150 carries out mobile voltage signal to the direction at remote burnt end When, ignore the voltage signal.When pedometer is counted as 100, when detecting that control eyeglass 150 is moved to the direction at nearly burnt end When dynamic voltage signal, ignore the voltage signal.
Optionally, the equipment that the embodiment of the present disclosure provides further includes focusing wheel.Focusing wheel is for whenever to the first rotation side To when rotating predetermined angle, third pulse signal is sent to the 5th interface of processor 110, is rotated whenever to the second rotation direction When predetermined angle, the 4th pulse signal is sent to the 6th interface of processor 110.Processor 110 is also used to when processor 110 When 5th interface is to third pulse signal, the is sent from the 7th interface of processor 110 to the third interface of FPGA 120 Five pulse signals, when the 6th interface to four pulse signals of processor 110, from the 8th interface of processor 110 to The 4th interface of FPGA 120 sends the 6th pulse signal.FPGA 120 is also used to the third interface as FPGA 120 to the When five pulse signals, according to the corresponding relationship of preset pulse signal and instruction, obtain and the 5th pulse signal corresponding first Driver configuration-direct is sent to driver 130, when the 4th interface to six pulse signals of FPGA 120, according to The corresponding relationship of preset pulse signal and instruction obtains the second driver configuration-direct corresponding with the 6th pulse signal, hair It send to driver 130.Driver 130 is also used to match the register of driver 130 according to the first driver configuration-direct It sets, based on the register postponed, drive motor 140 is rotated, to drive eyeglass 150 mobile to first direction;According to second Driver configuration-direct configures the register of driver 130, based on the register that postpones, 140 turns of drive motor It is dynamic, to drive eyeglass 150 mobile to second direction.
Wherein, second direction be with first party in the opposite direction.
It is the schematic diagram of focusing wheel as shown in Fig. 2 following figure.In an implementation, user can also by rotation focusing wheel come into Row manual focusing.When rotating clockwise focusing wheel, FPGA 120 can detecte instruction camera lens and carry out mobile arteries and veins to nearly burnt end Signal is rushed, when rotating counterclockwise focusing wheel, FPGA 120 can detecte instruction camera lens and carry out mobile pulse letter to remote burnt end Number.It is similar with the mode of key of focusing that specific control eyeglass 150 to first direction or second direction carries out mobile mode, herein It repeats no more.
Optionally, processor 110 be also used to when first voltage signal terminate or second voltage signal at the end of, to FPGA 120 send stopping focusing instruction.FPGA 120 is also used to stop sending to driver 130 when receiving stopping focusing instruction First driver configuration-direct or the second driver configuration-direct.
In an implementation, it is watched in display unit as user after clearly image when unclamping focusing key, processor 110 It can detecte that first voltage signal terminates or second voltage signal terminates.Stop focusing at this point it is possible to send to FPGA 120 Instruction.When receive stop focusing instruction when, FPGA 120 stops sending the first driver configuration-direct or the to driver 130 Two driver configuration-directs.
Image capture device provided in this embodiment includes processor, on-site programmable gate array FPGA, driver, electronic Machine, eyeglass, the first focusing key and the second focusing key.FPGA according to from different interfaces to varying voltage signal, it is right Driver is configured accordingly, is rotated with controlling motor, and drives eyeglass mobile.Processor is not to focusing key quilt The event of triggering carries out actual processing, but turns to carry out actual processing by the event that FPGA is triggered to focusing key. FPGA is different from the control logic of processor, and the frequency of work is higher than processor, reaction of the FPGA for simple logic control Speed is fast more than processor.The event that focusing key is triggered is handled by allowing FPGA, it is possible to reduce user presses focusing Key or rotation focusing wheel carry out the time delay between reaction accordingly to motor to the operation of user.
Disclosure another exemplary embodiment provides a kind of image-pickup method, and described image acquisition method is applied to figure As acquisition equipment, it includes processor, on-site programmable gate array FPGA, driver, motor, mirror that described image, which acquires equipment, Piece, the first focusing key and the second focusing key, as shown in Figure 3, which comprises
Step S310, the first focusing key continue to send the first electricity to the first interface of processor in the state of being triggered Press signal.
Step S320, the second focusing key continue to send the second electricity to the second interface of processor in the state of being triggered Press signal.
Step S330, when the first interface of processor initially receives first voltage signal, processor is from processor Third interface sends tertiary voltage signal to the first interface of FPGA.
Step S340, when the second interface of processor initially receives second voltage signal, processor is from processor 4th interface sends the 4th voltage signal to the second interface of FPGA.
Step S350, when the first interface of FPGA receives tertiary voltage signal, FPGA is according to preset voltage signal With the corresponding relationship of instruction, the first driver configuration-direct corresponding with tertiary voltage signal is obtained, according to predetermined period, is sent To driver.
Step S360, when the second interface of FPGA receives four voltage signals, FPGA is according to preset voltage signal With the corresponding relationship of instruction, the second driver configuration-direct corresponding with the 4th voltage signal is obtained, according to predetermined period, is sent To driver.
Step S370, driver configure the register of driver according to the first driver configuration-direct, based on matching The register postponed, drive motor rotation, to drive eyeglass mobile to first direction.
Step S380, driver configure the register of driver according to the second driver configuration-direct, based on matching The register postponed, drive motor rotation, to drive eyeglass mobile to second direction.
Wherein, second direction be with first party in the opposite direction.
Optionally, this method further include:
When first voltage signal terminate or second voltage signal at the end of, processor to FPGA send stop focusing instruction;
When FPGA receives stopping focusing instruction, stop sending the first driver configuration-direct or the second drive to driver Dynamic device configuration-direct.
Optionally, the level of first voltage signal is 0V to any value between 1.3V;
The level of second voltage signal is 0V to any value between 1.3V;
The level of tertiary voltage signal is 0V to any value between 1.3V;
The level of 4th voltage signal is 0V to any value between 1.3V.
Optionally, FPGA includes serial peripheral equipment interface SPI interface, and driver includes SPI interface, and FPGA is by the first driver Configuration-direct or the second driver configuration-direct, are sent to driver, comprising:
FPGA sends the first driver configuration-direct or the second driving from the SPI interface of FPGA to the SPI interface of driver Device configuration-direct.
Optionally, driver configures the register of driver according to the first driver configuration-direct, based on configuration Register afterwards, drive motor rotation, to drive eyeglass mobile to first direction, comprising:
Driver configures the register of driver according to the first driver configuration-direct, based on posting of postponing Storage is controlled to motor and sends the first pulse signal, rotated with drive motor, and drives eyeglass mobile to first direction, Wherein, the first driver configuration-direct includes the letter for configuring the frequency of the first pulse signal, duty ratio, phase and volt value Breath;
Driver configures the register of driver according to the second driver configuration-direct, based on posting of postponing Storage, drive motor rotation, to drive eyeglass mobile to second direction, comprising:
Driver configures the register of driver according to the second driver configuration-direct, based on posting of postponing Storage is controlled to motor and sends the second pulse signal, rotated with drive motor, and drives eyeglass mobile to second direction, Wherein, the second driver configuration-direct includes the letter for configuring the frequency of the second pulse signal, duty ratio, phase and volt value Breath.
Optionally, this method further include:
When detecting device power event, processor sends focusing instruction to FPGA, and focusing instruction is used to indicate mirror Piece is moved to the default end of removable stroke;
When receiving focusing instruction, FPGA sends third driver configuration-direct according to predetermined period, to driver;
When receiving third driver configuration-direct, driver configures the register of driver, based on configuration Register afterwards, drive motor rotation, to drive eyeglass mobile to the default end of removable stroke.
Optionally, equipment further includes limit optocoupler, this method further include:
When detecting that eyeglass is moved to the default end of removable stroke, limit optocoupler is sent to FPGA stops mobile referring to It enables;
When receiving stopping move, FPGA stops sending third driver configuration-direct to driver.
Optionally, equipment further includes focusing wheel, this method further include:
Every focusing wheel sends third pulse to the 5th interface of processor when rotating predetermined angle to the first rotation direction Signal sends the 4th pulse signal to the 6th interface of processor whenever rotating predetermined angle to the second rotation direction;
When the 5th interface of processor is to third pulse signal, processor is from the 7th interface of processor to FPGA Third interface send the 5th pulse signal, when the 6th interface to four pulse signals of processor, from processor 8th interface sends the 6th pulse signal to the 4th interface of FPGA;
When the third interface of FPGA is to five pulse signals, FPGA is according to pair of preset pulse signal and instruction It should be related to, obtain the first driver configuration-direct corresponding with the 5th pulse signal, be sent to driver, the 4th as FPGA connects When mouth receives six pulse signals, according to the corresponding relationship of preset pulse signal and instruction, obtain and the 6th pulse signal Corresponding second driver configuration-direct, is sent to driver;
Driver configures the register of driver according to the first driver configuration-direct, based on posting of postponing Storage, drive motor rotation, to drive eyeglass mobile to first direction;According to the second driver configuration-direct, to driver Register configured, based on the register that postpones, drive motor rotation, to drive eyeglass mobile to second direction, Wherein, second direction be with first party in the opposite direction.
Optionally, this method further include:
FPGA determines the position of eyeglass;
If eyeglass is not located at the end of removable stroke, alternatively, eyeglass is located at the end of removable stroke and third electricity Pressure signal is used to indicate eyeglass to the direction movement far from end, and FPGA then obtains the first driving corresponding with tertiary voltage signal Device configuration-direct is sent to driver according to predetermined period;
If eyeglass is not located at the end of removable stroke, alternatively, eyeglass is located at the end of removable stroke and the 4th electricity Pressure signal is used to indicate eyeglass to the direction movement far from end, and FPGA then obtains the second driving corresponding with the 4th voltage signal Device configuration-direct is sent to driver according to predetermined period.
About the method in above-described embodiment, wherein the specific implementation of each step is in the reality in relation to the equipment It applies in example and is described in detail, no detailed explanation will be given here.
Using the disclosure, FPGA according to from different interfaces to varying voltage signal, driver is carried out corresponding Configuration, is rotated with controlling motor, and drives eyeglass mobile.The event that processor is not triggered to focusing key carries out real The processing on border, but turn to carry out actual processing by the event that FPGA is triggered to focusing key.The control of FPGA and processor Logic is different, and the frequency of work is higher than processor, and FPGA is fast more than processor for the reaction speed of simple logic control. The event that focusing key is triggered is handled by allowing FPGA, it is possible to reduce user presses focusing key or rotation focusing wheel, The time delay between reaction accordingly is carried out to the operation of user to motor.
Image-pickup method provided by the above embodiment and image capture device embodiment belong to same design, specific real Existing process is detailed in embodiment of the method, and which is not described herein again.
Fig. 4 shows the structural block diagram of the image capture device 1800 of an illustrative embodiment of the invention offer.The figure As acquisition equipment 1800 may is that other titles such as heavy-duty horizontal stage.
In general, image capture device 1800 includes: processor 1801 and memory 1802.
Processor 1801 may include one or more processing cores, such as 4 core processors, 8 core processors etc..Place Reason device 1801 can use DSP (Digital Signal Processing, Digital Signal Processing), FPGA (Field- Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, may be programmed Logic array) at least one of example, in hardware realize.Processor 1801 also may include primary processor and coprocessor, master Processor is the processor for being handled data in the awake state, also referred to as CPU (Central Processing Unit, central processing unit);Coprocessor is the low power processor for being handled data in the standby state.? In some embodiments, processor 1801 can be integrated with GPU (Graphics Processing Unit, image processor), GPU is used to be responsible for the rendering and drafting of content to be shown needed for display screen.In some embodiments, processor 1801 can also be wrapped AI (Artificial Intelligence, artificial intelligence) processor is included, the AI processor is for handling related machine learning Calculating operation.
Memory 1802 may include one or more computer readable storage mediums, which can To be non-transient.Memory 1802 may also include high-speed random access memory and nonvolatile memory, such as one Or multiple disk storage equipments, flash memory device.In some embodiments, the non-transient computer in memory 1802 can Storage medium is read for storing at least one instruction, at least one instruction performed by processor 1801 for realizing this Shen Please in embodiment of the method provide image-pickup method.
In some embodiments, image capture device 1800 is also optional includes: peripheral device interface 1803 and at least one A peripheral equipment.Bus or signal wire phase can be passed through between processor 1801, memory 1802 and peripheral device interface 1803 Even.Each peripheral equipment can be connected by bus, signal wire or circuit board with peripheral device interface 1803.Specifically, peripheral Equipment includes: at least one of touch display screen 1805, camera 1806 and power supply 1809.
Peripheral device interface 1803 can be used for I/O (Input/Output, input/output) is relevant outside at least one Peripheral equipment is connected to processor 1801 and memory 1802.In some embodiments, processor 1801, memory 1802 and periphery Equipment interface 1803 is integrated on same chip or circuit board;In some other embodiments, processor 1801, memory 1802 and peripheral device interface 1803 in any one or two can be realized on individual chip or circuit board, this implementation Example is not limited this.
Display screen 1805 is for showing UI (User Interface, user interface).The UI may include figure, text, Icon, video and its their any combination.When display screen 1805 is touch display screen, display screen 1805 also there is acquisition to exist The ability of the touch signal on the surface or surface of display screen 1805.The touch signal can be used as control signal and be input to place Reason device 1801 is handled.At this point, display screen 1805 can be also used for providing virtual push button and/or dummy keyboard, it is also referred to as soft to press Button and/or soft keyboard.In some embodiments, display screen 1805 can be one, be arranged before image capture device 1800 Plate;In further embodiments, display screen 1805 can be at least two, be separately positioned on the difference of image capture device 1800 Surface is in foldover design;In still other embodiments, display screen 1805 can be flexible display screen, and setting is set in Image Acquisition On standby 1800 curved surface or on fold plane.Even, display screen 1805 can also be arranged to non-rectangle irregular figure, That is abnormity screen.Display screen 1805 can use LCD (Liquid Crystal Display, liquid crystal display), OLED The preparation such as (Organic Light-Emitting Diode, Organic Light Emitting Diode) materials.
CCD camera assembly 1806 is for acquiring image or video.Optionally, CCD camera assembly 1806 includes front camera And rear camera.In general, the front panel of terminal is arranged in front camera, the back side of terminal is arranged in rear camera.? In some embodiments, rear camera at least two is that main camera, depth of field camera, wide-angle camera, focal length are taken the photograph respectively As any one in head, to realize that main camera and the fusion of depth of field camera realize background blurring function, main camera and wide Pan-shot and VR (Virtual Reality, virtual reality) shooting function or other fusions are realized in camera fusion in angle Shooting function.In some embodiments, CCD camera assembly 1806 can also include flash lamp.Flash lamp can be monochromatic temperature flash of light Lamp is also possible to double-colored temperature flash lamp.Double-colored temperature flash lamp refers to the combination of warm light flash lamp and cold light flash lamp, can be used for Light compensation under different-colour.
Power supply 1809 is used to be powered for the various components in image capture device 1800.Power supply 1809 can be exchange Electricity, direct current, disposable battery or rechargeable battery.When power supply 1809 includes rechargeable battery, which can be with It is wired charging battery or wireless charging battery.Wired charging battery is the battery to be charged by Wireline, wireless charging electricity Pond is the battery to be charged by wireless coil.The rechargeable battery can be also used for supporting fast charge technology.
Optical sensor is for acquiring ambient light intensity.In one embodiment, processor 1801 can also be according to optics The ambient light intensity of sensor acquisition, dynamic adjust the acquisition parameters of CCD camera assembly 1806.
It will be understood by those skilled in the art that structure shown in Fig. 4 does not constitute the limit to image capture device 1800 It is fixed, it may include perhaps combining certain components than illustrating more or fewer components or being arranged using different components.
Those skilled in the art will readily occur to its of the disclosure after considering specification and practicing disclosure disclosed herein Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (10)

1. a kind of image capture device, which is characterized in that it includes processor, field programmable gate array that described image, which acquires equipment, FPGA, driver, motor, eyeglass, the first focusing key and the second focusing key, in which:
The first focusing key sends the first electricity to the first interface of the processor for continuing in the state of being triggered Press signal;
The second focusing key sends the second electricity to the second interface of the processor for continuing in the state of being triggered Press signal;
The processor, for when the first interface of the processor initially receives the first voltage signal, from described The third interface of processor sends tertiary voltage signal to the first interface of the FPGA;When the second interface of the processor is opened When beginning receives the second voltage signal, the 4th is sent from the 4th interface of the processor to the second interface of the FPGA Voltage signal;
The FPGA, for when the first interface of the FPGA receives the tertiary voltage signal, according to preset voltage The corresponding relationship of signal and instruction obtains the first driver configuration-direct corresponding with the tertiary voltage signal, according to default Period is sent to the driver;When the second interface of the FPGA receives four voltage signal, according to preset The corresponding relationship of voltage signal and instruction obtains the second driver configuration-direct corresponding with the 4th voltage signal, according to Predetermined period is sent to the driver;
The driver, for being configured to the register of the driver, base according to the first driver configuration-direct In with the register postponed, the motor rotation is driven, to drive the eyeglass mobile to first direction;According to described second Driver configuration-direct configures the register of the driver, based on the register postponed, drives the motor Rotation, to drive the eyeglass mobile to second direction, wherein the second direction is side opposite to the first direction To.
2. equipment according to claim 1, which is characterized in that the processor is also used to when the first voltage signal At the end of end or the second voltage signal, Xiang Suoshu FPGA, which is sent, stops focusing instruction;
The FPGA is also used to stop sending the first driver to the driver when receiving the stopping focusing instruction Configuration-direct or the second driver configuration-direct.
3. equipment according to claim 1 or 2, which is characterized in that the level of the first voltage signal is 0V to 1.3V Between any value;
The level of the second voltage signal is 0V to any value between 1.3V;
The level of the tertiary voltage signal is 0V to any value between 1.3V;
The level of 4th voltage signal is 0V to any value between 1.3V.
4. equipment according to claim 1, which is characterized in that the FPGA includes serial peripheral equipment interface SPI interface, described Driver includes SPI interface;
The FPGA sends first driver to the SPI interface of the driver for the SPI interface from the FPGA and matches Set instruction or the second driver configuration-direct.
5. equipment according to claim 1, which is characterized in that the driver is used for:
According to the first driver configuration-direct, the register of the driver is configured, based on the deposit postponed Device controls to the motor and sends the first pulse signal, to drive the motor rotation, and drives the eyeglass to first Direction is mobile, wherein the first driver configuration-direct includes for configuring the frequency of first pulse signal, duty Than, phase and the information of volt value;
According to the second driver configuration-direct, the register of the driver is configured, based on the deposit postponed Device controls to the motor and sends the second pulse signal, to drive the motor rotation, and drives the eyeglass to second Direction is mobile, wherein the second driver configuration-direct includes for configuring the frequency of second pulse signal, duty Than, phase and the information of volt value.
6. equipment according to claim 1, which is characterized in that the processor is also used to detect device power thing When part, Xiang Suoshu FPGA sends focusing instruction, and the focusing instruction, which is used to indicate, is moved to removable stroke for the eyeglass Default end;
The FPGA is also used to when receiving focusing instruction, and according to the predetermined period, Xiang Suoshu driver sends the Three driver configuration-directs;
The driver is also used to when receiving the third driver configuration-direct, to the register of the driver into Row configuration drives the motor rotation based on the register postponed, to drive the eyeglass to the default of removable stroke End is mobile.
7. equipment according to claim 6, which is characterized in that the equipment further includes limit optocoupler;
The limit optocoupler, for when detecting that the eyeglass is moved to the default end of removable stroke, Xiang Suoshu FPGA It sends and stops move;
The FPGA is also used to when receiving the stopping move, stops sending the third drive to the driver Dynamic device configuration-direct.
8. equipment according to claim 1, which is characterized in that the equipment further includes focusing wheel;
The focusing wheel, for whenever rotating predetermined angle to the first rotation direction, the 5th interface of Xiang Suoshu processor to be sent out Third pulse signal is sent, whenever rotating predetermined angle to the second rotation direction, the 6th interface of Xiang Suoshu processor sends the Four pulse signals;
The processor is also used to when the 5th interface of the processor is to the third pulse signal, from described The 7th interface for managing device sends the 5th pulse signal to the third interface of the FPGA, when the 6th interface of the processor When to four pulse signal, the 6th pulse letter is sent from the 8th interface of the processor to the 4th interface of the FPGA Number;
The FPGA is also used to when the third interface of the FPGA is to five pulse signal, according to preset arteries and veins The corresponding relationship of signal and instruction is rushed, the first driver configuration-direct corresponding with the 5th pulse signal is obtained, is sent to The driver, when the 4th interface of the FPGA is to six pulse signal, according to preset pulse signal with The corresponding relationship of instruction obtains the second driver configuration-direct corresponding with the 6th pulse signal, is sent to the driving Device;
The driver is also used to configure the register of the driver according to the first driver configuration-direct, Based on the register postponed, the motor rotation is driven, to drive the eyeglass mobile to first direction;According to described Two driver configuration-directs, configure the register of the driver, based on the register postponed, drive described electronic Machine rotation, to drive the eyeglass mobile to second direction, wherein the second direction is side opposite to the first direction To.
9. equipment according to claim 1, which is characterized in that the FPGA is used for:
Determine the position of the eyeglass;
If the eyeglass is not located at the end of removable stroke, alternatively, the eyeglass is located at the end of removable stroke and institute It states tertiary voltage signal and is used to indicate the eyeglass to the direction movement far from the end, then obtain and believe with the tertiary voltage Number corresponding first driver configuration-direct is sent to the driver according to predetermined period;
If the eyeglass is not located at the end of removable stroke, alternatively, the eyeglass is located at the end of removable stroke and institute It states the 4th voltage signal and is used to indicate the eyeglass to the direction movement far from the end, then obtain and believe with the 4th voltage Number corresponding second driver configuration-direct is sent to the driver according to predetermined period.
10. equipment according to claim 1, which is characterized in that the motor includes stepping motor or direct current drive Machine.
CN201810331902.1A 2018-04-13 2018-04-13 Image acquisition device Active CN110381246B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810331902.1A CN110381246B (en) 2018-04-13 2018-04-13 Image acquisition device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810331902.1A CN110381246B (en) 2018-04-13 2018-04-13 Image acquisition device

Publications (2)

Publication Number Publication Date
CN110381246A true CN110381246A (en) 2019-10-25
CN110381246B CN110381246B (en) 2021-03-26

Family

ID=68242941

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810331902.1A Active CN110381246B (en) 2018-04-13 2018-04-13 Image acquisition device

Country Status (1)

Country Link
CN (1) CN110381246B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101266389A (en) * 2008-04-15 2008-09-17 太原理工天成电子信息技术有限公司 Automatic focusing control device
CN202003114U (en) * 2011-01-27 2011-10-05 北京高普乐光电科技有限公司 Automatic focusing control module for lens
CN205490873U (en) * 2016-04-01 2016-08-17 王玉坤 Image processing and automatic focusing control system
US20180084979A1 (en) * 2015-05-18 2018-03-29 Sony Corporation Control device and medical imaging system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101266389A (en) * 2008-04-15 2008-09-17 太原理工天成电子信息技术有限公司 Automatic focusing control device
CN202003114U (en) * 2011-01-27 2011-10-05 北京高普乐光电科技有限公司 Automatic focusing control module for lens
US20180084979A1 (en) * 2015-05-18 2018-03-29 Sony Corporation Control device and medical imaging system
CN205490873U (en) * 2016-04-01 2016-08-17 王玉坤 Image processing and automatic focusing control system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
吴川: "基于FPGA+单片机的调焦变倍系统设计", 《电子技术》 *

Also Published As

Publication number Publication date
CN110381246B (en) 2021-03-26

Similar Documents

Publication Publication Date Title
CN208028980U (en) A kind of camera module and electronic equipment
CN104113685A (en) Digital Photographing Apparatus And Method Of Controlling The Same
CN108141525A (en) Smart image sensors with integrated memory and processor
US9485413B2 (en) Imaging device, display device, control method, and method for controlling area change
CN105045420B (en) Operating terminal and operating method
CN110381245A (en) Image capture device
JP6414218B2 (en) Control device, control method and program
CN103926783B (en) Switching drive system and method for camera lens
CN202231786U (en) Image pickup device and photographing-type storage plate
US9794487B2 (en) Imaging device, camera body, and method for controlling imaging device
US6937285B2 (en) Image pickup apparatus and power supply control method therefor
CN102833470B (en) Digital photographing apparatus
CN203219391U (en) Light field camera capable of digital photo shooting
CN110381246A (en) Image capture device
CN103379261B (en) Camera arrangement, the method and external equipment for controlling camera arrangement
CN108106599A (en) Tactile provides device, tactile providing method and computer-readable medium
JP6332401B2 (en) Lens unit, imaging device, and control method
CN106921831B (en) Method for generating photo containing rotation track and related photographic device
US9300870B2 (en) Imaging apparatus with time periods for charging a driving mechanism that drives a mechanical shutter
JP2006217356A (en) Digital camera system
TWM405840U (en) Gender-based toilet lid-opening structure
CN204989983U (en) Key control camera shooting pan -tilt's circuit
TWM394487U (en) Electronic apparatus capable of identifying self-photograph image
CN109917851B (en) Terminal and electronic equipment
US20150022715A1 (en) Irradiation device, irradiation method, and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200713

Address after: 311501 building A1, No. 299, Qiushi Road, Tonglu Economic Development Zone, Tonglu County, Hangzhou City, Zhejiang Province

Applicant after: Hangzhou Haikang Micro Shadow Sensing Technology Co.,Ltd.

Address before: 310051 555 Binjiang District Road, Binjiang District, Hangzhou, Zhejiang (phase two)

Applicant before: Hangzhou Hikvision Digital Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant