CN217238764U - A CPU and FPGA automatic control startup circuit - Google Patents

A CPU and FPGA automatic control startup circuit Download PDF

Info

Publication number
CN217238764U
CN217238764U CN202220074611.0U CN202220074611U CN217238764U CN 217238764 U CN217238764 U CN 217238764U CN 202220074611 U CN202220074611 U CN 202220074611U CN 217238764 U CN217238764 U CN 217238764U
Authority
CN
China
Prior art keywords
module
fpga
cpu
logic gate
output
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
Application number
CN202220074611.0U
Other languages
Chinese (zh)
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.)
Southern Power Grid Digital Grid Group Co ltd
Electric Power Research Institute of Guangxi Power Grid Co Ltd
Southern Power Grid Digital Grid Research Institute Co Ltd
Original Assignee
Electric Power Research Institute of Guangxi Power Grid Co Ltd
Southern Power Grid Digital Grid Research Institute 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 Electric Power Research Institute of Guangxi Power Grid Co Ltd, Southern Power Grid Digital Grid Research Institute Co Ltd filed Critical Electric Power Research Institute of Guangxi Power Grid Co Ltd
Priority to CN202220074611.0U priority Critical patent/CN217238764U/en
Application granted granted Critical
Publication of CN217238764U publication Critical patent/CN217238764U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Power Sources (AREA)

Abstract

本实用新型属于智能电网控制领域,具体涉及一种CPU与FPGA自动控制启动电路。本实用新型包括电源系统、逻辑门模块、控制开关模块、CPU系统、FPGA系统。采用逻辑门的输出信号控制控制开关模块的断开和闭合,进而实现控制CPU系统的断电或通电。打开电源系统,FPGA系统上电完成配置时,逻辑门模块输出的信号就控制CPU系统通电进而实现CPU系统自启动,本实用新型无需采用硬件延时来实现,并且不用修改硬件的延时时间,不管FPGA系统配置多长时间,只有在FPGA系统配置完成后才通过逻辑门模块控制控制开关模块通电,因而解除了硬件延时的时间限制,提高了FPGA系统与CPU系统协同工作时的自适应性。

Figure 202220074611

The utility model belongs to the field of smart grid control, in particular to a CPU and FPGA automatic control startup circuit. The utility model comprises a power supply system, a logic gate module, a control switch module, a CPU system and an FPGA system. The output signal of the logic gate is used to control the opening and closing of the control switch module, thereby realizing the power-off or power-on of the control CPU system. When the power supply system is turned on, when the FPGA system is powered on to complete the configuration, the signal output from the logic gate module controls the power-on of the CPU system to realize the self-starting of the CPU system. The utility model does not need to use hardware delay to realize, and does not need to modify the delay time of the hardware, No matter how long the FPGA system is configured, only after the FPGA system configuration is completed, the control switch module is powered on through the logic gate module, thus removing the time limit of hardware delay and improving the adaptability of the FPGA system and the CPU system when they work together. .

Figure 202220074611

Description

一种CPU与FPGA自动控制启动电路A CPU and FPGA automatic control startup circuit

技术领域technical field

本实用新型属于智能电网控制领域,具体涉及一种CPU与FPGA自动控制启动电路。The utility model belongs to the field of smart grid control, in particular to a CPU and FPGA automatic control startup circuit.

背景技术Background technique

随着我国智能电网的数字化与智能化的高速发展,大量应用于智能电网的智能设备需要强大的数据处理能力以及低延迟的海量数据通信能力,因此设计制造的智能设备往往需要CPU的PCIE接口与FPGA进行高速数据交换。With the rapid development of digitization and intelligence in my country's smart grid, a large number of smart devices used in smart grids require powerful data processing capabilities and low-latency mass data communication capabilities. Therefore, the designed and manufactured smart devices often require CPU PCIE interfaces and FPGA for high-speed data exchange.

在CPU与FPGA协同工作的系统中,特别是两者之间采用PCI/PCIE总线通信的系统中,需要FPGA在CPU进入BIOS之前加载并配置好其PCI/PCIE功能,否则会导致CPU在硬件初始化时失败。随着智能电网功能需求不断增多,FPGA配置程序越来越大,导致配置时间过长(超过100ms),CPU启动时还未配置PCIE从设备,导致CPU无法正确识别,致使整个系统初始化失败。In a system where the CPU and FPGA work together, especially in a system where PCI/PCIE bus communication is used between the two, the FPGA needs to be loaded and configured with its PCI/PCIE function before the CPU enters the BIOS, otherwise the CPU will be initialized in the hardware. failed. With the increasing demand for smart grid functions, the FPGA configuration program is getting larger and larger, resulting in a long configuration time (more than 100ms), and the PCIE slave device has not been configured when the CPU is started, which causes the CPU to fail to recognize it correctly and causes the entire system to fail to initialize.

目前,在CPU与FPGA协同工作的系统中,通常在系统电源正常启动后,通过硬件延时一定的时间,使得FPGA优先完成配置过程,从而保证CPU的正常启动。虽然这种方法能够使系统正常初始化,但是硬件延时时间是固定的,不易修改的。At present, in a system where the CPU and FPGA work together, usually after the system power is started normally, the hardware delays a certain period of time, so that the FPGA first completes the configuration process, thereby ensuring the normal startup of the CPU. Although this method enables the system to be initialized normally, the hardware delay time is fixed and cannot be easily modified.

发明内容SUMMARY OF THE INVENTION

为了解决上述问题,本实用新型提供了一种CPU与FPGA自动控制启动电路,具体技术方案如下:In order to solve the above-mentioned problems, the utility model provides a CPU and FPGA automatic control startup circuit, and the specific technical scheme is as follows:

一种CPU与FPGA自动控制启动电路,包括电源系统、逻辑门模块、控制开关模块、CPU系统、FPGA系统;所述电源系统的输出端分别与逻辑门模块的输入端、FPGA系统的输入端、控制开关模块的输入端电性连接;所述FPGA系统的输出端与逻辑门模块的输入端电性连接;所述逻辑门模块的输入端与控制开关模块的输入端连接;所述控制开关模块的输出端与CPU系统的输入端电性连接;A CPU and FPGA automatic control startup circuit, comprising a power supply system, a logic gate module, a control switch module, a CPU system, and an FPGA system; the output end of the power supply system is respectively connected with the input end of the logic gate module, the input end of the FPGA system, The input end of the control switch module is electrically connected; the output end of the FPGA system is electrically connected with the input end of the logic gate module; the input end of the logic gate module is connected with the input end of the control switch module; the control switch module The output terminal is electrically connected with the input terminal of the CPU system;

所述电源系统用于给CPU系统、FPGA系统提供工作电源;The power supply system is used to provide working power to the CPU system and the FPGA system;

所述逻辑门模块用于分别采集电源系统和FPGA系统的输出信号,并进行处理输出控制信号至控制开关模块;所述控制开关模块用于根据逻辑门模块输出的控制信号控制开关进行断开或闭合,进而实现电源系统与CPU系统断开连接或者正常连接。The logic gate module is used to collect the output signals of the power supply system and the FPGA system respectively, and to process and output the control signal to the control switch module; the control switch module is used to control the switch to disconnect or disconnect according to the control signal output by the logic gate module closed, so as to realize the disconnection or normal connection between the power supply system and the CPU system.

优选地,所述逻辑门模块包括与门。Preferably, the logic gate module includes an AND gate.

优选地,所述控制开关模块包括下拉电阻R4、三极管Q2、上拉电阻R3、PMOS管Q1;所述逻辑门模块的输出端分别与下拉电阻R4的一端、三极管Q2的基极连接;所述下拉电阻R4的另一端和所述三极管Q2的发射极分别接地;所述三极管Q2的集电极分别连接至PMOS管Q1的栅极、上拉电阻R3的一端;所述上拉电阻的另一端分别与电源系统的输出端、PMOS管Q1的漏极连接;所述PMOS管Q1的源极与CPU系统的供电端连接。Preferably, the control switch module includes a pull-down resistor R4, a transistor Q2, a pull-up resistor R3, and a PMOS transistor Q1; the output ends of the logic gate module are respectively connected to one end of the pull-down resistor R4 and the base of the transistor Q2; the The other end of the pull-down resistor R4 and the emitter of the triode Q2 are grounded respectively; the collector of the triode Q2 is respectively connected to the gate of the PMOS transistor Q1 and one end of the pull-up resistor R3; the other end of the pull-up resistor is respectively It is connected to the output terminal of the power supply system and the drain of the PMOS transistor Q1; the source of the PMOS transistor Q1 is connected to the power supply terminal of the CPU system.

优选地,所述三极管Q2为NPN三极管。Preferably, the transistor Q2 is an NPN transistor.

优选地,所述电源系统包括AC-DC模块、分压模块;所述AC-DC模块的输入端与市电220交流电连接;所述AC-DC模块的输出端分别与分压模块、FPGA系统和控制开关模块的输入端连接;所述分压模块的输出端与逻辑门模块的输入端连接;Preferably, the power supply system includes an AC-DC module and a voltage divider module; the input end of the AC-DC module is AC connected to the mains 220; the output end of the AC-DC module is respectively connected to the voltage divider module and the FPGA system. is connected with the input end of the control switch module; the output end of the voltage dividing module is connected with the input end of the logic gate module;

所述AC-DC模块用于将市电220交流电转换为12V直流电;所述分压模块用于对AC-DC模块输出的12V直流电进行分压,并将分压后的信号输出至逻辑门模块的输入端。The AC-DC module is used to convert the alternating current of the mains 220 into 12V direct current; the voltage divider module is used to divide the voltage of the 12V direct current output by the AC-DC module, and output the divided signal to the logic gate module the input terminal.

优选地,所述分压模块包括第一分压电阻R1和第二分压电阻R2;所述第一分压电阻R1的一端与所述AC-DC模块的输出端连接;所述第一分压电阻R1的另一端与第二分压电阻R2的一端和逻辑门模块的输入端连接;所述第二分压电阻R2的另一端接地。Preferably, the voltage dividing module includes a first voltage dividing resistor R1 and a second voltage dividing resistor R2; one end of the first voltage dividing resistor R1 is connected to the output end of the AC-DC module; the first voltage dividing resistor R1 is connected to the output end of the AC-DC module; The other end of the piezoresistor R1 is connected to one end of the second piezoresistor R2 and the input end of the logic gate module; the other end of the second piezoresistor R2 is grounded.

优选地,所述AC-DC模块包括XD308H芯片。Preferably, the AC-DC module includes an XD308H chip.

本实用新型的有益效果为: 本实用新型提供了一种CPU与FPGA自动控制启动电路,包括电源系统、逻辑门模块、控制开关模块、CPU系统、FPGA系统。采用逻辑门的输出信号控制控制开关模块的断开和闭合,进而实现控制CPU系统的断电或通电。打开电源系统,FPGA系统上电完成配置时,逻辑门模块输出的信号就控制CPU系统通电进而实现CPU系统自启动,本实用新型无需采用硬件延时来实现,并且不用修改硬件的延时时间,不管FPGA系统配置多长时间,只有在FPGA系统配置完成后才通过逻辑门模块控制控制开关模块通电,因而解除了硬件延时的时间限制,提高了FPGA系统与CPU系统协同工作时的自适应性。本实用新型采用与门实现,与门结构原理简单易实现,只有当电源系统与FPGA配置完成输出的信号为高电平信号时才输出通电的控制信号,方便控制控制开关是否导通。The beneficial effects of the utility model are as follows: The utility model provides a CPU and FPGA automatic control startup circuit, which includes a power supply system, a logic gate module, a control switch module, a CPU system and an FPGA system. The output signal of the logic gate is used to control the opening and closing of the control switch module, thereby realizing the power-off or power-on of the control CPU system. When the power supply system is turned on, when the FPGA system is powered on to complete the configuration, the signal output by the logic gate module controls the power-on of the CPU system to realize the self-starting of the CPU system. The utility model does not need to adopt hardware delay to realize, and does not need to modify the delay time of the hardware, No matter how long the FPGA system is configured, only after the configuration of the FPGA system is completed, the control switch module is powered on through the logic gate module, thus removing the time limit of hardware delay and improving the adaptability of the FPGA system and the CPU system when they work together. . The utility model adopts the AND gate to realize, and the structure principle of the AND gate is simple and easy to realize. Only when the output signal after the configuration of the power supply system and the FPGA is a high-level signal, the power-on control signal is output, which is convenient to control whether the control switch is turned on.

附图说明Description of drawings

为了更清楚地说明本实用新型具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍。在所有附图中,类似的元件或部分一般由类似的附图标记标识。附图中,各元件或部分并不一定按照实际的比例绘制。In order to illustrate the specific embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings required for the description of the specific embodiments or the prior art. Similar elements or parts are generally identified by similar reference numerals throughout the drawings. In the drawings, each element or section is not necessarily drawn to actual scale.

图1为本实用新型的结构原理图;Fig. 1 is the structural principle diagram of the present utility model;

图3为逻辑门模块的真值表;Fig. 3 is the truth table of logic gate module;

图2为本实用新型的电源系统的原理图。FIG. 2 is a schematic diagram of the power supply system of the present invention.

具体实施方式Detailed ways

下面将结合本实用新型实施例中的附图,对本实用新型实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本实用新型一部分实施例,而不是全部的实施例。基于本实用新型中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本实用新型保护的范围。The technical solutions in the embodiments of the present utility model will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present utility model. Obviously, the described embodiments are part of the embodiments of the present utility model, not all of the embodiments. . Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present invention.

应当理解,当在本说明书和所附权利要求书中使用时,术语“包括”和 “包含”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。It is to be understood that, when used in this specification and the appended claims, the terms "comprising" and "comprising" indicate the presence of the described features, integers, steps, operations, elements and/or components, but do not exclude one or The presence or addition of a number of other features, integers, steps, operations, elements, components, and/or sets thereof.

还应当理解,在本实用新型说明书中所使用的术语仅仅是出于描述特定实施例的目的而并不意在限制本实用新型。如在本实用新型说明书和所附权利要求书中所使用的那样,除非上下文清楚地指明其它情况,否则单数形式的“一”、“一个”及“该”意在包括复数形式。It should also be understood that the terms used in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural unless the context clearly dictates otherwise.

还应当进一步理解,在本实用新型说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。It should also be further understood that, as used in this specification and the appended claims, the term "and/or" refers to any and all possible combinations of one or more of the associated listed items, and including these combination.

如图1所示,本实用新型的具体实施例提供了一种CPU与FPGA自动控制启动电路,包括电源系统、逻辑门模块、控制开关模块、CPU系统、FPGA系统;As shown in Figure 1, a specific embodiment of the present utility model provides a CPU and FPGA automatic control startup circuit, including a power supply system, a logic gate module, a control switch module, a CPU system, and an FPGA system;

所述电源系统的输出端分别与逻辑门模块的输入端、FPGA系统的输入端、控制开关模块的输入端电性连接;所述FPGA系统的输出端与逻辑门模块的输入端电性连接;所述逻辑门模块的输入端与控制开关模块的输入端连接;所述控制开关模块的输出端与CPU系统的输入端电性连接;The output end of the power supply system is respectively electrically connected with the input end of the logic gate module, the input end of the FPGA system, and the input end of the control switch module; the output end of the FPGA system is electrically connected with the input end of the logic gate module; The input end of the logic gate module is connected with the input end of the control switch module; the output end of the control switch module is electrically connected with the input end of the CPU system;

所述电源系统用于给CPU系统、FPGA系统提供工作电源;The power supply system is used to provide working power to the CPU system and the FPGA system;

所述逻辑门模块用于分别采集电源系统和FPGA系统的输出信号,并进行处理输出控制信号至控制开关模块;所述控制开关模块用于根据逻辑门模块输出的控制信号控制开关进行断开或闭合,进而实现电源系统与CPU系统断开连接或者正常连接。The logic gate module is used to collect the output signals of the power supply system and the FPGA system respectively, and to process and output the control signal to the control switch module; the control switch module is used to control the switch to disconnect or disconnect according to the control signal output by the logic gate module closed, so as to realize the disconnection or normal connection between the power supply system and the CPU system.

其中逻辑门模块包括与门,真值表如图2所示。The logic gate module includes an AND gate, and the truth table is shown in Figure 2.

控制开关模块包括下拉电阻R4、三极管Q2、上拉电阻R3、PMOS管Q1;所述逻辑门模块的输出端分别与下拉电阻R4的一端、三极管Q2的基极连接;所述下拉电阻R4的另一端和所述三极管Q2的发射极分别接地;所述三极管Q2的集电极分别连接至PMOS管Q1的栅极、上拉电阻R3的一端;所述上拉电阻的另一端分别与电源系统的输出端、PMOS管Q1的漏极连接;所述PMOS管Q1的源极与CPU系统的供电端连接。三极管Q2为NPN三极管。The control switch module includes a pull-down resistor R4, a transistor Q2, a pull-up resistor R3, and a PMOS transistor Q1; the output end of the logic gate module is respectively connected with one end of the pull-down resistor R4 and the base of the transistor Q2; the other end of the pull-down resistor R4 is connected. One end and the emitter of the transistor Q2 are grounded respectively; the collector of the transistor Q2 is respectively connected to the gate of the PMOS transistor Q1 and one end of the pull-up resistor R3; the other end of the pull-up resistor is respectively connected to the output of the power supply system The terminal is connected to the drain of the PMOS transistor Q1; the source of the PMOS transistor Q1 is connected to the power supply terminal of the CPU system. The transistor Q2 is an NPN transistor.

如图3所示,电源系统包括AC-DC模块、分压模块;所述AC-DC模块的输入端与市电220交流电连接;所述AC-DC模块的输出端分别与分压模块、FPGA系统和控制开关模块的输入端连接;所述分压模块的输出端与逻辑门模块的输入端连接;As shown in FIG. 3 , the power supply system includes an AC-DC module and a voltage divider module; the input end of the AC-DC module is AC connected to the mains 220; the output end of the AC-DC module is respectively connected to the voltage divider module, the FPGA The system is connected with the input end of the control switch module; the output end of the voltage dividing module is connected with the input end of the logic gate module;

所述AC-DC模块用于将市电220交流电转换为12V直流电;所述分压模块用于对AC-DC模块输出的12V直流电进行分压,并将分压后的信号输出至逻辑门模块的输入端。The AC-DC module is used to convert the alternating current of the mains 220 into 12V direct current; the voltage divider module is used to divide the voltage of the 12V direct current output by the AC-DC module, and output the divided signal to the logic gate module the input terminal.

其中,分压模块包括第一分压电阻R1和第二分压电阻R2;所述第一分压电阻R1的一端与所述AC-DC模块的输出端连接;所述第一分压电阻R1的另一端与第二分压电阻R2的一端和逻辑门模块的输入端连接;所述第二分压电阻R2的另一端接地。具体地,AC-DC模块包括XD308H芯片。The voltage dividing module includes a first voltage dividing resistor R1 and a second voltage dividing resistor R2; one end of the first voltage dividing resistor R1 is connected to the output end of the AC-DC module; the first voltage dividing resistor R1 The other end of the second voltage dividing resistor R2 is connected to one end of the second voltage dividing resistor R2 and the input end of the logic gate module; the other end of the second voltage dividing resistor R2 is grounded. Specifically, the AC-DC module includes an XD308H chip.

本实用新型的工作原理为:以第一分压电阻R1和第二分压电阻R2连接处作为电源系统的输出信号POW_GOOD1,电源系统输出POW_GOOD1信号连接到逻辑门模块U1的输入端,FPGA系统的输出CONF_DONE信号连接到逻辑门模块U1的另一输入端,逻辑门模块U1的输出POW_GOOD2信号连接到三极管Q2的基极和下拉电阻R4的一端。电源系统输出的电源信号VCC12分别连接至FPGA系统的输入端和控制开关模块的输入端。The working principle of the utility model is as follows: the connection between the first voltage dividing resistor R1 and the second voltage dividing resistor R2 is used as the output signal POW_GOOD1 of the power supply system, and the output POW_GOOD1 signal of the power supply system is connected to the input end of the logic gate module U1, and the output signal of the FPGA system is connected to the input end of the logic gate module U1. The output CONF_DONE signal is connected to the other input terminal of the logic gate module U1, and the output POW_GOOD2 signal of the logic gate module U1 is connected to the base of the transistor Q2 and one end of the pull-down resistor R4. The power signal VCC12 output by the power system is respectively connected to the input end of the FPGA system and the input end of the control switch module.

当电源系统未启动时,电源系统没有正常输出,POW_GOOD1信号输出为低电平,整个系统不工作。When the power system is not started, the power system has no normal output, the POW_GOOD1 signal output is low, and the entire system does not work.

当电源系统正常启动时,电源系统为整个系统提供电源信号VCC12,通过第一分压电阻R1和第二分压电阻R2获得的输出信号POW_GOOD1为高电平。When the power supply system starts normally, the power supply system provides the power supply signal VCC12 for the entire system, and the output signal POW_GOOD1 obtained through the first voltage dividing resistor R1 and the second voltage dividing resistor R2 is at a high level.

当电源系统正常启动后,FPGA系统未完成系统配置时,电源系统输入到逻辑门模块U1的信号POW_GOOD1是高电平,FPGA系统输出到辑门模块U1的信号CONF_DONE是低电平,根据图2的真值表,此时逻辑门模块U1输出的信号POW_GOOD2为低电平,逻辑门模块U1输出的信号POW_GOOD2信号为低电平时不能驱动三极管Q2的正常导通,也就不能驱动PMOS管Q1的正常导通,此时控制开关模块相当于断开不通电,电源系统无法为CPU系统正常供电,CPU系统不能完成初始化。After the power system starts normally, when the FPGA system has not completed the system configuration, the signal POW_GOOD1 input by the power system to the logic gate module U1 is high level, and the signal CONF_DONE output by the FPGA system to the gate module U1 is low level, according to Figure 2 At this time, the signal POW_GOOD2 output by the logic gate module U1 is low level, and the signal POW_GOOD2 output by the logic gate module U1 cannot drive the normal conduction of the transistor Q2 when the signal POW_GOOD2 signal is low level, so it cannot drive the PMOS transistor Q1. Normal conduction, at this time, the control switch module is equivalent to disconnection and no power supply, the power supply system cannot supply power to the CPU system normally, and the CPU system cannot complete initialization.

当电源系统正常启动后,FPGA系统完成系统配置时,电源系统输入到逻辑门模块U1的信号POW_GOOD1和FPGA系统输出到辑门模块U1的信号CONF_DONE均是高电平,根据图2的真值表,此时逻辑门模块U1输出的信号POW_GOOD2为高电平,逻辑门模块U1输出的信号POW_GOOD2为高电平时能够驱动三极管Q2导通,三极管Q2的导通使得PMOS管也能正常导通,此时控制开关模块相闭合,电源系统为CPU系统提供电源,CPU开始进行系统上电自检(POST),扫描所有硬件设备,完成设备正常启动。When the power system starts normally and the FPGA system completes the system configuration, the signal POW_GOOD1 input by the power system to the logic gate module U1 and the signal CONF_DONE output by the FPGA system to the gate module U1 are both high levels. According to the truth table in Figure 2 , at this time, the signal POW_GOOD2 output by the logic gate module U1 is high level, when the signal POW_GOOD2 output by the logic gate module U1 is high level, it can drive the transistor Q2 to conduct, and the conduction of the transistor Q2 enables the PMOS tube to be turned on normally. When the control switch module is closed, the power supply system provides power for the CPU system, and the CPU starts to perform system power-on self-test (POST), scans all hardware devices, and completes the normal startup of the device.

综上所述,该设计电路能在CPU系统正常启动之前,确保FPGA系统已经加载完成了所有的配置任务,从而避免了CPU在硬件初始化时失败,而且无时间限制,并且该电路能有效的适应各种规模的FPGA系统加载,保证了CPU系统与FPGA系统的正常启动。In summary, the designed circuit can ensure that the FPGA system has been loaded and completed all configuration tasks before the CPU system starts normally, thus avoiding the failure of the CPU during hardware initialization, and there is no time limit, and the circuit can effectively adapt to The loading of FPGA systems of various scales ensures the normal startup of the CPU system and the FPGA system.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本实用新型的范围。Those of ordinary skill in the art can realize that the units of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two, in order to clearly illustrate the interchangeability of hardware and software In the above description, the composition of each example has been described generally in terms of function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of the present invention.

在本申请所提供的实施例中,应该理解到,单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元可结合为一个单元,一个单元可拆分为多个单元,或一些特征可以忽略等。In the embodiments provided in this application, it should be understood that the division of units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units may be combined into one unit, and one unit may be detached. Divided into multiple units, or some features can be ignored, etc.

最后应说明的是:以上各实施例仅用以说明本实用新型的技术方案,而非对其限制;尽管参照前述各实施例对本实用新型进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本实用新型各实施例技术方案的范围,其均应涵盖在本实用新型的权利要求和说明书的范围当中。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present utility model, but not to limit them; although the present utility model has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that : it can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements to some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the various embodiments of the present utility model The scope of the technical solution should be covered by the scope of the claims and description of the present invention.

Claims (7)

1.一种CPU与FPGA自动控制启动电路,其特征在于:包括电源系统、逻辑门模块、控制开关模块、CPU系统、FPGA系统;所述电源系统的输出端分别与逻辑门模块的输入端、FPGA系统的输入端、控制开关模块的输入端电性连接;所述FPGA系统的输出端与逻辑门模块的输入端电性连接;所述逻辑门模块的输入端与控制开关模块的输入端连接;所述控制开关模块的输出端与CPU系统的输入端电性连接;1. a CPU and FPGA automatic control startup circuit, it is characterized in that: comprise power supply system, logic gate module, control switch module, CPU system, FPGA system; The output end of described power supply system is respectively with the input end of logic gate module, The input end of the FPGA system and the input end of the control switch module are electrically connected; the output end of the FPGA system is electrically connected with the input end of the logic gate module; the input end of the logic gate module is connected with the input end of the control switch module ; The output end of the control switch module is electrically connected with the input end of the CPU system; 所述电源系统用于给CPU系统、FPGA系统提供工作电源;The power supply system is used to provide working power to the CPU system and the FPGA system; 所述逻辑门模块用于分别采集电源系统和FPGA系统的输出信号,并进行处理输出控制信号至控制开关模块;所述控制开关模块用于根据逻辑门模块输出的控制信号控制开关进行断开或闭合,进而实现电源系统与CPU系统断开连接或者正常连接。The logic gate module is used to collect the output signals of the power supply system and the FPGA system respectively, and to process and output the control signal to the control switch module; the control switch module is used to control the switch to disconnect or disconnect according to the control signal output by the logic gate module closed, so as to realize the disconnection or normal connection between the power supply system and the CPU system. 2.根据权利要求1所述的一种CPU与FPGA自动控制启动电路,其特征在于:所述逻辑门模块包括与门。2 . The automatic control startup circuit of a CPU and FPGA according to claim 1 , wherein the logic gate module comprises an AND gate. 3 . 3.根据权利要求1或2所述的一种CPU与FPGA自动控制启动电路,其特征在于:所述控制开关模块包括下拉电阻R4、三极管Q2、上拉电阻R3、PMOS管Q1;所述逻辑门模块的输出端分别与下拉电阻R4的一端、三极管Q2的基极连接;所述下拉电阻R4的另一端和所述三极管Q2的发射极分别接地;所述三极管Q2的集电极分别连接至PMOS管Q1的栅极、上拉电阻R3的一端;所述上拉电阻的另一端分别与电源系统的输出端、PMOS管Q1的漏极连接;所述PMOS管Q1的源极与CPU系统的供电端连接。3. A CPU and FPGA automatic control startup circuit according to claim 1 or 2, wherein the control switch module comprises a pull-down resistor R4, a triode Q2, a pull-up resistor R3, and a PMOS tube Q1; the logic The output end of the gate module is respectively connected to one end of the pull-down resistor R4 and the base of the triode Q2; the other end of the pull-down resistor R4 and the emitter of the triode Q2 are grounded respectively; the collector of the triode Q2 is respectively connected to the PMOS The gate of the tube Q1 and one end of the pull-up resistor R3; the other end of the pull-up resistor is respectively connected to the output end of the power supply system and the drain of the PMOS tube Q1; the source of the PMOS tube Q1 is connected to the power supply of the CPU system end connection. 4.根据权利要求3所述的一种CPU与FPGA自动控制启动电路,其特征在于:所述三极管Q2为NPN三极管。4 . The automatic control startup circuit of a CPU and FPGA according to claim 3 , wherein the transistor Q2 is an NPN transistor. 5 . 5.根据权利要求1所述的一种CPU与FPGA自动控制启动电路,其特征在于:所述电源系统包括AC-DC模块、分压模块;所述AC-DC模块的输入端与市电220交流电连接;所述AC-DC模块的输出端分别与分压模块、FPGA系统和控制开关模块的输入端连接;所述分压模块的输出端与逻辑门模块的输入端连接;5. The automatic control startup circuit of a CPU and FPGA according to claim 1, wherein the power supply system comprises an AC-DC module and a voltage divider module; the input end of the AC-DC module is connected to the mains 220 AC connection; the output end of the AC-DC module is respectively connected with the input end of the voltage divider module, the FPGA system and the control switch module; the output end of the voltage divider module is connected with the input end of the logic gate module; 所述AC-DC模块用于将市电220交流电转换为12V直流电;所述分压模块用于对AC-DC模块输出的12V直流电进行分压,并将分压后的信号输出至逻辑门模块的输入端。The AC-DC module is used to convert the alternating current of the mains 220 into 12V direct current; the voltage divider module is used to divide the voltage of the 12V direct current output by the AC-DC module, and output the divided signal to the logic gate module the input terminal. 6.根据权利要求5所述的一种CPU与FPGA自动控制启动电路,其特征在于:所述分压模块包括第一分压电阻R1和第二分压电阻R2;所述第一分压电阻R1的一端与所述AC-DC模块的输出端连接;所述第一分压电阻R1的另一端与第二分压电阻R2的一端和逻辑门模块的输入端连接;所述第二分压电阻R2的另一端接地。6. A CPU and FPGA automatic control startup circuit according to claim 5, characterized in that: the voltage dividing module comprises a first voltage dividing resistor R1 and a second voltage dividing resistor R2; the first voltage dividing resistor One end of R1 is connected to the output end of the AC-DC module; the other end of the first voltage dividing resistor R1 is connected to one end of the second voltage dividing resistor R2 and the input end of the logic gate module; the second voltage dividing resistor is connected to the input end of the logic gate module; The other end of resistor R2 is connected to ground. 7.根据权利要求5所述的一种CPU与FPGA自动控制启动电路,其特征在于:所述AC-DC模块包括XD308H芯片。7 . The CPU and FPGA automatic control startup circuit according to claim 5 , wherein the AC-DC module comprises an XD308H chip. 8 .
CN202220074611.0U 2022-01-12 2022-01-12 A CPU and FPGA automatic control startup circuit Active CN217238764U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202220074611.0U CN217238764U (en) 2022-01-12 2022-01-12 A CPU and FPGA automatic control startup circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202220074611.0U CN217238764U (en) 2022-01-12 2022-01-12 A CPU and FPGA automatic control startup circuit

Publications (1)

Publication Number Publication Date
CN217238764U true CN217238764U (en) 2022-08-19

Family

ID=82828850

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202220074611.0U Active CN217238764U (en) 2022-01-12 2022-01-12 A CPU and FPGA automatic control startup circuit

Country Status (1)

Country Link
CN (1) CN217238764U (en)

Similar Documents

Publication Publication Date Title
US10846160B2 (en) System and method for remote system recovery
CN103208822A (en) Universal serial bus (USB) charging control circuit
CN103684407B (en) Otg
CN102609057B (en) Control machine box based on PXIe
CN113568855B (en) Low-cost PCIE hot plug multimode compatible device
CN107390575B (en) A kind of configurable low speed PAD, there is the restructural interface BMC chip of intelligence
CN109062392B (en) Equipment, method and system for automatically switching power supply of server board card
CN107506323A (en) A kind of hot plug processing method and processing device
CN217238764U (en) A CPU and FPGA automatic control startup circuit
WO2017107472A1 (en) Device and method for restoring factory settings
CN204790996U (en) CPU and FPGA combinatorial circuit of multiplex bus
CN111694340B (en) PSU BootLoader automatic test fixture and method
CN102213971B (en) Sequential control circuit and there is the Front Side Bus power supply of this sequential control circuit
US6874047B1 (en) System and method for implementing an SMBus/I2C interface on a network interface card
CN116243148B (en) Debugging and verifying framework for chip I3C protocol
CN101458639A (en) CPU type identification circuit and CPU type identification method
CN113849355B (en) I2C rate adaptive adjustment method, system, terminal and storage medium
CN116539992A (en) Storage device in-place stable state detection device, method, logic module and medium
CN116047979A (en) A pin level control method, system, device and storage medium
CN216647344U (en) Detection apparatus for backplate electric leakage and server
CN104750638B (en) A kind of interface adapter and the method for cutting out compatible with Wishbone
CN109684245B (en) Method and device for accessing SPI FLASH through APB bus
CN103226537B (en) A Programmable Logic Device Realizing the Hardware Interface of Mobile Phone
CN222506893U (en) Computing server based on Feiteng S5000C-32 computing blade
CN204349940U (en) A kind of double edge trigger circuit

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: No.6-2, Minzhu Road, Xingning District, Nanning City, Guangxi Zhuang Autonomous Region, 530023

Patentee after: ELECTRIC POWER SCIENCE & RESEARCH INSTITUTE OF GUANGXI POWER GRID Corp.

Country or region after: China

Patentee after: Southern Power Grid Digital Grid Research Institute Co.,Ltd.

Address before: No.6-2, Minzhu Road, Xingning District, Nanning City, Guangxi Zhuang Autonomous Region, 530023

Patentee before: ELECTRIC POWER SCIENCE & RESEARCH INSTITUTE OF GUANGXI POWER GRID Corp.

Country or region before: China

Patentee before: Southern Power Grid Digital Grid Research Institute Co.,Ltd.

CP03 Change of name, title or address
TR01 Transfer of patent right

Effective date of registration: 20250106

Address after: No.6-2, Minzhu Road, Xingning District, Nanning City, Guangxi Zhuang Autonomous Region, 530023

Patentee after: ELECTRIC POWER SCIENCE & RESEARCH INSTITUTE OF GUANGXI POWER GRID Corp.

Country or region after: China

Patentee after: Southern Power Grid Digital Grid Group Co.,Ltd.

Address before: No.6-2, Minzhu Road, Xingning District, Nanning City, Guangxi Zhuang Autonomous Region, 530023

Patentee before: ELECTRIC POWER SCIENCE & RESEARCH INSTITUTE OF GUANGXI POWER GRID Corp.

Country or region before: China

Patentee before: Southern Power Grid Digital Grid Research Institute Co.,Ltd.

TR01 Transfer of patent right