CN106680563B - Multifunctional circuit - Google Patents
Multifunctional circuit Download PDFInfo
- Publication number
- CN106680563B CN106680563B CN201611217834.3A CN201611217834A CN106680563B CN 106680563 B CN106680563 B CN 106680563B CN 201611217834 A CN201611217834 A CN 201611217834A CN 106680563 B CN106680563 B CN 106680563B
- Authority
- CN
- China
- Prior art keywords
- module
- signal
- circuit
- main control
- control module
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R15/00—Details of measuring arrangements of the types provided for in groups G01R17/00 - G01R29/00, G01R33/00 - G01R33/26 or G01R35/00
- G01R15/12—Circuits for multi-testers, i.e. multimeters, e.g. for measuring voltage, current, or impedance at will
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Power Sources (AREA)
Abstract
The present invention is suitable for field of circuit technology, provides a kind of multifunctional circuit.The multifunctional circuit includes signal input part, signal output end and programmable logic device, and the programmable logic device includes functional module and main control module, and each functional module is connected with the main control module;The functional module includes the first analog-to-digital conversion module and phase-locked loop module, further includes at least one of data transmission control module, temperature collecting module, power management module and custom logic module;The programmable logic device is used to receive the original signal of the signal input part input, carries out processing to the original signal by the functional module and the main control module and forms echo signal, and the echo signal is exported by the signal output end.The multifunctional circuit integrated level is higher, and the area of circuit board is smaller, and the speed of service is fast.
Description
Technical field
The invention belongs to field of circuit technology more particularly to a kind of multifunctional circuits.
Background technique
With the development of electronic technology, the function of circuit becomes increasingly complex, but part general utility functions, such as monitors work shape
State, management power switch carry out data interaction and Clock management etc. with computer, are both needed to realize in a variety of circuits.Therefore, may be used
To design a general circuit device according to the general utility functions of circuit, can reduce circuit design work in the future.
In the prior art, a kind of scheme is by programmable logic device, outside ADC (Analog to Digital
Convertor, analog-digital converter), external clock managing chip and exterior arrangement memory be core, realize the general function of circuit
Energy;Another scheme is by MCU (Microcontroller Unit, microcontroller) or MPU (Microprocessor
Unit, microprocessor), in addition external ADC and external clock managing chip are core, realize the general utility functions of circuit.
In the implementation of the present invention, inventor find prior art at least have the disadvantage that integrated level compared with
It is low, it needs to use multiple chips, leads to that circuit board is at high cost, area is big, power consumption is high;And use microcontroller or microprocessor
In technical solution, it is lower that there is also the speeds of service, and the same time is only capable of one task of processing, and can not depth customized user needs
Logic function.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of multifunctional circuit, to solve in the prior art
Multifunctional circuit integrated level is lower to lead to the problem that board area is big, at high cost.
The embodiment of the invention provides a kind of multifunctional circuits, including signal input part and signal output end, and further including can
Programmed logic device, the programmable logic device include at least two functional modules and main control module, each function mould
Block is connected with the main control module;The functional module includes that the first analog-to-digital conversion module and phase-locked loop module and data pass
In defeated control module, the first analog-to-digital conversion module, temperature collecting module, power management module and custom logic module at least
It is a kind of;
The programmable logic device is used to receive the original signal of the signal input part input, passes through the function mould
Block and the main control module carry out processing to the original signal and form echo signal, and the echo signal is passed through the letter
The output of number output end.
The embodiment of the present invention compared with the existing technology possessed by the utility model has the advantages that the embodiment of the present invention programmable logic device
Part includes functional module and main control module, and functional module includes that the first analog-to-digital conversion module and phase-locked loop module and data pass
At least one of defeated control module, temperature collecting module, power management module and custom logic module, programmable logic device
Part receives the original signal of signal input part input, carries out processing to original signal by functional module and main control module and forms mesh
Signal is marked, and echo signal is exported by the signal output end, to control external circuit, at least can be realized externally
Portion's circuit is monitored, Clock management, carries out data interaction, power management and the control of user's self-definition design with exterior terminal and patrols
At least two functions in volume, and data communication control module, power management module, the first analog-to-digital conversion module, temperature are adopted
It is integrated in the programmable logic device to collect module, phase-locked loop module and custom logic module, so that entire multi-functional electricity
The integrated level on road is higher, and then can reduce the area of circuit board, reduces power consumption, and the speed of service is fast.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some
Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is the structural block diagram of multifunctional circuit provided in an embodiment of the present invention;
Fig. 2 is the circuit block diagram of multifunctional circuit provided in an embodiment of the present invention;
Fig. 3 is that the parallel number of tested electric current and/or voltage signal provided in an embodiment of the present invention is no more than first threshold
When, to the processing schematic of tested electric current and/or voltage signal;
When Fig. 4 is that the parallel number of tested electric current and/or voltage signal provided in an embodiment of the present invention is more than first threshold,
To the processing schematic of tested electric current and/or voltage signal;
When Fig. 5 is that the parallel number of tested electric current and/or voltage signal provided in an embodiment of the present invention is more than first threshold,
To another processing schematic of tested electric current and/or voltage signal;
Fig. 6 is the detection schematic diagram provided in an embodiment of the present invention to external circuit temperature;
Fig. 7 is the schematic diagram provided in an embodiment of the present invention that data interaction is carried out with exterior terminal;
Fig. 8 is the operation schematic diagram provided in an embodiment of the present invention to external circuit power management;
Fig. 9 is Clock management schematic diagram provided in an embodiment of the present invention;
Figure 10 is the schematic diagram of User-defined logic provided in an embodiment of the present invention;
Figure 11 is power supply circuit schematic diagram provided in an embodiment of the present invention.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed
Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific
The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity
The detailed description of road and method, in case unnecessary details interferes description of the invention.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
Fig. 1 shows the structural block diagram of multifunctional circuit provided in an embodiment of the present invention, referring to Fig. 1, the multifunctional circuit
It further include programmable logic device 100 including signal input part and signal output end.The programmable logic device 100 includes
Functional module and main control module 107, each functional module are connected with the main control module 107.The functional module can be with
Including the first analog-to-digital conversion module 101 and phaselocked loop (Phase-Locked Loop, PLL) module 102.The functional module is also
Including in data transmission control module 105, power management module 106, temperature collecting module 103 and custom logic module 104
At least one.The programmable logic device 100 is used to receive the original signal of the signal input part input, by described
Functional module and the main control module 107 carry out processing to the original signal and form echo signal, and by the echo signal
It is exported by the signal output end.
Above-mentioned multifunctional circuit, programmable logic device include functional module and main control module, and functional module includes first
Analog-to-digital conversion module 101 and phase-locked loop module 102 and data transmission control module, temperature collecting module, power management module
At least one of with custom logic module;Programmable logic device receives the original signal of signal input part input, passes through
Functional module and main control module carry out processing to original signal and form echo signal, and echo signal is exported by the signal
End output, to control external circuit, thus at least can be realized external circuit is monitored, Clock management and exterior terminal
Carry out at least two functions in data interaction, power management and user's self-definition design control logic, and data transmission control
Molding block, power management module, the first analog-to-digital conversion module, temperature collecting module, phase-locked loop module and custom logic module
It integrates in the programmable logic device, so that the integrated level of entire multifunctional circuit is higher, and then circuit board can be reduced
Area, reduce power consumption, and the speed of service is fast.
In one embodiment, the original signal includes measured voltage signal and/or tested current signal.First mould
Number conversion module 101, for receiving the measured voltage signal and/or the tested current signal and carrying out analog-to-digital conversion, shape
At the first digital signal and it is sent to the main control module 107.The main control module 107, for receiving the first number letter
Number, and first control signal is generated according to first digital signal and is sent to power management module 106.Power management module
106, for controlling the power switch of the external circuit according to the first control signal.For example, can be in external circuit
When whether voltage exceeds the electric current of preset range and/or external circuit greater than second threshold, main control module 107 generates described first
Signal is controlled, so that power management module 106 closes the power switch of external circuit.
It will be tested referring to Fig. 1 and Fig. 3 when the parallel number of tested electric current and/or voltage signal is no more than first threshold
Electric current and/or voltage signal are sent directly into the first analog-to-digital conversion module 101, in the ADC control logic of programmable logic device 100
Management under, tested electric current and/or voltage signal are carried out analog-to-digital conversion process (such as sampling and quantization), and the number that will acquire
It according to main control module 107 is sent to, is further processed, is such as uploaded to computer, detect tested electric current and/or voltage signal is
No is more than set threshold value.
Referring to Fig. 1 and Fig. 2, in one embodiment, which can also include signal processing module 400.Wherein,
Signal processing module 400, both ends are connected with the signal input part and the first analog-to-digital conversion module 101 respectively, for described
When the parallel number of tested electric current and/or voltage signal is greater than first threshold, in batches by the tested electric current and/or voltage signal
It is secondary to be sent to the first analog-to-digital conversion module 101.Or, signal processing unit 400 is used in the tested electric current and/or voltage signal
Parallel number when being greater than first threshold, the tested electric current described part and/or voltage signal carry out external analog-to-digital conversion process
Afterwards, processing result is sent to the main control module 107, and tested by handling without the signal processing unit 400
Electric current and/or voltage signal are sent to first analog-to-digital conversion module 101 and carry out analog-digital converter processing.
As an embodiment, the signal processing module 400 may include analog multiplexer, more function
Energy circuit further includes mux control logic module.The analog multiplexer, for connecting the signal input part and institute
The first analog-to-digital conversion module is stated, for receiving the original signal, is greater than first threshold in the parallel number of the original signal
When, Xiang Suoshu mux control logic module sends the first control request signal.Wherein, first threshold is and first modulus
The relevant numerical value of the parallel processing capability of converting unit 101, for example, 8.
The mux control logic module, be arranged in the programmable logic device 100, and with the Multipexer
Multiplexer is connected, and controls the mould for receiving first control request signal, and according to first control request signal
Quasi- multiplexer, is sent to first analog-to-digital conversion module for the original signal in batches.
Referring to fig. 4, first analog-to-digital conversion module 101 can simultaneously to the tested electric current on 8 tunnels and/or voltage signal into
Row analog-to-digital conversion process, then when tested electric current and/or voltage signal are more than 8 tunnel, tested electric current and/or voltage signal are introduced into
The analog multiplexer.Under the management of the mux control logic module 108, which is successively selected
It selects a portion signal (being tested electric current and/or voltage signal less equal than 8 tunnels) and is sent to the first analog-to-digital conversion mould
Block 101 carries out mould to tested electric current and/or voltage signal under the management of the ADC control logic of programmable logic device 100
Number conversion process (such as sampling and quantization), until all tested electric current and/or voltage signal are by first analog-to-digital conversion
Module 101 has been handled.In the present embodiment, the analog multiplexer can use the chip of American TI Company
SN74LV4051A, but be not limited thereto.
As another embodiment, the multifunctional circuit may include the second analog-to-digital conversion module.Described second
Analog-to-digital conversion module, when being greater than the first threshold for the parallel number in the original signal, the original letter described part
Number analog-to-digital conversion process is carried out, processing result is sent to the main control module 107, and will turn without second modulus
The original signal for changing resume module is sent to first AD conversion unit 101.
Referring to Fig. 5, when tested electric current and/or voltage signal are more than 8 tunnel, second analog-to-digital conversion module can be first right
The part tested electric current and/or voltage signal carry out analog-to-digital conversion process, so that the remaining tested electric current and/or electricity
Press the number of signal within the scope of the parallel processing capability of first analog-to-digital conversion module 101.For example, first modulus turns
Mold changing block 101 can handle the tested electric current and/or voltage signal on 8 tunnels simultaneously, and tested electric current and/or voltage signal are 12
Road, then second analog-to-digital conversion module can be right under the control of the external ADC control logic of programmable logic device 100
At least four tunnels therein are tested electric current and/or voltage signal and carry out analog-to-digital conversion process, and processing result are sent to programmable
The main control module 107 of logical device 100.First analog-to-digital conversion module 101 is controlled in the ADC of programmable logic device 100
Under the control of logic, analog-to-digital conversion process is carried out to the tested electric current and/or voltage signal on remaining not more than 8 tunnels, and will place
Reason result is sent to the main control module 107 of programmable logic device 100.In the present embodiment, the second analog-to-digital conversion module can be adopted
With the chip ADC108S022 of American TI Company, but it is not limited thereto.
In addition, in other embodiments, the multifunctional circuit can include analog multiplexer and the second mould simultaneously
Quasi- conversion module, when the parallel number of tested electric current and/or voltage signal is greater than first threshold, according to programmable logic device
A part of tested electric current and/or voltage signal are sent to by 100 control in batches by the analog multiplexer
First analog-to-digital conversion module 101, and the remaining tested electric current and/or voltage signal are sent to second simulation and turned
It changes the mold block and carries out analog-to-digital conversion process, detailed process can refer to Fig. 3 and Fig. 4.
In one embodiment, the original signal may include temperature signal.Referring to Fig. 1 and Fig. 6, the temperature acquisition mould
Block 103 is connect with the main control module 107, for reading the temperature signal and being sent to the main control module 107.It is described
Main control module 107 generates second control signal according to the temperature signal and is sent to described for receiving the temperature signal
Power management module 106.The power management module 106, for controlling the electricity of external circuit according to the second control signal
Source switch.For example, closing the power switch of external circuit when the temperature of external circuit is higher than third threshold value.
Specifically, the temperature signal can obtain the temperature of external circuit by integrated digital temperature sensor, then
The temperature signal that 103 temperature collection integrated digital temperature sensor of temperature collecting module is got.Temperature collecting module 103 can be with
Digitized temperature value is transmitted directly to the main control module 107 by digital interface by collected temperature signal.It is described
Temperature sensor can be the integrated digital temperature sensor of setting on circuit boards.Temperature collecting module 103 passes through the temperature
The temperature signal of sensor acquisition external circuit is spent, and is sent to main control module 107, to be further processed, such as is uploaded
To computer, detect whether dut temperature is more than set threshold value.In the present embodiment, the temperature sensor can use the U.S.
The chip MAX6697 of MAXIM company, but be not limited thereto.
In addition, main control module 107 can also generate a master control according to first digital signal and the temperature signal
Signal processed issues the power management module 106.Power management module 106 controls external circuit according to the master control signal
Power switch.
In one embodiment, the original signal may include exterior terminal control signal.The multifunctional circuit also wraps
Include data transmission module 200.The data transmission control module 105 is connected with the data transmission module 200, is used for institute
It states data transmission module 200 and sends Data Transmission Controlling instruction.The data transmission module 200 passes through described with exterior terminal
Signal input part is connected, for receiving the exterior terminal control signal and Data Transmission Controlling instruction, and according to described
Exterior terminal control data are transmitted as the third that the main control module 107 can identify and controlled by Data Transmission Controlling instruction
The main control module 107 is sent to after signal.The main control module 107, for receiving the third control signal, and according to institute
State third control signal control external circuit power switch, and judge external circuit temperature whether be more than second threshold,
Whether the voltage of external circuit exceeds preset range and whether the electric current of external circuit is greater than third threshold value.
Wherein, main control module 107 is sent to the data that the data of the exterior terminal can be collected external circuit;
The exterior terminal be sent to main control module 107 data can main control module 107 is sent according to data and generate
Control instruction, but be not limited thereto.
Referring to fig. 2, in one embodiment, data transmission module 200 may include that USB interface and USB-UART conversion are single
Member.Wherein, USB interface is connected with the exterior terminal, for receiving the usb protocol data and institute that the exterior terminal is sent
State the UART protocol data of the transmission of main control module 107.USB-UART converting unit, both ends respectively with the USB interface and described
Main control module 107 is connected, and the usb protocol data conversion for sending the exterior terminal is sent to institute at UART protocol data
Main control module 107 is stated, and the UART protocol data conversion that the main control module 107 is sent is passed through into institute at usb protocol data
It states USB interface and is sent to the exterior terminal.
For example, the exterior terminal can be computer.USB-UART converting unit can bridge core using USB-UART
Piece, such as the chip CY7C64225 of Cypress company, the U.S., but be not limited thereto.That is, the multifunctional circuit can pass through
USB interface and USB-UART bridging chip and computer realize data interaction.Referring to Fig. 7, in the data transmission control module
Under 105 control, the usb protocol data conversion from computer at UART protocol data, is passed to by USB-UART bridging chip
Main control module 107, and the data of main control module 107 are converted into the data of usb protocol by UART protocol, it is connect by USB
Mouth is uploaded to computer.
Furthermore it is also possible to using USB peripheral controller, USB-UART bridging chip is substituted, and change control logic, it can be with
Realize higher communication speed.Wherein, USB peripheral controller can use the chip CY7C6801x system of U.S. Cypress company
Column.
Referring to fig. 2, in one embodiment, the multifunctional circuit further includes exterior terminal detection module 500.Exterior terminal
Detection module 500 is connected with the signal input part and the main control module 107, for by the signal input part and outside
Portion's terminal is connected, and has detected whether exterior terminal access, and will test result and be sent to the main control module 107.
Wherein, when the exterior terminal detection module 500 detects exterior terminal access, will test result be sent to it is described
Main control module 107.It is enabled to the control of external circuit power that the main control module 107 sets the exterior terminal, and passes through institute
The control instruction that data transmission module 200 receives the exterior terminal is stated, according to the control instruction to the external circuit
Power supply is controlled.
When exterior terminal access is not detected in the exterior terminal detection module 500 or the exterior terminal detects
Module 500 detects the exterior terminal access but the main control module 107 does not set the exterior terminal to external circuit electricity
The control in source is enabled, then the programmable logic device 100 controls the power switch of the external circuit.Wherein, described to compile
Journey logical device 100 is provided with multiple control channels, and a functional circuit in the corresponding external circuit is led in each control
Module.
Preferably, the programmable logic device controls the power supply of 100 external circuits specifically: if described multi-functional
The work starting duration of circuit is greater than the default delay duration of some control channel of the programmable logic device, then by being somebody's turn to do
Control channel controls the power switch of corresponding functional circuit module in the external circuit.
Referring to Fig. 8, after the multifunctional circuit starting, timer is started to work, if detecting that USB interface and outside are whole
End connection, then can receive the control command of the exterior terminal, initialized, and such as configures PC and controls enabled register;
After the value of timer is more than access detection delay value (such as 5 seconds) USB, USB access state is locked;
If USB access state is to have accessed, and set PC control and enable, then the power supply of external circuit is controlled by calculating
Machine carries out, and otherwise controls the power supply of external circuit and is carried out by programmable logic device 100;
It is carried out if controlled the power supply of external circuit by programmable logic device 100, the value of timer is more than that can compile
When the delay value of each channel of journey logical device 100 setting, the channel of corresponding programmable logic device 100 is powered on, such as the 4th channel
Delay value is set as 20 seconds, then the 4th channel powers on when the multifunctional circuit powers on 20 seconds;
It at work,, can be to outside after computer settings PC control is enabled if USB access state is to have accessed
The power supply of circuit is controlled;
If detecting that circuital current is excessive or temperature is excessively high, the power control signal of external circuit is set as powering off;
Power control signal can be effective by polarity control selections high level or low level is effective.
In one embodiment, the original signal may include clock source signals.The phase-locked loop module 102, and it is described
Signal input part is connected with the signal output end, for receiving the clock source signals by the signal input part, and will
The clock source signals generate at least one clock signal, are sent to external circuit by the signal output end.
Referring to Fig. 1 and Fig. 9, by phase-locked loop module 102, may make clock source generate single-ended or difference process frequency multiplication,
The clock signal of frequency dividing, phase adjustment, required multiple clock is provided for external circuit.Wherein, clock source can be somebody's turn to do to introduce
Clock source outside multifunctional circuit can also be the clock source inside programmable logic device 100.
In one embodiment, the original signal may include customized control logic modelled signal.It is described customized to patrol
Module 104 is collected, is connected with the signal input part and the main control module 107, is set for receiving the customized control logic
Signal is counted, and customized control logic is generated according to the customized control logic modelled signal, is sent to the main control module
107.The main control module 107, for receiving the customized control logic, and according to the customized control logic, in conjunction with
The original signal processing is formed the echo signal by the functional module.Specifically, passing through custom logic referring to Figure 10
Module 104 realizes the customized control logic of user, such as finite state machine, encoding and decoding, high speed data transfer.
Referring to fig. 2, in one embodiment, the multifunctional circuit can also include power interface (figure is not marked), voltage tune
Economize on electricity road (figure is not marked) and current monitoring unit 301.The voltage regulator circuit passes through the power interface and external power supply phase
It even, is the programmable logic device 100 and described outer for the voltage of the external power supply to be adjusted to the target voltage
The power supply of portion's circuit.Current monitoring unit 301, both ends respectively with the voltage regulator circuit and the programmable logic device 100
It is connected, for detecting the output electric current of the voltage regulator circuit, and will test result and be sent to the main control module 107.Institute
Main control module 107 is stated, for cutting off the voltage regulator circuit and external power supply when the output electric current is greater than second threshold
Connection, stop as the programmable logic device 100 power supply, to realize protection to the multifunctional circuit internal components.
Specifically, current monitoring unit 301 can be current sense amplifier, for example, by using the chip of American TI Company
LMP8601.Current value is converted to voltage value by current monitoring unit 301 in proportion, and being then forwarded to can the first analog-to-digital conversion list
Member 101, can obtain corresponding current value.The current value obtained is sent to by master control by the first AD conversion unit 101 again
Module 107.
Referring to fig. 2, the power interface may include first interface, second interface and third interface.The voltage is adjusted
Circuit may include that the first adjusting circuit 302 and second adjusts circuit 303.
First adjusts circuit 302, is connected respectively with the first interface and the current monitoring unit 301, is used for institute
The voltage for stating external power supply is adjusted to first target voltage, is the programmable logic device by the current monitoring unit 301
Part 100 power, and by the second interface be the external circuit power.Wherein, first target voltage can be 5V, but
It is not limited thereto.
Second adjusts circuit 303, and both ends are connected with the third interface and the current monitoring unit 301 respectively, are used for
The first target voltage is adjusted to the second target voltage, is powered for the programmable logic device 100, and by described
Third interface is external circuit power supply.In the present embodiment, the second target voltage can be 3V or 3.3V, and second adjusts circuit
303 can be the chip TPS79633 of TI company, but be not limited thereto.
The current monitoring unit 301 adjusts the first electric current that circuit 302 exports for detecting described first, and by institute
It states the first electric current and is sent to the main control module 104, so that the main control module 104 is greater than described the in first electric current
When two threshold values, the described first connection for adjusting circuit 301 and external power supply is cut off, is stopped as the programmable logic device 100
Power supply.
In addition, the voltage regulator circuit can also include that third adjusts circuit 304.The both ends of third adjusting circuit 304
It is connected respectively with the current monitoring unit 301 and programmable logic device 100, for first target voltage to be adjusted to third
Target voltage is powered for programmable logic device 100.In the present embodiment, third target voltage can be 2.5V, and third adjusts electricity
Road 304 can be the chip TLV117125 of TI company, but be not limited thereto.
Referring to Figure 11, the power supply mode of the multifunctional circuit is described in detail below:
1) it is powered by first interface using external power supply U1, (can correspond to the first adjusting circuit by 5V power circuit
302) 5V voltage is exported after converting, power interface U2 (can correspond to second interface) can be used as power supply output, for embedded circuit
It uses, is then subsequent conditioning circuit power supply by PMOS tube Q2;
2) it is powered by second interface using external power interface U2, is then subsequent conditioning circuit power supply by PMOS tube Q2,
Power interface U1 and 5V power circuit does not use;
3) it is powered by USB, is then subsequent conditioning circuit power supply by PMOS tube Q3.When external power supply and USB are powered simultaneously
When effective, programmable logic device 100 can be closed wherein all the way by disabling control, such as when using external power supply, be closed
USB supplying channels are closed, to save USB power consumption.For power supply by current monitoring unit 301, which will be electric
Flow valuve is converted to voltage value in proportion, subsequently into the first AD conversion unit 101, can obtain current value.When current value mistake
When big, programmable logic device 100 cuts off the power supply of the device by disabling control, and this event is reported to computer, so
The device can re-power automatically afterwards.After re-powering, electric current is still excessive, and computer can cut off external power supply.Power supply
After current monitoring unit 301,3V/3.3V power supply is generated by 3/3.3V power circuit, is generated by 2.5V power circuit
2.5V power supply is used for programmable logic device 100.In addition, 3V/3.3V power supply can also be by external power interface U3 (i.e.
Third interface) it draws, it is used for embedded external circuit.
Preferably, the multifunctional circuit can also include board to board connector.The signal of the multifunctional circuit inputs
End and signal output end are arranged on the board to board connector.Programmed logic device 100, number in the multifunctional circuit
Pass through the board to board connector and external circuit, external power supply, temperature sensing according to transmission module 200, signal processing module 400
Device is connected with exterior terminal.
Referring to fig. 2, in one embodiment, board to board connector may include the first connector and the second connector.It is tested
Electric current and/or voltage signal are sent to the first analog-to-digital conversion module 101 or signal processing module 400 by the first connector.It can
Programmed logic device 100 is realized by the first connector and temperature sensor and is communicated to connect.Programmable logic device 100 passes through the
A connector sends the power switch control signal of external circuit, and control LED light or buzzer.Programmable logic device
100 are connected by other circuit modules of the first connector and circuit board.
First adjusting circuit 302 is connected by the second connector with external power supply.Current monitoring unit 301 connects by second
Device is connect to be connected with external power supply or external circuit.Second adjusting circuit 303 is connected by the second connector with external circuit.This reality
It applies in example, first interface, second interface and third interface are arranged on the second connector.
Wherein, the first connector and the second connector are high-speed and high-density board to board connector, for example, molex inc
71439 series of PMC connector of 1386 standard of IEEE of production.Multifunctional circuit and external circuit, external power supply and outside are whole
Communication between end passes through the first connector and the transmission of the second connector.And first connector and the second connector can be very
Easily it is embedded into circuit board.
In the present embodiment, the programmable logic device 100 can be 10 series on-site programmable gate array of MAX, but simultaneously
Be not limited, those skilled in the art it is conceivable that other devices that can be realized 100 function of programmable logic device
Within protection scope of the present invention.
Tested electric current and/or voltage signal are converted to the first number by the multifunctional circuit, the first signal processing module 101
Word signal, main control module 107 generate first control signal according to the first digital signal, and Power Management Unit 106 is according to the first control
Signal processed controls the power switch of external circuit;Phase-locked loop module 102 generates clock source processing at least one for outer
The clock signal that portion's circuit uses;Temperature collecting module 103 acquires the temperature signal of external circuit, master control by temperature sensor
Module 107 generates second control signal according to the temperature signal, and power management module 106 is according to second control signal to external electrical
The power switch on road is controlled;Custom logic module 104 enables the multifunctional circuit to receive user's self-definition design
Control logic;Data transmission control module 105 controls data transmission module 200 and realizes and exterior terminal realization data interaction.
Therefore, above-mentioned multifunctional circuit at least can be realized external circuit is monitored, Clock management, with exterior terminal carry out data
At least two functions in interaction, power management and user's self-definition design control logic;And data transmission control module
105, the first analog-to-digital conversion module 101, temperature collecting module 103, power management module 106, phase-locked loop module 102 and customized
Logic module 104 is integrated in programmable logic device 100, so that the integrated level of entire multifunctional circuit is higher, in turn
The area of circuit board can be reduced, reduces power consumption, and the speed of service is fast.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function
Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing
The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also
To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated
Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list
Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system
The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device and method can pass through others
Mode is realized.For example, system embodiment described above is only schematical, for example, the division of the module or unit,
Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be with
In conjunction with or be desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed
Mutual coupling or direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING of device or unit or
Communication connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the embodiment of the present invention
Substantially all or part of the part that contributes to existing technology or the technical solution can be with software product in other words
Form embody, which is stored in a storage medium, including some instructions use so that one
Computer equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute this hair
The all or part of the steps of bright each embodiment the method for embodiment.And storage medium above-mentioned include: USB flash disk, mobile hard disk,
Read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic
The various media that can store program code such as dish or CD.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality
Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each
Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified
Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all
It is included within protection scope of the present invention.
Claims (11)
1. a kind of multifunctional circuit, including signal input part and signal output end, which is characterized in that further include programmable logic device
Part, the programmable logic device include functional module and main control module, each functional module and the main control module phase
Even;The functional module includes the first analog-to-digital conversion module and phase-locked loop module, further includes that data transmission control module, temperature are adopted
Collect at least one of module, power management module and custom logic module;
The programmable logic device is used to receive the original signal of signal input part input, by the functional module and
The main control module carries out processing to the original signal and forms echo signal, and the echo signal is defeated by the signal
Outlet output;
The multifunctional circuit further includes analog multiplexer and mux control logic module;
The analog multiplexer, for connecting the signal input part and first analog-to-digital conversion module, for receiving
The original signal, when the parallel number of the original signal is greater than first threshold, Xiang Suoshu mux control logic module
Send the first control request signal;
The mux control logic module, be arranged in the programmable logic device, and with the analog multiplexer
It is connected, controls the Multipexer for receiving first control request signal, and according to first control request signal
The original signal is sent to first analog-to-digital conversion module by multiplexer in batches.
2. multifunctional circuit according to claim 1, which is characterized in that the original signal includes measured voltage signal
And/or tested current signal;
First analog-to-digital conversion module, for receiving the measured voltage signal and/or the tested current signal and carrying out
Analog-to-digital conversion forms the first digital signal and is sent to the main control module;
The main control module generates the first control according to first digital signal and believes for receiving first digital signal
Number and be sent to the power management module;
The power management module, for controlling the power switch of external circuit according to the first control signal.
3. multifunctional circuit according to claim 2, which is characterized in that further include the second analog-to-digital conversion module;
Second analog-to-digital conversion module, when being greater than the first threshold for the parallel number in the original signal, to portion
Divide the original signal to carry out analog-to-digital conversion process, processing result is sent to the main control module, and will be without described
The original signal of second analog-to-digital conversion module processing is sent to first analog-to-digital conversion module.
4. multifunctional circuit according to claim 1, which is characterized in that the original signal includes temperature signal;
The temperature collecting module is connected with the main control module, for reading the temperature signal and being sent to the master control
Module;
The main control module generates second control signal according to the temperature signal and sends for receiving the temperature signal
To the power management module;
The power management module, for controlling the power switch of external circuit according to the second control signal.
5. multifunctional circuit according to claim 1, which is characterized in that the original signal includes exterior terminal control letter
Number;The multifunctional circuit further includes data transmission module;
The data transmission control module is connected with the data transmission module, for sending number to the data transmission module
According to transmission control instruction;
The data transmission module is connected, for receiving the exterior terminal control by the signal input part with exterior terminal
Signal processed and Data Transmission Controlling instruction, and the exterior terminal is controlled by data according to Data Transmission Controlling instruction
The main control module is sent to after being transmitted as the third control signal that the main control module can identify;
The main control module for receiving the third control signal, and controls signal according to the third and controls external circuit
Power switch, and judge whether the voltage of external circuit exceeds preset range, whether the electric current of external circuit is greater than second
Whether threshold value or the temperature of external circuit are more than third threshold value.
6. multifunctional circuit according to claim 5, which is characterized in that further include: exterior terminal detection module, and it is described
Signal input part is connected with the main control module, for being connected by the signal input part with exterior terminal, has detected whether
Exterior terminal access, and will test result and be sent to the main control module;
When the exterior terminal detection module detects exterior terminal access, it will test result and be sent to the main control module;Institute
Stating main control module, to set the exterior terminal enabled to the control of external circuit power, and is received by the data transmission module
The control instruction of the exterior terminal is controlled according to power supply of the control instruction to the external circuit;
When exterior terminal access is not detected in the exterior terminal detection module or the exterior terminal detection module detects
To exterior terminal access but the main control module does not set the exterior terminal and enables to the control of external circuit power, then
The programmable logic device controls the power switch of the external circuit;Wherein, the programmable logic device is provided with more
A functional circuit module in the corresponding external circuit is led in a control channel, each control.
7. multifunctional circuit according to claim 6, which is characterized in that the programmable logic device controls the outside
The power supply of circuit specifically:
If the work starting duration of the multifunctional circuit is greater than the default of some control channel of the programmable logic device
Delay duration then controls the power switch of corresponding functional circuit module in the external circuit by the control channel.
8. multifunctional circuit according to claim 1, which is characterized in that the original signal includes clock source signals;
The phase-locked loop module is connected with the signal input part and the signal output end, for being inputted by the signal
End receives the clock source signals, and the clock source signals are generated at least one clock signal, is exported by the signal
End is sent to external circuit.
9. multifunctional circuit according to claim 1, which is characterized in that the original signal includes customized control logic
Modelled signal;
The custom logic module, is connected with the signal input part and the main control module, described customized for receiving
Control logic modelled signal, and customized control logic is generated according to the customized control logic modelled signal, it is sent to institute
State main control module;
The main control module, for receiving the customized control logic, and according to the customized control logic, in conjunction with described
The original signal processing is formed the echo signal by functional module.
10. multifunctional circuit according to claim 1, which is characterized in that further include power interface, voltage regulator circuit and
Current monitoring unit;
The voltage regulator circuit is connected by the power interface with external power supply, for by the voltage of the external power supply
It is adjusted to target voltage, is that the programmable logic device and external circuit are powered;
Current monitoring unit, both ends are connected with the voltage regulator circuit and the programmable logic device respectively, for detecting
The output electric current of the voltage regulator circuit, and will test result and be sent to the main control module;
The main control module, for cutting off the voltage regulator circuit and outside when the output electric current is greater than second threshold
The connection of power supply stops as programmable logic device power supply.
11. multifunctional circuit according to claim 10, which is characterized in that the power interface includes first interface,
Two interfaces and third interface;
The voltage regulator circuit includes:
First adjusts circuit, is connected respectively with the first interface and the current monitoring unit, is used for the external power supply
Voltage be adjusted to first target voltage, by the current monitoring unit be the programmable logic device power, Yi Jitong
The second interface is crossed as external circuit power supply;
Second adjusts circuit, and both ends are connected with the third interface and the current monitoring unit respectively, is used for described first
Target voltage is adjusted to the second target voltage, powers for the programmable logic device, and by the third interface be institute
State external circuit power supply;
The current monitoring unit, for detecting the described first the first electric current for adjusting circuit output, and by first electric current
It is sent to the main control module, so that the main control module is when first electric current is greater than the second threshold, cutting is supplied
Electric unit stops as programmable logic device power supply.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611217834.3A CN106680563B (en) | 2016-12-26 | 2016-12-26 | Multifunctional circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611217834.3A CN106680563B (en) | 2016-12-26 | 2016-12-26 | Multifunctional circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106680563A CN106680563A (en) | 2017-05-17 |
CN106680563B true CN106680563B (en) | 2019-08-02 |
Family
ID=58870354
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611217834.3A Active CN106680563B (en) | 2016-12-26 | 2016-12-26 | Multifunctional circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106680563B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107247431A (en) * | 2017-08-14 | 2017-10-13 | 新誉轨道交通科技有限公司 | A kind of data monitoring system of passenger train inverter |
CN112367075B (en) * | 2020-10-29 | 2024-05-24 | 中船动力研究院有限公司 | Single-interface multifunctional signal processing circuit |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2083756U (en) * | 1991-03-29 | 1991-08-28 | 刘生仁 | High-recision multi-function intelligent kilowatt-hour meter |
CN201293939Y (en) * | 2008-09-27 | 2009-08-19 | 比亚迪股份有限公司 | High-speed data acquisition system |
CN102999642A (en) * | 2011-11-22 | 2013-03-27 | 北京泛华恒兴科技有限公司 | Multifunctional data acquisition card |
CN103453998A (en) * | 2013-08-09 | 2013-12-18 | 国家电网公司 | Self-energy-taking wireless temperature sensor and achieving method thereof |
CN205750446U (en) * | 2016-07-11 | 2016-11-30 | 山东信友电器有限公司 | A kind of home intelligent power system intelligent controller |
-
2016
- 2016-12-26 CN CN201611217834.3A patent/CN106680563B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2083756U (en) * | 1991-03-29 | 1991-08-28 | 刘生仁 | High-recision multi-function intelligent kilowatt-hour meter |
CN201293939Y (en) * | 2008-09-27 | 2009-08-19 | 比亚迪股份有限公司 | High-speed data acquisition system |
CN102999642A (en) * | 2011-11-22 | 2013-03-27 | 北京泛华恒兴科技有限公司 | Multifunctional data acquisition card |
CN103453998A (en) * | 2013-08-09 | 2013-12-18 | 国家电网公司 | Self-energy-taking wireless temperature sensor and achieving method thereof |
CN205750446U (en) * | 2016-07-11 | 2016-11-30 | 山东信友电器有限公司 | A kind of home intelligent power system intelligent controller |
Also Published As
Publication number | Publication date |
---|---|
CN106680563A (en) | 2017-05-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10585448B2 (en) | Low power autonomous peripheral management | |
US20200344302A1 (en) | Multiple Sensor Data Processor Interface and Relay | |
CN105223915B (en) | IC apparatus and the method for generating power traces | |
US20180097538A1 (en) | Ultra low power sensing platform with multimodal radios | |
WO2015106582A1 (en) | Dsp/fpga-based dynamically-configurable tool intelligent controller, and control method | |
US20100042858A1 (en) | Management of power domains in an integrated circuit | |
US20060218424A1 (en) | Integrated circuit with autonomous power management | |
CN103915862A (en) | Battery management device and battery management chip | |
CN106680563B (en) | Multifunctional circuit | |
CN107112994B (en) | Power management system for integrated circuits | |
US11875871B2 (en) | Memory channels calibration during boot wherein channels are calibrated in parallel based on identifer | |
CN104750052B (en) | A kind of power consumption control device and method | |
CN107305526A (en) | A kind of debugger for microcontroller | |
CN113489497A (en) | Realization circuit and chip for TCK or ADC | |
CN102573156A (en) | System On Chip (SOC) chip special for electromagnetic induction heating controller | |
CN104181836B (en) | Signal switching apparatus | |
CN109900367A (en) | A kind of anti-jamming signal processing chip | |
CN206450320U (en) | A kind of high-performance high-speed motion mechanism dynamic characteristic tester | |
CN103776484A (en) | Sensor energy-saving method and sensor | |
CN105320912A (en) | An active card power source management device and method | |
CN109991901A (en) | A kind of the number circuit and method of battery management system | |
CN209495778U (en) | Anti-jamming signal handles chip | |
CN103986230A (en) | System and method for remotely monitoring transient-state quantity and steady-state analog quantity of electric power facility device | |
Osolinskyi et al. | Measurement and Optimization Methods of Energy Consumption for Microcontroller Systems Within IoT | |
CN102802312A (en) | Energy consumption controller for urban road lighting |
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 |