A DSP multi-channel power supply voltage control method, system and device
By acquiring the DSP's ADC channel sampling signal and determining its status, and selecting the power IC's control strategy, the problem of difficulty in determining the power module fault point during DSP power-on is solved, thereby improving repair efficiency and safety.
Patent Information
- Application Number
- CN202210357685.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-11
- Publication Date
- 2025-09-09
- Estimated Expiration
- 2042-04-11
AI Technical Summary
In the prior art, if a voltage output is abnormal during the DSP power-on process, 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.
By acquiring the sampling signal collected by the ADC channel to be tested, determining the output state of the sampling signal, and selecting the control strategy for the power IC to be tested according to the output state, including the enable strategy and the disable strategy, independent monitoring and control of N power ICs can be achieved.
It realizes independent monitoring and control of multiple power supply voltages of DSP, improves repair efficiency and safety, and avoids DSP damage.
Smart Images

Figure CN114839903B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of electronic technology, and in particular relates to a DSP multi-channel power supply voltage control method, system and device. Background Art
[0002] The power module supplies power to the DSP using multiple voltages according to the DSP's power-on sequence, and basically outputs multiple voltages synchronously. The power module has an enable control port. In the prior art, if one of the voltage outputs is abnormal during the DSP power-on process, causing the DSP to short-circuit, a control method is usually adopted in which hardware is externally connected to directly raise or lower the enable control port of the power module to stop the power module output. However, this control method cannot determine the fault point of the power module, has low repair efficiency, cannot protect the DSP, has low safety, and can easily damage the DSP. Summary of the Invention
[0003] The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, the present invention provides a method for controlling the voltage of multiple power supplies to a DSP. The method solves the problem that the failure point of a power module cannot be determined, which leads to low repair efficiency and low safety, and easily causes damage to the DSP.
[0004] The invention also proposes a DSP multi-channel power supply voltage control system and a DSP multi-channel power supply voltage control device.
[0005] According to the first embodiment of the present invention, the DSP multi-channel power supply voltage control method includes the following steps:
[0006] 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 a power-on timing of the DSP;
[0007] determining 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, and the abnormal state is used to indicate that the sampling signal is not within the reference voltage threshold range, the reference voltage threshold range is one of N determination threshold ranges, and the N determination threshold ranges correspond one-to-one to the N ADC sampling channels;
[0008] A control strategy for the power 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 IC to be tested is one of N power ICs, the N power ICs correspond one-to-one to the N ADC sampling channels, and the N power ICs are used to send the N sampling signals one-to-one.
[0009] The DSP multi-channel power supply voltage control method according to an embodiment of the present invention has at least the following technical effects: a sampling signal collected by a to-be-tested ADC channel is obtained, and the output state of the sampling signal is determined by determining whether the sampling signal is within a reference voltage threshold range. If it is within the reference voltage threshold range, it is a normal state; if it is not within the reference voltage threshold range, it is an abnormal state. The reference voltage threshold range is the judgment threshold range corresponding to the to-be-tested ADC channel. After the determination is completed, a control strategy for the to-be-tested power supply IC is selected based on the output state of the sampling signal. The to-be-tested power supply IC is the power supply IC corresponding to the next to-be-tested ADC channel. This allows for independent monitoring and control of N power supply ICs, resolving the problem of being unable to determine the fault point of a power supply module, resulting in low repair efficiency, low safety, and potential damage to the DSP.
[0010] According to some embodiments of the present invention, determining the output state of the sampling signal includes the following steps:
[0011] If the sampling signal is within the reference voltage threshold range, confirming the output state of the sampling signal as the normal state;
[0012] If the sampling signal is not within the reference voltage threshold range, the output state of the sampling signal is determined to be the abnormal state.
[0013] According to some embodiments of the present invention, selecting a control strategy for the power IC to be tested according to the output state includes the following steps:
[0014] If the output state of the sampling signal is confirmed to be the normal state, selecting the enabling strategy to enable the power IC to be tested;
[0015] 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 IC under test.
[0016] According to some embodiments of the present invention, before acquiring the sampling signal for the first time, the corresponding power IC is enabled.
[0017] According to some embodiments of the present invention, 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 step: displaying the voltage value of the sampling signal.
[0018] According to some embodiments of the present invention, the following steps are further included:
[0019] Acquire adjustment data, where the adjustment data includes N adjustment threshold ranges;
[0020] The N judgment threshold ranges are updated according to the adjustment data.
[0021] A DSP multi-channel power supply voltage control system according to an embodiment of the second aspect of the present invention includes:
[0022] A sampling signal acquisition unit is used 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 timing of the DSP;
[0023] an output state determining 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 being used to indicate that the sampling signal is within a reference voltage threshold range, and the abnormal state being used to indicate that the sampling signal is not within the reference voltage threshold range, the reference voltage threshold range being one of N determination threshold ranges, and the N determination threshold ranges corresponding one-to-one to the N ADC sampling channels;
[0024] A control strategy selection unit is used to select a control strategy for the power IC to be tested according to the output state, wherein the control strategy includes an enable strategy and a disable strategy, the power IC to be tested is one of N power ICs, the N power ICs correspond one-to-one to the N ADC sampling channels, and the N power ICs are used to send the N sampling signals one-to-one.
[0025] The DSP multi-channel power supply voltage control system according to an embodiment of the present invention has at least the following technical effects: a sampling signal acquired by a to-be-tested ADC channel can be acquired by a sampling signal acquisition unit, and an output state determination unit can determine whether the sampling signal is within a reference voltage threshold range, thereby determining the output state of the sampling signal. If it is within the reference voltage threshold range, it is a normal state; if it is not within the reference voltage threshold range, it is an abnormal state. The reference voltage threshold range is the judgment threshold range corresponding to the to-be-tested ADC channel. After the determination is completed, a control strategy selection unit selects a control strategy for the to-be-tested power supply IC based on the output state of the sampling signal. The to-be-tested power supply IC is the power supply IC corresponding to the next to-be-tested ADC channel, thereby enabling independent monitoring and control of N power supply ICs. This solves the problem of being unable to determine the fault point of a power supply module, resulting in low repair efficiency, low safety, and easy damage to the DSP.
[0026] A DSP multi-channel power supply voltage control device according to an embodiment of the third aspect of the present invention includes:
[0027] DSP;
[0028] A power module, including N power ICs;
[0029] A main control module includes N ADC sampling channels set according to the power-on timing of the DSP, the main control module is used to obtain a sampling signal collected by an ADC channel to be tested, wherein the ADC channel to be tested is one of the N ADC sampling channels; 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, and the abnormal state is used to indicate that 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 correspond one-to-one to the N ADC sampling channels; select a control strategy for the power supply IC to be tested according to the output state, wherein the control strategy includes an enable strategy and a disable strategy, the power supply IC to be tested is one of the N power supply ICs, the N power supply ICs correspond one-to-one to 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.
[0030] The DSP multi-channel power supply voltage control device according to an embodiment of the present invention has at least the following technical effects: N power supply ICs of the power module can transmit N sampling signals to the DSP for power-on, and N ADC sampling channels configured on the main control module according to the DSP power-on sequence can respectively collect the N sampling signals. The main control module can obtain the sampling signals collected by the ADC channel to be tested and determine the output state of the sampling signals. If the sampling signals are within a reference voltage threshold range, the output state is normal; if they are not within the reference voltage threshold range, the output state is abnormal. The reference voltage threshold range corresponds to the judgment threshold range corresponding to the ADC channel to be tested. After the determination is completed, the main control module can select a control strategy for the power supply IC to be tested based on the output state of the sampling signals. The power supply IC to be tested is the power supply IC corresponding to the next ADC channel to be tested, thereby enabling independent monitoring and control of the N power supply ICs. This solves the problem of being unable to determine the fault point of the power supply module, resulting in low repair efficiency, low safety, and easy damage to the DSP.
[0031] According to some embodiments of the present invention, a human-machine interface module connected to the main control module is further included, and the human-machine interface module includes:
[0032] A display unit, configured to display the voltage value of the sampling signal;
[0033] a button unit connected to the display unit, and configured to obtain adjustment data to update the N judgment threshold ranges according to the adjustment data; the adjustment data including the N adjustment threshold ranges;
[0034] Interface unit, used to connect to the host computer.
[0035] Additional aspects and advantages of the present invention will be set forth in part in the description which follows and, in part, will be obvious from the description which follows, or may be learned by practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The above or additional aspects and advantages of the present invention will become apparent and readily understood from the description of the embodiments with reference to the following drawings, in which:
[0037] Figure 1 is a flow chart of a DSP multi-channel power supply voltage control method according to an embodiment of the present invention;
[0038] Figure 2 is a partial electrical schematic diagram of a main control module according to an embodiment of the present invention;
[0039] Figure 3 is an electrical schematic diagram of a main control module according to an embodiment of the present invention;
[0040] Figure 4 is an electrical schematic diagram of a display unit according to an embodiment of the present invention;
[0041] Figure 5 is an electrical schematic diagram of a key unit according to an embodiment of the present invention;
[0042] Figure 6 is an electrical schematic diagram of an interface unit according to an embodiment of the present invention;
[0043] Figure 7 FIG. 4 is an electrical schematic diagram of an interface unit according to another embodiment of the present invention. DETAILED DESCRIPTION
[0044] The following describes embodiments of the present invention in detail. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended only to explain the present invention and are not to be construed as limiting the present invention.
[0045] In the description of the present invention, it should be understood that descriptions of directions, such as up, down, front, back, left, and right, are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific direction, be constructed and operate in a specific direction. Therefore, it should not be understood as a limitation on the present invention.
[0046] In the description of the present invention, "several" means one or more, "many" means more than two, "greater than," "less than," and "exceed" are understood to exclude the number itself, while "above," "below," and "within" are understood to include the number itself. The use of "first" and "second" in the description is solely for the purpose of distinguishing technical features and should not be construed as indicating or implying relative importance, implicitly specifying the number of the indicated technical features, or implicitly specifying the order of the indicated technical features.
[0047] In the description of the present invention, unless otherwise clearly defined, terms such as setting, installing, and connecting should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in the present invention based on the specific content of the technical solution.
[0048] Reference below Figures 1 to 7 A DSP multi-channel power supply voltage control method according to an embodiment of the first aspect of the present invention is described.
[0049] The DSP multi-channel power supply voltage control method according to an embodiment of the present invention includes the following steps:
[0050] 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 a power-on timing of the DSP;
[0051] Determine an output state of the sampling signal, where 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, and the abnormal state is used to indicate that 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 correspond one-to-one to the N ADC sampling channels.
[0052] A control strategy for the power IC under test is selected according to the output state, wherein the control strategy includes an enabling strategy and a disabling strategy. The power IC under test is one of N power ICs. The N power ICs correspond one-to-one to N ADC sampling channels. The N power ICs are used to send N sampling signals in a one-to-one correspondence.
[0053] To better describe the DSP multi-channel power supply voltage control method according to an embodiment of the present invention, a brief description of the DSP multi-channel power supply voltage control device according to an embodiment of the present invention is first provided. The DSP multi-channel power supply voltage control device according to an embodiment of the present invention includes a DSP, a power module, and a main control module. The power module includes N power supply ICs, each of which is configured to send a sampling signal to power the DSP and has an enable control terminal. The main control module has N ADC sampling channels configured according to the DSP power-up sequence. The N ADC sampling channels correspond one-to-one to the N power ICs, and each ADC sampling channel is configured to collect the sampling signal sent by the corresponding power IC.
[0054] After enabling the power supply IC corresponding to the DSP's power-up sequence, the power supply IC sends a sampling signal, which is collected via the ADC channel to be tested. After collection is complete, the voltage value of the sampling signal is determined to be within the reference voltage threshold range corresponding to the ADC channel to be tested. If so, the output state of the sampling signal is considered normal. After the output state of the sampling signal is confirmed to be normal, the power supply IC to be tested is enabled. The ADC channel to be tested is the ADC sampling channel corresponding to the current power supply voltage in the power-up sequence, and the power supply IC to be tested is the power supply IC corresponding to the next power supply voltage in the power-up sequence. If the voltage value of the sampling signal is not within the reference voltage threshold range, the output state of the sampling signal is considered abnormal. After the output state of the sampling signal is confirmed to be abnormal, the power supply IC to be tested is disabled, the power supply module stops supplying power to the DSP, and a fault is checked. This achieves independent monitoring and control of N power supply ICs, improving safety. It should be noted that each judgment threshold range is used to represent the fluctuation range of the DSP's supply voltage.
[0055] To more clearly describe the DSP multi-supply voltage control method according to an embodiment of the present invention, a detailed description is given below for the case where N is 2, the voltage values of the two DSP power supply voltages are 3.3V and 1.8V, and the power-on sequence is 3.3V and 1.8V. However, the specific value of N and the voltage value of the sampling signal are not to be construed as limitations of the present invention, and the power-on sequence of the DSP is generally determined by the DSP itself.
[0056] refer to Figure 2 and Figure 3 In some embodiments, after power supply ICU6 is enabled, power supply ICU6 sends a sampling signal and collects the sampling signal through the ADC channel ADCINA0 to be tested. After the collection is complete, it is determined whether the voltage value of the sampling signal is within the reference voltage threshold range (i.e., approximately 3.3V) corresponding to the ADC channel ADCINA0 to be tested. If it is within the reference voltage threshold range, the output state of the sampling signal is normal. After the output state of the sampling signal is confirmed to be normal, power supply ICU7 to be tested is enabled, and power supply ICU7 to be tested sends a sampling signal and collects the sampling signal through the ADC channel ADCINA1 to be tested. After the collection is complete, it is determined whether the voltage value of the sampling signal is within the reference voltage threshold range (i.e., approximately 1.8V) corresponding to the ADC channel ADCINA1 to be tested. If it is within the reference voltage threshold range, the output state of the sampling signal is normal, and the power-on process ends. If the voltage value of any sampling signal is not within the corresponding reference voltage threshold range, that is, if the output state of the sampling signal is confirmed to be abnormal, the power supply module stops supplying power to the DSP and checks for faults.
[0057] According to an embodiment of the present invention, a multi-channel DSP power supply voltage control method obtains a sampled signal collected by a test ADC channel. By determining whether the sampled signal is within a reference voltage threshold range, the output state of the sampled signal can be determined. If it is within the reference voltage threshold range, it is a normal state; if it is not within the reference voltage threshold range, it is an abnormal state. The reference voltage threshold range is the judgment threshold range corresponding to the test ADC channel. After the determination is completed, a control strategy for the test power IC is selected based on the output state of the sampled signal. The test power IC is the power IC corresponding to the next ADC channel to be tested. This allows independent monitoring and control of N power ICs, resolving the problem of being unable to determine the fault point of the power module, resulting in low repair efficiency, low safety, and easy damage to the DSP.
[0058] In some embodiments of the present invention, reference Figure 2 , determining the output state of the sampling signal, including the following steps:
[0059] If the sampling signal is within the reference voltage threshold range, the output state of the sampling signal is confirmed to be a normal state;
[0060] If the sampling signal is not within the reference voltage threshold range, the output state of the sampling signal is determined to be an abnormal state.
[0061] N ADC sampling channels correspond one-to-one to N judgment threshold ranges. The ADC channel to be tested 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 tested. After the ADC channel to be tested acquires the sampling signal, it determines whether the voltage value of the sampling signal is within the reference voltage threshold range. If it is within the reference voltage threshold range, the output state of the sampling signal is confirmed as normal, which can be used to subsequently enable the power supply IC to be tested based on the output state. If the voltage value of the sampling signal is not within the reference voltage threshold range, the output state of the sampling signal is confirmed as abnormal, which can be used to subsequently disable the power supply IC to be tested based on the output state and stop the power supply module from supplying power to the DSP, thereby achieving independent monitoring and control of the power supply IC.
[0062] In some embodiments of the present invention, reference Figure 2 and Figure 3 , select the control strategy for the power supply IC to be tested according to the output state, including the following steps:
[0063] If the output state of the sampling signal is confirmed to be normal, an enabling strategy is selected to enable the power IC under test;
[0064] If the output state of the sampling signal is confirmed to be an abnormal state, a disabling strategy is selected to stop enabling the power supply IC under test.
[0065] After the ADC channel under test acquires the sampled signal, it determines whether the voltage value of the sampled signal is within the reference voltage threshold range. If so, the output state of the sampled signal is confirmed to be normal, and an enable strategy is selected to enable the power IC under test. If the voltage value of the sampled signal is not within the reference voltage threshold range, the output state of the sampled signal is confirmed to be abnormal, and a disable strategy is selected to disable the power IC under test and stop the power module from supplying power to the DSP, thereby achieving independent monitoring and control of the power IC.
[0066] In some embodiments of the present invention, reference Figure 2 and Figure 3 Before acquiring the sampling signal for the first time, enable the corresponding power IC. Before acquiring the sampling signal for the first time, that is, when the power module is in the initial state, directly enable the power IC corresponding to the first supply voltage in the DSP power-up sequence, so that it sends the sampling signal to determine the output state of the sampling signal. Based on the output state, the control strategy for the power IC under test is selected.
[0067] In some embodiments of the present invention, reference Figure 4 After acquiring the sampled signal from the ADC channel to be tested, the DSP multi-channel power supply voltage control method further includes the following step: displaying the voltage value of the sampled signal. After the ADC channel to be tested acquires the sampled signal, the sampled signal is displayed on a display unit to visualize the voltage value of the sampled signal from the ADC channel to be tested, enabling intuitive monitoring of the data output by the power supply IC. It should be noted that while the display unit employs an LCD display, it may also employ other devices such as an OLED display, and this is not to be construed as limiting the present invention.
[0068] In some embodiments of the present invention, reference Figure 5 , further comprising the following steps:
[0069] Acquire adjustment data, the adjustment data including N adjustment threshold ranges;
[0070] Update the N judgment threshold ranges according to the adjustment data.
[0071] If the power-on timing of the DSP changes, or a different model of DSP is replaced, N judgment threshold ranges need to be updated to adapt to the new power-on timing. The adjustment data can be obtained by operating the LCD display screen through the key unit, or by operating the main control module through the host computer to obtain adjustment data to update the N judgment threshold ranges to achieve the purpose of adjustable judgment threshold ranges. The specific method of obtaining adjustment data cannot be regarded as a limitation of the present invention.
[0072] Reference below Figures 1 to 7 A DSP multi-channel power supply voltage control system according to an embodiment of the second aspect of the present invention is described.
[0073] According to an embodiment of the present invention, a DSP multi-channel power supply voltage control system includes a sampling signal acquisition unit, an output state determination unit, and a control strategy selection unit. The sampling signal acquisition unit is configured to acquire a sampling signal collected by an ADC channel to be tested, wherein the ADC channel to be tested is one of N ADC sampling channels, and the N ADC sampling channels are set according to the power-on timing of the DSP; the output state determination unit is configured to determine the output state of the sampling signal, wherein the output state includes a normal state and an abnormal state, wherein the normal state indicates that the sampling signal is within a reference voltage threshold range, and the abnormal state indicates 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, and the N judgment threshold ranges correspond one-to-one to the N ADC sampling channels; and the control strategy selection unit is configured to select a control strategy for the power supply IC to be tested based on the output state, wherein the control strategy includes an enable strategy and a disable strategy, the power supply IC to be tested is one of N power supply ICs, and the N power supply ICs correspond one-to-one to the N ADC sampling channels, and the N power supply ICs are configured to send N sampling signals in a one-to-one correspondence.
[0074] To better describe the DSP multi-channel power supply voltage control system according to an embodiment of the present invention, a brief description of the DSP multi-channel power supply voltage control device according to an embodiment of the present invention is first provided. The DSP multi-channel power supply voltage control device according to an embodiment of the present invention includes a DSP, a power module, and a main control module. The power module includes N power supply ICs, each of which is used to send a sampling signal to power the DSP, and each power IC has an enable control terminal. The main control module has N ADC sampling channels configured according to the DSP power-on timing. The N ADC sampling channels correspond one-to-one with the N power ICs, and each ADC sampling channel is used to collect the sampling signal sent by the corresponding power IC. The sampling signal acquisition unit, output state determination unit, and control strategy selection unit in the DSP multi-channel power supply voltage control system according to an embodiment of the present invention are all located in the main control module.
[0075] In the initial state of the power module, the control strategy selection unit directly enables the power IC corresponding to the DSP's power-up sequence. After the power IC sends a sampling signal, the sampling signal acquisition unit acquires the sampling signal collected by the ADC channel to be tested. After acquisition is complete, the output state determination unit determines whether the voltage value of the sampling signal is within the reference voltage threshold range corresponding to the ADC channel to be tested. If it is within the reference voltage threshold range, the output state of the sampling signal is normal. After the output state of the sampling signal is confirmed to be normal, the control strategy selection unit controls the enabling of the power IC to be tested. The ADC channel to be tested is the ADC sampling channel corresponding to the current supply voltage in the power-up sequence, and the power IC to be tested is the power IC corresponding to the next supply voltage in the power-up sequence. If the voltage value of the sampling signal is not within the reference voltage threshold range, the output state of the sampling signal is abnormal. After the output state of the sampling signal is confirmed to be abnormal, the power IC to be tested is disabled, the power module stops supplying power to the DSP, and a fault is checked. This achieves independent monitoring and control of N power ICs, improving safety. It should be noted that each judgment threshold range is used to represent the fluctuation range of the DSP's supply voltage.
[0076] According to an embodiment of the present invention, a DSP multi-channel power supply voltage control system uses a sampling signal acquisition unit to acquire a sampling signal collected by an ADC channel to be tested. The output state determination unit determines whether the sampling signal is within a reference voltage threshold range, thereby determining the output state of the sampling signal. If it is within the reference voltage threshold range, it is considered normal; if it is not, it is considered abnormal. The reference voltage threshold range corresponds to the judgment threshold range corresponding to the ADC channel to be tested. After this determination is completed, a control strategy selection unit selects a control strategy for the power supply IC to be tested based on the output state of the sampling signal. The power supply IC to be tested is the power supply IC corresponding to the next ADC channel to be tested. This allows for independent monitoring and control of N power supply ICs, resolving the issues of being unable to identify the fault point of a power supply module, resulting in low repair efficiency, low safety, and potential damage to the DSP.
[0077] Reference below Figures 1 to 7 A DSP multi-channel power supply voltage control device according to an embodiment of the third aspect of the present invention is described.
[0078] According to an embodiment of the present invention, a DSP multi-channel power supply voltage control device includes a DSP, a power module, and a main control module. The power module includes N power ICs; the main control module has N ADC sampling channels set according to the power-on timing of the DSP, and is used to obtain a sampling signal collected by an ADC channel to be tested, wherein the ADC channel to be tested is 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, wherein the normal state indicates that the sampling signal is within a reference voltage threshold range, and the abnormal state indicates that the sampling signal is not within the reference voltage threshold range, wherein the reference voltage threshold range is one of N judgment threshold ranges, and the N judgment threshold ranges correspond one-to-one to the N ADC sampling channels; and select a control strategy for the power IC to be tested based on the output state, wherein the control strategy includes an enable strategy and a disable strategy, the power IC to be tested is one of the N power ICs, the N power ICs correspond one-to-one to the N ADC sampling channels, and the N power ICs are used to send N sampling signals in a one-to-one correspondence.
[0079] The power supply module includes N power supply ICs, each of which is used to send sampling signals to power the DSP, and each power supply IC has an enable control terminal EN and a voltage output terminal Vout1 / Vout2. After the main control module enables the enable control terminal EN, the power supply IC outputs the sampling signal through the voltage output terminal 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, and the voltage output terminal Vout2 can be put into use according to actual needs, and the number of voltage output terminals of different models of power supply ICs is different. In some embodiments of the present invention, the models of the N power supply ICs are all TPS70302, but the model of the power supply IC 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 only the N required ones need to be selected. In addition, in the preparation stage, when selecting N power supply ICs, the voltage value output by the voltage output terminal Vout1 / Vout2 of each power supply IC is calculated based on the feedback circuit of the power supply IC, so as to select N power supply ICs corresponding to the power-on timing of the DSP, wherein the feedback circuit is as follows: Figure 3 The circuit consists of the voltage output terminal Vout1 of the power supply IC, the resistor R17, and VSense1.
[0080] The main control module includes a main control chip U1, digital circuits, analog circuits, 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 main control chip U1 has N ADC sampling channels configured according to the DSP's power-on timing. These N ADC sampling channels correspond one-to-one to N power ICs. Each ADC sampling channel is used to collect sampling signals sent by the corresponding power IC. The main control chip U1 controls the enable control terminal of the power module via its IO terminal. It should be noted that the actual number of ADC channels in the main control module is greater than N. In some embodiments of the present invention, only N ADC channels need to be selected as ADC sampling channels. The circuit for connecting to a host computer can be connected to the host computer to program the main control chip U1, thereby controlling the digital circuits and monitoring the analog circuits. Adjustment data can be obtained through the connection to the host computer circuit to update the N judgment threshold ranges. It should be noted that the specific circuit structure of the main control module should not be considered a limitation of the present invention. In addition, the working principles of the digital circuit, analog circuit, external passive crystal oscillator, reset circuit, power supply circuit, filter circuit, decoupling circuit and connection circuit to the host computer are existing technologies known to those skilled in the art and will not be elaborated here.
[0081] In some embodiments, as Figure 2 and Figure 3 As shown, N is 2, 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, and the ADC channel ADCINA0 to be detected of the main control chip U1 collects the sampling signal and determines whether the sampling signal is within the reference voltage threshold range (i.e., around 3.3V) corresponding to the ADC channel ADCINA0 to be detected. If it is within the reference voltage threshold range, the output state of the sampling signal is normal. After the output state of the sampling signal is confirmed to be normal, the enable control port EN of the power supply ICU7 to be tested is enabled, so that the power supply ICU7 outputs the sampling signal through the voltage output terminal Vout1, and the ADC channel ADCINA1 to be detected of the main control chip U1 collects the sampling signal and determines whether the sampling signal is within the reference voltage threshold range (i.e., around 1.8V) corresponding to the ADC channel ADCINA1 to be detected. If it is within the reference voltage threshold range, the output state of the sampling signal is normal, and the power-on is ended. If the voltage value of any sampling signal is outside the corresponding reference voltage threshold range, the output state of the sampling signal is considered abnormal. Once the sampling signal output state is confirmed to be abnormal, the power module stops supplying power to the DSP and checks for faults. This enables independent monitoring and control of N power ICs, improving safety. It should be noted that each judgment threshold range is used to characterize the fluctuation range of the DSP's supply voltage. Furthermore, the value of N is determined based on actual conditions and should not be considered a limitation of the present invention.
[0082] According to an embodiment of the present invention, a DSP multi-channel power supply voltage control device can transmit N sampling signals to the DSP for power-up through the N power supply ICs of the power module. The N ADC sampling channels configured on the main control module according to the DSP power-up timing can respectively collect the N sampling signals. The main control module can obtain the sampling signals collected by the ADC channel to be tested and determine the output state of the sampling signals. If the sampling signals are within a reference voltage threshold range, the output state is normal; if they are not within the reference voltage threshold range, the output state is abnormal. The reference voltage threshold range corresponds to the judgment threshold range corresponding to the ADC channel to be tested. After this determination is completed, the main control module can select a control strategy for the power supply IC to be tested based on the output state of the sampling signals. The power supply IC to be tested is the power supply IC corresponding to the next ADC channel to be tested. This allows for independent monitoring and control of the N power supply ICs, resolving the issues of being unable to determine the fault point of the power supply module, resulting in low repair efficiency, low safety, and potential damage to the DSP.
[0083] In some embodiments of the present invention, reference Figures 4 to 7 , also includes a human-machine interface module connected to the main control module, the human-machine interface module includes:
[0084] A display unit, used for displaying the voltage value of the sampling signal;
[0085] A button unit connected to the display unit, used to obtain adjustment data to update N judgment threshold ranges according to the adjustment data; the adjustment data includes N adjustment threshold ranges;
[0086] Interface unit, used to connect to the host computer.
[0087] like Figure 4 As shown, after the ADC channel to be tested acquires a sampled signal, the sampled signal is transmitted to a display unit. This allows visualization of the voltage value of the sampled signal acquired by the ADC channel to be tested, enabling intuitive monitoring of the data output by the power IC. The display unit utilizes an LCD display, model LCD12864. It should be noted that the display unit may also utilize other devices such as an OLED display, and this is not to be construed as limiting the present invention.
[0088] like Figure 5 As shown, if the power-on timing of the DSP changes, or a different model of DSP is replaced, N judgment threshold ranges need to be updated to adapt to the new power-on timing. The adjustment data can be obtained by operating the LCD display through the key unit, or by operating the main control module through the interface unit connected to the host computer to obtain adjustment data to update the N judgment threshold ranges, thereby achieving the purpose of adjustable judgment threshold ranges.
[0089] The interface unit can use SCI serial port module (such as Figure 6 As shown) and CAN module (as Figure 7 The specific module type used cannot be regarded as a limitation of the present invention.
[0090] Throughout this specification, reference to terms such as "one embodiment," "some embodiments," "illustrative embodiments," "examples," "specific examples," or "some examples" means that a specific feature, structure, material, or characteristic described in conjunction with that embodiment or example is included in at least one embodiment or example of the present invention. In this specification, illustrative uses of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
[0091] Although the embodiments of the present invention have been described in detail above in conjunction with the accompanying drawings, the present invention is not limited to the above embodiments. Those skilled in the art will understand that various changes, modifications, substitutions and variations may be made to these embodiments without departing from the principles and purpose of the present invention. The scope of the present invention is defined by the claims and their equivalents.
Claims
1. A DSP multi-channel power supply voltage control method, characterized in that: The following steps are involved: 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 in sequence according to a power-on timing sequence of the DSP; determining 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, and the abnormal state is used to indicate that the sampling signal is not within the reference voltage threshold range, the reference voltage threshold range is one of N determination threshold ranges, and the N determination threshold ranges correspond one-to-one to the N ADC sampling channels; A control strategy for the power 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 IC to be tested is one of N power ICs, and the power IC to be tested is the power IC corresponding to the next ADC channel to be detected. The N power ICs correspond one-to-one to the N ADC sampling channels, and the N power ICs are used to send the N sampling signals in a one-to-one correspondence.
2. The DSP multi-channel power supply voltage control method according to claim 1, characterized in that: Determining the output state of the sampling signal comprises 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 determined to be the abnormal state.
3. The DSP multi-channel power supply voltage control method according to claim 2, characterized in that: The control strategy for the power supply IC to be tested is selected according to the output state, comprising the following steps: If the output state of the sampling signal is confirmed to be the normal state, selecting the enabling strategy to enable the power IC to be tested; 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 IC under test.
4. The DSP multi-channel power supply voltage control method according to claim 1, characterized in that: Before acquiring the sampling signal for the first time, the corresponding power IC is enabled.
5. The DSP multi-channel power supply voltage control method according to claim 1, characterized in that: After obtaining 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.
6. The DSP multi-channel power supply voltage control method according to claim 1, characterized in that: The following steps are also included: Acquire adjustment data, where the adjustment data includes N adjustment threshold ranges; The N judgment threshold ranges are updated according to the adjustment data.
7. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the DSP multi-channel power supply voltage control method according to any one of claims 1 to 6.
8. A DSP multi-channel power supply voltage control system, characterized in that: include: A sampling signal acquisition unit is used 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 timing sequence of the DSP; an output state determining 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 being used to indicate that the sampling signal is within a reference voltage threshold range, and the abnormal state being used to indicate that the sampling signal is not within the reference voltage threshold range, the reference voltage threshold range being one of N determination threshold ranges, and the N determination threshold ranges corresponding one-to-one to the N ADC sampling channels; A control strategy selection unit is configured to select a control strategy for the power IC to be tested according to the output state, wherein the control strategy includes an enable strategy and a disable strategy, the power IC to be tested is one of N power ICs, the power IC to be tested is the power IC corresponding to the next ADC channel to be detected, the N power ICs correspond one-to-one to the N ADC sampling channels, and the N power ICs are configured to send the N sampling signals one-to-one.
9. A DSP multi-channel power supply voltage control device, characterized in that: include: DSP; A power module, including N power ICs; A main control module includes N ADC sampling channels arranged in sequence according to the power-on timing of the DSP, the main control module being configured to obtain a sampling signal collected by an ADC channel to be detected, wherein the ADC channel to be detected is one of the N ADC sampling channels; determining an output state of the sampling signal, wherein the output state includes a normal state and an abnormal state, the normal state being used to indicate that the sampling signal is within a reference voltage threshold range, and the abnormal state being used to indicate that the sampling signal is not within the reference voltage threshold range, the reference voltage threshold range being one of N judgment threshold ranges, the N judgment threshold ranges corresponding one-to-one to the N ADC sampling channels; and selecting a control strategy for a power supply IC to be tested based on the output state, wherein the control strategy includes an enabling strategy and a disabling strategy, the power supply IC to be tested being one of the N power supply ICs, the power supply IC to be tested being the power supply IC corresponding to the next ADC channel to be detected, the N power supply ICs corresponding one-to-one to the N ADC sampling channels, and the N power supply ICs being configured to send the N sampling signals in a one-to-one correspondence.
10. The DSP multi-channel power supply voltage control device according to claim 9, characterized in that: It also includes a human-machine interface module connected to the main control module, and the human-machine interface module includes: a display unit, configured to display the voltage value of the sampling signal; a button unit connected to the display unit, and configured to obtain adjustment data to update the N judgment threshold ranges according to the adjustment data; the adjustment data including the N adjustment threshold ranges; Interface unit, used to connect to the host computer.
Citation Information
Patent Citations
Multi-mode and multi-channel power supply real-time monitoring system and method
CN104932380A