Blood oxygen simulator, signal processing method, electronic equipment and computer readable storage medium
By introducing a signal processing circuit and a main control circuit into the blood oxygen simulator, and adjusting the blood oxygen feedback signal using the feedback correction module, the accuracy problem caused by hardware error is solved, and high-precision simulation of blood oxygen parameters is achieved.
Patent Information
- Application Number
- CN202310508007.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-06
- Publication Date
- 2024-11-08
AI Technical Summary
During use, the error caused by hardware components differences or aging of the blood oxygen simulator is difficult to ensure accuracy, which affects the monitoring results of the blood oxygen simulator.
A blood oxygen simulator is designed, including a signal processing circuit and a main control circuit, and the blood oxygen feedback signal output by the signal processing circuit is adjusted through the feedback correction module to ensure that it matches the theoretical value, including correction of amplitude and component proportion.
It effectively improves the accuracy of the blood oxygen simulator for blood oxygen parameters, ensures that the output signal meets the preset threshold, and improves the monitoring accuracy of the blood oxygen meter.
Smart Images

Figure CN118902446A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of medical equipment, and in particular to a blood oxygen simulator, a signal processing method, an electronic device, and a computer-readable storage medium. Background Art
[0002] The oximeter is a medical device that can non-invasively and continuously monitor the end-point oxygen saturation of the human body. It is currently widely used in clinical monitoring. In the process of developing, producing and using the equipment, accurately judging whether the accuracy and performance of the oximeter meet the inspection standards is a problem that must be solved in the development and promotion of oximeter equipment. Since the blood oxygen saturation signal is a weak signal, errors caused by differences in components or aging in the blood oxygen simulator hardware are inevitable, which puts higher requirements on how to ensure accuracy during the use of the blood oxygen simulator. Summary of the invention
[0003] The present application provides a blood oxygen simulator, a signal processing method, an electronic device, and a computer-readable storage medium.
[0004] In order to solve the above technical problems, the technical solution adopted in the present application is: to provide a blood oxygen simulator, the blood oxygen simulator comprising: a signal processing circuit; a main control circuit connected to the signal processing circuit, the main control circuit comprising: a control module, used to obtain blood oxygen parameters, and generate a first control signal based on the blood oxygen parameters; wherein the signal processing circuit is used to obtain a blood oxygen detection signal and a first control signal, and generate a blood oxygen feedback signal corresponding to the blood oxygen parameter based on the blood oxygen detection signal and the first control signal; a feedback correction module, used to obtain a feedback adjustment signal corresponding to the blood oxygen feedback signal based on the blood oxygen feedback signal; wherein the control module is also used to adjust the first control signal based on the feedback adjustment signal to adjust the blood oxygen feedback signal output by the signal processing circuit.
[0005] Among them, the feedback adjustment signal includes the maximum amplitude of the blood oxygen feedback signal; the control module is used to obtain the maximum amplitude, and in response to the absolute value of the difference between the maximum amplitude and the theoretical maximum amplitude is greater than the first preset threshold, adjust the first control signal so that the absolute value of the difference between the maximum amplitude of the blood oxygen feedback signal output by the feedback correction module and the theoretical maximum amplitude is less than or equal to the first preset threshold.
[0006] Among them, the feedback adjustment signal includes the DC component and the AC component of the blood oxygen feedback signal; the control module is used to obtain the ratio of the DC component to the AC component, and in response to the absolute value of the difference between the ratio of the DC component to the AC component and the theoretical ratio of the DC component to the theoretical AC component being greater than the second preset threshold, adjust the first control signal so that the absolute value of the difference between the ratio of the DC component to the AC component output by the feedback correction module and the theoretical ratio of the DC component to the AC component is less than or equal to the second preset threshold.
[0007] Among them, the signal processing circuit includes: a signal acquisition circuit, used to receive a blood oxygen detection signal and obtain a timing signal of the blood oxygen detection signal; a signal modulation circuit, connected to the signal acquisition circuit and the control module respectively, and the signal modulation circuit is used to generate a second control signal based on the timing signal and the first control signal; an optical signal output circuit, connected to the signal modulation circuit, and the optical signal output circuit is used to output a blood oxygen feedback signal based on the second control signal.
[0008] Among them, the feedback correction module includes: a conversion circuit, connected to the optical signal output circuit, used to convert the blood oxygen feedback signal into a current signal; an operational amplifier circuit, connected to the conversion circuit, and the operational amplifier circuit is used to convert the current signal into a voltage signal; a sampling circuit, connected to the control module and the operational amplifier circuit, and the sampling circuit is used to sample and process the voltage signal to obtain a feedback adjustment signal corresponding to the blood oxygen parameter.
[0009] The control module is also used to calibrate the curve array of the brightness of the first control signal and the blood oxygen feedback signal.
[0010] Among them, the first control signal includes a modulation voltage; the control module is also used to continuously output the modulation voltage so that the optical signal output circuit continuously outputs the blood oxygen feedback signal; the control module is also used to adjust the voltage value of the modulation voltage from low to high, and record the brightness feedback value of the blood oxygen feedback signal at each voltage value; the control module is also used to calculate the linear relationship between the voltage value and the brightness feedback value to correct the curve array.
[0011] Among them, the control module is also used to calculate the ratio of the DC component to the AC component of the theoretical blood oxygen feedback signal; the control module is also used to obtain the first control signal based on the ratio and the curve array; wherein the curve array includes a relationship curve between the brightness of the first control signal and the blood oxygen feedback signal.
[0012] In order to solve the above-mentioned technical problems, the technical solution adopted in the present application is: to provide a signal processing method, applied to a blood oxygen simulator, the blood oxygen simulator includes a signal processing circuit and a main control circuit, the signal processing method includes: the main control circuit obtains blood oxygen parameters, and generates a first control signal based on the blood oxygen parameters; the signal processing circuit obtains a blood oxygen detection signal and a first control signal, and generates a blood oxygen feedback signal corresponding to the blood oxygen parameter based on the blood oxygen detection signal and the first control signal; the main control circuit obtains a feedback adjustment signal corresponding to the blood oxygen feedback signal based on the blood oxygen feedback signal; the main control circuit adjusts the first control signal based on the feedback adjustment signal to adjust the blood oxygen feedback signal output by the signal processing circuit.
[0013] Among them, the feedback adjustment signal includes the maximum amplitude of the blood oxygen feedback signal; the main control circuit adjusts the first control signal based on the feedback adjustment signal, including: obtaining the maximum amplitude; in response to the absolute value of the difference between the maximum amplitude and the theoretical maximum amplitude is greater than the first preset threshold, adjusting the first control signal so that the absolute value of the difference between the maximum amplitude of the blood oxygen feedback signal obtained by the main control circuit and the theoretical maximum amplitude is less than or equal to the first preset threshold.
[0014] Among them, the feedback adjustment signal further includes a DC component of the blood oxygen feedback signal and an AC component of the blood oxygen feedback signal; the main control circuit adjusts the first control signal based on the feedback adjustment signal, further including: obtaining the ratio of the DC component to the AC component; in response to the absolute value of the difference between the ratio of the DC component to the AC component and the theoretical ratio of the DC component to the AC component being greater than a second preset threshold, adjusting the first control signal so that the absolute value of the difference between the ratio of the DC component to the AC component obtained by the main control circuit and the theoretical ratio of the DC component to the AC component is less than or equal to the second preset threshold.
[0015] Among them, the signal processing circuit obtains a blood oxygen detection signal and a first control signal, and generates a blood oxygen feedback signal corresponding to the blood oxygen parameter based on the blood oxygen detection signal and the first control signal, including: obtaining a blood oxygen detection signal and obtaining a timing signal of the blood oxygen detection signal; generating a second control signal based on the timing signal and the first control signal; and outputting a blood oxygen feedback signal based on the second control signal.
[0016] Before the main control circuit outputs the feedback adjustment signal based on the blood oxygen feedback signal, the method further includes: the main control circuit corrects the curve array of the first control signal and the blood oxygen feedback signal.
[0017] Among them, the first control signal includes a modulation voltage; the main control circuit corrects the curve array of the first control signal and the blood oxygen feedback signal, including: the main control circuit continuously outputs the modulation voltage so that the signal processing circuit continuously outputs the blood oxygen feedback signal; the main control circuit adjusts the voltage value of the modulation voltage from low to high, and records the brightness feedback value of the blood oxygen feedback signal at each voltage value; the main control circuit calculates the linear relationship between the voltage value and the brightness feedback value to correct the curve array.
[0018] Among them, the main control circuit generates a first control signal based on the blood oxygen parameter, including: the main control circuit calculates the ratio of the DC component to the AC component of the theoretical blood oxygen feedback signal; the main control circuit obtains the first control signal based on the ratio and the curve array; wherein the curve array includes a relationship curve between the brightness of the first control signal and the blood oxygen feedback signal.
[0019] In order to solve the above technical problems, the technical solution adopted in this application is: to provide an electronic device, including a processor and a memory connected to the processor, the memory stores program instructions, and the processor executes the program instructions to implement any of the above signal processing methods.
[0020] In order to solve the above technical problems, the technical solution adopted in the present application is: to provide a computer-readable storage medium storing program instructions, which can implement any of the above signal processing methods when executed by a processor.
[0021] The beneficial effects of the embodiments of the present application are as follows: the present application provides a blood oxygen simulator and a signal processing method, wherein the blood oxygen simulator includes a signal processing circuit and a main control circuit, and the main control circuit includes a control module and a feedback correction module. The control module is used to obtain blood oxygen parameters and generate a first control signal based on the blood oxygen parameters. The signal processing circuit is used to obtain a blood oxygen detection signal and a first control signal, and generate a blood oxygen feedback signal corresponding to the blood oxygen parameter based on the blood oxygen detection signal and the first control signal. The feedback correction module is used to obtain a feedback adjustment signal corresponding to the blood oxygen feedback signal based on the blood oxygen feedback signal. In the above manner, the signal processing circuit sends the blood oxygen feedback signal to the blood oxygen meter while also sending the blood oxygen feedback signal to the feedback correction module, wherein the feedback correction module converts the blood oxygen feedback signal into a feedback adjustment signal and transmits it to the control module, so that the control module adjusts the first control signal based on the blood oxygen feedback signal, and then adjusts the blood oxygen feedback signal output by the signal processing circuit, thereby effectively improving the accuracy of the blood oxygen parameters simulated by the blood oxygen simulator. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 This is a schematic diagram of the structure of an embodiment of a blood oxygen simulator of the present application;
[0023] Figure 2 yes Figure 1 A schematic diagram of the circuit structure of an embodiment of a feedback correction module in a blood oxygen simulator;
[0024] Figure 3 It is a specific flow chart of an embodiment of the signal processing method of the present application;
[0025] Figure 4 yes Figure 3 A schematic diagram of a specific process of step S100 in the embodiment;
[0026] Figure 5 yes Figure 3 A schematic diagram of a specific flow chart of step S200 in the embodiment;
[0027] Figure 6 yes Figure 3 A schematic diagram of a specific flow chart of an embodiment of step S300 in the embodiment;
[0028] Figure 7 yes Figure 3 A schematic diagram of a specific process of step S400 in the embodiment;
[0029] Figure 8 is a specific flow chart of another embodiment of the signal processing method of the present application;
[0030] Fig. 9 yes Figure 8 A schematic diagram of a specific flow chart of step S500 in the embodiment;
[0031] Fig.10 It is a structural diagram of an embodiment of a computer-readable storage medium of the present application. DETAILED DESCRIPTION
[0032] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0033] The terms "first" and "second" in this application are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. In the description of this application, the meaning of "multiple" is at least two, such as two, three, etc., unless otherwise clearly and specifically limited. In addition, the terms "including" and "having" and any of their variations are intended to cover exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or devices.
[0034] The present application provides a blood oxygen simulator 10, such as Figure 1 As shown, Figure 1 The blood oxygen simulator 10 includes a main control circuit 100 and a signal processing circuit 200 , wherein the main control circuit 100 includes a control module 110 and a feedback correction module 120 .
[0035] In the present embodiment, the main control circuit 100 is an integrated circuit, such as a processor, which integrates at least all functions of the control module 110 and the feedback correction module 120. The main control circuit 100 can be divided into functions corresponding to the control module 110 and the feedback correction module 120 by circuit improvement and / or software compilation. For example, in the present embodiment, a circuit having the function of the control module 110 and a circuit having the function of the feedback correction module 120 are integrated and designed to form a main control circuit 100 having all functions of the control module 110 and the feedback correction module 120; for another example, in another embodiment, the main control circuit 100 is provided with all functions of the control module 110 and the feedback correction module 120 by compiling the corresponding software control method into the main control circuit 100.
[0036] The main control circuit 100 is connected to the signal processing circuit 200, and the control module 110 is used to obtain the blood oxygen parameters and generate a first control signal based on the blood oxygen parameters. The signal processing circuit 200 is used to obtain the blood oxygen detection signal X1 and the first control signal, and generate a blood oxygen feedback signal X2 corresponding to the blood oxygen parameters based on the blood oxygen detection signal X1 and the first control signal. The feedback correction module 120 is used to obtain a feedback adjustment signal corresponding to the blood oxygen feedback signal X2 based on the blood oxygen feedback signal X2. The control module 110 is also used to adjust the first control signal based on the feedback adjustment signal to adjust the blood oxygen feedback signal X2 output by the signal processing circuit 200.
[0037] Specifically, the blood oxygen parameter is a parameter reflecting the blood oxygen saturation, and the blood oxygen detection signal X1 is a detection signal for detecting the blood oxygen saturation sent by the blood oxygen meter 20. The blood oxygen feedback signal X2 is a signal for providing blood oxygen feedback to the blood oxygen meter 20. In other words, the blood oxygen meter 20 can obtain the blood oxygen parameter through the blood oxygen feedback signal X2. In this embodiment, the signal processing circuit 200 generates a blood oxygen feedback signal X2 corresponding to the blood oxygen parameters based on the first control signal and the blood oxygen detection signal X1. Furthermore, the blood oxygen simulator 10 also includes a feedback correction module 120. The signal processing circuit 200 sends the blood oxygen feedback signal X2 to the blood oxygen meter 20 and also sends the blood oxygen feedback signal X2 to the feedback correction module 120. The feedback correction module 120 converts the blood oxygen feedback signal X2 into a feedback adjustment signal and transmits it to the control module 110, so that the control module 110 adjusts the first control signal based on the blood oxygen feedback signal X2, and then adjusts the blood oxygen feedback signal X2 output by the signal processing circuit 200, so as to effectively improve the accuracy of simulating blood oxygen parameters of the blood oxygen simulator 10.
[0038] Different from the prior art, the present application provides a blood oxygen simulator 10, wherein the blood oxygen simulator 10 includes a main control circuit 100 and a signal processing circuit 200, and the main control circuit 100 includes a control module 110 and a feedback correction module 120. The control module 110 is used to obtain blood oxygen parameters and generate a first control signal based on the blood oxygen parameters. The signal processing circuit 200 is connected to the control module 110, wherein the signal processing circuit 200 is used to obtain a blood oxygen detection signal X1 and a first control signal, and generate a blood oxygen feedback signal X2 corresponding to the blood oxygen parameter based on the blood oxygen detection signal X1 and the first control signal. The feedback correction module 120 is respectively connected to the control module 110 and the signal processing circuit 200, wherein the feedback correction module 120 is used to obtain a feedback adjustment signal corresponding to the blood oxygen feedback signal X2 based on the blood oxygen feedback signal X2. In the above manner, the signal processing circuit 200 sends the blood oxygen feedback signal X2 to the blood oxygen meter 20 and also sends the blood oxygen feedback signal X2 to the feedback correction module 120, wherein the feedback correction module 120 converts the blood oxygen feedback signal X2 into a feedback adjustment signal and transmits it to the control module 110, so that the control module 110 adjusts the first control signal based on the blood oxygen feedback signal X2, and further adjusts the blood oxygen feedback signal X2 output by the signal processing circuit 200, thereby effectively improving the accuracy of simulating blood oxygen parameters of the blood oxygen simulator 10.
[0039] Optionally, the feedback adjustment signal includes the maximum amplitude value of the blood oxygen feedback signal X2, and the control module 110 is used to obtain the maximum amplitude value, and in response to the absolute value of the difference between the maximum amplitude value and the theoretical maximum amplitude value being greater than the first preset threshold, adjust the first control signal so that the absolute value of the difference between the maximum amplitude value and the theoretical maximum amplitude value of the blood oxygen feedback signal X2 output by the feedback correction module output 300 is less than or equal to the first preset threshold. In other words, when the absolute value of the difference between the maximum amplitude value of the blood oxygen feedback signal X2 and the theoretical maximum amplitude value is less than or equal to the first preset threshold, it means that the maximum amplitude value of the blood oxygen feedback signal X2 meets the accuracy requirement of the blood oxygen simulator 10.
[0040] Furthermore, the feedback adjustment signal further includes a DC component and an AC component of the blood oxygen feedback signal X2; the control module 110 is used to obtain the DC component and the AC component, and in response to the absolute value of the difference between the ratio of the DC component to the AC component and the theoretical ratio of the DC component to the theoretical AC component being greater than a second preset threshold, adjust the first control signal so that the absolute value of the difference between the ratio of the DC component to the AC component output by the feedback correction module 120 and the theoretical ratio of the DC component to the AC component is less than or equal to the second preset threshold.
[0041] Specifically, in the present embodiment, the blood oxygen detection signal X1 and the blood oxygen feedback signal X2 are both optical signals, wherein the above-mentioned DC component and AC component refer to the DC and AC components of the red light and infrared light in the blood oxygen feedback signal X2. In the present embodiment, the control module 110 pre-acquires the maximum amplitude value of the blood oxygen feedback signal X2 (i.e., the above-mentioned maximum amplitude value of the blood oxygen feedback signal X2, i.e., the actual maximum amplitude value of the blood oxygen feedback signal X2 generated by the signal processing circuit 200 through the first control signal) and compares it in the above manner to determine whether the absolute value of the difference between the actual maximum amplitude value and the theoretical maximum amplitude value is greater than the first preset threshold value. If the absolute value of the difference between the actual maximum amplitude value and the theoretical maximum amplitude value is greater than the first preset threshold value, the control module 110 repeatedly adjusts the first control signal to make the maximum amplitude value of the blood oxygen feedback signal X2 output by the feedback correction module 120 In other words, when the absolute value of the difference between the maximum amplitude of the blood oxygen feedback signal X2 output by the feedback correction module 120 and the blood oxygen parameter is less than or equal to the first preset threshold, it means that the absolute value of the difference between the maximum amplitude of the blood oxygen detection signal X1 (blood oxygen detection signal X1) output by the signal processing circuit 200 based on the control of the current first control signal and the blood oxygen parameter is less than or equal to the first preset threshold, that is, the maximum amplitude of the blood oxygen detection signal X1 output by the signal processing circuit 200 based on the control of the current first control signal meets the accuracy requirement of the blood oxygen simulator 10.
[0042] Further, when the absolute value of the difference between the maximum amplitude value and the theoretical maximum amplitude value of the blood oxygen feedback signal X2 output by the signal processing circuit 200 is less than or equal to the first preset threshold, the control module 110 further obtains the ratio of the DC and AC components in the red light and infrared light of the blood oxygen feedback signal X2, and determines whether the absolute value of the difference between the ratio of the DC and AC components in the red light and infrared light of the blood oxygen feedback signal X2 and the theoretical ratio of the DC component and the AC component (that is, in theory, the ratio of the DC and AC components in the red light and infrared light of the blood oxygen feedback signal X2 corresponding to the blood oxygen parameter) is less than or equal to the second preset threshold. If the absolute value of the difference between the ratio of the DC and AC components in the red light and infrared light of the blood oxygen feedback signal X2 and the theoretical ratio of the DC component and the AC component is greater than the second preset threshold, the control module 110 repeatedly adjusts the first control signal so that the absolute value of the difference between the ratio of the DC and AC components in the red light and infrared light of the blood oxygen feedback signal X2 and the theoretical ratio of the DC component and the AC component is less than or equal to the second preset threshold. Among them, the first preset threshold and the second preset threshold mentioned above are pre-set in the control module 110, and are respectively used to measure the absolute value of the accuracy error value of the maximum amplitude and the ratio of the DC component to the AC component. The size of the accuracy error value can be set according to the actual accuracy requirements of the blood oxygen simulator 10, which will not be described in detail here.
[0043] Optionally, the signal processing circuit 200 includes: a signal acquisition circuit 220, a signal modulation circuit 210 and an optical signal output circuit 230. Figure 2 As shown, Figure 2 yes Figure 1 Schematic diagram of the circuit structure of an embodiment of a feedback correction module in a blood oxygen simulator; the feedback correction module 120 includes: a conversion circuit 121, an operational amplifier circuit 122 and a sampling circuit 123.
[0044] Specifically, the signal acquisition circuit 220 is used to receive the blood oxygen detection signal X1 and obtain the timing signal of the blood oxygen detection signal X1. The signal modulation circuit 210 is connected to the control module 110 and the signal acquisition circuit 220 respectively, and the signal modulation circuit 210 is used to generate a second control signal based on the timing signal and the first control signal. The optical signal output circuit 230 is connected to the signal modulation circuit 210, and the optical signal output circuit 230 is used to output the blood oxygen feedback signal X2 based on the second control signal. The conversion circuit 121 is connected to the optical signal output circuit 230, and is used to convert the blood oxygen feedback signal X2 into a current signal; the operational amplifier circuit 122 is connected to the conversion circuit 121, and the operational amplifier circuit 122 is used to convert the current signal into a voltage signal; the sampling circuit 123 is connected to the operational amplifier circuit 122 and the control module 110, and the sampling circuit 123 is used to sample and process the voltage signal to obtain a feedback adjustment signal corresponding to the blood oxygen parameter.
[0045] In other words, the signal modulation circuit 210 generates two electrical signals simulating red light and infrared light based on the first control signal, and at the same time, the signal acquisition circuit 220 extracts the timing signal in the blood oxygen detection signal X1 (i.e., the occurrence timing of red light and infrared light in the blood oxygen detection signal X1). The signal modulation circuit 210 outputs an electrical signal of red light, infrared light, or no light based on the timing in the timing signal to control the optical signal output circuit 230 to output the corresponding blood oxygen feedback signal X2. Among them, the second control signal is the electrical signal of red light, infrared light, or no light output by the signal modulation circuit 210 based on the timing signal. In the above manner, the optical signal output circuit 230 can output the blood oxygen feedback signal X2 corresponding to the blood oxygen parameter.
[0046] Further, the conversion circuit 121 can receive the blood oxygen feedback signal X2 of the optical signal output circuit 230, and convert the blood oxygen feedback signal X2 into a current signal. The operational amplifier circuit 122 converts the current signal into a voltage signal, and the sampling circuit 123 samples the voltage signal to obtain the maximum amplitude of the blood oxygen feedback signal X2 and the DC and AC components in the red light and infrared light of the blood oxygen feedback signal X2, so that the control module 110 adjusts the first control signal in the above manner, thereby effectively improving the accuracy of the blood oxygen parameters simulated by the blood oxygen simulator 10.
[0047] Optionally, the conversion circuit 121 includes: a photodiode D1. The operational amplifier circuit 122 includes: a first capacitor C1, a second capacitor C2, a third capacitor C3, a fourth capacitor C4, a fifth capacitor C5, a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, a first comparator U1, a second comparator U2 and a third comparator U3.
[0048] Specifically, the first signal end of the third capacitor C3 is connected to the first signal end of the photodiode D1, and the second signal end of the third capacitor C3 is grounded; the first signal end of the fourth capacitor C4 is connected to the second signal end of the photodiode D1, and the second signal end of the fourth capacitor C4 is grounded; the first signal end of the third resistor R3 is connected to the first signal end of the photodiode D1, the second signal end of the third resistor R3 is connected to the first signal end of the second comparator U2, and the second signal end of the second comparator U2 is grounded; the first signal end of the first resistor R1 is connected to the first signal end of the second comparator U2, and the second signal end of the first resistor R1 is connected to the third signal end of the second comparator U2; the first signal end of the first capacitor C1 is connected to the first signal end of the second comparator U2, and the second signal end of the first capacitor C1 is connected to the third signal end of the second comparator U2; the first signal end of the fourth resistor R4 is connected to the second signal end of the photodiode D1. The second signal end of the fourth resistor R4 is connected to the first signal end of the first comparator U1, and the second signal end of the first comparator U1 is grounded; the first signal end of the second resistor R2 is connected to the first signal end of the first comparator U1, and the second signal end of the second resistor R2 is connected to the third signal end of the first comparator U1; the first signal end of the second capacitor C2 is connected to the first signal end of the first comparator U1, and the second signal end of the second capacitor C2 is connected to the third signal end of the first comparator U1; the first signal end of the fifth resistor R5 is connected to the third signal end of the second comparator U2, and the second signal end of the fifth resistor R5 is connected to the third signal end of the third comparator The first signal end of the fifth capacitor C5 is connected to the first signal end of the third comparator U3, and the second signal end of the fifth capacitor C5 is connected to the third signal end of the third comparator U3; the first signal end of the seventh resistor R7 is connected to the first signal end of the third comparator U3, and the second signal end of the seventh resistor R7 is connected to the third signal end of the third comparator U3; the first signal end of the sixth resistor R6 is connected to the third signal end of the first comparator U1, and the second signal end of the sixth resistor R6 is connected to the second signal end of the third comparator U3; the third signal end of the third comparator U3 is connected to the sampling circuit 123.
[0049] Optionally, the control module 110 is further used to correct the curve array of the brightness of the first control signal and the blood oxygen feedback signal X2. The control module 110 is further used to calculate the ratio of the DC component to the AC component of the theoretical blood oxygen feedback signal; the control module 110 is further used to obtain the first control signal based on the ratio and the curve array; the curve array includes the relationship between the brightness of the first control signal and the blood oxygen feedback signal X2.
[0050] In other words, after obtaining the blood oxygen parameter, the control module 110 calculates the ratio of the DC component to the AC component of the theoretical blood oxygen feedback signal corresponding to the blood oxygen parameter, wherein the ratio of the DC component to the AC component of the blood oxygen feedback signal X2 is the ratio of the DC component to the AC component in the red light and the infrared light. Further, the control module 110 obtains the first control signal based on the ratio and the above-mentioned curve array, so that the first control signal corresponds to the blood oxygen parameter, and then the second control signal output by the signal modulation circuit 210 can control the optical signal output circuit 230 to output the blood oxygen feedback signal X2 that meets the accuracy requirements. Among them, the curve array is a relationship curve between the brightness of the first control signal and the blood oxygen feedback signal X2, and the curve array is pre-stored in the control module 110. Further, in this embodiment, the control module 110 will also perform correction processing on the curve array to calibrate the nonlinear error caused by the signal modulation circuit 210 and the optical signal output circuit 230, thereby effectively improving the accuracy of the blood oxygen simulator 10.
[0051] Specifically, in this embodiment, the first control signal includes a modulation voltage. The control module 110 is used to control the optical signal output circuit 230 to continuously output the blood oxygen feedback signal X2, adjust the voltage value of the modulation voltage from low to high, and record the brightness feedback value of the blood oxygen feedback signal X2 at each voltage value. Further, the control module 110 calculates the linear relationship between the voltage value of the modulation voltage and the brightness feedback value, thereby correcting the curve array, thereby effectively improving the accuracy of the blood oxygen simulator 10.
[0052] Optionally, the blood oxygen simulator 10 also includes a human-computer interaction circuit 300, wherein the human-computer interaction circuit 300 is connected to the control module 110, and the user inputs different blood oxygen parameters through the human-computer interaction circuit 300 to input different blood oxygen parameters to the control module 110, so that the blood oxygen simulator 10 simulates the blood oxygen feedback signal X2 corresponding to the blood oxygen parameters according to the above method.
[0053] The present application proposes a signal processing method, wherein the signal processing method can be applied to any embodiment of the above-mentioned blood oxygen simulator. Figure 3 As shown, Figure 3 is a specific flow chart of an embodiment of the signal processing method of the present application. Figure 3The method steps shown are implemented.
[0054] Step S100: The main control circuit obtains blood oxygen parameters and generates a first control signal based on the blood oxygen parameters.
[0055] In this embodiment, if Figure 4 As shown, Figure 4 yes Figure 3 A specific flow chart of step S100 in the embodiment; wherein the main control circuit obtains the blood oxygen parameter and generates a first control signal based on the blood oxygen parameter by Figure 4 The method steps in are implemented, specifically including steps S110 to S130.
[0056] Step S110: Obtain blood oxygen parameters.
[0057] Step S120: the main control circuit calculates the ratio of the DC component to the AC component of the theoretical blood oxygen feedback signal.
[0058] Step S130: The main control circuit obtains a first control signal corresponding to the ratio based on the ratio and the curve array; wherein the curve array includes a curve of the relationship between the first control signal and the brightness of the blood oxygen feedback signal.
[0059] Steps S110 to S130 are described together.
[0060] In this embodiment, the main control circuit includes a control module, which obtains blood oxygen parameters and calculates the ratio of the DC component to the AC component of the theoretical blood oxygen feedback signal. The theoretical blood oxygen feedback signal is a theoretical value of the blood oxygen feedback signal corresponding to the blood oxygen parameter, wherein the blood oxygen meter can parse the blood oxygen parameter from the blood oxygen feedback signal. In this embodiment, the blood oxygen feedback signal is an optical signal, and the ratio of the DC component to the AC component of the blood oxygen feedback signal is the ratio of the DC component to the AC component in the red light and infrared light of the blood oxygen feedback signal. Further, a curve array is stored in the control module, and the curve array is a curve of the relationship between the brightness of the first control signal and the blood oxygen feedback signal. Since the brightness of the blood oxygen feedback signal is related to the ratio of the DC component to the AC component in the red light and infrared light of the blood oxygen feedback signal, the curve array is a curve of the relationship between the first control signal and the ratio of the DC component to the AC component in the red light and infrared light of the blood oxygen feedback signal. After obtaining the ratio of the DC component to the AC component of the blood oxygen feedback signal, the control module obtains a first control signal based on the ratio of the DC component to the AC component of the blood oxygen feedback signal and the curve array to control the blood oxygen feedback signal output by the signal processing circuit to be as consistent as possible with the theoretical blood oxygen feedback signal, thereby effectively improving the accuracy of the blood oxygen simulator.
[0061] Step S200: The signal processing circuit obtains the blood oxygen detection signal and the first control signal, and generates a blood oxygen feedback signal corresponding to the blood oxygen parameter based on the blood oxygen detection signal and the first control signal.
[0062] In this embodiment, the blood oxygen detection signal is a detection signal sent by a blood oxygen meter for detecting blood oxygen. Figure 5 As shown, Figure 5 yes Figure 3 A specific flow chart of step S200 in the embodiment; wherein the step of the signal processing circuit acquiring the blood oxygen detection signal and the first control signal, and generating a blood oxygen feedback signal corresponding to the blood oxygen parameter based on the blood oxygen detection signal and the first control signal can be performed by Figure 5 The method steps shown are implemented, specifically including steps S210 to S230.
[0063] Step S210: Obtain a blood oxygen detection signal and a timing signal of the blood oxygen detection signal.
[0064] In this embodiment, the signal processing circuit includes a signal acquisition circuit, wherein the signal acquisition circuit is used to collect a blood oxygen detection signal emitted by the blood oxygen meter for detecting blood oxygen parameters, and obtain the timing of the blood oxygen detection signal emitted by the blood oxygen meter, that is, the timing signal, from the blood oxygen detection signal.
[0065] Step S220: Generate a second control signal based on the timing signal and the first control signal.
[0066] Step S230: outputting a blood oxygen feedback signal based on the second control signal.
[0067] Steps S220 to S230 are described together. In this embodiment, the signal processing circuit further includes a signal modulation circuit and an optical signal output circuit, wherein the signal modulation circuit is respectively connected to the control module, the optical signal output circuit and the signal acquisition circuit. The signal modulation circuit receives the first control signal sent by the control module, and generates two electrical signals simulating red light and infrared light based on the first control signal. Further, the signal modulation circuit outputs an electrical signal of red light, infrared light or no light based on the timing in the timing signal to control the optical signal output circuit to output the corresponding blood oxygen feedback signal. Among them, the second control signal is the electrical signal of red light, infrared light or no light output by the signal modulation circuit based on the timing signal.
[0068] Step S300: the main control circuit obtains a feedback adjustment signal corresponding to the blood oxygen feedback signal based on the blood oxygen feedback signal.
[0069] In this embodiment, the main control circuit further includes a feedback correction module, the signal processing circuit generates a blood oxygen feedback signal based on the first control signal, and sends the blood oxygen feedback signal to the blood oxygen meter and the feedback correction module respectively, wherein the feedback correction module obtains a feedback adjustment signal in the blood oxygen feedback signal based on the blood oxygen feedback signal, wherein the feedback adjustment signal includes the maximum amplitude value of the blood oxygen feedback signal, that is, the maximum amplitude value of the blood oxygen feedback signal, and further, the feedback adjustment signal also includes a DC component of the blood oxygen feedback signal and an AC component of the blood oxygen feedback signal, that is, the DC component and the AC component in the red light and infrared light of the blood oxygen feedback signal. Specifically, as Figure 6 As shown, Figure 6 yes Figure 3 A specific flow chart of step S300 in the embodiment; wherein the feedback correction module includes a conversion circuit, an operational amplifier circuit and a sampling circuit, wherein the conversion circuit is connected to the optical signal output circuit, the operational amplifier circuit is connected to the conversion circuit, and the sampling circuit is connected to the control module and the operational amplifier circuit. The step of the feedback correction module obtaining a feedback adjustment signal corresponding to the blood oxygen feedback signal based on the blood oxygen feedback signal can be performed by Figure 6 The method steps shown are implemented, specifically including step S310 to step S330.
[0070] Step S310: The conversion circuit obtains the blood oxygen feedback signal and converts the blood oxygen feedback signal into a current signal.
[0071] Step S320: the operational amplifier circuit converts the current signal into a voltage signal.
[0072] Step S330: The sampling circuit samples the voltage signal to obtain a feedback adjustment signal corresponding to the blood oxygen parameter.
[0073] Steps S310 to S330 are described together. In this embodiment, the specific circuit structures of the conversion circuit, the operational amplifier circuit and the sampling circuit can be referred to those described in the above embodiment, and will not be repeated here. Among them, the blood oxygen feedback signal is converted into a voltage signal after being converted and processed by the conversion circuit and the operational amplifier circuit in sequence, wherein the sampling circuit is a high-precision sampling element, and the sampling circuit samples and processes the voltage signal to obtain the above-mentioned feedback adjustment signal.
[0074] Step S400: The main control circuit adjusts the first control signal based on the feedback adjustment signal to adjust the blood oxygen feedback signal output by the signal processing circuit.
[0075] In this embodiment, the feedback correction module sends the acquired feedback adjustment signal to the control module, and the control module adjusts the first control signal based on the feedback adjustment signal to adjust the blood oxygen feedback signal output by the signal processing circuit, so that the blood oxygen feedback signal output by the signal processing circuit meets the accuracy requirement, that is, reduces the deviation between the blood oxygen feedback signal output by the signal processing circuit and the theoretical blood oxygen feedback signal. In other words, the control module controls the signal processing circuit to generate a blood oxygen feedback signal through the first control signal, and also performs feedback adjustment based on the blood oxygen feedback signal generated by the signal processing circuit, so that the deviation between the blood oxygen feedback signal output by the signal processing circuit and the theoretical blood oxygen feedback signal is minimized or consistent, thereby effectively improving the accuracy of the blood oxygen simulator. Specifically, if Figure 7 As shown, Figure 7 yes Figure 3 A specific flow chart of step S400 in the embodiment; step S400 can be performed by Figure 7 The method steps shown are implemented, specifically including step S410 to step S440.
[0076] Step S410: Obtain the maximum amplitude value, and determine whether the maximum amplitude value meets the accuracy requirement.
[0077] Step S420: In response to the absolute value of the difference between the maximum amplitude and the theoretical maximum amplitude is greater than the first preset threshold, adjust the first control signal so that the absolute value of the difference between the maximum amplitude of the blood oxygen feedback signal obtained by the main control circuit and the theoretical maximum amplitude is less than or equal to the first preset threshold.
[0078] Steps S410 to S420 are described together. In this embodiment, the feedback adjustment signal includes the maximum amplitude value of the blood oxygen feedback signal, wherein, in the above, the maximum amplitude value obtained by the feedback correction module is the actual maximum amplitude value in the actual blood oxygen feedback signal generated by the signal processing circuit based on the first control signal, wherein the theoretical maximum amplitude value is the maximum amplitude value of the blood oxygen feedback signal corresponding to the blood oxygen parameter in the theory. Specifically, the feedback correction module obtains the actual maximum amplitude value, and compares the absolute value of the difference between the actual maximum amplitude value and the theoretical maximum amplitude value with the first preset threshold value (the first preset threshold value is a preset absolute value of the precision error value for measuring whether the maximum amplitude value meets the precision requirement, which is an empirical parameter). If the absolute value of the difference between the actual maximum amplitude value and the theoretical maximum amplitude value is less than or equal to the first preset threshold value, it means that the actual maximum amplitude value meets the precision requirement, and the control module continues to execute steps S430 to S440. If the absolute value of the difference between the actual maximum amplitude value and the theoretical maximum amplitude value is greater than the first preset threshold, the control module pre-executes step S420, wherein, in step S420, in response to the absolute value of the difference between the actual maximum amplitude value and the theoretical maximum amplitude value being greater than the first preset threshold, the control module determines that the actual maximum amplitude value does not meet the accuracy requirement, and then the control module adjusts the signal parameters of the first control signal so that the absolute value of the difference between the actual maximum amplitude value and the theoretical maximum amplitude value of the blood oxygen feedback signal output by the signal processing circuit is less than or equal to the first preset threshold, and the control module continues to execute steps S430 to S440.
[0079] Step S430: Obtain the ratio of the DC component to the AC component, and determine whether the DC component and the AC component meet the accuracy requirement.
[0080] Step S440: In response to the absolute value of the difference between the ratio of the DC component to the AC component and the theoretical ratio of the DC component to the AC component being greater than a second preset threshold, the first control signal is adjusted so that the absolute value of the difference between the ratio of the DC component to the AC component output by the feedback correction module and the theoretical ratio of the DC component to the AC component is less than or equal to the second preset threshold.
[0081] Steps S430 to S440 are explained together. After the control module determines that the maximum amplitude value meets the accuracy requirement or adjusts the maximum amplitude value to meet the accuracy requirement through steps S410 to S420, it further obtains the ratio of the DC component to the AC component (i.e., the DC component and the AC component of the blood oxygen feedback signal), and determines whether the ratio of the DC component to the AC component meets the accuracy requirement. Among them, the ratio of the DC component to the AC component obtained by the above control module is the ratio of the actual DC component and the AC component of the blood oxygen feedback signal generated by the signal processing circuit based on the first control signal in practice, and the theoretical ratio of the DC component to the AC component is the ratio of the DC component and the AC component (the DC and AC components in red light and infrared light) of the blood oxygen feedback signal corresponding to the blood oxygen parameter in theory.
[0082] Among them, when the ratio of the actual DC component to the AC component is less than or equal to the ratio of the theoretical DC component to the AC component, the ratio of the actual DC component to the AC component meets the accuracy requirement, indicating that the ratio of the actual DC component to the AC component is consistent with the theoretical value. If the absolute value of the difference between the actual DC component and the AC component and the theoretical DC component and the AC component is greater than the second preset threshold, the actual DC component and the AC component ratio does not meet the accuracy requirement, then the control module adjusts the signal parameters of the first control signal so that the absolute value of the difference between the DC component and the AC component of the blood oxygen feedback signal output by the signal processing circuit and the theoretical DC component and the AC component ratio is less than or equal to the second preset threshold, so that the ratio of the DC component and the AC component of the blood oxygen feedback signal meets the accuracy requirement, thereby ensuring that the blood oxygen feedback signal output by the signal processing circuit based on the first control signal meets the accuracy requirement.
[0083] like Figure 8 As shown, Figure 8 is a specific flow chart of another embodiment of the signal processing method of the present application. Figure 8 The method steps shown are implemented.
[0084] Step S500: The main control circuit calibrates the curve array of the first control signal and the blood oxygen feedback signal.
[0085] In this embodiment, the control module pre-calibrates the curve array nonlinearly to eliminate the nonlinear error caused by the signal modulation circuit and the optical signal output circuit, thereby effectively improving the accuracy of the blood oxygen simulator. In this embodiment, the blood oxygen feedback signal is the blood oxygen feedback signal, and the curve array is a curve of the relationship between the brightness of the first control signal and the blood oxygen feedback signal.
[0086] Specifically, Fig. 9 As shown, Fig. 9 yes Figure 8A specific flow chart of step S500 in the embodiment; step S500 may be performed by Fig. 9 The method steps shown are implemented, specifically including steps S510 to S530.
[0087] Step S510: the main control circuit continuously outputs the modulation voltage, so that the signal processing circuit continuously outputs the blood oxygen feedback signal.
[0088] Step S520: The main control circuit adjusts the voltage value of the modulation voltage from low to high, and records the brightness feedback value of the blood oxygen feedback signal at each voltage value.
[0089] Step S530: the main control circuit calculates the linear relationship between the voltage value and the brightness feedback value to calibrate the curve array.
[0090] Steps S510 to S540 are described together. In this embodiment, the first control signal is a modulation voltage. First, the control module continuously outputs the modulation voltage so that the signal processing circuit continuously outputs the blood oxygen feedback signal. Further, the control module controls the voltage value of the modulation voltage from low to high, and records the brightness feedback value of the blood oxygen feedback signal at each voltage value. Finally, the control module arranges the linear relationship between the voltage value of the modulation voltage and the brightness feedback value, thereby obtaining a corrected curve array, thereby effectively improving the accuracy of the blood oxygen simulator.
[0091] Step S600: The main control circuit obtains blood oxygen parameters and generates a first control signal based on the blood oxygen parameters.
[0092] The specific implementation method can refer to the description of step S100 in the above embodiment, which will not be described in detail here.
[0093] Step S700: The main control circuit determines whether the signal processing circuit receives a continuous blood oxygen detection signal.
[0094] In this embodiment, the blood oxygen detection signal output by the oximeter is a blood oxygen feedback signal, and when the signal processing circuit receives a continuous blood oxygen feedback signal, the blood oxygen simulator continues to perform step S800. The blood oxygen simulator can effectively improve its anti-interference ability through step S700.
[0095] Step S800: The signal processing circuit obtains the blood oxygen detection signal and the first control signal, and generates a blood oxygen feedback signal corresponding to the blood oxygen parameter based on the blood oxygen detection signal and the first control signal.
[0096] The specific implementation method can refer to the description of step S200 in the above embodiment, which will not be repeated here.
[0097] Step S900: the main control circuit obtains a feedback adjustment signal corresponding to the blood oxygen feedback signal based on the blood oxygen feedback signal.
[0098] The specific implementation method can refer to the description of step S300 in the above embodiment, which will not be repeated here.
[0099] Step S1000: The main control circuit adjusts the first control signal based on the feedback adjustment signal so that the blood oxygen feedback signal output by the signal processing circuit has the smallest deviation from or is consistent with the theoretical blood oxygen feedback signal.
[0100] The specific implementation method can refer to the description of step S400 in the above embodiment, which will not be repeated here.
[0101] Different from the above embodiment, in this embodiment, the control module pre-corrects the curve array to effectively eliminate the nonlinear error caused by the signal modulation circuit and the optical signal output circuit, thereby effectively improving the accuracy of the blood oxygen simulator.
[0102] The present application also provides an electronic device, including a processor and a memory connected to the processor, the memory stores program instructions, and the processor executes the program instructions to implement the acquisition method of any of the above embodiments.
[0103] This application also proposes a computer-readable storage medium. Fig.10 , Fig.10 It is a structural diagram of an embodiment of a computer-readable storage medium of the present application.
[0104] The computer-readable storage medium 30 of the embodiment of the present application stores program instructions 31 therein, and the program instructions 31 are executed to implement the above-mentioned data downloading method.
[0105] Among them, the program instructions 31 can form a program file and be stored in the above-mentioned storage medium in the form of a software product, so that an electronic device (which can be a personal computer, a server, or a network device, etc.) or a processor (processor) executes all or part of the steps of the signal processing method of each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes, or terminal devices such as computers, servers, mobile phones, tablets, etc.
[0106] The computer-readable storage medium 30 of this embodiment may be, but is not limited to, a USB flash drive, an SD card, a PD optical drive, a mobile hard disk, a large-capacity floppy drive, a flash memory, a multimedia memory card, a server, and the like.
[0107] In one embodiment, a computer program product or computer program is provided, the computer program product or computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device performs the steps in the above-mentioned signal processing method embodiment.
[0108] In addition, if the above functions are implemented in the form of software functions and sold or used as independent products, they can be stored in a storage medium readable by a mobile terminal, that is, the present application also provides a storage device storing program instructions, which can be executed to implement the signal processing method of the above embodiment, and the storage device can be, for example, a USB flash drive, an optical disk, a server, etc. In other words, the present application can be embodied in the form of a software product, which includes several instructions for enabling an intelligent terminal to execute all or part of the steps of the signal processing method of each embodiment.
[0109] In summary, the present application provides a blood oxygen simulator and a signal processing method. The blood oxygen simulator 10 includes a main control circuit 100 and a signal processing circuit 200, wherein the main control circuit 100 includes a control module 110 and a feedback correction module 120. The control module 110 is used to obtain blood oxygen parameters and generate a first control signal based on the blood oxygen parameters. The signal processing circuit 200 is connected to the control module 110, wherein the signal processing circuit 200 is used to obtain a blood oxygen detection signal X1 and a first control signal, and generate a blood oxygen feedback signal X2 corresponding to the blood oxygen parameter based on the blood oxygen detection signal X1 and the first control signal. The feedback correction module 120 is respectively connected to the control module 110 and the signal processing circuit 200, wherein the feedback correction module 120 is used to obtain a feedback adjustment signal corresponding to the blood oxygen feedback signal X2 based on the blood oxygen feedback signal X2. In the above manner, the signal processing circuit 200 sends the blood oxygen feedback signal X2 to the blood oxygen meter 20 and also sends the blood oxygen feedback signal X2 to the feedback correction module 120, wherein the feedback correction module 120 converts the blood oxygen feedback signal X2 into a feedback adjustment signal and transmits it to the control module 110, so that the control module 110 adjusts the first control signal based on the blood oxygen feedback signal X2, and further adjusts the blood oxygen feedback signal X2 output by the signal processing circuit 200, thereby effectively improving the accuracy of simulating blood oxygen parameters of the blood oxygen simulator 10.
[0110] It is worth noting that the drawings in this article are only intended to illustrate the structural relationship and connection relationship of the invention product of this application, and do not limit the specific structural dimensions of the invention product of this application.
[0111] The above description is only an implementation mode of the present invention, and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A blood oxygen simulator, characterized in that: The blood oxygen simulator comprises: Signal processing circuit; A main control circuit is connected to the signal processing circuit, wherein the main control circuit comprises: A control module, used to obtain a blood oxygen parameter and generate a first control signal based on the blood oxygen parameter; wherein the signal processing circuit is used to obtain a blood oxygen detection signal and the first control signal, and generate a blood oxygen feedback signal corresponding to the blood oxygen parameter based on the blood oxygen detection signal and the first control signal; A feedback correction module, configured to obtain a feedback adjustment signal corresponding to the blood oxygen feedback signal based on the blood oxygen feedback signal; The control module is further used to adjust the first control signal based on the feedback adjustment signal to adjust the blood oxygen feedback signal output by the signal processing circuit.
2. The blood oxygen simulator according to claim 1, characterized in that: The feedback adjustment signal includes the maximum amplitude value of the blood oxygen feedback signal; the control module is used to obtain the maximum amplitude value, and in response to the absolute value of the difference between the maximum amplitude value and the theoretical maximum amplitude value being greater than a first preset threshold, adjust the first control signal so that the absolute value of the difference between the maximum amplitude value of the blood oxygen feedback signal output by the feedback correction module and the theoretical maximum amplitude value is less than or equal to the first preset threshold.
3. The blood oxygen simulator according to claim 2, characterized in that: The feedback adjustment signal includes a DC component and an AC component of the blood oxygen feedback signal; the control module is used to obtain the ratio of the DC component to the AC component, and in response to the absolute value of the difference between the ratio of the DC component to the AC component and the theoretical ratio of the DC component to the theoretical AC component being greater than a second preset threshold, adjust the first control signal so that the absolute value of the difference between the ratio of the DC component to the AC component output by the feedback correction module and the theoretical ratio of the DC component to the AC component is less than or equal to the second preset threshold.
4. The blood oxygen simulator according to claim 1, characterized in that: The signal processing circuit comprises: A signal acquisition circuit, used for receiving the blood oxygen detection signal and acquiring a timing signal of the blood oxygen detection signal; A signal modulation circuit, connected to the signal acquisition circuit and the control module respectively, and configured to generate a second control signal based on the timing signal and the first control signal; An optical signal output circuit is connected to the signal modulation circuit, and the optical signal output circuit is used to output the blood oxygen feedback signal based on the second control signal.
5. The blood oxygen simulator according to claim 4, characterized in that: The feedback correction module comprises: A conversion circuit, connected to the optical signal output circuit, and configured to convert the blood oxygen feedback signal into a current signal; An operational amplifier circuit, connected to the conversion circuit, and configured to convert the current signal into a voltage signal; A sampling circuit is connected to the control module and the operational amplifier circuit, and the sampling circuit is used to sample and process the voltage signal to obtain the feedback adjustment signal corresponding to the blood oxygen parameter.
6. The blood oxygen simulator according to claim 4, characterized in that: The control module is also used to correct the curve array of the brightness of the first control signal and the blood oxygen feedback signal.
7. The blood oxygen simulator according to claim 6, characterized in that: The first control signal includes a modulation voltage; The control module is further used to continuously output the modulation voltage so that the optical signal output circuit continuously outputs the blood oxygen feedback signal; The control module is also used to adjust the voltage value of the modulation voltage from low to high, and record the brightness feedback value of the blood oxygen feedback signal at each voltage value; The control module is further used to calculate the linear relationship between the voltage value and the brightness feedback value to correct the curve array.
8. The blood oxygen simulator according to claim 1, characterized in that: The control module is also used to calculate a theoretical ratio of a DC component to an AC component of the blood oxygen feedback signal; The control module is further used to obtain the first control signal based on the ratio and the curve array; wherein the curve array includes a relationship curve between the brightness of the first control signal and the blood oxygen feedback signal.
9. A signal processing method, characterized in that: Applied to a blood oxygen simulator, the blood oxygen simulator includes a signal processing circuit and a main control circuit, and the signal processing method includes: The main control circuit acquires a blood oxygen parameter, and generates a first control signal based on the blood oxygen parameter; The signal processing circuit acquires the blood oxygen detection signal and the first control signal, and generates a blood oxygen feedback signal corresponding to the blood oxygen parameter based on the blood oxygen detection signal and the first control signal; The main control circuit acquires a feedback adjustment signal corresponding to the blood oxygen feedback signal based on the blood oxygen feedback signal; The main control circuit adjusts the first control signal based on the feedback adjustment signal to adjust the blood oxygen feedback signal output by the signal processing circuit.
10. The signal processing method according to claim 9, characterized in that: The feedback adjustment signal includes the maximum amplitude value of the blood oxygen feedback signal; The main control circuit adjusts the first control signal based on the feedback adjustment signal, including: Obtaining the maximum amplitude value; In response to the absolute value of the difference between the maximum amplitude value and the theoretical maximum amplitude value being greater than a first preset threshold, the first control signal is adjusted so that the absolute value of the difference between the maximum amplitude value and the theoretical maximum amplitude value of the blood oxygen feedback signal obtained by the main control circuit is less than or equal to the first preset threshold.
11. The signal processing method according to claim 10, characterized in that: The feedback adjustment signal further includes a DC component of the blood oxygen feedback signal and an AC component of the blood oxygen feedback signal; The main control circuit adjusts the first control signal based on the feedback adjustment signal, further comprising: Obtaining a ratio of the DC component to the AC component; In response to the absolute value of the difference between the ratio of the DC component to the AC component and the theoretical ratio of the DC component to the AC component being greater than a second preset threshold, the first control signal is adjusted so that the absolute value of the difference between the ratio of the DC component to the AC component obtained by the main control circuit and the theoretical ratio of the DC component to the AC component is less than or equal to the second preset threshold.
12. The signal processing method according to claim 9, characterized in that: The signal processing circuit acquires the blood oxygen detection signal and the first control signal, and generates a blood oxygen feedback signal corresponding to the blood oxygen parameter based on the blood oxygen detection signal and the first control signal, including: Acquire the blood oxygen detection signal, and acquire a timing signal of the blood oxygen detection signal; Generate a second control signal based on the timing signal and the first control signal; The blood oxygen feedback signal is output based on the second control signal.
13. The signal processing method according to claim 9, characterized in that: Before the main control circuit outputs a feedback adjustment signal based on the blood oxygen feedback signal, the method further includes: The main control circuit corrects the curve array of the first control signal and the blood oxygen feedback signal.
14. The signal processing method according to claim 13, characterized in that: The first control signal includes a modulation voltage; the main control circuit corrects the curve array of the first control signal and the blood oxygen feedback signal, including: The main control circuit continuously outputs the modulation voltage so that the signal processing circuit continuously outputs the blood oxygen feedback signal; The main control circuit adjusts the voltage value of the modulation voltage from low to high, and records the brightness feedback value of the blood oxygen feedback signal at each voltage value; The main control circuit calculates the linear relationship between the voltage value and the brightness feedback value to correct the curve array.
15. The signal processing method according to claim 9, characterized in that: The main control circuit generates a first control signal based on the blood oxygen parameter, including: The main control circuit calculates a theoretical ratio of a DC component to an AC component of the blood oxygen feedback signal; The main control circuit obtains the first control signal based on the ratio and the curve array; wherein the curve array includes a relationship curve between the brightness of the first control signal and the blood oxygen feedback signal.
16. An electronic device, characterized in that: It comprises a processor and a memory connected to the processor, the memory stores program instructions, and the processor executes the program instructions to implement the signal processing method according to any one of claims 9 to 15.
17. A computer-readable storage medium, characterized in that: Program instructions are stored, and when the program instructions are executed by a processor, the signal processing method according to any one of claims 9 to 15 is implemented.
