Printer current value correction method and device, computer device and storage medium
By establishing a relational function, the current value of the 3D printer is calibrated using the optical power and current values detected by a common optical power meter. This solves the problem of time-consuming and labor-intensive optical power detection, and enables quick and easy adjustment of optical power, improving detection efficiency and ease of use.
Patent Information
- Application Number
- CN202211496714.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-25
- Publication Date
- 2025-12-05
- Estimated Expiration
- 2042-11-25
AI Technical Summary
Testing the output power of existing 3D printers is time-consuming and labor-intensive. Conventional methods require professionals to carry expensive optical power meters for on-site measurement, which is inconvenient.
By establishing a first relational function and a second relational function, the printer current value is calculated and corrected using the optical power value and current value detected by a common optical power meter, so as to adjust the optical power and reduce the dependence on professional testing equipment.
It enables quick and easy calibration of the light output power of 3D printers, improves inspection efficiency, reduces the need for professional equipment, and enhances the ease of use of printers.
Smart Images

Figure CN116118194B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of 3D printers, and particularly relates to a printer current value correction method and device, computer equipment, a storage medium and a computer program product. BACKGROUND
[0002] 3D printing technology is a kind of rapid prototyping technology, which firstly converts an object into 3D data, and then uses powder metal or plastic and other adhesive materials to cut and print layer by layer to obtain a three-dimensional object. At present, in the 3D printing technology, the surface exposure technology is widely used due to its rapid prototyping and high precision.
[0003] In the surface exposure technology, the light output power of the light output device of the 3D printer will attenuate, so it is necessary to regularly detect the light output power of the 3D printer. The conventional method is that professional staff carries a professional light power detector to measure the light power on site. However, with the popularization of 3D printers, the conventional method is time-consuming and labor-intensive, which brings inconvenience to the use and detection of 3D printers. SUMMARY
[0004] Therefore, it is necessary to provide a printer current value correction method, device, computer equipment, storage medium and computer program product capable of improving the detection efficiency of the light output power of the printer.
[0005] In a first aspect, the present application provides a printer current value correction method. The method comprises:
[0006] determining a target first light power value, a first relationship function and a second relationship function; wherein the first relationship function is used to represent the correlation between the first light power value and the corresponding second light power value; and the second relationship function is used to represent the correlation between the third light power value and the corresponding current value;
[0007] substituting the target first light power value into the first relationship function to calculate the target second light power value corresponding to the target first light power value;
[0008] letting the target third light power value be equal to the target second light power value, and adjusting the printer current using the current value calculated by the target third light power value and the second relationship function.
[0009] In one embodiment, the step of obtaining the target first light power value, the first relationship function and the second relationship function comprises:
[0010] controlling the printer to emit a first detection image; wherein the first detection image is projected by the light emitting device of the printer;
[0011] receiving a plurality of third optical power values corresponding to the plurality of current values detected when the printer emits the first detection image;
[0012] establishing the second relationship function based on the plurality of third optical power values and the plurality of corresponding current values.
[0013] In one embodiment, before the step of controlling the printer to emit the first detection image, further comprising:
[0014] confirming a current value range of the printer;
[0015] dividing the current value range of the printer into a plurality of detection sub-values;
[0016] controlling the printer to emit detection images with the plurality of detection sub-values based on the plurality of detection sub-values; wherein the detection images are used to obtain one of the first optical power value, the second optical power value, and the third optical power value; wherein the plurality of detection sub-values, the first optical power value, the second optical power value, and the third optical power value form a list.
[0017] In one embodiment, in the steps of obtaining the target first optical power value, the first relationship function, and the second relationship function, comprising:
[0018] controlling the printer to emit the first detection image or the second detection image with the plurality of detection sub-values based on the plurality of detection sub-values; wherein the second detection image is used to obtain the first relationship function; and the second detection image is consistent with the content of the first detection image.
[0019] In one embodiment, after the step of controlling the printer to emit detection images with the plurality of detection sub-values based on the plurality of detection sub-values, comprising:
[0020] controlling the printer to emit the second detection image with the plurality of detection sub-values based on the plurality of detection sub-values;
[0021] receiving the first optical power value and the second optical power value; wherein the first optical power value and the second optical power value are data from different terminals detected when the printer emits the second detection image;
[0022] establishing the first relationship function based on the first optical power value and the second optical power value.
[0023] In one embodiment, in the step of correcting the current value of the printer according to the target current value obtained by the second optical power value and the second relationship function, comprising:
[0024] substituting the target third optical power value into the second relationship function;
[0025] calculating a target current value using the target third optical power and the second relationship function;
[0026] adjusting the printer current using the target current value.
[0027] In a second aspect, the present application provides a device for correcting a printer current value. The device comprises:
[0028] a determining module configured to determine a target first optical power value, a first relationship function and a second relationship function; wherein the first relationship function is configured to represent a correlation between the first optical power value and a corresponding second optical power value; and the second relationship function is configured to represent a correlation between a third optical power value and a corresponding current value;
[0029] a calculating module configured to substitute the target first optical power value into the first relationship function to calculate a target second optical power value corresponding to the target first optical power value;
[0030] a correcting module configured to make a target third optical power value equal to the target second optical power value, and adjust the printer current using a target current value calculated by substituting the target third optical power value into the second relationship function.
[0031] In a third aspect, the present application provides a computer device. The computer device comprises a memory and a server, wherein the memory stores a computer program, and the server implements the following steps when executing the computer program:
[0032] determining a target first optical power value, a first relationship function and a second relationship function; wherein the first relationship function is configured to represent a correlation between the first optical power value and a corresponding second optical power value; and the second relationship function is configured to represent a correlation between a third optical power value and a corresponding current value;
[0033] substituting the target first optical power value into the first relationship function to calculate a target second optical power value corresponding to the target first optical power value;
[0034] making a target third optical power value equal to the target second optical power value, and adjusting the printer current using a target current value calculated by substituting the target third optical power value into the second relationship function.
[0035] In a fourth aspect, the present application provides a computer readable storage medium. The computer readable storage medium stores a computer program, and the computer program is executed by a server to implement the following steps:
[0036] determining a target first optical power value, a first relationship function and a second relationship function; wherein the first relationship function is used to represent the correlation between the first optical power value and a corresponding second optical power value; and the second relationship function is used to represent the correlation between a third optical power value and a corresponding current value;
[0037] substituting the target first optical power value into the first relationship function to calculate a target second optical power value corresponding to the target first optical power value;
[0038] setting a target third optical power value equal to the target second optical power value, and adjusting the printer current using a target current value calculated by the target third optical power value and the second relationship function.
[0039] In a fifth aspect, the present application further provides a computer program product. The computer program product comprises a computer program which, when executed by a processor, implements the following steps:
[0040] determining a target first optical power value, a first relationship function and a second relationship function; wherein the first relationship function is used to represent the correlation between the first optical power value and a corresponding second optical power value; and the second relationship function is used to represent the correlation between a third optical power value and a corresponding current value;
[0041] substituting the target first optical power value into the first relationship function to calculate a target second optical power value corresponding to the target first optical power value;
[0042] setting a target third optical power value equal to the target second optical power value, and adjusting the printer current using a target current value calculated by the target third optical power value and the second relationship function.
[0043] The printer current value correction method, device, computer equipment, storage medium and computer program product described above, by determining a target first optical power value, a first relationship function and a second relationship function, calculating a target current value, and using the target current value to correct the printer current value, achieve the purpose of improving the light output efficiency of the printer. BRIEF DESCRIPTION OF DRAWINGS
[0044] Figure 1 An application environment diagram of the printer current value correction method in one embodiment;
[0045] Figure 2 A flowchart of the method for obtaining the optical power of a professional power meter in one embodiment;
[0046] Figure 3 A flowchart of the method for obtaining the optical power of a general power meter in one embodiment;
[0047] Figure 4 A schematic diagram of a printer and optical power meter device in an embodiment;
[0048] Figure 5 A flowchart of a method for correcting a printer current value in an embodiment;
[0049] Figure 6 A schematic diagram of a second relationship function in an embodiment;
[0050] Figure 7 A schematic diagram of a first relationship function in an embodiment;
[0051] Figure 8 A block diagram of an apparatus structure of a method for correcting a printer current value in an embodiment;
[0052] Figure 9 An internal structure diagram of a computer device in an embodiment. DETAILED DESCRIPTION
[0053] In order to make the purposes, technical solutions and advantages of the present application clearer, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and should not be used to limit the present application.
[0054] The method for correcting a printer current value provided by the embodiments of the present application can be applied in an application environment as shown in Figure 1 When a surface exposure device is used, it will continuously emit light, and a 3D printer performs 3D printing according to the position and intensity of the emitted light and other information. The light emitting power of the surface exposure device will decay with the increase of use, which affects the printing effect. Therefore, the light emitting power of the surface exposure device needs to be detected regularly. The usual way of light power detection is to use an optical power meter to aim at the target detection area, and the staff can know the light power value of the target detection area by reading the reading of the optical power meter, and then adjust the light emitting current of the surface exposure device to adjust the light emitting power. The cost of a professional optical power meter is high, and the consistency of an ordinary optical power meter is difficult to meet the requirements of a 3D printer.
[0055] The present specification provides a scene example of a printer current value correction. Please refer to Figure 1 and Figure 2 The projection of a 3D printer is controlled by an image display chip, and the light emission is controlled by an LED. The light emitting power of a newly manufactured 3D printer meets the standard. The newly manufactured 3D printer is operated to project a detection image. At this time, it can be considered that the light emitting power of the newly manufactured 3D printer projecting the detection image is within the standard range.
[0056] Please refer to Figure 2A professional staff member uses the expensive professional optical power meter to detect the light output power at different positions of the detection image, and obtains the standard light output power of the 3D printer just out of the factory and the corresponding current value detected by the professional optical power meter. The staff member records the standard light output power value and the corresponding current value of the 3D printer just out of the factory detected by the professional optical power meter into the server of the 3D printer as list P.
[0057] Please refer to Figure 3 A professional staff member uses the ordinary optical power meter to repeat the above steps to detect the light output power at different positions of the detection image, and obtains the standard light output power of the 3D printer just out of the factory and the corresponding current value detected by the ordinary optical power meter. The staff member records the standard light output power value and the corresponding current value of the 3D printer just out of the factory detected by the ordinary optical power meter into the server of the 3D printer as list O. At the same time, the server also has list I for recording the current value of the detection image, and list C for recording the readings of the ordinary optical power meter again. The values of list C, list I and list O are consistent.
[0058] It should be noted that the detection of the 3D printer just out of the factory using the professional optical power meter and the detection of the 3D printer just out of the factory using the ordinary optical power meter can be performed at similar times.
[0059] The user purchases the 3D printer and the accompanying ordinary optical power meter, which can be the same as the ordinary optical power meter used by the aforementioned staff member. After the surface exposure device of the 3D printer has been working for a period of time, the light emitting device will show signs of aging, resulting in a decrease in light output power. After being used for a period of time, the user believes that the 3D printer has experienced a power decay, and needs to detect the light output power of the 3D printer. The user operates the 3D printer to project the detection image, and sets the current value of the detection image to be consistent with the current value of the detection image at the time of factory shipment. The 3D printer server updates the current value of the detection image set by the user to list I.
[0060] The user uses the ordinary optical power meter to obtain the light power value of the detection image. Please refer to Figure 4 The ordinary optical power meter can be used with the 3D printer, that is, the ordinary optical power meter can send the readings to the server of the 3D printer. After the server receives the readings sent by the ordinary optical power meter, the server updates list C.
[0061] The server looks up list P and list O, and fits the values of the two to obtain a relationship curve I, which expresses the functional relationship between the readings of the ordinary optical power meter and the readings of the professional optical power meter. The server obtains the target first light power value, and brings the light power value into the above-mentioned relationship curve I to obtain the light power value measured by the ordinary power meter at the time of factory shipment.
[0062] The server looks up the list C and the list I, and fits the values of the two to obtain a relationship curve II, which represents the functional relationship between the current value of the 3D printer after attenuation and the light output power. The server brings the light power value into the above-mentioned relationship curve II to obtain the current value corresponding to the light output power measured by the ordinary power meter after attenuation.
[0063] The server adjusts the current of the 3D printer using the current value, so that the light output power of the 3D printer approaches the light output power when it leaves the factory, reducing the adverse effects of attenuation on the printing result. The foregoing method does not require professional staff to carry professional light power meters to the scene for detection, and users can operate at any time, improving detection efficiency.
[0064] The above is only a scenario example provided by the specification and does not limit the present application. Any modification, equivalent replacement, etc. within the spirit and principles of the present application should be included in the protection scope of the present application.
[0065] The specification provides a method for correcting the current value of a printer. Please refer to Figure 5 The method for correcting the current value of the printer includes the following steps.
[0066] Step S110: determining a target first light power value, a first relationship function and a second relationship function; wherein the first relationship function is used to represent the correlation between the first light power value and the corresponding second light power value; and the second relationship function is used to represent the correlation between the third light power value and the corresponding current value.
[0067] The light power value can be used to represent the intensity of the light output of the 3D printer; the light power value can be a value received by the server of the 3D printer. Specifically, it can be a value input by the user, or it can be sent by the light power meter to the 3D printer. In some cases, an information transmission channel can be established between the 3D printer and the light power meter, so that the light power meter can send the light power value to the corresponding 3D printer. Specifically, for example, Bluetooth connection, or network connection.
[0068] The target first light power value can be a light power value that the user hopes to obtain, or a light power value sent by the client and received by the server.
[0069] The first light power value is a light power value of the 3D printer measured by a professional light power meter when the 3D printer is shipped. The second light power value can be a light power value of the 3D printer measured by a common light power meter. It should be noted that the first light power value and the second light power value can be obtained at a time close to each other. The first light power value and the second light power value can be used to express the light output power of the 3D printer when the 3D printer is not attenuated. The time when the 3D printer is shipped and not attenuated can be the first use of the 3D printer, or the second or third use, or the first few uses, which is not limited in the present application.
[0070] The third light power value can be used to express the light power value of the 3D printer measured by the user using the common light power meter after the 3D printer is used for a period of time, and can be used to express the light power value measured after the 3D printer is attenuated. The first light power value, the second light power value and the third light power value can be multiple. The number of the first light power value, the second light power value and the third light power value is not limited in the present application.
[0071] The first relationship function can be used to express the functional relationship between the first light power value and the second light power value. The first relationship function can also express the functional relationship between the professional light power meter and the common light power meter. The first relationship function can be stored in the server or memory of the 3D printer, or can be received from other clients.
[0072] The second relationship function can be used to express the functional relationship between the third light power value and the current value. The second relationship function can be established using the attenuated light power value and the current value, or can be established by the user using the common light power meter. The second relationship function can be stored in the server or memory of the 3D printer, or can be received from other clients.
[0073] The current value can be used to express the current intensity of the 3D printer for controlling light output. The 3D printer controls the light output power of the light emitting device by controlling the size of the current value. Similarly, the current value can be multiple. The number of the current value is not limited in the present application.
[0074] Step S120: substituting the target first light power value into the first relationship function to calculate a target second light power value corresponding to the target first light power value.
[0075] The method of substituting the target first light power value into the first relationship function can be to use the specific value of the target first light power value, combine the first relationship function, and calculate the target second light power value. Since the first light power value and the second light power value have a corresponding relationship, the first relationship function can be used to express the functional relationship between the professional light power meter and the common light power meter, so that after the target first light power value measured by the professional light power meter is substituted into the first relationship function, the target second light power value measured by the common light power meter can be calculated.
[0076] Step S130: let the target third optical power value equal to the target second optical power value, and adjust the printer current using the target current value calculated by the target third optical power value and the second relationship function.
[0077] The numerical value of the target third optical power value can be equal to the target second optical power value. In some cases, the numerical value of the target third optical power value can be approximately equal to the target second optical power value. Specifically, for example, the target second optical power value is 174.30, and the target third optical power value can be a value between 169.30 and 177.80. The above-mentioned target second optical power value and target third optical power value are only examples, and the specific numerical value of the target second optical power value and target third optical power value is not limited in actual embodiments.
[0078] The target third optical power value is brought into the second relationship function, and the target current value calculated thereby can be the current value required by the 3D printer to project the target first optical power value after attenuation.
[0079] The current value of the 3D printer can be continuously adjusted so that the light output power of the printer changes to meet the user's needs. The light emitting device of the 3D printer will age, that is, the actual light output power does not match the user's desired light output power, affecting the printing effect. By obtaining the first optical power value, the first relationship function and the second relationship function, the light emitting current of the 3D printer can be corrected in the case of attenuation of the 3D printer, which is fast and simple to operate.
[0080] In one embodiment, the steps of determining the target first optical power value, the first relationship function and the second relationship function include: controlling the printer to emit a first detection image; wherein the first detection image is projected by the light emitting device of the printer; receiving a plurality of third optical power values corresponding to a plurality of current values detected when the printer emits the first detection image; and establishing the second relationship function based on the plurality of third optical power values and the plurality of corresponding current values.
[0081] The first detection image can be formed by light emitted by the light emitting device of the 3D printer. The 3D printer controls the current intensity to control the light emitting power of the light emitting device, so that the light emitting device emits light with different powers to form the first detection image. The first detection image can be formed by light emitted by the light emitting device of the 3D printer after attenuation, or by light emitted by the light emitting device of the 3D printer when the user thinks it is necessary to detect the light emitting power.
[0082] The current value can be the light emitting current value of the 3D printer, that is, the current value for controlling the light emitting device.
[0083] The third optical power value corresponding to the detection current value detected when the printer emits the first detection image can be received from the third optical power value emitted by the ordinary power meter.
[0084] Based on the third optical power value and the corresponding detection current value, the method for establishing the second relationship function can be to first form a list based on the third optical power value and the corresponding current value, then based on the data of the list, select a more suitable function equation, calculate the overall fitting degree, and take the equation with better fitting degree as the first relationship function. Specifically, for example, the function equation can be a linear function, and the fitting degree can be a regression error analysis.
[0085] By receiving the third optical power value detected when the first detection image is emitted, the second relationship function can be calculated with the current value.
[0086] In one embodiment, it further includes: before the step of controlling the printer to emit the first detection image, it further includes: confirming the current value range of the printer; dividing the current value range of the printer into a plurality of detection sub-values; based on the plurality of detection sub-values, controlling the printer to emit detection images with the plurality of detection sub-values; wherein the detection images are used to obtain one of the following: the first optical power value, the second optical power value, and the third optical power value; wherein the plurality of detection sub-values, the first optical power value, the second optical power value, and the third optical power value form a list.
[0087] The current value can be multiple. In some cases, it is not necessary to detect each current value, so the current value is divided into a plurality of detection sub-values as needed. When emitting detection images, a set of detection images can be emitted using a plurality of detection sub-values, or a set of detection images can be emitted for each detection sub-value. Specifically, for example, a percentage can be used to divide the plurality of detection sub-values.
[0088] The detection sub-value can have a corresponding first optical power value, a second optical power value, and a third optical power value, so the detection sub-value can form a list with the corresponding first optical power value, the second optical power value, and the third optical power value, which is convenient for subsequent data searching. Of course, the data in the list can be updated.
[0089] In one embodiment, in the steps of obtaining the target first optical power value, the first relationship function, and the second relationship function, it includes: based on the plurality of detection sub-values, controlling the printer to emit the first detection image or the second detection image; wherein the second detection image is used to obtain the first relationship function; the content of the second detection image is consistent with that of the first detection image.
[0090] The second detection image can be an image projected according to the detection sub-values when the 3D printer is shipped, or can be formed by light emitted by the light emitting device of the 3D printer when the 3D printer is used for the first time. The content of the second detection image can be consistent with that of the first detection image, but the light emitting power for projecting the second detection image can be different from that for projecting the first detection image. The content and light emitting power of the first detection image and the second detection image are not limited in the present application.
[0091] In one embodiment, after the step of controlling the 3D printer to emit the detection image based on the detection sub-values, the method further comprises: controlling the 3D printer to emit a second detection image based on the detection sub-values; receiving a first light power value and a second light power value; wherein the first light power value and the second light power value are data detected from different terminals when the 3D printer emits the second detection image; and establishing a first relationship function based on the first light power value and the second light power value.
[0092] The first light power value can be a value sent to the server when a professional light power meter detects the 3D printer when it is shipped. The second light power value can be a value sent to the server when a general light power meter detects the 3D printer when it is shipped. Since the second detection image can be formed by light emitted by the light emitting device of the 3D printer when it is shipped, the first light power value and the second light power value can be values sent to the server by different detection devices in a relatively close time.
[0093] At this time, the first light power value and the second light power value can be obtained in a relatively close time, and it can be considered that the light emitting power values of the 3D printer are consistent, and the first relationship function can be established.
[0094] In one embodiment, the step of adjusting the current value of the 3D printer according to the target current value obtained by the third light power value and the second relationship function comprises: inputting the target third light power value into the second relationship function; calculating the target current value using the target third light power and the second relationship function; and adjusting the current of the 3D printer using the target current value.
[0095] After the light emitting power of the 3D printer decays, the light emitting power can be changed by adjusting the current intensity, so that the light emitting efficiency of the 3D printer used for a period of time is close to the light emitting efficiency when it is shipped, and the printing quality is improved.
[0096] It should be understood that, although the steps in the flowcharts involved in the above embodiments are shown in sequence according to the arrows, the steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, the execution of the steps is not strictly limited in sequence, and the steps can be executed in other sequences. Moreover, at least some of the steps in the flowcharts involved in the above embodiments can include multiple steps or multiple stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution sequence of the steps or stages is not necessarily sequential, but can be executed in rotation or alternation with at least some of the other steps or the steps or stages in the other steps.
[0097] The present specification provides a specific embodiment of the correction of the current value of a printer. Please refer to Table 1. A 3D printer, according to the set detection sub-value (List I) at the time of factory shipment, projects a second detection image, uses the light power values detected by a professional light power meter (List P) and a general light power meter (List O), and, after a period of use, according to the set detection sub-value (List I), projects a first detection image, uses the light power values detected by a general light power meter (List C).
[0098] Table 1
[0099]
[0100]
[0101] Using the data in List P and List O, a curve is fitted to obtain Curve I in Figure 6 Figure 6 Curve I in represents the linear relationship between the readings of the professional light power meter and the readings of the general light power meter.
[0102] Using the data in List I and List C, a curve is fitted to obtain Curve II in Figure 7 Figure 7 Curve II in represents the linear relationship between the light power values and the current values after the 3D printer has been used for a period of time.
[0103] For example, the required light output power is 146.3 at present, and the light power value measured at the factory by using the common power meter is 174.3 through the curve I fitting. At this time, the light power value measured at the factory by using the common power meter is required to be 174.3, and 174.3 is searched in Table 1 to be between 169.3 and 177.8, so that 174.3 is 169.3 or 177.8. The current value corresponding to 169.3 is 45.71 and the current value corresponding to 177.8 is 48.57 through the curve II calculation, and it can be considered that the current value is a value between 45.71 and 48.57, that is, 47.39. The user adjusts the current value to 47.39 to obtain the required light output power of 146.3.
[0104] Based on the same inventive concept, the embodiment of the present application also provides a printer current value correction device for implementing the printer current value correction method. The implementation scheme of the device for solving the problem is similar to the implementation scheme described in the above method, so the specific limitations in one or more printer current value correction device embodiments provided below can refer to the limitations of the printer current value correction method in the foregoing, which will not be described here.
[0105] In one embodiment, as shown in Figure 8 A printer current value correction device is provided, comprising: a determination module 100, a calculation module 102 and a correction module 103, wherein:
[0106] The determination module 100 is configured to determine a target first light power value, a first relationship function and a second relationship function; wherein the first relationship function is configured to represent the correlation between the first light power value and the corresponding second light power value; and the second relationship function is configured to represent the correlation between the third light power value and the corresponding detection current value.
[0107] The calculation module 102 is configured to substitute the target first light power value into the first relationship function to calculate the target second light power value corresponding to the target first light power value.
[0108] The correction module 103 is configured to correct the printer current according to the target current value calculated by the target third light power value and the second relationship function.
[0109] The above-mentioned various modules of the printer current value correction device can be realized by software, hardware and their combinations in whole or in part. The above-mentioned various modules can be embedded in or independent of the processor in the computer device in hardware form, or can be stored in the memory in the computer device in software form, so as to be called and executed by the processor to perform the operations corresponding to the above-mentioned various modules.
[0110] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 9 As shown, the computer device includes a processor, memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database stores calibration data for printer current values. The network interface communicates with external terminals via a network connection. When executed by the processor, the computer program implements a method for calibrating printer current values.
[0111] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 9 As shown, the computer device includes a processor, memory, communication interface, display screen, and input device connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When executed by the processor, the computer program implements a method for correcting printer current values.
[0112] Those skilled in the art will understand that Figure 9 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0113] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0114] Determine the target first optical power value, a first relational function, and a second relational function; wherein, the first relational function is used to represent the correlation between the first optical power value and the corresponding second optical power value; and the second relational function is used to represent the correlation between the third optical power value and the corresponding detection current value.
[0115] substituting the target first optical power value into the first relationship function, a target second optical power value corresponding to the target first optical power value is calculated;
[0116] the target third optical power value is equal to the target second optical power value, and a target current value calculated by the target third optical power value and the second relationship function is used to adjust the printer current.
[0117] In one embodiment, the processor executing the computer program also implements the following steps:
[0118] In the step of determining the target first optical power value, the first relationship function and the second relationship function, the step includes:
[0119] controlling the printer to emit a first detection image; wherein the first detection image is projected by the light emitting device of the printer;
[0120] receiving a plurality of third optical power values corresponding to a plurality of current values detected when the printer emits the first detection image;
[0121] Based on a plurality of third optical power values and a plurality of corresponding current values, the second relationship function is established.
[0122] In one embodiment, the processor executing the computer program also implements the following steps:
[0123] Before the step of controlling the printer to emit a first detection image, it further includes:
[0124] confirming the current value range of the printer;
[0125] dividing the current value range of the printer into a plurality of detection sub-values;
[0126] Based on a plurality of the detection sub-values, the printer is controlled to emit detection images with a plurality of detection sub-values; wherein the detection image is used to obtain one of the following: the first optical power value, the second optical power value or the third optical power value; wherein a plurality of detection sub-values, the first optical power value, the second optical power value, the third optical power value form a list.
[0127] In one embodiment, the processor executing the computer program also implements the following steps:
[0128] In the step of determining the target first optical power value, the first relationship function and the second relationship function, the step includes:
[0129] Based on the plurality of detection sub-values, the printer is controlled to emit the first detection image or the second detection image with the plurality of detection sub-values; wherein the second detection image is used to obtain the first relationship function; the second detection image is consistent with the content of the first detection image.
[0130] In one embodiment, the processor, when executing the computer program, also implements the following steps:
[0131] After the step of controlling the printer to emit the detection image with the plurality of detection sub-values based on the plurality of detection sub-values, the step includes:
[0132] Controlling the printer to emit the second detection image with the plurality of detection sub-values based on the plurality of detection sub-values;
[0133] Receiving the first optical power value and the second optical power value; wherein the first optical power value and the second optical power value are data from different terminals detected when the printer emits the second detection image;
[0134] Based on the first optical power value and the second optical power value, the first relationship function is established.
[0135] In one embodiment, the processor, when executing the computer program, also implements the following steps:
[0136] In the step of adjusting the current value of the printer according to the target current value obtained by the third optical power value and the second relationship function, the step includes:
[0137] The target third optical power value is substituted into the second relationship function;
[0138] The target current value is calculated using the target third optical power and the second relationship function;
[0139] The target current value is used to adjust the current of the printer.
[0140] In one embodiment, a computer readable storage medium is provided, and the computer readable storage medium stores a computer program, and the computer program is executed by a processor to implement the following steps:
[0141] A target first optical power value, a first relationship function and a second relationship function are determined; wherein the first relationship function is used to represent the correlation between the first optical power value and the corresponding second optical power value; the second relationship function is used to represent the correlation between the third optical power value and the corresponding current value;
[0142] The target first optical power value is substituted into the first relationship function to calculate the target second optical power value corresponding to the target first optical power value;
[0143] letting a target third optical power value be equal to the target second optical power value, and adjusting the current value of the printer according to a target current value obtained by the target third optical power value and the second relationship function.
[0144] In one embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the following steps:
[0145] determining a target first optical power value, a first relationship function and a second relationship function; wherein the first relationship function is used to represent a correlation between the first optical power value and a corresponding second optical power value; the second relationship function is used to represent a correlation between a third optical power value and a corresponding current value;
[0146] substituting the target first optical power value into the first relationship function to calculate a target second optical power value corresponding to the target first optical power value;
[0147] letting a target third optical power value be equal to the target second optical power value, and adjusting the current value of the printer according to a target current value obtained by the target third optical power value and the second relationship function.
[0148] It should be noted that the user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data authorized by the user or authorized by all parties.
[0149] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage medium, and when the computer program is executed, the processes of the above-mentioned embodiments of the methods can be included. Any reference to memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory, optical storage, high-density embedded non-volatile memory, resistive memory (ReRAM), magnetoresistive random access memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric memory (Ferroelectric Random Access Memory, FRAM), phase change memory (Phase Change Memory, PCM), graphene memory, etc. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, etc. As an illustration but not limitation, RAM can be in various forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), etc. The database involved in the embodiments provided in the present application can include at least one of a relational database and a non-relational database. The non-relational database can include a distributed database based on a block chain, etc., without being limited thereto. The processor involved in the embodiments provided in the present application can be a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., without being limited thereto.
[0150] Any combination of the technical features of the above embodiments can be made. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described, however, as long as the combination of the technical features does not exist contradictory, it should be considered as the scope of the present application.
[0151] The above embodiments only express several implementation manners of the present application, and the description is more specific and detailed, but it should not be understood as a limitation on the scope of the patent of the present application. It should be pointed out that for ordinary skilled in the art, without departing from the concept of the present application, a number of modifications and improvements can be made, which are within the scope of protection of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.
Claims
1. A method of correcting a printer current value, characterized by, The method comprises: determining a target first optical power value, a first relationship function and a second relationship function; wherein the first relationship function is used to represent the correlation between the first optical power value and the corresponding second optical power value; the second relationship function is used to represent the correlation between the third optical power value and the corresponding current value; substituting the target first optical power value into the first relationship function to calculate the target second optical power value corresponding to the target first optical power value; let the target third optical power value be equal to the target second optical power value, and adjust the printer current using the target current value calculated by the target third optical power value and the second relationship function; wherein the first optical power value is the printer optical power value measured by a professional optical power meter when the printer is shipped, the second optical power value is the printer optical power value measured by a general optical power meter, the third optical power value is used to express the printer optical power value measured by the general optical power meter after the printer has been used for a period of time, the third optical power value is used to express the optical power value measured after the printer appears to have decayed, the first relationship function expresses the functional relationship between the readings of the general optical power meter and the professional optical power meter, the second relationship function expresses the functional relationship between the current value of the printer after decay and the light output power, and the target current value is calculated by determining the target first optical power value, the first relationship function and the second relationship function, so as to correct the current value of the printer using the target current value.
2. The method of claim 1, wherein, In the step of determining the target first optical power value, the first relationship function and the second relationship function, it comprises: controlling the printer to emit a first detection image; wherein the first detection image is projected by the light emitting device of the printer; receiving a plurality of third optical power values corresponding to a plurality of current values detected when the printer emits the first detection image; establishing the second relationship function based on a plurality of third optical power values and a plurality of corresponding current values.
3. The method of claim 1, wherein, Before the step of controlling the printer to emit a first detection image, it further comprises: confirming the current value range of the printer; dividing the current value range of the printer into a plurality of detection sub-values; controlling the printer to emit detection images at a plurality of detection sub-values based on a plurality of detection sub-values; wherein the detection images are used to obtain one of the following: the first optical power value, the second optical power value, the third optical power value; wherein a plurality of detection sub-values, the first optical power value, the second optical power value, the third optical power value form a list.
4. The method of claim 3, wherein, In the step of determining the target first optical power value, the first relationship function and the second relationship function, it comprises: controlling the printer to emit the first detection image or the second detection image at a plurality of detection sub-values based on a plurality of detection sub-values; wherein the second detection image is used to obtain the first relationship function; the content of the second detection image is consistent with that of the first detection image.
5. The method of claim 4, wherein, After the step of controlling the printer to emit a detection image based on a plurality of detection sub-values, it comprises: Based on several of the detection sub-values, the printer is controlled to emit the second detection image with several of the detection sub-values; The first optical power value and the second optical power value are received; wherein the first optical power value and the second optical power value are data from different terminals detected when the printer emits the second detection image; Based on the first optical power value and the second optical power value, the first relationship function is established.
6. The method of claim 3, wherein, In the step of adjusting the current value of the printer according to the target current value obtained through the target third optical power value and the second relationship function, the step comprises: The target third optical power value is brought into the second relationship function; The target current value is calculated using the target third optical power and the second relationship function; The current of the printer is adjusted using the target current value.
7. A device for correcting a current value of a printer, characterized by comprising: The apparatus comprises: A determination module is configured to determine a target first optical power value, a first relationship function and a second relationship function; wherein the first relationship function is used to represent the correlation between the first optical power value and the corresponding second optical power value; the second relationship function is used to represent the correlation between the third optical power value and the corresponding current value; A calculation module is configured to substitute the target first optical power value into the first relationship function to calculate the target second optical power value corresponding to the target first optical power value; A correction module is configured to make the target third optical power value equal to the target second optical power value, and correct the current of the printer using the target current value calculated through the target third optical power value and the second relationship function.
8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that, The processor executes the computer program to implement the steps of the method of any one of claims 1 to 6.
9. A computer readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the method of any one of claims 1 to 6.
10. A computer program product comprising a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the method of any one of claims 1 to 6.
Citation Information
Patent Citations
Optical power control apparatus, optical beam scanning apparatus, image forming apparatus, and optical power control method
CN101090196A
Method and system for detecting receiving light power of multi-channel laser
CN107171721A