CN114624506A - Signal processing method, signal processing device, controller, equipment and readable storage medium - Google Patents

Signal processing method, signal processing device, controller, equipment and readable storage medium Download PDF

Info

Publication number
CN114624506A
CN114624506A CN202210516751.3A CN202210516751A CN114624506A CN 114624506 A CN114624506 A CN 114624506A CN 202210516751 A CN202210516751 A CN 202210516751A CN 114624506 A CN114624506 A CN 114624506A
Authority
CN
China
Prior art keywords
signal
scaler
measured
target
controller
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.)
Pending
Application number
CN202210516751.3A
Other languages
Chinese (zh)
Inventor
范里政
刘付东
陈才
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Phytium Technology Co Ltd
Original Assignee
Phytium Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Phytium Technology Co Ltd filed Critical Phytium Technology Co Ltd
Priority to CN202210516751.3A priority Critical patent/CN114624506A/en
Publication of CN114624506A publication Critical patent/CN114624506A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/25Arrangements for measuring currents or voltages or for indicating presence or sign thereof using digital measurement techniques
    • G01R19/2503Arrangements for measuring currents or voltages or for indicating presence or sign thereof using digital measurement techniques for measuring voltage only, e.g. digital volt meters (DVM's)
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/25Arrangements for measuring currents or voltages or for indicating presence or sign thereof using digital measurement techniques
    • G01R19/2506Arrangements for conditioning or analysing measured signals, e.g. for indicating peak values ; Details concerning sampling, digitizing or waveform capturing

Abstract

The application provides a signal processing method, a device, a controller, equipment and a readable storage medium, wherein the method comprises the following steps: acquiring a signal to be detected to be input into a controller; scaling the signal to be measured through a preset signal scaler so that the obtained scaled target signal is within the signal measurement range of the controller; and transmitting the target signal to the controller through the signal scaler. The application expands the measuring range of the BMC controller to the input signal and improves the applicability of the BMC controller.

Description

Signal processing method, signal processing device, controller, equipment and readable storage medium
Technical Field
The present application relates to the field of signal processing technologies, and in particular, to a signal processing method, apparatus, controller, device, and readable storage medium.
Background
BMC (Baseboard Management Controller) is generally used to provide status monitoring Management for a motherboard of a server. The BMC generally has an ADC (Analog-to-Digital Converter) conversion module therein for monitoring the stability of the key voltage in the motherboard.
Under different environments, the voltage state in the motherboard can be different, for example, when the motherboard is placed in a mobile base station, the voltage of the system is-48V, and when the motherboard is placed in a common data center, the main power supply voltage of the motherboard is 12V. In addition, there are also critical point voltages of the CPU such as: core electricity 0.8V, memory electricity 1.2V/1.1V, subsystem electricity 3.3V, etc. all need the ADC module of BMC to monitor.
However, the voltage range monitored by the ADC module of the conventional BMC is generally in the range of 0-1.8V, which cannot cover the high voltage of 48V. Therefore, accurate voltage monitoring cannot be provided for the motherboard voltage.
Disclosure of Invention
An object of the embodiments of the present application is to provide a signal processing method, a signal processing apparatus, a controller, a device, and a readable storage medium, which enable expansion of a measurement range of an input signal by the controller.
A first aspect of an embodiment of the present application provides a signal processing method, including: acquiring a signal to be detected to be input into a controller; scaling the signal to be measured through a preset signal scaler so that the obtained scaled target signal is within the signal measurement range of the controller; and transmitting the target signal to the controller through the signal scaler.
In an embodiment, the scaling the signal to be measured by using a preset signal scaler to make the obtained scaled target signal within the signal measurement range of the controller includes: judging whether the signal to be measured is in a signal measurement range of the controller; when the signal to be measured is not in the signal measurement range, adjusting a signal scaling coefficient of the signal scaler according to the signal to be measured and the signal measurement range to obtain an adjusted target scaler; and accessing the signal to be measured into the target scaler, and converting the signal to be measured into the target signal in the signal measurement range through the target scaler.
In an embodiment, the preset signal scaler is configured with a signal scaling coefficient corresponding to the signal to be measured, and is configured to convert the signal to be measured that is accessed to the signal scaler into the target signal within the signal measurement range.
In an embodiment, the scaling the signal to be measured by using a preset signal scaler to make the obtained scaled target signal within the signal measurement range of the controller includes: when the signal to be measured is larger than the upper limit value of the signal measurement range, the signal to be measured is subjected to reduction processing through the signal scaler according to a corresponding scaling coefficient, so that the obtained target signal is in the signal measurement range; and when the signal to be measured is smaller than the lower limit value of the signal measurement range, amplifying the signal to be measured through the signal scaler according to the corresponding scaling coefficient so as to enable the obtained target signal to be in the signal measurement range.
In an embodiment, after the transmitting the target signal to the controller by the signal scaler, the method further includes: searching a signal scaling coefficient corresponding to the signal scaler in a database; and restoring an original signal corresponding to the target signal according to the target signal and the scaling coefficient.
In an embodiment, after the restoring the original signal corresponding to the target signal according to the target signal and the scaling factor, the method further includes: and recording the information of the change of the original signal along with the time, and giving an alarm when the original signal is not within the safety threshold range.
A second aspect of the embodiments of the present application provides a signal processing apparatus, including: the acquisition module is used for acquiring a signal to be detected to be input into the controller; the scaling module is used for scaling the signal to be measured through a preset signal scaler so that the obtained scaled target signal is within the signal measurement range of the controller; and the transmission module is used for transmitting the target signal to the controller through the signal scaler.
In one embodiment, the scaling module is configured to: judging whether the signal to be measured is in a signal measurement range of the controller; when the signal to be measured is not in the signal measurement range, adjusting a signal scaling coefficient of the signal scaler according to the signal to be measured and the signal measurement range to obtain an adjusted target scaler; and accessing the signal to be measured into the target scaler, and converting the signal to be measured into the target signal in the signal measurement range through the target scaler.
In an embodiment, the preset signal scaler is configured with a signal scaling coefficient corresponding to the signal to be measured, and is configured to convert the signal to be measured that is accessed to the signal scaler into the target signal within the signal measurement range.
In one embodiment, the scaling module is configured to: when the signal to be measured is larger than the upper limit value of the signal measurement range, the signal to be measured is subjected to reduction processing through the signal scaler according to a corresponding scaling coefficient, so that the obtained target signal is in the signal measurement range; and when the signal to be measured is smaller than the lower limit value of the signal measurement range, amplifying the signal to be measured through the signal scaler according to the corresponding scaling coefficient so as to enable the obtained target signal to be in the signal measurement range.
In one embodiment, the method further comprises: the searching module is used for searching a signal scaling coefficient corresponding to the signal scaler in a database after the target signal is transmitted to the controller through the signal scaler; and the recovery module is used for recovering the original signal corresponding to the target signal according to the target signal and the scaling coefficient.
In one embodiment, the method further comprises: and the alarm module is used for recording the information of the original signal changing along with time after the original signal corresponding to the target signal is recovered according to the target signal and the scaling coefficient, and giving an alarm when the original signal is not in a safety threshold range.
A third aspect of the embodiments of the present application provides a baseboard management controller, including: a main controller; the input end of the signal scaler is connected with a signal to be measured, and the output end of the signal scaler is connected with the main controller and used for scaling the signal to be measured so as to enable the obtained scaled target signal to be within the signal measurement range of the controller.
In one embodiment, the signal scaler includes: the attenuation circuit comprises a first operational amplifier, a first feedback resistor, a first resistor and a second resistor; one end of the first feedback resistor is connected with the output end of the first operational amplifier, the other end of the first feedback resistor is connected with the inverting input end of the first operational amplifier, and the output end of the first operational amplifier is connected with the main controller; one end of the first resistor is connected with the positive phase input end of the first operational amplifier, and the other end of the first resistor is connected with the signal to be detected; one end of the second resistor is connected with the positive phase input end of the first operational amplifier, and the other end of the second resistor is grounded; and the attenuation circuit is used for processing the signal to be measured according to a preset attenuation coefficient to obtain the target signal when the signal to be measured is larger than the upper limit value of the signal measurement range.
In one embodiment, the signal scaler includes: the amplifying circuit comprises a second operational amplifier, a second feedback resistor, a third resistor and a fourth resistor; one end of the second feedback resistor is connected with the output end of the second operational amplifier, the other end of the second feedback resistor is connected with the inverting input end of the second operational amplifier, and the output end of the second operational amplifier is connected with the main controller; one end of the third resistor is connected with the inverting input end of the second operational amplifier, and the other end of the third resistor is grounded; one end of the fourth resistor is connected with the positive phase input end of the second operational amplifier, and the other end of the fourth resistor is connected with the signal to be detected; and the amplifying circuit is used for processing the signal to be measured according to a preset amplification factor to obtain the target signal when the signal to be measured is smaller than the lower limit value of the signal measurement range.
A fourth aspect of the embodiments of the present application provides an electronic device, including: a memory to store a computer program; a processor configured to execute the computer program to implement the method of the first aspect and any embodiment of the present application.
A fifth aspect of embodiments of the present application provides a non-transitory electronic device-readable storage medium, including: a program which, when run by an electronic device, causes the electronic device to perform the method of the first aspect of an embodiment of the present application and any embodiment thereof.
According to the signal processing method, the signal processing device, the controller, the equipment and the readable storage medium, for the signal to be detected to be input into the controller, the preset signal scaler is added to scale the signal to be detected, so that the scaled target signal is within the measurement range of the controller, and then the target signal is transmitted to the controller, the measurement range of the controller for the input signal is expanded, and the applicability of the controller is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a schematic diagram of an electronic device according to an embodiment of the present application;
fig. 2A is a schematic diagram of a bmc according to an embodiment of the present application;
fig. 2B is a schematic circuit diagram of a signal scaler according to an embodiment of the present application;
fig. 2C is a schematic diagram illustrating a connection between a main controller BMC and a motherboard according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a signal processing method according to an embodiment of the present application;
fig. 4 is a schematic flowchart of a signal processing method according to an embodiment of the present application;
fig. 5 is a schematic diagram of a signal processing apparatus according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. In the description of the present application, the terms "first," "second," and the like are used solely to distinguish one from another and are not to be construed as indicating or implying relative importance.
As shown in fig. 1, the present embodiment provides an electronic apparatus 1 including: at least one processor 11 and a memory 12, one processor being exemplified in fig. 1. The processor 11 and the memory 12 are connected by a bus 10. The memory 12 stores instructions executable by the processor 11, and the instructions are executed by the processor 11, so that the electronic device 1 can execute all or part of the flow of the method in the following embodiments, so as to expand the measurement range of the controller for the input signal and improve the applicability of the controller.
In an embodiment, the electronic device 1 may be a mobile phone, a tablet computer, a notebook computer, a desktop computer, or a large computing system composed of multiple computers.
As shown in fig. 2A, which is a schematic diagram of a baseboard management controller 200 according to an embodiment of the present application, the baseboard management controller 200 includes: the signal scaling device comprises a main controller BMC and a signal scaling device 210, wherein the input end of the signal scaling device 210 is connected with a signal to be measured, and the output end of the signal scaling device 210 is connected with the main controller BMC and is used for scaling the signal to be measured, so that the obtained scaled target signal is within the signal measurement range of the controller.
Here, the baseboard management controller 200 can be applied to a motherboard for monitoring and managing signals related to the motherboard. The signal measurement range of the controller refers to a range in which the master controller BMC can accurately represent the size of a signal to be measured, and when a plurality of signals to be measured (for example, signal _0 to signal _ n, where n is an integer) of one motherboard are scaled into a plurality of target signals and the plurality of target signals are within the signal measurement range, it indicates that the voltage range of the plurality of target signals corresponding to the motherboard fills the inherent range of the master controller BMC.
In an actual scenario, sometimes a signal to be tested of a motherboard is within an intrinsic range of the main controller BMC, but since the voltage of the signal to be tested of the motherboard is too small, the signal to be tested is mostly concentrated in a small range of the intrinsic range of the main controller BMC, for example, the intrinsic range of the main controller BMC is: 0~1.8V, and the signal that awaits measuring that current mainboard corresponds is mostly concentrated in: 0-0.1V, the voltage of the signal to be detected is too small at the moment, the inherent range of the main controller BMC cannot be filled, the detection result is inaccurate, the signal to be detected can be uniformly amplified by using the signal scaler 210, the inherent range of the main controller BMC is filled with the signal to be detected, and the detection precision is improved even if the obtained target signal after scaling processing is in the signal measurement range of the controller.
In an embodiment, the main controller BMC may be a digital controller, and the BMC 200 may further include a digital-to-analog converter ADC connected between the main controller BMC and the signal scaler 210, for converting the scaled target signal into a digital signal and transmitting the digital signal to the main controller BMC, so that the main controller BMC may process the digital signal.
In an embodiment, the signal scaler 210 may be implemented based on an operational amplifier, and the operational amplifier is added between the detection input end of the digital-to-analog converter ADC and the signal to be detected, so as to implement impedance conversion between the signal to be detected and the digital-to-analog converter ADC, so as to implement attenuation on the signal to be detected with a large voltage, and amplify the signal to be detected with a small voltage.
In one embodiment, the signal scaler 210 comprises: the attenuation circuit comprises a first operational amplifier, a first feedback resistor, a first resistor and a second resistor. One end of the first feedback resistor is connected with the output end of the first operational amplifier, the other end of the first feedback resistor is connected with the inverting input end of the first operational amplifier, and the output end of the first operational amplifier is connected with the main controller BMC. One end of the first resistor is connected with the positive phase input end of the first operational amplifier, and the other end of the first resistor is connected with a signal to be detected. One end of the second resistor is connected with the positive phase input end of the first operational amplifier, and the other end of the second resistor is grounded. The attenuation circuit is used for processing the signal to be measured according to a preset attenuation coefficient when the signal to be measured is larger than the upper limit value of the signal measurement range, so as to obtain a target signal.
In one embodiment, the signal scaler 210 comprises: and the amplifying circuit comprises a second operational amplifier, a second feedback resistor, a third resistor and a fourth resistor. One end of the second feedback resistor is connected with the output end of the second operational amplifier, the other end of the second feedback resistor is connected with the inverting input end of the second operational amplifier, and the output end of the second operational amplifier is connected with the main controller BMC. One end of the third resistor is connected with the inverting input end of the second operational amplifier, and the other end of the third resistor is grounded. One end of the fourth resistor is connected with the positive phase input end of the second operational amplifier, and the other end of the fourth resistor is connected with the signal to be detected. The amplifying circuit is used for processing the signal to be measured according to a preset amplification factor when the signal to be measured is smaller than the lower limit value of the signal measurement range, so as to obtain a target signal.
As shown in fig. 2B, which is a schematic diagram of a signal scaler 210 according to an embodiment of the present invention, the signal scaler 210 may be a scaling circuit, and the scaling circuit is mainly used for scaling a signal to be measured when a voltage range of the signal to be measured does not match a signal measurement range of the main controller BMC.
As shown in fig. 2A, a signal scaler 210 may be configured for each signal channel of a plurality of signals to be tested (for example, signal _0 to signal _ n, where n is an integer) of a motherboard, and an input end and an output end of an operational amplifier a of each signal scaler 210 are respectively connected to corresponding signal input channels and input pins of a digital-to-analog converter ADC of a main controller BMC. The signal scaler 210 scales the signal to be measured by using the corresponding scale factor and outputs the scaled signal to the main controller BMC.
The amplification of the circuit may be denoted as Av = Rf/R3. The attenuation coefficient is: aw = R1/R2.
In an embodiment, when the signal to be measured is greater than the upper limit of the signal measurement range, which indicates that the signal to be measured needs to be attenuated, the third resistor R3 in fig. 2B may be removed, where the operational amplifier a serves as a first operational amplifier, the resistor Rf serves as a first feedback resistor, the resistor R1 serves as a first resistor, and the resistor R2 serves as a second resistor, which together form an attenuation circuit. And attenuating the signal to be detected by using the resistor R1 and the resistor R2 with a preset attenuation coefficient. For example, the intrinsic range of the host controller BMC is: 0~1.8V, and the signal that awaits measuring that current mainboard corresponds is mostly concentrated in: 0-12V, the voltage of the signal to be detected is too large at the moment, the inherent range of the main controller BMC cannot be filled, the detection result is inaccurate, the signal to be detected can be considered to be larger than the upper limit value of the signal measurement range, the signal to be detected can be reduced in a unified mode by using the attenuation circuit according to the preset attenuation coefficient, the inherent range of the main controller BMC is filled with the target signal, and the detection precision is improved.
In an embodiment, when the signal to be measured is smaller than the lower limit of the signal measurement range, which indicates that the signal to be measured needs to be amplified, the second resistor R2 in fig. 2B may be removed, and the operational amplifier a serves as a second operational amplifier, the resistor Rf serves as a second feedback resistor, and the resistor R1 serves as a fourth resistor, which form an amplifying circuit together with the third resistor R3. The signal to be measured is amplified by the amplifying circuit. For example, the intrinsic range of the host controller BMC is: 0~1.8V, and the signal that awaits measuring that current mainboard corresponds is mostly concentrated in: 0-0.1V, the voltage of the signal to be detected is too small at the moment, the inherent range of the main controller BMC cannot be filled, the detection result is inaccurate, the signal to be detected can be considered to be smaller than the lower limit value of the signal measurement range, the signal to be detected can be uniformly amplified by the amplifying circuit according to the preset amplification factor, the target signal is made to be full of the inherent range of the main controller BMC, and the detection precision is improved.
The resistor in the circuit can be a chip control resistor, and the amplification factor and the attenuation factor can be adjusted by adjusting the chip control resistor, so that more precise measurement is further realized.
In an embodiment, a scaling factor of a signal to be tested may be stored in the motherboard, as shown in fig. 2C, a schematic connection diagram of the main controller BMC and the motherboard, for example, the scaling factor is stored in Field Replaceable Unit (FRU) information, the FRU is a necessary component of the motherboard and is used to store factory information of the motherboard, and the FRU may communicate with the main controller BMC through an IIC interface. Therefore, signals to be detected, which need to be monitored by different mainboards, may be different, and the signals to be detected are processed by the signal scaler 210, so that the purpose that one substrate management controller 200 can be adapted to multiple mainboards can be achieved.
The signal processing method according to the embodiment of the present application is described in further detail below with reference to the drawings.
Please refer to fig. 3, which is a signal processing method according to an embodiment of the present application, the method can be executed by the electronic device 1 shown in fig. 1, and can be applied to the signal transmission scenario of the bmc 200 shown in fig. 2A-2C, so as to expand the measurement range of the controller for the input signal and improve the applicability of the controller. The method comprises the following steps:
step 301: and acquiring a signal to be detected to be input into the controller.
In this step, the controller may be a main controller BMC in the baseboard management controller 200 shown in fig. 2A-2C, and the baseboard management controller 200 may be applied to a motherboard for monitoring and managing signals related to the motherboard. The signal to be measured may be a posture and capacitance signal, a power supply voltage signal, a CPU key point signal, etc. of the motherboard, and the CPU key point signal may be, for example: core voltage signal 0.8V, memory voltage signal 1.2V/1.1V, subsystem voltage signal 3.3V, etc. When a signal to be detected in the main board needs to be input into the controller for monitoring, the signal to be detected is firstly obtained, for example, a detection circuit can be used for detecting the signal to be detected at the entrance of the signal channel in real time.
Step 302: the signal to be measured is scaled by a preset signal scaler 210, so that the obtained scaled target signal is within the signal measurement range of the controller.
In this step, the signal scaler 210 may be implemented based on an operational amplifier, and the operational amplifier is added between the detection input end of the digital-to-analog converter ADC and the signal to be detected, so as to implement impedance conversion between the signal to be detected and the digital-to-analog converter ADC, so as to implement attenuation of the signal to be detected with a large voltage, and amplification of the signal to be detected with a small voltage. For example, the signal scaler 210 may be implemented by using the circuit shown in fig. 2B.
The signal measurement range of the controller refers to a measurement range within which the main controller BMC can accurately represent the size of a signal to be measured, and when a plurality of signals to be measured (for example, a signal _0 to a signal _ n in fig. 2A, where n is an integer) of one motherboard are scaled by the signal scaling unit 210 into a plurality of target signals, and the plurality of target signals are within the signal measurement range, it indicates that the voltage range of the plurality of target signals corresponding to the motherboard fills the inherent measurement range of the main controller BMC.
In an actual scenario, sometimes a signal to be tested of a motherboard is within an intrinsic range of the main controller BMC, but since the voltage of the signal to be tested of the motherboard is too small, the signal to be tested is mostly concentrated in a small range of the intrinsic range of the main controller BMC, for example, the intrinsic range of the main controller BMC is: 0~1.8V, and the signal that awaits measuring that current mainboard corresponds is mostly concentrated in: 0-0.1V, the voltage of the signal to be detected is too small at this moment, the inherent range of the main controller BMC cannot be filled, and the detection result is inaccurate, at this moment, the signal to be detected can be uniformly amplified by using the signal scaler 210, so that the inherent range of the main controller BMC is filled with the signal to be detected, and the detection precision is improved even if the obtained target signal after scaling processing is within the signal measurement range of the controller.
Step 303: the target signal is transmitted to the controller through the signal scaler 210.
In this step, after the signal scaler 210 scales the signal to be measured into the target signal, the target signal may be directly transmitted to the controller through the digital-to-analog converter ADC, so that the controller may measure the current state of the current signal, and implement real-time monitoring on the signal to be measured.
In the signal processing method, for a signal to be measured to be input into the controller, the preset signal scaler 210 is added to scale the signal to be measured, so that a target signal after scaling processing is within a measurement range of the controller, and then the target signal is transmitted to the controller, thereby expanding the measurement range of the controller on the input signal and improving the applicability of the controller.
Please refer to fig. 4, which is a signal processing method according to an embodiment of the present application, the method can be executed by the electronic device 1 shown in fig. 1, and can be applied to the signal transmission scenario of the bmc 200 shown in fig. 2A-2C, so as to expand the measurement range of the controller for the input signal and improve the applicability of the controller. The method comprises the following steps:
step 401: and acquiring a signal to be detected to be input into the controller. See the description of step 301 in the above embodiments for details.
Step 402: and judging whether the signal to be measured is in the signal measurement range of the controller. If yes, go to step 402, otherwise go to step 403.
In this step, sometimes, the signal to be tested of one motherboard is within the range of the intrinsic range of the main controller BMC, but since the voltage of the signal to be tested of the motherboard is too small, the signal to be tested is mostly concentrated in a small range of the intrinsic range of the main controller BMC, for example, the intrinsic range of the main controller BMC is: 0~1.8V, and the signal that awaits measuring that current mainboard corresponds is mostly concentrated in: 0-0.1V, the voltage of the signal to be detected is too small at the moment, the inherent range of the main controller BMC cannot be filled, the detection result is inaccurate, and the signal to be detected can be considered not to be in the signal measurement range at the moment. Or for example the intrinsic range of the host controller BMC is: 0~1.8V, and the signal to be measured that current mainboard corresponds is mostly concentrated in: and 0-12V, the voltage of the signal to be detected is too large at the moment, the inherent range of the main controller BMC cannot be filled, the detection result is inaccurate, and the signal to be detected can be considered not to be in the signal measurement range. Only when the signal to be measured is not in the signal measurement range, the process proceeds to step 403 for scaling, otherwise, it indicates that the current measurement range of the controller can accurately measure the signal to be measured, and scaling of the signal to be measured is not required, so that the signal to be measured is scaled differently, and resources can be saved.
Step 403: and adjusting the signal scaling coefficient of the signal scaler 210 according to the signal to be measured and the signal measurement range to obtain the adjusted target scaler.
In this step, the preset signal scaler 210 is configured with a signal scaling factor corresponding to the signal to be measured, and is used for converting the signal to be measured accessed to the signal scaler 210 into a target signal within the signal measurement range. The signal scaling factor may be configured as follows: firstly, the voltage ranges of all signals to be measured can be listed based on the system power supply parameters of the current mainboard, then the inherent range of the controller is obtained, and when the signals to be measured are not in the signal measurement range, the corresponding scaling coefficient is distributed to the signal scaler 210 corresponding to each path of signals to be measured according to the principle of fully using the inherent range of the controller, so that the inherent range of the whole controller can be filled with the scaled signals, and the measurement accuracy is improved. For example, if the signal to be measured is 80V, the intrinsic range of the main controller BMC is 4V to 8V, the scaling factor may be 0.05 to 0.1, and at this time, the scaling factor is an amplification factor.
In one embodiment, the scaling factor may be written by a register, and when the measured signal is changed, the detailed measurement may be performed according to actual requirements. For example, the scaling coefficients of the signal channels are preset, and the scaling coefficients may be written into a register of the operational amplifier for storage, that is, the adjusted target scaler is obtained, and for example, the scaling coefficients of the corresponding signal channels may be stored in the FRU.
Therefore, whether the signal to be detected exceeds the range is detected in real time, the scaler is adjusted if the signal to be detected exceeds the range, the signal to be detected is received through the adjusted scaler, and the adjusted target scaler can convert the signal to be detected into the measurement range of the controller, so that the method can be flexibly applied to various signals to be detected, and the application range is expanded.
Step 404: and accessing the signal to be measured into a target scaler, and converting the signal to be measured into a target signal in a signal measurement range through the target scaler.
In this step, the target scaler may be implemented by the circuit shown in fig. 2B, one signal scaler 210 may be configured for each signal channel, and an input end and an output end of an operational amplifier (e.g., opamp 0 to opamp n) of each signal scaler 210 are respectively connected to the corresponding signal input channel and an input pin of the digital-to-analog converter ADC of the main controller BMC. The signal scaler 210 scales the signal to be measured by using the corresponding scale factor to obtain a target signal, and outputs the target signal to the main controller BMC.
In an embodiment, when the signal to be measured is greater than the upper limit of the signal measurement range, the signal scaler 210 reduces the signal to be measured according to the corresponding scaling factor, so that the obtained target signal is within the signal measurement range. Refer to the description of the signal scaler 210 shown in fig. 2B in the above embodiment in detail.
In an embodiment, when the signal to be measured is smaller than the lower limit of the signal measurement range, the signal scaler 210 amplifies the signal to be measured according to the corresponding scaling factor, so that the obtained target signal is within the signal measurement range. Refer to the description of the signal scaler 210 shown in fig. 2B in the above embodiment in detail.
Step 405: the target signal is transmitted to the controller through the signal scaler 210. See the description of step 303 in the above embodiments for details.
Step 406: the signal scaling factor corresponding to the signal scaler 210 is looked up in the database.
In this step, after the main controller BMC obtains the target signal, the corresponding signal scaling coefficient of the path signal scaler 210 may be found from the database according to the correspondence of the channel, for example, the corresponding scaling coefficient may be read from the FRU unit corresponding to the path signal channel.
Step 407: and restoring the original signal corresponding to the target signal according to the target signal and the scaling coefficient.
In this step, the obtained voltage value of the target signal is multiplied by the scaling coefficient of the corresponding channel, so as to obtain the real voltage value of the signal to be measured corresponding to the target signal, i.e. the original signal.
Step 408: and recording the information of the change of the original signal along with the time, and giving an alarm when the original signal is not within the safe threshold range.
In this step, the change rule of the original signal can be counted, and when the original signal is not within the range of the safety threshold, an alarm is given to prompt a worker to process in time, for example, the signal to be detected can be calibrated, and when a certain calibrated signal exceeds the set safety threshold, the alarm is given to background IT personnel. And real-time monitoring of the power supply signal of the mainboard is realized.
In an embodiment, the main controller BMC may measure the signal to be measured at regular time, so as to obtain the time-varying process of the signal to be measured, and store the value for subsequent reference
Please refer to fig. 5, which is a signal processing apparatus 500 according to an embodiment of the present application, and the apparatus can be applied to the electronic device 1 shown in fig. 1 and can be applied to the signal transmission scenario of the bmc 200 shown in fig. 2A to 2C, so as to expand the measurement range of the controller for the input signal and improve the applicability of the controller. The device comprises: the system comprises an acquisition module 501, a scaling module 502 and a transmission module 503, wherein the principle relationship of each module is as follows:
the acquiring module 501 is configured to acquire a signal to be detected to be input to the controller.
The scaling module 502 is configured to perform scaling processing on the signal to be measured through a preset signal scaler 210, so that the obtained scaled target signal is within a signal measurement range of the controller.
A transmission module 503, configured to transmit the target signal to the controller through the signal scaler 210.
In one embodiment, the scaling module 502 is configured to: and judging whether the signal to be measured is in the signal measurement range of the controller. When the signal to be measured is not within the signal measurement range, the signal scaling coefficient of the signal scaler 210 is adjusted according to the signal to be measured and the signal measurement range, so as to obtain an adjusted target scaler. And accessing the signal to be measured into a target scaler, and converting the signal to be measured into a target signal in a signal measurement range through the target scaler.
In an embodiment, the preset signal scaler 210 is configured with a signal scaling factor corresponding to the signal to be measured, and is used for converting the signal to be measured accessed to the signal scaler 210 into a target signal within the signal measurement range.
In one embodiment, the scaling module 502 is configured to: when the signal to be measured is greater than the upper limit value of the signal measurement range, the signal to be measured is scaled down by the signal scaler 210 according to the corresponding scaling coefficient, so that the obtained target signal is within the signal measurement range. When the signal to be measured is smaller than the lower limit value of the signal measurement range, the signal to be measured is amplified by the signal scaler 210 according to the corresponding scaling coefficient, so that the obtained target signal is within the signal measurement range.
In one embodiment, the method further comprises: the searching module 504 is configured to search the database for the signal scaling factor corresponding to the signal scaler 210 after the target signal is transmitted to the controller through the signal scaler 210. And a restoring module 505, configured to restore an original signal corresponding to the target signal according to the target signal and the scaling factor.
In one embodiment, the method further comprises: and the alarm module 506 is used for recording the information of the original signal changing along with time after the original signal corresponding to the target signal is recovered according to the target signal and the scaling coefficient, and giving an alarm when the original signal is not within the safety threshold range.
For a detailed description of the signal processing apparatus 500, please refer to the description of the related method steps in the above embodiments.
An embodiment of the present invention further provides a non-transitory electronic device readable storage medium, including: a program that, when run on an electronic device, causes the electronic device to perform all or part of the procedures of the methods in the above-described embodiments. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, abbreviated as HDD), a Solid State Drive (SSD), or the like. The storage medium may also comprise a combination of memories of the kind described above.
Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope defined by the appended claims.

Claims (14)

1. A signal processing method, comprising:
acquiring a signal to be detected to be input into a controller;
scaling the signal to be measured through a preset signal scaler so that the obtained scaled target signal is within the signal measurement range of the controller;
and transmitting the target signal to the controller through the signal scaler.
2. The method according to claim 1, wherein the scaling the signal to be measured by a preset signal scaler so that the obtained scaled target signal is within the signal measurement range of the controller comprises:
judging whether the signal to be measured is in a signal measurement range of the controller;
when the signal to be measured is not in the signal measurement range, adjusting a signal scaling coefficient of the signal scaler according to the signal to be measured and the signal measurement range to obtain an adjusted target scaler;
and accessing the signal to be measured into the target scaler, and converting the signal to be measured into the target signal in the signal measurement range through the target scaler.
3. The method of claim 1, wherein the preset signal scaler is configured with a signal scaling factor corresponding to the signal under test for converting the signal under test accessed into the signal scaler into the target signal within the signal measurement range.
4. The method according to claim 1, wherein the scaling the signal to be measured by a preset signal scaler so that the obtained scaled target signal is within the signal measurement range of the controller comprises:
when the signal to be measured is larger than the upper limit value of the signal measurement range, the signal to be measured is subjected to reduction processing through the signal scaler according to a corresponding scaling coefficient, so that the obtained target signal is in the signal measurement range;
and when the signal to be measured is smaller than the lower limit value of the signal measurement range, amplifying the signal to be measured through the signal scaler according to the corresponding scaling coefficient so as to enable the obtained target signal to be in the signal measurement range.
5. The method of claim 1, after the transmitting the target signal to the controller by the signal scaler, further comprising:
searching a signal scaling coefficient corresponding to the signal scaler in a database;
and restoring an original signal corresponding to the target signal according to the target signal and the scaling coefficient.
6. The method according to claim 5, further comprising, after said recovering an original signal corresponding to the target signal according to the target signal and the scaling factor:
and recording the information of the change of the original signal along with the time, and giving an alarm when the original signal is not within the safety threshold range.
7. A signal processing apparatus, characterized by comprising:
the acquisition module is used for acquiring a signal to be detected to be input into the controller;
the scaling module is used for scaling the signal to be measured through a preset signal scaler so that the obtained scaled target signal is within the signal measurement range of the controller;
and the transmission module is used for transmitting the target signal to the controller through the signal scaler.
8. The apparatus of claim 7, wherein the scaling module is configured to:
judging whether the signal to be measured is in a signal measurement range of the controller;
when the signal to be measured is not in the signal measurement range, adjusting a signal scaling coefficient of the signal scaler according to the signal to be measured and the signal measurement range to obtain an adjusted target scaler;
and accessing the signal to be measured into the target scaler, and converting the signal to be measured into the target signal in the signal measurement range through the target scaler.
9. The apparatus of claim 7, wherein the preset signal scaler is configured with a signal scaling factor corresponding to the signal under test for converting the signal under test accessed into the signal scaler into the target signal within the signal measurement range.
10. A baseboard management controller, comprising:
a main controller;
the input end of the signal scaler is connected with a signal to be measured, and the output end of the signal scaler is connected with the main controller and used for scaling the signal to be measured so as to enable the obtained scaled target signal to be within the signal measurement range of the controller.
11. The baseboard management controller of claim 10, wherein the signal scaler comprises:
the attenuation circuit comprises a first operational amplifier, a first feedback resistor, a first resistor and a second resistor;
one end of the first feedback resistor is connected with the output end of the first operational amplifier, the other end of the first feedback resistor is connected with the inverting input end of the first operational amplifier, and the output end of the first operational amplifier is connected with the main controller;
one end of the first resistor is connected with the positive phase input end of the first operational amplifier, and the other end of the first resistor is connected with the signal to be detected;
one end of the second resistor is connected with the positive phase input end of the first operational amplifier, and the other end of the second resistor is grounded;
and the attenuation circuit is used for processing the signal to be measured according to a preset attenuation coefficient to obtain the target signal when the signal to be measured is larger than the upper limit value of the signal measurement range.
12. The baseboard management controller of claim 10, wherein the signal scaler comprises:
the amplifying circuit comprises a second operational amplifier, a second feedback resistor, a third resistor and a fourth resistor;
one end of the second feedback resistor is connected with the output end of the second operational amplifier, the other end of the second feedback resistor is connected with the inverting input end of the second operational amplifier, and the output end of the second operational amplifier is connected with the main controller;
one end of the third resistor is connected with the inverting input end of the second operational amplifier, and the other end of the third resistor is grounded;
one end of the fourth resistor is connected with the positive phase input end of the second operational amplifier, and the other end of the fourth resistor is connected with the signal to be detected;
and the amplifying circuit is used for processing the signal to be measured according to a preset amplification factor to obtain the target signal when the signal to be measured is smaller than the lower limit value of the signal measurement range.
13. An electronic device, comprising:
a memory to store a computer program;
a processor to execute the computer program to implement the method of any one of claims 1 to 6.
14. A non-transitory electronic device readable storage medium, comprising: program which, when run by an electronic device, causes the electronic device to perform the method of any one of claims 1 to 6.
CN202210516751.3A 2022-05-13 2022-05-13 Signal processing method, signal processing device, controller, equipment and readable storage medium Pending CN114624506A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210516751.3A CN114624506A (en) 2022-05-13 2022-05-13 Signal processing method, signal processing device, controller, equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210516751.3A CN114624506A (en) 2022-05-13 2022-05-13 Signal processing method, signal processing device, controller, equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN114624506A true CN114624506A (en) 2022-06-14

Family

ID=81907085

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210516751.3A Pending CN114624506A (en) 2022-05-13 2022-05-13 Signal processing method, signal processing device, controller, equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN114624506A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3807147A1 (en) * 1988-03-04 1989-11-09 Siemens Ag METHOD AND ARRANGEMENT FOR MEASURING THE PERIODIC SIGNAL OF A PERIODIC SIGNAL WITH HIGH TIME RESOLUTION BY A BOXCAR-SIMILAR METHOD
US20150285900A1 (en) * 2014-04-02 2015-10-08 Vayyar Imaging Ltd Device system and method for dynamic signal measurement range scaling
CN107861427A (en) * 2017-11-14 2018-03-30 江西怡杉环保股份有限公司 Signal processing apparatus and signal processing method
CN109444530A (en) * 2018-12-13 2019-03-08 浙江阿海珐配电自动化有限公司 The method of sampling and device of AC signal
CN109884377A (en) * 2019-03-05 2019-06-14 常州索维尔电子科技有限公司 The hall signal measuring device and method of detection range automatic adjustment
CN112147391A (en) * 2020-09-10 2020-12-29 国网江西省电力有限公司电力科学研究院 Range self-adaptive power measuring device and method with high safety

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3807147A1 (en) * 1988-03-04 1989-11-09 Siemens Ag METHOD AND ARRANGEMENT FOR MEASURING THE PERIODIC SIGNAL OF A PERIODIC SIGNAL WITH HIGH TIME RESOLUTION BY A BOXCAR-SIMILAR METHOD
US20150285900A1 (en) * 2014-04-02 2015-10-08 Vayyar Imaging Ltd Device system and method for dynamic signal measurement range scaling
CN107861427A (en) * 2017-11-14 2018-03-30 江西怡杉环保股份有限公司 Signal processing apparatus and signal processing method
CN109444530A (en) * 2018-12-13 2019-03-08 浙江阿海珐配电自动化有限公司 The method of sampling and device of AC signal
CN109884377A (en) * 2019-03-05 2019-06-14 常州索维尔电子科技有限公司 The hall signal measuring device and method of detection range automatic adjustment
CN112147391A (en) * 2020-09-10 2020-12-29 国网江西省电力有限公司电力科学研究院 Range self-adaptive power measuring device and method with high safety

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
蔡展标等: "多通道测量的等精度频率计", 《嘉应学院学报》 *

Similar Documents

Publication Publication Date Title
CN111124775A (en) Power-on time sequence abnormality detection method and device, MCU and storage medium
US10789148B2 (en) Electronic device and method for event logging
US10802062B2 (en) Cognitive analysis using applied analog circuits
KR20090124934A (en) Semiconductor integrated circuit and method for controlling the same, and information processing device
CN109781341B (en) Data calibration method and device for air pressure sensor
CN111638439B (en) Communication module testing method, device, computer equipment and storage medium
CN114624506A (en) Signal processing method, signal processing device, controller, equipment and readable storage medium
US10032476B2 (en) Magnetic storage system multi-sensor signal prediction health controller
US20110130989A1 (en) System and method for identifying a peripheral component interconnect express signal
CN116521480A (en) Power consumption reading precision test system, method, device, equipment and storage medium
US20210117125A1 (en) Server system with solid state drives and associated control method
US20150154082A1 (en) Provisioning memory in a memory system for mirroring
CN109542198B (en) Method and equipment for controlling power-on of PCIE card
CN108959415B (en) Abnormal dimension positioning method and device and electronic equipment
CN113779926A (en) Circuit detection method and device, electronic equipment and readable storage medium
CN113406473B (en) Chip testing method and device, terminal equipment and storage medium
US10216561B2 (en) Monitor performance analysis
US8314629B2 (en) SAS interface output signal detecting apparatus
US6957174B2 (en) Sensor signal debouncing
CN117249873B (en) Quality monitoring method and equipment for gas molecular analysis
US6879178B1 (en) Measuring current on a die
CN110866557B (en) Data evaluation method and device, storage medium and electronic device
CN116466122B (en) Current detection circuit, method, chip, electronic component and electronic device
CN113406483A (en) Anti-interference detection system of metering chip and computer readable storage medium
US20190324060A1 (en) Oscilloscope system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20220614

RJ01 Rejection of invention patent application after publication