CN114839903A - DSP multi-path power supply voltage control method, system and device - Google Patents
DSP multi-path power supply voltage control method, system and device Download PDFInfo
- Publication number
- CN114839903A CN114839903A CN202210357685.XA CN202210357685A CN114839903A CN 114839903 A CN114839903 A CN 114839903A CN 202210357685 A CN202210357685 A CN 202210357685A CN 114839903 A CN114839903 A CN 114839903A
- Authority
- CN
- China
- Prior art keywords
- power supply
- sampling signal
- sampling
- adc
- dsp
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0423—Input/output
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02M—APPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
- H02M3/00—Conversion of DC power input into DC power output
- H02M3/02—Conversion of DC power input into DC power output without intermediate conversion into AC
- H02M3/04—Conversion of DC power input into DC power output without intermediate conversion into AC by static converters
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/25—Pc structure of the system
- G05B2219/25257—Microcontroller
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Measurement Of Current Or Voltage (AREA)
- Power Sources (AREA)
Abstract
Description
技术领域technical field
本发明属于电子技术领域,具体涉及一种DSP多路供电电压控制方法、系统及装置。The invention belongs to the technical field of electronics, and in particular relates to a DSP multi-channel power supply voltage control method, system and device.
背景技术Background technique
电源模块给DSP供电都是按DSP的上电时序来进行多路电压供电,且基本都是同步输出多路电压,电源模块具有使能控制端口,在现有技术中,DSP上电过程中若其中一路电压输出异常,使得DSP短路,通常采用硬件外接直接拉高或拉低电源模块的使能控制端口的控制方式,使电源模块停止输出,但这种控制方式无法确定电源模块的故障点,修复效率低,也无法对DSP起到保护作用,安全性低,容易导致损坏DSP。The power supply module to the DSP is powered by multiple voltages according to the power-on sequence of the DSP, and basically outputs multiple voltages synchronously. The power supply module has an enable control port. In the prior art, during the power-on process of the DSP, if One of the voltage outputs is abnormal, which makes the DSP short-circuit. Usually, the control method of directly pulling up or pulling down the enable control port of the power supply module is used to stop the output of the power supply module. However, this control method cannot determine the fault point of the power supply module. The repair efficiency is low, and the DSP cannot be protected, and the security is low, which may easily lead to damage to the DSP.
发明内容SUMMARY OF THE INVENTION
本发明旨在至少解决现有技术中存在的技术问题之一。为此,本发明提出一种DSP多路供电电压控制方法,所述DSP多路供电电压控制方法解决了无法确定电源模块的故障点,修复效率低,安全性低,容易导致损坏DSP的问题。The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, the present invention proposes a DSP multi-channel power supply voltage control method, which solves the problem that the fault point of the power module cannot be determined, the repair efficiency is low, the safety is low, and the DSP is easily damaged.
本发明还提出了一种DSP多路供电电压控制系统和一种DSP多路供电电压控制装置。The invention also provides a DSP multi-channel power supply voltage control system and a DSP multi-channel power supply voltage control device.
根据本发明第一方面实施例的DSP多路供电电压控制方法,包括以下步骤:According to the DSP multi-channel power supply voltage control method according to the embodiment of the first aspect of the present invention, the method includes the following steps:
获取待检测ADC通道采集的采样信号,其中,所述待检测ADC通道为N个ADC采样通道中的一个,N个所述ADC采样通道根据DSP的上电时序设置;Obtain the sampling signal collected by the ADC channel to be detected, wherein the ADC channel to be detected is one of N ADC sampling channels, and the N ADC sampling channels are set according to the power-on sequence of the DSP;
确定所述采样信号的输出状态,其中,所述输出状态包括正常状态和非正常状态,所述正常状态用于表征所述采样信号在基准电压阈值范围内,所述非正常状态用于表征所述采样信号不在所述基准电压阈值范围内,所述基准电压阈值范围为N个判断阈值范围中的一个,N个所述判断阈值范围与N个所述ADC采样通道一一对应;Determine the output state of the sampled signal, wherein the output state includes a normal state and an abnormal state, the normal state is used to represent that the sampled signal is within a reference voltage threshold range, and the abnormal state is used to represent all the The sampling signal is not within the reference voltage threshold range, the reference voltage threshold range is one of N judgment threshold ranges, and the N judgment threshold ranges are in one-to-one correspondence with the N ADC sampling channels;
根据所述输出状态选择对待测电源IC的控制策略,其中,所述控制策略包括使能策略和不使能策略,所述待测电源IC为N个电源IC中的一个,N个所述电源IC与N个所述ADC采样通道一一对应,N个所述电源IC用于一一对应发送N个所述采样信号。The control strategy of the power supply IC to be tested is selected according to the output state, wherein the control strategy includes an enabling strategy and a disabling strategy, the power supply IC to be tested is one of N power supply ICs, and the N power supply ICs are The ICs are in one-to-one correspondence with the N ADC sampling channels, and the N power ICs are used for sending the N sampling signals in a one-to-one correspondence.
根据本发明实施例的DSP多路供电电压控制方法,至少具有如下技术效果:获取待检测ADC通道采集的采样信号,通过确定采样信号是否在基准电压阈值范围内,可以确定采样信号的输出状态,在基准电压阈值范围内则为正常状态,不在基准电压阈值范围内则为非正常状态,其中,基准电压阈值范围为待检测ADC通道对应的判断阈值范围。确定完成后,根据采样信号的输出状态选择对待测电源IC的控制策略,其中,待测电源IC为下一个待检测ADC通道对应的电源IC,从而可以实现独立监控和控制N个电源IC,解决了无法确定电源模块的故障点,修复效率低,安全性低,容易导致损坏DSP的问题。The DSP multi-channel power supply voltage control method according to the embodiment of the present invention has at least the following technical effects: the sampling signal collected by the ADC channel to be detected is obtained, and the output state of the sampling signal can be determined by determining whether the sampling signal is within the reference voltage threshold range, The normal state is within the reference voltage threshold range, and the abnormal state is not within the reference voltage threshold range, wherein the reference voltage threshold range is the judgment threshold range corresponding to the ADC channel to be detected. After the determination is completed, the control strategy of the power supply IC to be tested is selected according to the output state of the sampling signal, wherein the power supply IC to be tested is the power supply IC corresponding to the next ADC channel to be tested, so that the independent monitoring and control of N power supply ICs can be realized. Therefore, the failure point of the power module cannot be determined, the repair efficiency is low, the safety is low, and it is easy to cause the problem of damage to the DSP.
根据本发明的一些实施例,所述确定所述采样信号的输出状态,包括以下步骤:According to some embodiments of the present invention, the determining the output state of the sampled signal includes the following steps:
若所述采样信号在所述基准电压阈值范围内,将所述采样信号的所述输出状态确认为所述正常状态;If the sampling signal is within the reference voltage threshold range, confirming the output state of the sampling signal as the normal state;
若所述采样信号不在所述基准电压阈值范围内,将所述采样信号的所述输出状态确认为所述非正常状态。If the sampling signal is not within the reference voltage threshold range, the output state of the sampling signal is confirmed as the abnormal state.
根据本发明的一些实施例,所述根据所述输出状态选择对待测电源IC的控制策略,包括以下步骤:According to some embodiments of the present invention, the selection of the control strategy of the power supply IC to be tested according to the output state includes the following steps:
若所述采样信号的所述输出状态确认为所述正常状态,选择所述使能策略,以使能所述待测电源IC;If the output state of the sampling signal is confirmed to be the normal state, selecting the enabling strategy to enable the power supply IC to be tested;
若所述采样信号的所述输出状态确认为所述非正常状态,选择所述不使能策略,以停止使能所述待测电源IC。If the output state of the sampling signal is confirmed to be the abnormal state, the disabling strategy is selected to stop enabling the power supply IC to be tested.
根据本发明的一些实施例,首次获取所述采样信号前,使能对应的所述电源IC。According to some embodiments of the present invention, before acquiring the sampling signal for the first time, the corresponding power IC is enabled.
根据本发明的一些实施例,在所述获取待检测ADC通道采集的采样信号后,所述DSP多路供电电压控制方法,还包括以下步骤:显示所述采样信号的电压值。According to some embodiments of the present invention, after the acquisition of the sampling signal collected by the ADC channel to be detected, the DSP multi-channel power supply voltage control method further includes the following step: displaying the voltage value of the sampling signal.
根据本发明的一些实施例,还包括以下步骤:According to some embodiments of the present invention, it also includes the following steps:
获取调整数据,所述调整数据包括N个调整阈值范围;obtaining adjustment data, where the adjustment data includes N adjustment threshold ranges;
根据所述调整数据更新N个所述判断阈值范围。The N judgment threshold ranges are updated according to the adjustment data.
根据本发明第二方面实施例的DSP多路供电电压控制系统,包括:The DSP multi-channel power supply voltage control system according to the embodiment of the second aspect of the present invention includes:
采样信号获取单元,用于获取待检测ADC通道采集的采样信号,其中,所述待检测ADC通道为N个ADC采样通道中的一个,N个所述ADC采样通道根据DSP的上电时序设置;a sampling signal acquisition unit, configured to acquire a sampling signal collected by an ADC channel to be detected, wherein the ADC channel to be detected is one of N ADC sampling channels, and the N ADC sampling channels are set according to the power-on sequence of the DSP;
输出状态确定单元,用于确定所述采样信号的输出状态,其中,所述输出状态包括正常状态和非正常状态,所述正常状态用于表征所述采样信号在基准电压阈值范围内,所述非正常状态用于表征所述采样信号不在所述基准电压阈值范围内,所述基准电压阈值范围为N个判断阈值范围中的一个,N个所述判断阈值范围与N个所述ADC采样通道一一对应;an output state determination unit, configured to determine an output state of the sampling signal, wherein the output state includes a normal state and an abnormal state, the normal state is used to indicate that the sampling signal is within a reference voltage threshold range, the The abnormal state is used to indicate that the sampling signal is not within the reference voltage threshold range, and the reference voltage threshold range is one of N judgment threshold ranges, the N judgment threshold ranges and the N ADC sampling channels one-to-one correspondence;
控制策略选择单元,用于根据所述输出状态选择对待测电源IC的控制策略,其中,所述控制策略包括使能策略和不使能策略,所述待测电源IC为N个电源IC中的一个,N个所述电源IC与N个所述ADC采样通道一一对应,N个所述电源IC用于一一对应发送N个所述采样信号。A control strategy selection unit is used to select a control strategy for the power supply IC to be tested according to the output state, wherein the control strategy includes an enabling strategy and a disabling strategy, and the power supply IC to be tested is one of the N power supply ICs. One, the N power supply ICs are in one-to-one correspondence with the N ADC sampling channels, and the N power supply ICs are used to send the N sampling signals in a one-to-one correspondence.
根据本发明实施例的DSP多路供电电压控制系统,至少具有如下技术效果:通过采样信号获取单元可以获取待检测ADC通道采集的采样信号,通过输出状态确定单元可以确定采样信号是否在基准电压阈值范围内,从而可以确定采样信号的输出状态,在基准电压阈值范围内则为正常状态,不在基准电压阈值范围内则为非正常状态,其中,基准电压阈值范围为待检测ADC通道对应的判断阈值范围。确定完成后,通过控制策略选择单元实现根据采样信号的输出状态选择对待测电源IC的控制策略,其中,待测电源IC为下一个待检测ADC通道对应的电源IC,从而可以实现独立监控和控制N个电源IC,解决了无法确定电源模块的故障点,修复效率低,安全性低,容易导致损坏DSP的问题。The DSP multi-channel power supply voltage control system according to the embodiment of the present invention has at least the following technical effects: the sampling signal acquired by the ADC channel to be detected can be acquired by the sampling signal acquisition unit, and whether the sampling signal is at the reference voltage threshold can be determined by the output state determination unit Within the range of the reference voltage threshold, the output state of the sampling signal can be determined. If it is within the reference voltage threshold range, it is a normal state, and if it is not within the reference voltage threshold value range, it is an abnormal state. The reference voltage threshold value range is the judgment threshold corresponding to the ADC channel to be detected. scope. After the determination is completed, the control strategy selection unit is used to select the control strategy of the power supply IC to be tested according to the output state of the sampling signal, wherein the power supply IC to be tested is the power supply IC corresponding to the next ADC channel to be detected, so that independent monitoring and control can be achieved. N power ICs solve the problem that the fault point of the power module cannot be determined, the repair efficiency is low, the safety is low, and the DSP is easily damaged.
根据本发明第三方面实施例的DSP多路供电电压控制装置,包括:The DSP multi-channel power supply voltage control device according to the embodiment of the third aspect of the present invention includes:
DSP;DSP;
电源模块,包括N个电源IC;A power module, including N power ICs;
主控模块,具有根据所述DSP的上电时序设置的N个ADC采样通道,所述主控模块用于获取待检测ADC通道采集的采样信号,其中,所述待检测ADC通道为N个所述ADC采样通道中的一个;确定所述采样信号的输出状态,其中,所述输出状态包括正常状态和非正常状态,所述正常状态用于表征所述采样信号在基准电压阈值范围内,所述非正常状态用于表征所述采样信号不在所述基准电压阈值范围内,所述基准电压阈值范围为N个判断阈值范围中的一个,N个所述判断阈值范围与N个所述ADC采样通道一一对应;根据所述输出状态选择对待测电源IC的控制策略,其中,所述控制策略包括使能策略和不使能策略,所述待测电源IC为N个所述电源IC中的一个,N个所述电源IC与N个所述ADC采样通道一一对应,N个所述电源IC用于一一对应发送N个所述采样信号。The main control module has N ADC sampling channels set according to the power-on sequence of the DSP, and the main control module is used to obtain the sampling signals collected by the ADC channels to be detected, wherein the ADC channels to be detected are N one of the ADC sampling channels; determine the output state of the sampling signal, wherein the output state includes a normal state and an abnormal state, the normal state is used to indicate that the sampling signal is within the reference voltage threshold range, so The abnormal state is used to indicate that the sampling signal is not within the reference voltage threshold range, and the reference voltage threshold range is one of N judgment threshold ranges, the N judgment threshold ranges and the N ADC samples The channels are in one-to-one correspondence; the control strategy of the power supply IC to be tested is selected according to the output state, wherein the control strategy includes an enabling strategy and a disabling strategy, and the power supply IC to be tested is one of the N power supply ICs. One, the N power supply ICs are in one-to-one correspondence with the N ADC sampling channels, and the N power supply ICs are used to send the N sampling signals in a one-to-one correspondence.
根据本发明实施例的DSP多路供电电压控制装置,至少具有如下技术效果:通过电源模块的N个电源IC可以一一对应发送N个采样信号给DSP上电,通过主控模块上根据DSP的上电时序设置的N个ADC采样通道可以分别采集N个采样信号,通过主控模块可以获取待检测ADC通道采集的采样信号,确定采样信号的输出状态,其中,采样信号在基准电压阈值范围内则输出状态为正常状态,不在基准电压阈值范围内则为非正常状态,基准电压阈值范围为待检测ADC通道对应的判断阈值范围。确定完成后,可以通过主控模块实现根据采样信号的输出状态选择对待测电源IC的控制策略,其中,待测电源IC为下一个待检测ADC通道对应的电源IC,从而可以实现独立监控和控制N个电源IC,解决了无法确定电源模块的故障点,修复效率低,安全性低,容易导致损坏DSP的问题。The DSP multi-channel power supply voltage control device according to the embodiment of the present invention has at least the following technical effects: the N power supply ICs of the power supply module can send N sampling signals to the DSP in one-to-one correspondence, and the main control module can send N sampling signals according to the DSP The N ADC sampling channels set in the power-on sequence can collect N sampling signals respectively. The main control module can obtain the sampling signals collected by the ADC channels to be detected, and determine the output state of the sampling signals, wherein the sampling signals are within the reference voltage threshold range. Then the output state is a normal state, and if it is not within the reference voltage threshold range, it is an abnormal state, and the reference voltage threshold value range is the judgment threshold range corresponding to the ADC channel to be detected. After the determination is completed, the control strategy of the power supply IC to be tested can be selected according to the output state of the sampling signal through the main control module, wherein the power supply IC to be tested is the power supply IC corresponding to the next ADC channel to be tested, so that independent monitoring and control can be achieved. N power ICs solve the problem that the fault point of the power module cannot be determined, the repair efficiency is low, the safety is low, and the DSP is easily damaged.
根据本发明的一些实施例,还包括与所述主控模块连接的人机接口模块,所述人机接口模块包括:According to some embodiments of the present invention, it further includes a human-machine interface module connected to the main control module, and the human-machine interface module includes:
显示单元,用于显示所述采样信号的电压值;a display unit for displaying the voltage value of the sampling signal;
按键单元,与所述显示单元连接,用于获取调整数据,以根据所述调整数据更新N个所述判断阈值范围;所述调整数据包括N个调整阈值范围;a button unit, connected to the display unit, for acquiring adjustment data, so as to update the N judgment threshold ranges according to the adjustment data; the adjustment data includes N adjustment threshold ranges;
接口单元,用于连接上位机。The interface unit is used to connect the upper computer.
本发明的附加方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实践了解到。Additional aspects and advantages of the present invention will be set forth, in part, from the following description, and in part will be apparent from the following description, or may be learned by practice of the invention.
附图说明Description of drawings
本发明的上述或附加的方面和优点从结合下面附图对实施例的描述中将变得明显和容易理解,其中:The above or additional aspects and advantages of the present invention will become apparent and readily understood from the following description of embodiments taken in conjunction with the accompanying drawings, wherein:
图1是本发明实施例的DSP多路供电电压控制方法的流程图;Fig. 1 is the flow chart of the DSP multi-channel power supply voltage control method of the embodiment of the present invention;
图2是本发明实施例的主控模块的部分电气原理图;2 is a partial electrical schematic diagram of a main control module according to an embodiment of the present invention;
图3是本发明实施例的主控模块的电气原理图;3 is an electrical schematic diagram of a main control module according to an embodiment of the present invention;
图4是本发明实施例的显示单元的电气原理图;4 is an electrical schematic diagram of a display unit according to an embodiment of the present invention;
图5是本发明实施例的按键单元的电气原理图;5 is an electrical schematic diagram of a key unit according to an embodiment of the present invention;
图6是本发明实施例的接口单元的电气原理图;6 is an electrical schematic diagram of an interface unit according to an embodiment of the present invention;
图7是本发明另一实施例的接口单元的电气原理图。FIG. 7 is an electrical schematic diagram of an interface unit according to another embodiment of the present invention.
具体实施方式Detailed ways
下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本发明,而不能理解为对本发明的限制。The following describes in detail the embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary, only used to explain the present invention, and should not be construed as a limitation of the present invention.
在本发明的描述中,需要理解的是,涉及到方位描述,例如上、下、前、后、左、右等指示的方位,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。In the description of the present invention, it should be understood that the related orientation description, such as the orientation indicated by up, down, front, rear, left, right, etc., is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying The device or element referred to must have a particular orientation, be constructed and operate in a particular orientation, and therefore should not be construed as limiting the invention.
在本发明的描述中,若干的含义是一个或者多个,多个的含义是两个以上,大于、小于、超过等理解为不包括本数,以上、以下、以内等理解为包括本数。如果有描述到第一、第二只是用于区分技术特征为目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量或者隐含指明所指示的技术特征的先后关系。In the description of the present invention, the meaning of several is one or more, the meaning of multiple is two or more, greater than, less than, exceeding, etc. are understood as not including this number, above, below, within, etc. are understood as including this number. If it is described that the first and the second are only for the purpose of distinguishing technical features, it cannot be understood as indicating or implying relative importance, or indicating the number of the indicated technical features or the order of the indicated technical features. relation.
本发明的描述中,除非另有明确的限定,设置、安装、连接等词语应做广义理解,所属技术领域技术人员可以结合技术方案的具体内容合理确定上述词语在本发明中的具体含义。In the description of the present invention, unless otherwise clearly defined, words such as setting, installation, connection should be understood in a broad sense, and those skilled in the art can reasonably determine the specific meanings of the above words in the present invention in combination with the specific content of the technical solution.
下面参考图1至图7描述根据本发明第一方面实施例的DSP多路供电电压控制方法。The following describes a method for controlling multiple supply voltages of a DSP according to an embodiment of the first aspect of the present invention with reference to FIG. 1 to FIG. 7 .
根据本发明实施例的DSP多路供电电压控制方法,包括以下步骤:The DSP multi-channel power supply voltage control method according to the embodiment of the present invention includes the following steps:
获取待检测ADC通道采集的采样信号,其中,待检测ADC通道为N个ADC采样通道中的一个,N个ADC采样通道根据DSP的上电时序设置;Obtain the sampling signal collected by the ADC channel to be detected, wherein the ADC channel to be detected is one of N ADC sampling channels, and the N ADC sampling channels are set according to the power-on sequence of the DSP;
确定采样信号的输出状态,其中,输出状态包括正常状态和非正常状态,正常状态用于表征采样信号在基准电压阈值范围内,非正常状态用于表征采样信号不在基准电压阈值范围内,基准电压阈值范围为N个判断阈值范围中的一个,N个判断阈值范围与N个ADC采样通道一一对应;Determine the output state of the sampled signal, wherein the output state includes a normal state and an abnormal state, the normal state is used to indicate that the sampled signal is within the reference voltage threshold range, the abnormal state is used to indicate that the sampled signal is not within the reference voltage threshold range, the reference voltage The threshold range is one of N judgment threshold ranges, and the N judgment threshold ranges correspond to N ADC sampling channels one-to-one;
根据输出状态选择对待测电源IC的控制策略,其中,控制策略包括使能策略和不使能策略,待测电源IC为N个电源IC中的一个,N个电源IC与N个ADC采样通道一一对应,N个电源IC用于一一对应发送N个采样信号。The control strategy of the power supply IC to be tested is selected according to the output state, wherein the control strategy includes an enabling strategy and a disabling strategy. The power supply IC to be tested is one of N power supply ICs, and the N power supply ICs and N ADC sampling channels are one One-to-one correspondence, N power supply ICs are used to send N sampling signals in one-to-one correspondence.
为了更好地描述本发明实施例的DSP多路供电电压控制方法,首先对本发明实施例的DSP多路供电电压控制装置进行简单说明。本发明实施例的DSP多路供电电压控制装置包括DSP、电源模块和主控模块,电源模块包括N个电源IC,每个电源IC皆用于发送采样信号给DSP供电,且每个电源IC皆具有使能控制端;主控模块具有根据DSP的上电时序设置的N个ADC采样通道,N个ADC采样通道与N个电源IC一一对应,每个ADC采样通道皆用于采集对应的电源IC发送的采样信号。In order to better describe the DSP multi-channel power supply voltage control method according to the embodiment of the present invention, the device for DSP multi-channel power supply voltage control according to the embodiment of the present invention is briefly described first. The DSP multi-channel power supply voltage control device according to the embodiment of the present invention includes a DSP, a power supply module and a main control module. The power supply module includes N power supply ICs, each power supply IC is used to send sampling signals to supply power to the DSP, and each power supply IC is It has an enabling control terminal; the main control module has N ADC sampling channels set according to the power-on sequence of the DSP, and the N ADC sampling channels correspond to N power supply ICs one-to-one, and each ADC sampling channel is used to collect the corresponding power supply. The sampling signal sent by the IC.
使能DSP的上电时序所对应的电源IC后,电源IC发送采样信号,通过待检测ADC通道采集采样信号,采集完成后确定采样信号的电压值是否在待检测ADC通道对应的基准电压阈值范围内,若在基准电压阈值范围内,则采样信号的输出状态为正常状态,采样信号的输出状态被确认为正常状态后,使能待测电源IC,待检测ADC通道为上电时序中当前供电电压对应的ADC采样通道,待测电源IC即为上电时序中下一路供电电压对应的电源IC;若采样信号的电压值不在基准电压阈值范围内,则采样信号的输出状态为非正常状态,采样信号的输出状态被确认为非正常状态后,则不使能待测电源IC,停止电源模块对DSP供电,并检查故障,实现了独立监控和控制N个电源IC,提高了安全性。需要说明的是,每个判断阈值范围皆用于表征DSP的供电电压的波动范围。After enabling the power supply IC corresponding to the power-on sequence of the DSP, the power supply IC sends a sampling signal, and collects the sampling signal through the ADC channel to be detected. After the acquisition is completed, determine whether the voltage value of the sampling signal is within the reference voltage threshold range corresponding to the ADC channel to be detected. If it is within the range of the reference voltage threshold, the output state of the sampling signal is the normal state. After the output state of the sampling signal is confirmed to be the normal state, the power supply IC to be tested is enabled, and the ADC channel to be tested is the current power supply in the power-on sequence. The ADC sampling channel corresponding to the voltage, the power supply IC to be tested is the power supply IC corresponding to the next power supply voltage in the power-on sequence; if the voltage value of the sampling signal is not within the range of the reference voltage threshold, the output state of the sampling signal is abnormal. After the output state of the sampled signal is confirmed to be abnormal, the power supply IC to be tested is disabled, the power supply module is stopped to supply power to the DSP, and the fault is checked, which realizes independent monitoring and control of N power supply ICs and improves safety. It should be noted that each judgment threshold range is used to represent the fluctuation range of the power supply voltage of the DSP.
为了更清楚地描述本发明实施例的DSP多路供电电压控制方法,接下来针对N为2,且DSP的两路供电电压的电压值为3.3V、1.8V,上电时序为3.3V、1.8V的情况进行详细说明,但N的具体值以及采样信号的电压值不能看作是对本发明的限定,且DSP的上电时序通常由其本身决定。In order to more clearly describe the DSP multi-channel power supply voltage control method according to the embodiment of the present invention, N is 2, and the voltage values of the two-channel power supply voltage of the DSP are 3.3V and 1.8V, and the power-on sequence is 3.3V and 1.8V. The case of V is described in detail, but the specific value of N and the voltage value of the sampled signal cannot be regarded as a limitation of the present invention, and the power-on sequence of the DSP is usually determined by itself.
参考图2和图3,在一些实施例中,使能电源ICU6后,电源ICU6发送采样信号,通过待检测ADC通道ADCINA0采集采样信号,采集完成后确定采样信号的电压值是否在待检测ADC通道ADCINA0对应的基准电压阈值范围内(即3.3V上下),若在基准电压阈值范围内,则采样信号的输出状态为正常状态,采样信号的输出状态被确认为正常状态后,使能待测电源ICU7,待测电源ICU7发送采样信号,通过待检测ADC通道ADCINA1采集采样信号,采集完成后确定采样信号的电压值是否在待检测ADC通道ADCINA1对应的基准电压阈值范围内(即1.8V上下),若在基准电压阈值范围内,则采样信号的输出状态为正常状态,并结束上电过程。若任一采样信号的电压值不在对应的基准电压阈值范围内,即采样信号的输出状态被确认为非正常状态时,停止电源模块对DSP供电,并检查故障。Referring to FIG. 2 and FIG. 3 , in some embodiments, after the power supply ICU6 is enabled, the power supply ICU6 sends a sampling signal, and collects the sampling signal through the ADC channel ADCINA0 to be detected. After the acquisition is completed, it is determined whether the voltage value of the sampling signal is in the ADC channel to be detected. Within the range of the reference voltage threshold corresponding to ADCINA0 (that is, around 3.3V), if it is within the range of the reference voltage threshold, the output state of the sampled signal is normal. After the output state of the sampled signal is confirmed to be normal, enable the power supply to be tested. ICU7, the power supply to be tested ICU7 sends a sampling signal, and the sampling signal is collected through the ADC channel ADCINA1 to be detected. After the acquisition is completed, it is determined whether the voltage value of the sampling signal is within the range of the reference voltage threshold corresponding to the ADC channel to be detected ADCINA1 (that is, about 1.8V), If it is within the range of the reference voltage threshold, the output state of the sampling signal is a normal state, and the power-on process is ended. If the voltage value of any sampled signal is not within the corresponding reference voltage threshold range, that is, when the output state of the sampled signal is confirmed to be abnormal, stop the power module from supplying power to the DSP and check for faults.
根据本发明实施例的DSP多路供电电压控制方法,获取待检测ADC通道采集的采样信号,通过确定采样信号是否在基准电压阈值范围内,可以确定采样信号的输出状态,在基准电压阈值范围内则为正常状态,不在基准电压阈值范围内则为非正常状态,其中,基准电压阈值范围为待检测ADC通道对应的判断阈值范围。确定完成后,根据采样信号的输出状态选择对待测电源IC的控制策略,其中,待测电源IC为下一个待检测ADC通道对应的电源IC,从而可以实现独立监控和控制N个电源IC,解决了无法确定电源模块的故障点,修复效率低,安全性低,容易导致损坏DSP的问题。According to the DSP multi-channel power supply voltage control method of the embodiment of the present invention, the sampling signal collected by the ADC channel to be detected is obtained, and the output state of the sampling signal can be determined by determining whether the sampling signal is within the reference voltage threshold range, and the output state of the sampling signal is within the reference voltage threshold range. It is a normal state, and it is an abnormal state if it is not within the reference voltage threshold range, wherein the reference voltage threshold range is the judgment threshold range corresponding to the ADC channel to be detected. After the determination is completed, the control strategy of the power supply IC to be tested is selected according to the output state of the sampling signal, wherein the power supply IC to be tested is the power supply IC corresponding to the next ADC channel to be tested, so that the independent monitoring and control of N power supply ICs can be realized. Therefore, the failure point of the power module cannot be determined, the repair efficiency is low, the safety is low, and it is easy to cause the problem of damage to the DSP.
在本发明的一些实施例中,参考图2,确定采样信号的输出状态,包括以下步骤:In some embodiments of the present invention, referring to FIG. 2 , determining the output state of the sampled signal includes the following steps:
若采样信号在基准电压阈值范围内,将采样信号的输出状态确认为正常状态;If the sampling signal is within the reference voltage threshold range, confirm the output state of the sampling signal as a normal state;
若采样信号不在基准电压阈值范围内,将采样信号的输出状态确认为非正常状态。If the sampled signal is not within the reference voltage threshold range, the output state of the sampled signal is confirmed to be an abnormal state.
N个ADC采样通道与N个判断阈值范围一一对应,待检测ADC通道为N个ADC采样通道中的一个,基准电压阈值范围为待检测ADC通道对应的判断阈值范围。待检测ADC通道采集到采样信号后确定采样信号的电压值是否在基准电压阈值范围内,在基准电压阈值范围内,则将采样信号的输出状态确认为正常状态,以用于后续根据输出状态使能待测电源IC。若采样信号的电压值不在基准电压阈值范围内,则将采样信号的输出状态确认为非正常状态,以用于后续根据输出状态停止使能待测电源IC,停止电源模块对DSP供电,以实现独立监控和控制电源IC。The N ADC sampling channels are in one-to-one correspondence with the N judgment threshold ranges, the ADC channel to be detected is one of the N ADC sampling channels, and the reference voltage threshold range is the judgment threshold range corresponding to the ADC channel to be detected. After the sampling signal is collected by the ADC channel to be detected, it is determined whether the voltage value of the sampling signal is within the threshold voltage range of the reference voltage. If it is within the threshold value range of the reference voltage, the output state of the sampling signal is confirmed as a normal state for subsequent use according to the output state. Power IC to be tested. If the voltage value of the sampled signal is not within the range of the reference voltage threshold, the output state of the sampled signal is confirmed as an abnormal state, which is used to stop enabling the power supply IC to be tested and stop the power supply module from supplying power to the DSP according to the output state. Independent monitoring and control of power ICs.
在本发明的一些实施例中,参考图2和图3,根据输出状态选择对待测电源IC的控制策略,包括以下步骤:In some embodiments of the present invention, referring to FIG. 2 and FIG. 3 , selecting the control strategy of the power supply IC under test according to the output state includes the following steps:
若采样信号的输出状态确认为正常状态,选择使能策略,以使能待测电源IC;If the output state of the sampled signal is confirmed to be a normal state, select an enabling strategy to enable the power IC to be tested;
若采样信号的输出状态确认为非正常状态,选择不使能策略,以停止使能待测电源IC。If the output state of the sampled signal is confirmed to be abnormal, select the disable strategy to stop enabling the power IC to be tested.
待检测ADC通道采集到采样信号后确定采样信号的电压值是否在基准电压阈值范围内,在基准电压阈值范围内,则将采样信号的输出状态确认为正常状态,并选择使能策略,使能待测电源IC。若采样信号的电压值不在基准电压阈值范围内,则将采样信号的输出状态确认为非正常状态,并选择不使能策略,停止使能待测电源IC,停止电源模块对DSP供电,以实现独立监控和控制电源IC。After the ADC channel to be detected collects the sampled signal, determine whether the voltage value of the sampled signal is within the reference voltage threshold range. If it is within the reference voltage threshold range, confirm the output state of the sampled signal as a normal state, and select an enabling strategy to enable The power IC to be tested. If the voltage value of the sampled signal is not within the range of the reference voltage threshold, confirm the output state of the sampled signal as an abnormal state, and select the disable strategy, stop enabling the power IC to be tested, and stop the power module supplying power to the DSP to achieve Independent monitoring and control of power ICs.
在本发明的一些实施例中,参考图2和图3,首次获取采样信号前,使能对应的电源IC。首次获取采样信号前,即电源模块为初始状态时,直接使能DSP的上电时序中第一路供电电压对应的电源IC,使其发送采样信号,以确定采样信号的输出状态,并根据输出状态选择对待测电源IC的控制策略。In some embodiments of the present invention, referring to FIG. 2 and FIG. 3 , before acquiring the sampling signal for the first time, the corresponding power IC is enabled. Before acquiring the sampling signal for the first time, that is, when the power supply module is in the initial state, directly enable the power supply IC corresponding to the first power supply voltage in the power-on sequence of the DSP, so that it sends the sampling signal to determine the output state of the sampling signal, and according to the output State selects the control strategy for the power IC under test.
在本发明的一些实施例中,参考图4,在获取待检测ADC通道采集的采样信号后,DSP多路供电电压控制方法,还包括以下步骤:显示采样信号的电压值。待检测ADC通道采集采样信号后,将采样信号显示在显示单元上,以将待检测ADC通道采集的采样信号的电压值可视化,能直观地监控电源IC输出的数据。需要说明的是,显示单元采用LCD显示屏,也可以采用OLED显示屏等其他设备,不能看作是对本发明的限定。In some embodiments of the present invention, referring to FIG. 4 , after acquiring the sampling signal collected by the ADC channel to be detected, the DSP multi-channel power supply voltage control method further includes the following steps: displaying the voltage value of the sampling signal. After the sampling signal is collected by the ADC channel to be detected, the sampling signal is displayed on the display unit to visualize the voltage value of the sampling signal collected by the ADC channel to be detected, and the data output by the power supply IC can be monitored intuitively. It should be noted that the display unit adopts an LCD display screen, and other devices such as an OLED display screen can also be used, which should not be regarded as a limitation of the present invention.
在本发明的一些实施例中,参考图5,还包括以下步骤:In some embodiments of the present invention, referring to FIG. 5 , the following steps are further included:
获取调整数据,调整数据包括N个调整阈值范围;Acquire adjustment data, which includes N adjustment threshold ranges;
根据调整数据更新N个判断阈值范围。The N judgment threshold ranges are updated according to the adjustment data.
若DSP的上电时序发生变化,或者更换了不同型号的DSP,需要更新N个判断阈值范围,以适应新的上电时序,可以通过按键单元对LCD显示屏进行操作来获取调整数据,也可以通过上位机对主控模块进行操作来获取调整数据,来更新N个判断阈值范围,以实现判断阈值范围可调节的目的,具体获取调整数据的方式不能看作是对本发明的限定。If the power-on sequence of the DSP changes, or a different type of DSP is replaced, N judgment threshold ranges need to be updated to adapt to the new power-on sequence. The adjustment data can be obtained by operating the LCD display through the key unit, or The adjustment data is obtained by operating the main control module by the host computer to update the N judgment threshold ranges, so as to realize the purpose of adjusting the judgment threshold range.
下面参考图1至图7描述根据本发明第二方面实施例的DSP多路供电电压控制系统。The following describes a DSP multi-channel power supply voltage control system according to an embodiment of the second aspect of the present invention with reference to FIG. 1 to FIG. 7 .
根据本发明实施例的DSP多路供电电压控制系统,包括采样信号获取单元、输出状态确定单元和控制策略选择单元。采样信号获取单元,用于获取待检测ADC通道采集的采样信号,其中,待检测ADC通道为N个ADC采样通道中的一个,N个ADC采样通道根据DSP的上电时序设置;输出状态确定单元,用于确定采样信号的输出状态,其中,输出状态包括正常状态和非正常状态,正常状态用于表征采样信号在基准电压阈值范围内,非正常状态用于表征采样信号不在基准电压阈值范围内,基准电压阈值范围为N个判断阈值范围中的一个,N个判断阈值范围与N个ADC采样通道一一对应;控制策略选择单元,用于根据输出状态选择对待测电源IC的控制策略,其中,控制策略包括使能策略和不使能策略,待测电源IC为N个电源IC中的一个,N个电源IC与N个ADC采样通道一一对应,N个电源IC用于一一对应发送N个采样信号。The DSP multi-channel power supply voltage control system according to the embodiment of the present invention includes a sampling signal acquisition unit, an output state determination unit and a control strategy selection unit. The sampling signal acquisition unit is used to acquire the sampling signal collected by the ADC channel to be detected, wherein the ADC channel to be detected is one of N ADC sampling channels, and the N ADC sampling channels are set according to the power-on sequence of the DSP; the output state determination unit , used to determine the output state of the sampled signal, wherein the output state includes a normal state and an abnormal state, the normal state is used to indicate that the sampled signal is within the reference voltage threshold range, and the abnormal state is used to indicate that the sampled signal is not within the reference voltage threshold range , the reference voltage threshold range is one of N judgment threshold ranges, and the N judgment threshold ranges are in one-to-one correspondence with N ADC sampling channels; the control strategy selection unit is used to select the control strategy of the power supply IC to be tested according to the output state, wherein , the control strategy includes an enabling strategy and a disabling strategy. The power supply IC to be tested is one of the N power supply ICs. The N power supply ICs are in one-to-one correspondence with the N ADC sampling channels, and the N power supply ICs are used for one-to-one correspondence transmission. N sampled signals.
为了更好地描述本发明实施例的DSP多路供电电压控制系统,首先对本发明实施例的DSP多路供电电压控制装置进行简单说明。本发明实施例的DSP多路供电电压控制装置包括DSP、电源模块和主控模块,电源模块包括N个电源IC,每个电源IC皆用于发送采样信号给DSP供电,且每个电源IC皆具有使能控制端;主控模块具有根据DSP的上电时序设置的N个ADC采样通道,N个ADC采样通道与N个电源IC一一对应,每个ADC采样通道皆用于采集对应的电源IC发送的采样信号。本发明实施例的DSP多路供电电压控制系统中的采样信号获取单元、输出状态确定单元和控制策略选择单元皆设于主控模块中。In order to better describe the DSP multi-channel power supply voltage control system of the embodiment of the present invention, the DSP multi-channel power supply voltage control device of the embodiment of the present invention is briefly described first. The DSP multi-channel power supply voltage control device according to the embodiment of the present invention includes a DSP, a power supply module and a main control module. The power supply module includes N power supply ICs, each power supply IC is used to send sampling signals to supply power to the DSP, and each power supply IC is It has an enabling control terminal; the main control module has N ADC sampling channels set according to the power-on sequence of the DSP, and the N ADC sampling channels correspond to N power supply ICs one-to-one, and each ADC sampling channel is used to collect the corresponding power supply. The sampling signal sent by the IC. The sampling signal acquisition unit, the output state determination unit and the control strategy selection unit in the DSP multi-channel power supply voltage control system according to the embodiment of the present invention are all set in the main control module.
电源模块在初始状态时,控制策略选择单元直接使能DSP的上电时序所对应的电源IC,电源IC发送采样信号后,采样信号获取单元获取待检测ADC通道采集的采样信号,采集完成后输出状态确定单元确定采样信号的电压值是否在待检测ADC通道对应的基准电压阈值范围内,若在基准电压阈值范围内,则采样信号的输出状态为正常状态,采样信号的输出状态被确认为正常状态后,控制策略选择单元控制使能待测电源IC,待检测ADC通道为上电时序中当前供电电压对应的ADC采样通道,待测电源IC即为上电时序中下一路供电电压对应的电源IC;若采样信号的电压值不在基准电压阈值范围内,则采样信号的输出状态为非正常状态,采样信号的输出状态被确认为非正常状态后,则不使能待测电源IC,停止电源模块对DSP供电,并检查故障,实现了独立监控和控制N个电源IC,提高了安全性。需要说明的是,每个判断阈值范围皆用于表征DSP的供电电压的波动范围。When the power supply module is in the initial state, the control strategy selection unit directly enables the power supply IC corresponding to the power-on sequence of the DSP. After the power supply IC sends the sampling signal, the sampling signal acquisition unit obtains the sampling signal collected by the ADC channel to be detected, and outputs it after the collection is completed. The state determination unit determines whether the voltage value of the sampled signal is within the range of the reference voltage threshold corresponding to the ADC channel to be detected. If it is within the range of the reference voltage threshold, the output state of the sampled signal is a normal state, and the output state of the sampled signal is confirmed to be normal. After the state, the control strategy selection unit controls and enables the power supply IC to be tested. The ADC channel to be detected is the ADC sampling channel corresponding to the current power supply voltage in the power-on sequence, and the power supply IC to be tested is the power supply corresponding to the next power supply voltage in the power-on sequence. IC; if the voltage value of the sampled signal is not within the range of the reference voltage threshold, the output state of the sampled signal is abnormal. After the output state of the sampled signal is confirmed to be abnormal, the power supply IC to be tested will not be enabled and the power supply will be stopped. The module supplies power to the DSP and checks for faults, which realizes independent monitoring and control of N power ICs and improves safety. It should be noted that each judgment threshold range is used to represent the fluctuation range of the power supply voltage of the DSP.
根据本发明实施例的DSP多路供电电压控制系统,通过采样信号获取单元可以获取待检测ADC通道采集的采样信号,通过输出状态确定单元可以确定采样信号是否在基准电压阈值范围内,从而可以确定采样信号的输出状态,在基准电压阈值范围内则为正常状态,不在基准电压阈值范围内则为非正常状态,其中,基准电压阈值范围为待检测ADC通道对应的判断阈值范围。确定完成后,通过控制策略选择单元实现根据采样信号的输出状态选择对待测电源IC的控制策略,其中,待测电源IC为下一个待检测ADC通道对应的电源IC,从而可以实现独立监控和控制N个电源IC,解决了无法确定电源模块的故障点,修复效率低,安全性低,容易导致损坏DSP的问题。According to the DSP multi-channel power supply voltage control system according to the embodiment of the present invention, the sampling signal acquired by the ADC channel to be detected can be acquired by the sampling signal acquisition unit, and whether the sampling signal is within the reference voltage threshold range can be determined by the output state determination unit, so as to determine whether the sampling signal is within the threshold range of the reference voltage. The output state of the sampled signal is a normal state within the reference voltage threshold range, and an abnormal state when it is not within the reference voltage threshold range, wherein the reference voltage threshold range is the judgment threshold range corresponding to the ADC channel to be detected. After the determination is completed, the control strategy selection unit is used to select the control strategy of the power supply IC to be tested according to the output state of the sampling signal, wherein the power supply IC to be tested is the power supply IC corresponding to the next ADC channel to be detected, so that independent monitoring and control can be achieved. N power ICs solve the problem that the fault point of the power module cannot be determined, the repair efficiency is low, the safety is low, and the DSP is easily damaged.
下面参考图1至图7描述根据本发明第三方面实施例的DSP多路供电电压控制装置。The following describes a DSP multi-channel power supply voltage control device according to an embodiment of the third aspect of the present invention with reference to FIG. 1 to FIG. 7 .
根据本发明实施例的DSP多路供电电压控制装置,包括DSP、电源模块和主控模块。电源模块,包括N个电源IC;主控模块,具有根据DSP的上电时序设置的N个ADC采样通道,主控模块用于获取待检测ADC通道采集的采样信号,其中,待检测ADC通道为N个ADC采样通道中的一个;确定采样信号的输出状态,其中,输出状态包括正常状态和非正常状态,正常状态用于表征采样信号在基准电压阈值范围内,非正常状态用于表征采样信号不在基准电压阈值范围内,基准电压阈值范围为N个判断阈值范围中的一个,N个判断阈值范围与N个ADC采样通道一一对应;根据输出状态选择对待测电源IC的控制策略,其中,控制策略包括使能策略和不使能策略,待测电源IC为N个电源IC中的一个,N个电源IC与N个ADC采样通道一一对应,N个电源IC用于一一对应发送N个采样信号。A DSP multi-channel power supply voltage control device according to an embodiment of the present invention includes a DSP, a power supply module and a main control module. The power supply module includes N power supply ICs; the main control module has N ADC sampling channels set according to the power-on sequence of the DSP, and the main control module is used to obtain the sampling signals collected by the ADC channels to be detected, wherein the ADC channels to be detected are One of the N ADC sampling channels; determine the output state of the sampling signal, wherein the output state includes a normal state and an abnormal state, the normal state is used to indicate that the sampling signal is within the reference voltage threshold range, and the abnormal state is used to indicate the sampling signal. Not within the reference voltage threshold range, the reference voltage threshold value range is one of N judgment threshold value ranges, and the N judgment threshold value ranges correspond to N ADC sampling channels one-to-one; select the control strategy of the power supply IC to be tested according to the output state, among which, The control strategy includes an enabling strategy and a disabling strategy. The power supply IC to be tested is one of the N power supply ICs. The N power supply ICs are in one-to-one correspondence with the N ADC sampling channels, and the N power supply ICs are used to transmit N in one-to-one correspondence. sampled signal.
电源模块包括N个电源IC,每个电源IC皆用于发送采样信号给DSP供电,且每个电源IC皆具有使能控制端EN和电压输出端Vout1/Vout2,主控模块使能使能控制端EN后,电源IC通过电压输出端Vout1/Vout2输出采样信号。需要说明的是,在本发明的一些实施例中,只用到电压输出端Vout1输出采样信号,电压输出端Vout2可根据实际需求投入使用,且不同型号的电源IC的电压输出端的个数不同,在本发明的一些实施例中,N个电源IC的型号皆为TPS70302,但电源IC的型号不能看作是对本发明的限定。需要说明的是,电源模块实际的电源IC的数量大于N个,只需从中选择需要用到的N个即可。另外,在准备工作阶段,选择N个电源IC时,根据电源IC的反馈电路计算得出每个电源IC的电压输出端Vout1/Vout2输出的电压值,从而选出与DSP上电时序对应的N个电源IC,其中,反馈电路如图3中的电源IC的电压输出端Vout1、电阻R17、VSense1构成的回路。The power supply module includes N power supply ICs. Each power supply IC is used to send sampling signals to supply power to the DSP, and each power supply IC has an enable control terminal EN and a voltage output terminal Vout1/Vout2. The main control module enables the enable control After the terminal EN, the power supply IC outputs the sampling signal through the voltage output terminals Vout1/Vout2. It should be noted that, in some embodiments of the present invention, only the voltage output terminal Vout1 is used to output the sampling signal, the voltage output terminal Vout2 can be put into use according to actual needs, and the number of voltage output terminals of different types of power ICs is different. In some embodiments of the present invention, the models of the N power supply ICs are all TPS70302, but the models of the power supply ICs cannot be regarded as a limitation of the present invention. It should be noted that the actual number of power supply ICs in the power supply module is greater than N, and it is only necessary to select the N ones that need to be used. In addition, in the preparation stage, when selecting N power supply ICs, the voltage value output by the voltage output terminals Vout1/Vout2 of each power supply IC is calculated according to the feedback circuit of the power supply IC, so as to select the N corresponding to the DSP power-on sequence. A power supply IC, wherein the feedback circuit is a loop formed by the voltage output terminal Vout1 of the power supply IC, the resistor R17 and the VSense1 in FIG. 3 .
主控模块包括主控芯片U1、数字电路、模拟电路、外部无源晶振、复位电路、供电电路、滤波电路、退耦电路以及连接上位机电路,其中,主控芯片U1具有根据DSP的上电时序设置的N个ADC采样通道,N个ADC采样通道与N个电源IC一一对应,每个ADC采样通道皆用于采集对应的电源IC发送的采样信号,主控芯片U1通过其IO端对电源模块的使能控制端进行控制。需要说明的是,主控模块中实际的ADC通道的数量大于N,在本发明的一些实施例中,只需从中选择N个作为ADC采样通道即可。连接上位机电路可以连接到上位机,以对主控芯片U1进行编程,从而控制数字电路并监控模拟电路,可以通过连接上位机电路获取调整数据,以更新N个判断阈值范围。需要说明的是,主控模块的具体电路结构不能看作是对本发明的限定。另外,数字电路、模拟电路、外部无源晶振、复位电路、供电电路、滤波电路、退耦电路和连接上位机电路的工作原理为本领域技术人员可知的现有技术,在此不作赘述。The main control module includes a main control chip U1, a digital circuit, an analog circuit, an external passive crystal oscillator, a reset circuit, a power supply circuit, a filter circuit, a decoupling circuit and a circuit for connecting to a host computer. The N ADC sampling channels set by the timing sequence correspond to the N power supply ICs one by one. Each ADC sampling channel is used to collect the sampling signal sent by the corresponding power supply IC. The main control chip U1 pairs with its IO terminal. The enable control terminal of the power module is used for control. It should be noted that the actual number of ADC channels in the main control module is greater than N, and in some embodiments of the present invention, it is only necessary to select N from them as ADC sampling channels. The circuit connected to the upper computer can be connected to the upper computer to program the main control chip U1 to control the digital circuit and monitor the analog circuit. The adjustment data can be obtained by connecting the upper computer circuit to update the N judgment threshold ranges. It should be noted that the specific circuit structure of the main control module cannot be regarded as a limitation of the present invention. In addition, the working principles of digital circuits, analog circuits, external passive crystal oscillators, reset circuits, power supply circuits, filter circuits, decoupling circuits and circuits connected to the host computer are known to those skilled in the art and will not be repeated here.
在一些实施例中,如图2和图3所示,N为2,主控芯片U1通过IO端GPIO16使能电源ICU6的使能控制端口EN,以使得电源ICU6通过电压输出端Vout1输出采样信号,主控芯片U1的待检测ADC通道ADCINA0采集采样信号,并判断采样信号是否在待检测ADC通道ADCINA0对应的基准电压阈值范围内(即3.3V上下),若在基准电压阈值范围内,则采样信号的输出状态为正常状态,采样信号的输出状态被确认为正常状态后,使能待测电源ICU7的使能控制端口EN,以使得电源ICU7通过电压输出端Vout1输出采样信号,主控芯片U1的待检测ADC通道ADCINA1采集采样信号,并判断采样信号是否在待检测ADC通道ADCINA1对应的基准电压阈值范围内(即1.8V上下),若在基准电压阈值范围内,则采样信号的输出状态为正常状态,结束上电。若任一采样信号的电压值不在对应的基准电压阈值范围内,则采样信号的输出状态为非正常状态,采样信号的输出状态被确认为非正常状态后,则停止电源模块对DSP供电,并检查故障,实现了独立监控和控制N个电源IC,提高了安全性。需要说明的是,每个判断阈值范围皆用于表征DSP的供电电压的波动范围。另外,N的值根据实际情况确定,不能看作是对本发明的限定。In some embodiments, as shown in FIG. 2 and FIG. 3 , N is 2, and the main control chip U1 enables the enable control port EN of the power supply ICU6 through the IO terminal GPIO16, so that the power supply ICU6 outputs the sampling signal through the voltage output terminal Vout1 , the ADC channel ADCINA0 of the main control chip U1 collects the sampling signal, and judges whether the sampling signal is within the range of the reference voltage threshold corresponding to the ADC channel ADCINA0 to be detected (that is, around 3.3V). The output state of the signal is the normal state, and after the output state of the sampling signal is confirmed to be the normal state, enable the enable control port EN of the power supply ICU7 to be tested, so that the power supply ICU7 outputs the sampling signal through the voltage output terminal Vout1, and the main control chip U1 The ADC channel ADCINA1 to be detected collects the sampling signal, and judges whether the sampling signal is within the reference voltage threshold range corresponding to the ADC channel ADCINA1 to be detected (ie around 1.8V). If it is within the reference voltage threshold range, the output state of the sampling signal is In normal state, the power-on is completed. If the voltage value of any sampled signal is not within the corresponding reference voltage threshold range, the output state of the sampled signal is abnormal, and after the output state of the sampled signal is confirmed to be abnormal, the power supply module will stop supplying power to the DSP, and Check faults, realize independent monitoring and control of N power ICs, and improve safety. It should be noted that each judgment threshold range is used to represent the fluctuation range of the power supply voltage of the DSP. In addition, the value of N is determined according to the actual situation and cannot be regarded as a limitation of the present invention.
根据本发明实施例的DSP多路供电电压控制装置,通过电源模块的N个电源IC可以一一对应发送N个采样信号给DSP上电,通过主控模块上根据DSP的上电时序设置的N个ADC采样通道可以分别采集N个采样信号,通过主控模块可以获取待检测ADC通道采集的采样信号,确定采样信号的输出状态,其中,采样信号在基准电压阈值范围内则输出状态为正常状态,不在基准电压阈值范围内则为非正常状态,基准电压阈值范围为待检测ADC通道对应的判断阈值范围。确定完成后,可以通过主控模块实现根据采样信号的输出状态选择对待测电源IC的控制策略,其中,待测电源IC为下一个待检测ADC通道对应的电源IC,从而可以实现独立监控和控制N个电源IC,解决了无法确定电源模块的故障点,修复效率低,安全性低,容易导致损坏DSP的问题。According to the DSP multi-channel power supply voltage control device according to the embodiment of the present invention, the N power supply ICs of the power supply module can send N sampling signals to the DSP in one-to-one correspondence, and the N sampling signals set on the main control module according to the power-on sequence of the DSP can be used to power up the DSP. Each ADC sampling channel can collect N sampling signals respectively, and the sampling signal collected by the ADC channel to be detected can be obtained through the main control module, and the output state of the sampling signal can be determined, wherein the output state is normal if the sampling signal is within the reference voltage threshold range , if it is not within the reference voltage threshold range, it is an abnormal state, and the reference voltage threshold value range is the judgment threshold value range corresponding to the ADC channel to be detected. After the determination is completed, the control strategy of the power supply IC to be tested can be selected according to the output state of the sampling signal through the main control module, wherein the power supply IC to be tested is the power supply IC corresponding to the next ADC channel to be tested, so that independent monitoring and control can be achieved. N power ICs solve the problem that the fault point of the power module cannot be determined, the repair efficiency is low, the safety is low, and the DSP is easily damaged.
在本发明的一些实施例中,参考图4至图7,还包括与主控模块连接的人机接口模块,人机接口模块包括:In some embodiments of the present invention, referring to FIG. 4 to FIG. 7 , a human-machine interface module connected with the main control module is further included, and the human-machine interface module includes:
显示单元,用于显示采样信号的电压值;A display unit for displaying the voltage value of the sampled signal;
按键单元,与显示单元连接,用于获取调整数据,以根据调整数据更新N个判断阈值范围;调整数据包括N个调整阈值范围;a button unit, connected with the display unit, for acquiring adjustment data, so as to update N judgment threshold ranges according to the adjustment data; the adjustment data includes N adjustment threshold ranges;
接口单元,用于连接上位机。The interface unit is used to connect the upper computer.
如图4所示,待检测ADC通道采集采样信号后,将采样信号传输至显示单元,可以使待检测ADC通道采集的采样信号的电压值可视化,能直观地监控电源IC输出的数据。显示单元采用LCD显示屏,型号为LCD12864,需要说明的是,显示单元也可以采用OLED显示屏等其他设备,不能看作是对本发明的限定。As shown in Figure 4, after the sampling signal is collected by the ADC channel to be detected, the sampling signal is transmitted to the display unit, which can visualize the voltage value of the sampling signal collected by the ADC channel to be detected, and can visually monitor the data output by the power supply IC. The display unit adopts an LCD display screen, and the model is LCD12864. It should be noted that the display unit may also adopt other devices such as an OLED display screen, which cannot be regarded as a limitation of the present invention.
如图5所示,若DSP的上电时序发生变化,或者更换了不同型号的DSP,需要更新N个判断阈值范围,以适应新的上电时序,可以通过按键单元对LCD显示屏进行操作来获取调整数据,也可以通过接口单元连接上位机对主控模块进行操作来获取调整数据,以更新N个判断阈值范围,实现判断阈值范围可调节的目的。As shown in Figure 5, if the power-on sequence of the DSP changes, or a different type of DSP is replaced, the N judgment threshold ranges need to be updated to adapt to the new power-on sequence. To obtain the adjustment data, the interface unit can also be connected to the host computer to operate the main control module to obtain the adjustment data, so as to update the N judgment threshold ranges, so as to realize the purpose of adjusting the judgment threshold ranges.
接口单元可以采用SCI串口模块(如图6所示)和CAN模块(如图7所示)等连接上位机,具体采用的模块类型不能看作是对本发明的限定。The interface unit can use the SCI serial port module (as shown in FIG. 6 ) and the CAN module (as shown in FIG. 7 ) to connect to the upper computer, and the specific module type used cannot be regarded as a limitation of the present invention.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示意性实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。In the description of this specification, reference to the terms "one embodiment," "some embodiments," "exemplary embodiment," "example," "specific example," or "some examples", etc., is meant to incorporate the embodiments A particular feature, structure, material, or characteristic described by an example or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
尽管上述结合附图对本发明实施例作了详细说明,但是本发明不限于上述实施例,本领域的普通技术人员可以理解:在不脱离本发明的原理和宗旨的情况下可以对这些实施例进行多种变化、修改、替换和变型,本发明的范围由权利要求及其等同物限定。Although the above-mentioned embodiments of the present invention have been described in detail in conjunction with the accompanying drawings, the present invention is not limited to the above-mentioned embodiments, and those of ordinary skill in the art can understand that these embodiments can be carried out without departing from the principle and purpose of the present invention. For various changes, modifications, substitutions and alterations, the scope of the present invention is defined by the appended claims and their equivalents.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210357685.XA CN114839903B (en) | 2022-04-11 | 2022-04-11 | DSP multipath power supply voltage control method, system and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210357685.XA CN114839903B (en) | 2022-04-11 | 2022-04-11 | DSP multipath power supply voltage control method, system and device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN114839903A true CN114839903A (en) | 2022-08-02 |
| CN114839903B CN114839903B (en) | 2025-09-09 |
Family
ID=82563945
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210357685.XA Active CN114839903B (en) | 2022-04-11 | 2022-04-11 | DSP multipath power supply voltage control method, system and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114839903B (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2025118975A1 (en) * | 2023-12-09 | 2025-06-12 | 宁德时代未来能源(上海)研究院有限公司 | Power supply control method and apparatus, control device, control circuit, and storage medium |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101552548A (en) * | 2008-12-15 | 2009-10-07 | 伊博电源(杭州)有限公司 | Power supply control system |
| CN104932380A (en) * | 2015-06-19 | 2015-09-23 | 中国船舶重工集团公司第七二六研究所 | Multi-mode and multi-channel power supply real-time monitoring system and method |
| CN110261759A (en) * | 2019-06-28 | 2019-09-20 | 上海移远通信技术股份有限公司 | A kind of damage detection system of chip pin |
| CN213302427U (en) * | 2020-05-28 | 2021-05-28 | 深圳米飞泰克科技有限公司 | Test circuit, test device and test system of resistance chip |
-
2022
- 2022-04-11 CN CN202210357685.XA patent/CN114839903B/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101552548A (en) * | 2008-12-15 | 2009-10-07 | 伊博电源(杭州)有限公司 | Power supply control system |
| CN104932380A (en) * | 2015-06-19 | 2015-09-23 | 中国船舶重工集团公司第七二六研究所 | Multi-mode and multi-channel power supply real-time monitoring system and method |
| CN110261759A (en) * | 2019-06-28 | 2019-09-20 | 上海移远通信技术股份有限公司 | A kind of damage detection system of chip pin |
| CN213302427U (en) * | 2020-05-28 | 2021-05-28 | 深圳米飞泰克科技有限公司 | Test circuit, test device and test system of resistance chip |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2025118975A1 (en) * | 2023-12-09 | 2025-06-12 | 宁德时代未来能源(上海)研究院有限公司 | Power supply control method and apparatus, control device, control circuit, and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN114839903B (en) | 2025-09-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103163490B (en) | Detecting device and detecting method of device power supply performance | |
| US10481216B1 (en) | Device for field verification of multi-device power over ethernet | |
| CN102798817B (en) | A kind of relay fault detecting circuit and fault detection method thereof | |
| CN102457384A (en) | Power supply device | |
| KR102346821B1 (en) | Test board, test system and test method of charging device | |
| CN105094117A (en) | Device for automatically testing functions of electric control plate of air-conditioner indoor set | |
| JP7086169B2 (en) | Charging device test system and method | |
| CN118555259B (en) | Electronic load and switch system testing method | |
| CN115811103A (en) | Battery Management System and Power Supply Equipment | |
| CN114839903A (en) | DSP multi-path power supply voltage control method, system and device | |
| CN104914376A (en) | Digital circuit state detection circuit and digital circuit state detection method | |
| CN208421767U (en) | Electronic equipment and its self-consumption control circuit | |
| CN112180183A (en) | A state monitoring circuit and method for vehicle electronic equipment | |
| CN115098016A (en) | LRM-based redundant computer high-precision AD acquisition equipment | |
| CN216387350U (en) | Weak current interface fault diagnosis device for electric energy meter | |
| CN117741235A (en) | Current signal detection system | |
| CN117192217A (en) | A testing system and method for insulation resistance | |
| CN106950443A (en) | Electricity BIT test circuits on one kind input discrete magnitude | |
| CN113884974A (en) | Weak current interface fault diagnosis device for electric energy meter | |
| CN211206662U (en) | Networked high-voltage high-power pulse capacitor system running state monitoring device | |
| CN113641547B (en) | Monitoring system for server motherboard | |
| CN106569922A (en) | Method and device for burn calibration and verification of electric power management IC | |
| CN108418284B (en) | Working power supply circuit | |
| CN208459555U (en) | A kind of fuse test device | |
| CN207908578U (en) | Electronic cigarette tester |
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 |