CN108873766A - A kind of I/O control circuitry and camera apparatus for camera - Google Patents

A kind of I/O control circuitry and camera apparatus for camera Download PDF

Info

Publication number
CN108873766A
CN108873766A CN201710698307.7A CN201710698307A CN108873766A CN 108873766 A CN108873766 A CN 108873766A CN 201710698307 A CN201710698307 A CN 201710698307A CN 108873766 A CN108873766 A CN 108873766A
Authority
CN
China
Prior art keywords
control
control logic
logic module
default value
logical comparison
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
CN201710698307.7A
Other languages
Chinese (zh)
Other versions
CN108873766B (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.)
Beijing Megvii Technology Co Ltd
Beijing Maigewei Technology Co Ltd
Original Assignee
Beijing Megvii Technology Co Ltd
Beijing Maigewei 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 Beijing Megvii Technology Co Ltd, Beijing Maigewei Technology Co Ltd filed Critical Beijing Megvii Technology Co Ltd
Priority to CN201710698307.7A priority Critical patent/CN108873766B/en
Publication of CN108873766A publication Critical patent/CN108873766A/en
Application granted granted Critical
Publication of CN108873766B publication Critical patent/CN108873766B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/23Pc programming
    • G05B2219/23289State logic control, finite state, tasks, machine, fsm

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Control By Computers (AREA)
  • Studio Devices (AREA)

Abstract

The present invention provides a kind of I/O control circuitries and camera apparatus for camera, wherein the I/O control circuitry includes:Sequentially connected controller, control logic module and logical comparison module;Controller, for sending serial data to control logic module;Control logic module shifts serial data to form parallel data, and the parallel data of formation is sent to logical comparison module for receiving the serial data of controller transmission;Logical comparison module, is stored with default value, and the exception for when determining the parallel data that receives and default value difference, generating control external equipment makes to can control signal, makes to can control signal extremely and keeps current state for controlling external equipment.The I/O control circuitry and camera apparatus for camera provided through the embodiment of the present invention is avoided that the external equipment operation irregularity connecting with security camera and industrial camera under controller starting or abnormal operating state.

Description

A kind of I/O control circuitry and camera apparatus for camera
Technical field
The present invention relates to control technology fields, set in particular to a kind of I/O control circuitry for camera and camera It is standby.
Background technique
Currently, security camera and industrial camera are obtaining more and more extensively with industrialized demand and continuous development General application, security camera and industrial camera in use would generally be according to practical situations to outside connected to it Equipment is (such as:Flash lamp, sensor) it carries out making can control, to guarantee that security camera and industrial camera can be in said external equipment Cooperation under normal use.
In the related technology, when security camera and industrial camera carry out making can control to external equipment connected to it, generally It is that enable signal is issued to external equipment by the I/O pin of controller preset in security camera and industrial camera, thus externally Portion's equipment is controlled.
In realizing process of the present invention, at least there are the following problems in the prior art for inventor's discovery:
Under controller starting or abnormal operating state, controller cisco unity malfunction, thus cannot be to I/O pin It is controlled, and I/O pin may issue enable signal to external equipment repeatedly in the case where uncontrolled, lead to outside Equipment operation irregularity.
Summary of the invention
In view of this, the embodiment of the present invention be designed to provide a kind of I/O control circuitry for camera and camera is set It is standby, it is avoided that the outside connecting with security camera and industrial camera is set under controller starting or abnormal operating state Standby operation irregularity.
In a first aspect, the embodiment of the invention provides a kind of I/O control circuitries, including:Sequentially connected controller, control Logic module and logical comparison module;
The controller, for sending serial data to the control logic module;
The control logic module, the serial data sent for receiving the controller, by the serial data Displacement forms parallel data, and the parallel data of formation is sent to the logical comparison module;
The logical comparison module, is stored with default value, for when determine the parallel data that receive with it is described When default value difference, the exception for generating control external equipment makes to can control signal, and the exception makes can control signal for controlling External equipment processed keeps current state.
With reference to first aspect, the embodiment of the invention provides the first possible embodiments of first aspect, wherein:Institute Control logic module is stated, the first data receiver is provided with, the second data receiver, clock receiving end, voltage source connection, connects Ground terminal and data output end;
First data receiver, connect with voltage source, for receiving the high level voltage of the voltage source output;
Second data receiver, the serial data sent for receiving the controller;
The clock receiving end, the clock cycle signal sent for receiving the controller;
The control logic module carries out displacement formation to the serial data under the control of the clock cycle signal Parallel data, and the logical comparison module is sent by the data output end by the parallel data of formation.
With reference to first aspect, the embodiment of the invention provides second of possible embodiments of first aspect, wherein:Also Including:The time-delay reset sub-circuit being connect with the control logic module;The control logic module is additionally provided with time-delay reset End;
The time-delay reset sub-circuit includes:Resistance and first capacitor;The first end of the resistance is connect with voltage source, institute The second end for stating resistance is connect with the time-delay reset end of the first end of the first capacitor and the control logic module respectively;Institute The first end for stating first capacitor is also connect with the time-delay reset end of the control logic module, the second termination of the first capacitor Ground;
The time-delay reset sub-circuit, for passing through the delay when receiving the high level voltage of voltage source sending Reset terminal carries out delay process to the clock cycle signal that the clock receiving end receives;When receiving low level voltage When, reset processing is carried out to the control logic module by the time-delay reset end.
With reference to first aspect, the embodiment of the invention provides the third possible embodiments of first aspect, wherein:Also Including:First decoupling capacitance;The first end of first decoupling capacitance and the voltage source connection of the control logic module connect It connects, the second end ground connection of first decoupling capacitance.
With reference to first aspect, the embodiment of the invention provides the 4th kind of possible embodiments of first aspect, wherein:Institute Control logic module is stated using SI PO shift register.
With reference to first aspect, the embodiment of the invention provides the 5th kind of possible embodiments of first aspect, wherein:Institute Logical comparison module is stated, parallel data receiving end, default value setting end, second voltage source connection, the second ground connection are provided with End and enable signal output end;
The parallel data receiving end, the parallel data sent for receiving the control logic module;
End is arranged in the default value, is used for the preset default value, wherein one in default value setting end Another part ground connection in end is arranged in part connection voltage source, the default value;The part default value of connection voltage source is set End is set to be predisposed to " 1 " in the case where the height that voltage source exports allocates driving, and the part default value setting end being grounded is driven in low level " 0 " is predisposed under dynamic;
The enable signal output end, connect with external equipment, for what is received when logical comparison module determination The parallel data is different from the default value, sends the enabled control of exception for the external equipment that the logical comparison module generates Signal processed, control external equipment keep current state.
With reference to first aspect, the embodiment of the invention provides the 6th kind of possible embodiments of first aspect, wherein:Also Including:Second decoupling capacitance, the first end of second decoupling capacitance are connect with the second voltage source of the logical comparison module End connection, the second end ground connection of second decoupling capacitance.
With reference to first aspect, the embodiment of the invention provides the 7th kind of possible embodiments of first aspect, wherein:Institute Logical comparison module is stated, is also used to:
When determining that the parallel data received is identical as the default value, generates and control the external equipment Make to can control signal, it is described to make can control signal for controlling the external equipment.
With reference to first aspect, the embodiment of the invention provides the 8th kind of possible embodiments of first aspect, wherein:Institute Logical comparison module is stated using digital comparator.
Second aspect, the embodiment of the invention provides a kind of camera apparatus, control electricity including the above-mentioned IO for camera Road.
I/O control circuitry and camera apparatus provided in an embodiment of the present invention for camera, by the way that logical comparison module is arranged When determining the data and preset data difference that controller issues, the exception for generating external equipment makes to can control signal, outer to control Portion's equipment keeps current state;With I/O pin under the starting of controller in the related technology or abnormal operating state uncontrolled In the case where can repeatedly to external equipment issue enable signal, cause external equipment operation irregularity to be compared, when logical comparison module After determining that controller is in starting or abnormal operating state by the data that controller issues, control external equipment holding is worked as Preceding state, to still can guarantee external equipment working condition in the case where controller is in starting or abnormal operating state Normally.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate Appended attached drawing, is described in detail below.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 shows a kind of general schematic view of the I/O control circuitry for camera provided by the embodiment of the present invention;
Fig. 2 shows provided by the embodiment of the present invention be used for camera I/O control circuitry in, control logic module U1 and The concrete structure schematic diagram of logical comparison module U2;
Fig. 3 is shown provided by the embodiment of the present invention in the I/O control circuitry of camera, control logic module U1 to be true It is worth table;
Fig. 4 is shown provided by the embodiment of the present invention in the I/O control circuitry of camera, logical comparison module U2 to be true It is worth table.
Icon:100- controller;U1- control logic module;U2- logical comparison module;The first data receiver of DS1-; The second data receiver of DS2-;CP- clock receiving end;Vcc1- voltage source connection;GND1- ground terminal;Q0~Q7- data are defeated Outlet;Time-delay reset end;R1- resistance;C3- first capacitor;The first decoupling capacitance of C1-;A0~A7- parallel data receives End;End is arranged in B0~B7- default value;Vcc2- second voltage source connection;The second ground terminal of GND2-;The output of Y- enable signal End;Low level end;The second decoupling capacitance of C2-.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention Middle attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only It is a part of the embodiment of the present invention, instead of all the embodiments.The present invention being usually described and illustrated herein in the accompanying drawings is real The component for applying example can be arranged and be designed with a variety of different configurations.Therefore, of the invention to what is provided in the accompanying drawings below The detailed description of embodiment is not intended to limit the range of claimed invention, but is merely representative of selected reality of the invention Apply example.Based on the embodiment of the present invention, those skilled in the art institute obtained without making creative work There are other embodiments, shall fall within the protection scope of the present invention.
Currently, in the related technology, when security camera and industrial camera carry out making can control to external equipment connected to it, Enable signal is issued to external equipment generally by the I/O pin of preset controller in security camera and industrial camera, thus External equipment is controlled.Under controller starting or abnormal operating state, controller cisco unity malfunction, thus not I/O pin can be controlled, and I/O pin may issue enabled letter to external equipment repeatedly in the case where uncontrolled Number, lead to external equipment operation irregularity.Based on this, a kind of I/O control circuitry and camera apparatus provided by the present application.
It should be noted that in the description of the present invention, term " center ", "upper", "lower", "left", "right", "vertical", The orientation or positional relationship of the instructions such as "horizontal", "inner", "outside" be based on the orientation or positional relationship shown in the drawings, merely to Convenient for description the present invention and simplify description, rather than the device or element of indication or suggestion meaning must have a particular orientation, It is constructed and operated in a specific orientation, therefore is not considered as limiting the invention.In addition, term " first ", " second ", " third " is used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance.
In addition, in the description of the present invention unless specifically defined or limited otherwise, term " installation ", " connects " connected " Connect " it shall be understood in a broad sense, for example, it may be being fixedly connected, it may be a detachable connection, or be integrally connected;It can be machine Tool connection, is also possible to be electrically connected;It can be directly connected, two members can also be can be indirectly connected through an intermediary Connection inside part.For the ordinary skill in the art, above-mentioned term can be understood in the present invention with concrete condition Concrete meaning.
Embodiment
The general schematic view of I/O control circuitry shown in Figure 1, the present embodiment propose that a kind of IO for camera is controlled Circuit, including:Sequentially connected controller 100, control logic module U1 and logical comparison module U2.
Above controller 100, for sending serial data to above-mentioned control logic module U1.
Above-mentioned control logic module U1 will be above-mentioned serial for receiving the above-mentioned serial data of the transmission of above controller 100 Data shift to form parallel data, and the parallel data of formation is sent to above-mentioned logical comparison module U2.
Above-mentioned logical comparison module U2, is stored with default value, for when determine the above-mentioned parallel data that receive with When stating default value difference, the exception for generating control external equipment makes to can control signal, and above-mentioned exception, which makes to can control signal, to be used for It controls external equipment and keeps current state.
Above controller 100 can using it is existing it is any external equipment can be carried out the single-chip microcontroller for making can control or Microcontroller no longer repeats one by one here.
Above controller 100 can also be to camera other than it can control the external equipment connecting with camera Screening-mode is (such as:Picture mode, video mode), style of shooting (such as:Single shot approach is continuously shot mode) and clap Take the photograph parameter (such as:Aperture, focal length) it is controlled and is adjusted.
In normal operation, controller 100 can be sent by control logic module U1 to logical comparison module U2 pre- If serial data, so that logical comparison module U2 be made to carry out making can control to external equipment.If logical comparison module U2 judgement control When the serial data that device 100 processed issues is not the default value of storage, logical comparison module U2 is it is determined that controller 100 is in Starting or abnormal operating state, then the exception that will generate external equipment makes to can control signal, control external equipment is protected Hold current state.
Default serial data, can be stored in advance in controller 100.
In one embodiment, it is deposited in the default serial data and logical comparison module U2 prestored in controller 100 The default value of storage is 8 bit number word strings.In order not to controller 100 starting or abnormal operating state under be randomly generated Serial data it is consistent, default serial data and default value can be:01010101,10101010,11001100 or Person 00110011.
Certainly, it presets serial data and default value may be set to be 8 bit numbers being arbitrarily made of " 0 " and " 1 " Word string no longer repeats one by one here.
The concrete structure schematic diagram of control logic module U1 and logical comparison module U2 shown in Figure 2, above-mentioned control Logic module U1 is provided with the first data receiver DS1, the second data receiver DS2, clock receiving end CP, voltage source connection Hold Vcc1, ground terminal GND1 and data output end Q0~Q7.
In one embodiment, above-mentioned first data receiver DS1, connect with voltage source VCC, for receiving above-mentioned electricity The high level voltage of potential source VCC output.
Above-mentioned second data receiver DS2 is connect with the output 1 of controller 100 (being not shown in Fig. 2), for receiving State the above-mentioned serial data of the transmission of controller 100.
Above-mentioned clock receiving end CP is connect with the output 2 of controller 100, for receive above controller 100 transmission when Clock periodic signal.
Above-mentioned control logic module U1 carries out displacement shape to above-mentioned serial data under the control of above-mentioned clock cycle signal Above-mentioned logical comparison module U2 is sent to by above-mentioned data output end at parallel data, and by the parallel data of formation.
Above-mentioned data output end Q0~Q7, for above-mentioned parallel data to be sent to above-mentioned logical comparison module U2.
Above-mentioned voltage source connection Vcc1 is connect with voltage source VCC.Above-mentioned ground terminal GND1 ground connection.
Wherein, as shown in Fig. 2, data/address bus representated by output 1, is used for transmission the serial data of controller sending;It is defeated Data/address bus representated by 2 out is used for transmission the clock cycle signal of controller sending.
Above-mentioned data output end Q0~Q7 can divide in the rising edge for the clock cycle signal that clock receiving end CP is received Above-mentioned logical comparison module U2 is not sent by the parallel data of formation.
Further, in order to carry out time-delay reset operation to I/O control circuitry according to demand, the IO that the present embodiment proposes is controlled Circuit processed further includes:The time-delay reset sub-circuit being connect with above-mentioned control logic module U1;Above-mentioned control logic module U1 is also set It is equipped with time-delay reset end
Above-mentioned time-delay reset sub-circuit includes:Resistance R1 and first capacitor C3;The first end and voltage source of above-mentioned resistance R1 VCC connection, the second end of above-mentioned resistance R1 respectively with the first end of above-mentioned first capacitor C3 and above-mentioned control logic module U1 Time-delay reset endConnection;Time-delay reset end of the first end of above-mentioned first capacitor C3 also with above-mentioned control logic module U1Connection, the second end ground connection of above-mentioned first capacitor C3.
Above-mentioned time-delay reset sub-circuit, for being prolonged by above-mentioned when receiving the high level voltage of voltage source VCC sending When reset terminalDelay process is carried out to the above-mentioned clock cycle signal that above-mentioned clock receiving end CP is received;When receiving When low level voltage, pass through above-mentioned time-delay reset endReset processing is carried out to above-mentioned control logic module U1.
The working principle of control logic module U1 control logic module truth table shown in Figure 3.Which is not described herein again. In Fig. 3, H indicates high level;L indicates low level;↑ indicate clock cycle signal rising edge;H indicates that the clock cycle believes when high level Number rising edge;L indicates clock periodic signal rising edge when low level;X indicates the data for ignoring input;Q indicates clock cycle letter The parallel data exported when number rising edge.
In circuit design, in order to prevent when the circuital current size variation of front and back, the electric current formed in power supply circuit Impulsion can make to generate parasitic couplings between circuit, have an impact to the normal work of circuit, and the IO that the present embodiment proposes controls electricity Road further includes:First decoupling capacitance C1;The first end of above-mentioned first decoupling capacitance C1 and the voltage of above-mentioned control logic module U1 Source connection Vcc1 connection, the second end ground connection of above-mentioned first decoupling capacitance C1.The first end of above-mentioned first decoupling capacitance C1 is also It is connect with voltage source VCC.
In one embodiment, the first decoupling capacitance C1 can use the capacitor of 10V, 0.1uF specification.Certainly, One decoupling capacitance C1 can also be according to the difference of practical application scene, and using the capacitor of other specifications, which is not described herein again.
By above description as can be seen that the first decoupling connecting with control logic module is arranged in I/O control circuitry Capacitor can effectively eliminate the parasitic couplings between circuit, guarantee circuit using safe.
Can be seen that above-mentioned control logic module U1 by above description can use model:CD74ACT164M, The SI PO shift register of CD54AC164 or CD54HC164.The serial data that controller issues is shifted to be formed parallel Data.
Control logic module U1 is being described in detail by the above content and then by the following contents to logic ratio It is described in detail compared with module U2.
Above-mentioned logical comparison module U2 is provided with parallel data receiving end A0~A7, default value setting end B0~B7, the Two voltage source connection Vcc2, the second ground terminal GND2 and enable signal output end Y.
Above-mentioned parallel data receiving end A0~A7, the above-mentioned and line number sent for receiving above-mentioned control logic module U1 According to.
Specifically, as seen in Figure 2, in logical comparison module U2, parallel data receiving end A0 receives data output Hold Q0 send data, parallel data receiving end A1 receive data output end Q1 send data ..., parallel data receiving end A7 receives the data that data output end Q7 is sent.
End B0~B7 is arranged in above-mentioned default value, for presetting above-mentioned default value;Wherein, default value setting end B0~ B7 is preset with 1 bit data of default value respectively.Above-mentioned default value setting end B0~B7 distinguishes preset numerical value and presets Numerical value setting end B0~B7 is separately connected voltage source and is still grounded correlation.
The default value, including:" 1 " and " 0 ".In order to preset default value, default value is arranged in the B0~B7 of end Another part ground connection in end is arranged in a part connection voltage source, above-mentioned default value.Connect the part default value of voltage source End is arranged to be predisposed to " 1 " in the case where the height that voltage source exports allocates driving, and the part default value setting end being grounded is in low level " 0 " is predisposed under driving.
In one embodiment, as shown in Fig. 2, default value setting end B0, B2, B4 and B6 are grounded, default value is set It sets end B1, B3, B5 and connects voltage source with B7, then the default value that default value setting end B0~B7 is stored is exactly 01010101。
Certainly, the connection side that default value setting end B0~B7 can also be connect and be grounded with voltage source using other Formula, to store to any 8 bit number word string, which is not described herein again.
Above-mentioned enable signal output end Y, connect with external equipment, for receiving when above-mentioned logical comparison module U2 determination Above-mentioned parallel data it is different from above-mentioned default value, sending the exception that above-mentioned logical comparison module U2 is generated makes to can control letter Number, control external equipment keeps current state.
Second voltage source connection Vcc2 is connect with voltage source VCC, the second ground terminal GND2 is grounded.
In order to guarantee that logical comparison module U2 can work normally, above-mentioned logical comparison module U2 further includes the low electricity of ground connection Flush end
The working principle of logical comparison module U2 is as shown in Figure 4, wherein H indicates high level;L indicates low level;X is indicated Ignore the data of input.
When determining the above-mentioned parallel data and above-mentioned default value difference that receive, above-mentioned logical comparison module U2 is sent Exception make to can control signal high level signal, do not change current state to control external equipment.When determine receive it is upper State parallel data it is identical as above-mentioned default value when, what above-mentioned logical comparison module U2 was sent, which make can control signal low level, believes Number, to carry out making can control to external equipment.
It is similar with control logic module U1, in circuit design, in order to prevent when the circuital current size variation of front and back, supplying Current russ formed in circuit can make to generate parasitic couplings between circuit, have an impact to the normal work of circuit, this Embodiment propose I/O control circuitry further include:Second decoupling capacitance C2, the first end of above-mentioned second decoupling capacitance C2 with it is above-mentioned The second voltage source connection Vcc2 connection of logical comparison module U2, the second end ground connection of above-mentioned second decoupling capacitance C2.It is above-mentioned The first end of second decoupling capacitance C2 is also connect with voltage source VCC.
In one embodiment, the second decoupling capacitance C2, can be using the electricity with the first decoupling capacitance C1 same size Container, can also be according to the difference of practical application scene, and using the capacitor of other specifications, which is not described herein again.
By above description as can be seen that the second decoupling connecting with logical comparison module is arranged in I/O control circuitry Capacitor can effectively eliminate the parasitic couplings between circuit, guarantee circuit using safe.
Above-mentioned logical comparison module is in addition to when determining that the above-mentioned parallel data received and above-mentioned default value be not identical The exception for generating control external equipment makes to can control outside signal, and above-mentioned logical comparison module is also used to execute following steps:
When determining that the above-mentioned parallel data received is identical as above-mentioned default value, control said external equipment is generated Make to can control signal, it is above-mentioned to make can control signal for controlling said external equipment.
It is above-mentioned make to can control signal can be used for above-mentioned external equipment out-put supply, can also be light filling in external equipment When lamp, controls the light compensating lamp connecting with camera and open.It can also control and be connect with camera when external equipment is temperature sensor Temperature sensor temperature collection.Certainly, the external equipment connecting with camera can also have very much, above-mentioned to make can control signal also The other external equipments connecting with camera can be controlled, here not when camera is connected with other external equipments It repeats one by one again.
Wherein, make to can control signal low level signal;Exception makes to can control signal high level signal.
By above description can be seen that above-mentioned logical comparison module U2 can using model C D74H688PWR, The programmable logic device for finishing writing comparing function in advance also can be used in the comparator of SN74ALS688 or SN54ALS520, Whether the preset data to judge the parallel data received and storage is consistent, and is made according to judging result to external equipment It can control, to realize the function of above-mentioned logical comparison module U2.
The present embodiment also proposes a kind of camera apparatus, including the above-mentioned I/O control circuitry for camera.
In one embodiment, above-mentioned camera apparatus can use security camera and industrial camera.
In conclusion the I/O control circuitry and camera apparatus provided in this embodiment for camera, by the way that logic ratio is arranged When determining the data and preset data difference that controller issues compared with module, the exception for generating external equipment makes to can control signal, with It controls external equipment and keeps current state;With I/O pin under the starting of controller in the related technology or abnormal operating state not Enable signal can be issued to external equipment repeatedly in controlled situation, cause external equipment operation irregularity to be compared, when logic ratio After determining that controller is in starting or abnormal operating state by the data that controller issues compared with module, external equipment is controlled Current state is kept, to still can guarantee external equipment work in the case where controller is in starting or abnormal operating state It is normal to make state.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. a kind of I/O control circuitry for camera, which is characterized in that including:Sequentially connected controller, control logic module With logical comparison module;
The controller, for sending serial data to the control logic module;
The control logic module, the serial data sent for receiving the controller, the serial data is shifted Parallel data is formed, and the parallel data of formation is sent to the logical comparison module;
The logical comparison module, is stored with default value, for presetting when the determining parallel data received with described When numerical value difference, the exception for generating control external equipment makes to can control signal, and the exception makes can control signal for outside controlling Portion's equipment keeps current state.
2. I/O control circuitry according to claim 1, which is characterized in that the control logic module is provided with the first number According to receiving end, the second data receiver, clock receiving end, voltage source connection, ground terminal and data output end;
First data receiver, connect with voltage source, for receiving the high level voltage of the voltage source output;
Second data receiver, the serial data sent for receiving the controller;
The clock receiving end, the clock cycle signal sent for receiving the controller;
The control logic module carries out displacement to the serial data under the control of the clock cycle signal and is formed parallel Data, and the logical comparison module is sent by the data output end by the parallel data of formation.
3. I/O control circuitry according to claim 2, which is characterized in that further include:It is connect with the control logic module Time-delay reset sub-circuit;The control logic module is additionally provided with time-delay reset end;
The time-delay reset sub-circuit includes:Resistance and first capacitor;The first end of the resistance is connect with voltage source, the electricity The second end of resistance is connect with the time-delay reset end of the first end of the first capacitor and the control logic module respectively;Described The first end of one capacitor is also connect with the time-delay reset end of the control logic module, the second end ground connection of the first capacitor;
The time-delay reset sub-circuit, for passing through the time-delay reset when receiving the high level voltage of voltage source sending It holds and delay process is carried out to the clock cycle signal that the clock receiving end receives;When receiving low level voltage, Reset processing is carried out to the control logic module by the time-delay reset end.
4. I/O control circuitry according to claim 2, which is characterized in that further include:First decoupling capacitance;Described first moves back The first end of coupling capacitor is connect with the voltage source connection of the control logic module, the second termination of first decoupling capacitance Ground.
5. I/O control circuitry according to claim 1, which is characterized in that the control logic module, which uses, to seal in and go out to move Bit register.
6. I/O control circuitry according to claim 1 or 2, which is characterized in that the logical comparison module is provided with parallel Data receiver, default value setting end, second voltage source connection, the second ground terminal and enable signal output end;
The parallel data receiving end, the parallel data sent for receiving the control logic module;
End is arranged in the default value, is used for the preset default value, wherein a part in default value setting end Connect voltage source, another part ground connection in default value setting end;End is arranged in the part default value for connecting voltage source It is predisposed to " 1 " in the case where the height of voltage source output allocates driving, and the part default value setting end being grounded is under low level driving It is predisposed to " 0 ";
The enable signal output end, connect with external equipment, described in determining and receiving when the logical comparison module Parallel data is different from the default value, and the exception for sending the external equipment that the logical comparison module generates makes to can control letter Number, control external equipment keeps current state.
7. I/O control circuitry according to claim 6, which is characterized in that further include:Second decoupling capacitance, described second moves back The first end of coupling capacitor is connect with the second voltage source connection of the logical comparison module, and the second of second decoupling capacitance End ground connection.
8. I/O control circuitry according to claim 1, which is characterized in that the logical comparison module is also used to:
When determining that the parallel data received is identical as the default value, generates and control the enabled of the external equipment Signal is controlled, it is described to make can control signal for controlling the external equipment.
9. I/O control circuitry according to claim 1, which is characterized in that the logical comparison module is compared using number Device.
10. a kind of camera apparatus, which is characterized in that control electricity including the described in any item IO for camera of claim 1-9 Road.
CN201710698307.7A 2017-08-15 2017-08-15 IO control circuit for camera and camera equipment Active CN108873766B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710698307.7A CN108873766B (en) 2017-08-15 2017-08-15 IO control circuit for camera and camera equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710698307.7A CN108873766B (en) 2017-08-15 2017-08-15 IO control circuit for camera and camera equipment

Publications (2)

Publication Number Publication Date
CN108873766A true CN108873766A (en) 2018-11-23
CN108873766B CN108873766B (en) 2021-03-23

Family

ID=64325438

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710698307.7A Active CN108873766B (en) 2017-08-15 2017-08-15 IO control circuit for camera and camera equipment

Country Status (1)

Country Link
CN (1) CN108873766B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10233698A (en) * 1997-02-19 1998-09-02 Hitachi Denshi Ltd Serial/parallel data conversion circuit
CN1474567A (en) * 2002-08-07 2004-02-11 ������������ʽ���� Data transmission device
US6762560B1 (en) * 2003-01-13 2004-07-13 Nano Silicon Pte. Ltd. High speed over-sampler application in a serial to parallel converter
CN101055613A (en) * 2007-05-25 2007-10-17 东南大学 Chip data output signal protection method and its circuit
CN202075730U (en) * 2010-12-29 2011-12-14 重庆工商大学 Command-type household appliance automation wire holder for verifying data output by junctor of serial port
CN103036566A (en) * 2012-12-06 2013-04-10 北京空间机电研究所 On-line adjustment controller for imitating front-end chip
CN204576161U (en) * 2015-05-08 2015-08-19 北京联合大学 The delay circuit of elevator internal contracting brake power-supply controller of electric

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10233698A (en) * 1997-02-19 1998-09-02 Hitachi Denshi Ltd Serial/parallel data conversion circuit
CN1474567A (en) * 2002-08-07 2004-02-11 ������������ʽ���� Data transmission device
US6762560B1 (en) * 2003-01-13 2004-07-13 Nano Silicon Pte. Ltd. High speed over-sampler application in a serial to parallel converter
CN101055613A (en) * 2007-05-25 2007-10-17 东南大学 Chip data output signal protection method and its circuit
CN202075730U (en) * 2010-12-29 2011-12-14 重庆工商大学 Command-type household appliance automation wire holder for verifying data output by junctor of serial port
CN103036566A (en) * 2012-12-06 2013-04-10 北京空间机电研究所 On-line adjustment controller for imitating front-end chip
CN204576161U (en) * 2015-05-08 2015-08-19 北京联合大学 The delay circuit of elevator internal contracting brake power-supply controller of electric

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
何欢: "《距离选通ICCD及其控制电路设计与实现》", 《中国优秀硕士学位论文全文数据库》 *
侯雨石 等: "《数码相机原理与***设计研究》", 《光学技术》 *

Also Published As

Publication number Publication date
CN108873766B (en) 2021-03-23

Similar Documents

Publication Publication Date Title
US20180131148A1 (en) Universal serial bus hub
EP3234788B1 (en) DATA TRANSMISSION USING PCIe PROTOCOL VIA USB PORT
JP6661342B2 (en) Port connection circuit, port connection control method, electronic equipment
TWI492044B (en) System for detecting universal serial bus (usb) device and method thereof
US20120246366A1 (en) Serial port remote control circuit
CN109313466B (en) System for implementing MXM on PCI card
CN105824771B (en) Electronic equipment and its master-slave switching method and device
TWI757646B (en) Usb device and operation method thereof
CN104502683A (en) Switch quantity signal detection method and detection circuit
CN106329654A (en) Electronic device and charging method thereof
CN108959155A (en) Address expansioning circuit and I2C communication interface chip
CN110618672A (en) Interface circuit and interface communication method and device thereof
CN207440581U (en) A kind of general development boards of FPGA
CN108873766A (en) A kind of I/O control circuitry and camera apparatus for camera
CN102332899A (en) Delay circuit and switching power controller with delay circuit
CN207097428U (en) A kind of liquid crystal SECO plate of multi signal input
TW201517456A (en) Charging circuit
CN104238707A (en) Electronic equipment and power supplying method
CN104007342A (en) Charger, charger detection system and detection method thereof
CN208673327U (en) Address expansioning circuit and I2C communication interface chip
JP2017126850A (en) Communication interface circuit and semiconductor integrated circuit
CN109101448A (en) Address expansioning circuit and I2C communication interface chip with the circuit
CN204904204U (en) Chip reset circuit
JP2009003915A (en) Conversion circuit
CN204272318U (en) EMMC tool and television system

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
GR01 Patent grant
GR01 Patent grant