CN115766958A - Control parameter matching method and device - Google Patents

Control parameter matching method and device Download PDF

Info

Publication number
CN115766958A
CN115766958A CN202211559165.3A CN202211559165A CN115766958A CN 115766958 A CN115766958 A CN 115766958A CN 202211559165 A CN202211559165 A CN 202211559165A CN 115766958 A CN115766958 A CN 115766958A
Authority
CN
China
Prior art keywords
control parameter
scanning unit
laser scanning
determining
synchronization signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211559165.3A
Other languages
Chinese (zh)
Inventor
谭轩
徐远林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Pantum Electronics Co Ltd
Original Assignee
Zhuhai Pantum Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Pantum Electronics Co Ltd filed Critical Zhuhai Pantum Electronics Co Ltd
Priority to CN202211559165.3A priority Critical patent/CN115766958A/en
Publication of CN115766958A publication Critical patent/CN115766958A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Control Or Security For Electrophotography (AREA)

Abstract

The invention relates to the technical field of image formation, in particular to a control parameter matching method and device. After the image forming device is started, if the image forming device is determined to store a first control parameter of the laser scanning unit, the laser scanning unit is controlled to operate based on the first control parameter, in the operation process of the laser scanning unit, whether the first control parameter is matched with the laser scanning unit or not is determined according to a line synchronization signal parameter of the laser scanning unit, if the first control parameter is not matched with the laser scanning unit, a control parameter matching process is executed again, a second control parameter matched with the laser scanning unit is determined, and the laser scanning unit is controlled to operate based on the second control parameter. When the image forming device is preheated, started or needs to start the laser scanning unit under some other conditions, if the stored control parameters are detected, the laser scanning unit is directly controlled to operate based on the previously stored control parameters, and power consumption and waiting time caused by parameter matching are reduced.

Description

Control parameter matching method and device
Technical Field
The invention relates to the technical field of image formation, in particular to a control parameter matching method and device.
Background
When the image forming apparatus performs printing preheating, if a Laser Scanning Unit (LSU) is required to be used, the type (model) of the current Laser Scanning Unit is firstly identified, and then corresponding control parameters (such as the number of prisms, the frequency of line synchronization signals, the rotating speed of a prism motor, the rotating speed of the Laser motor, channel offset and the like) are matched for the type of the Laser Unit, so that the normal use of the Laser Scanning Unit can be ensured. Since the LSU type identification and parameter matching process need to be executed again each time the printing is preheated, the time consumed for starting up the whole image forming apparatus is increased, and the waiting time is prolonged.
Disclosure of Invention
The embodiment of the invention provides a control parameter matching method and a control parameter matching device, which are used for directly controlling a laser scanning unit to operate on the basis of the previously stored control parameters after the stored control parameters are detected, so that the power consumption and the waiting time caused by parameter matching are reduced.
In a first aspect, an embodiment of the present invention provides a control parameter matching method, including:
after the image forming device is started, if the image forming device is determined to store a first control parameter of the laser scanning unit, controlling the laser scanning unit to operate based on the first control parameter;
in the operation process of the laser scanning unit, determining whether the first control parameter is matched with the laser scanning unit according to the line synchronization signal parameter of the laser scanning unit;
and if not, re-executing the control parameter matching process, determining a second control parameter matched with the laser scanning unit, and controlling the laser scanning unit to operate based on the second control parameter.
In one embodiment, the parameter of the row synchronization signal includes at least one of a number and a period of the row synchronization signal.
In one embodiment, the determining that the image forming apparatus has stored the first control parameter of the laser scanning unit includes:
acquiring flag bit information, wherein the flag bit information corresponds to the type of the laser scanning unit;
and if the flag bit information belongs to a first preset value, determining that the image forming device has stored a first control parameter of the laser scanning unit corresponding to the first preset value.
In one embodiment, the method further comprises:
after the image forming device is started, if the flag bit information is detected to belong to a second preset value, the control parameter matching process is directly executed, the second control parameter is determined, and the flag bit information is set to be a first preset value corresponding to the second control parameter.
In one embodiment, if the control parameter is not matched, the control parameter matching process is executed again, and after the second control parameter matched with the laser scanning unit is determined, the method further includes:
and deleting the first control parameter, and modifying the zone bit information into a first preset value corresponding to the second control parameter.
In one embodiment, the determining whether the first control parameter matches the laser scanning unit according to the line synchronization signal parameter of the laser scanning unit during the operation of the laser scanning unit includes:
determining the actual line synchronizing signal period of the laser scanning unit in the operation process of the laser scanning unit;
and if the difference value between the actual line synchronizing signal period and the preset line synchronizing signal period recorded by the first control parameter does not exceed a first threshold value, determining that the first control parameter is matched with the laser scanning unit, otherwise determining that the first control parameter is not matched with the laser scanning unit.
In one embodiment, the executing the control parameter matching process to determine the second control parameter matched with the laser scanning unit includes:
acquiring a plurality of control parameters which are configured in advance, wherein each control parameter comprises different motor rotating speeds and corresponding preset line synchronization signal periods;
controlling the motor of the laser scanning unit to operate based on the motor rotating speed of any control parameter, and determining the actual line synchronization signal period of the laser scanning unit at present;
if the difference value between the actual line synchronizing signal period and the preset line synchronizing signal period of the current control parameter does not exceed a first threshold value, determining the current control parameter as a second control parameter matched with the laser scanning unit;
and if the difference value between the actual line synchronization signal period and the preset line synchronization signal period of the current control parameter exceeds a first threshold value, switching other control parameters for matching.
In a second aspect, an embodiment of the present invention provides a control parameter matching apparatus, including:
the processing module is used for controlling the laser scanning unit to operate based on a first control parameter if the image forming device is determined to store the first control parameter of the laser scanning unit after the image forming device is started;
the judging module is used for determining whether the first control parameter is matched with the laser scanning unit according to the line synchronization signal parameter of the laser scanning unit in the running process of the laser scanning unit;
and the matching module is used for re-executing the control parameter matching process if the control parameters are not matched, determining a second control parameter matched with the laser scanning unit, and controlling the laser scanning unit to operate based on the second control parameter.
In one embodiment, the parameter of the row synchronization signal includes at least one of a number and a period of the row synchronization signal.
In one embodiment, the determining that the image forming apparatus has stored the first control parameter of the laser scanning unit includes:
acquiring flag bit information, wherein the flag bit information corresponds to the type of the laser scanning unit;
and if the flag bit information belongs to a first preset value, determining that the image forming device has stored a first control parameter of the laser scanning unit corresponding to the first preset value.
In an embodiment, the processing module is further configured to, after the image forming apparatus is started, directly execute the control parameter matching procedure to determine the second control parameter if it is detected that the flag bit information belongs to a second preset value, and set the flag bit information to a first preset value corresponding to the second control parameter.
In one embodiment, if the control parameter is not matched, the control parameter matching process is executed again, after the second control parameter matched with the laser scanning unit is determined,
the processing module is further configured to delete the first control parameter and modify the flag bit information to a first preset value corresponding to the second control parameter.
In one embodiment, the determining whether the first control parameter matches the laser scanning unit according to the line synchronization signal parameter of the laser scanning unit during the operation of the laser scanning unit includes:
determining the actual line synchronizing signal period of the laser scanning unit in the running process of the laser scanning unit;
if the difference value between the actual line synchronizing signal period and the preset line synchronizing signal period recorded by the first control parameter does not exceed a first threshold value, determining that the first control parameter is matched with the laser scanning unit, otherwise determining that the first control parameter is not matched with the laser scanning unit
In one embodiment, the performing the control parameter matching process to determine the second control parameter matched with the laser scanning unit includes:
acquiring a plurality of control parameters configured in advance, wherein each control parameter comprises different motor rotating speeds and corresponding preset line synchronization signal periods;
controlling the motor of the laser scanning unit to operate based on the motor rotating speed of any control parameter, and determining the actual line synchronization signal period of the laser scanning unit at present;
if the difference value between the actual line synchronizing signal period and the preset line synchronizing signal period of the current control parameter does not exceed a first threshold value, determining the current control parameter as a second control parameter matched with the laser scanning unit;
and if the difference value between the actual line synchronization signal period and the preset line synchronization signal period of the current control parameter exceeds a first threshold value, switching other control parameters for matching.
In a third aspect, an embodiment of the present invention provides an electronic device, including:
at least one processor; and
at least one memory communicatively coupled to the processor, wherein:
the memory stores program instructions that the processor calls to be able to perform the method as provided by the first aspect.
In a fourth aspect, the present invention provides a computer-readable storage medium including a stored program, wherein the program, when executed by a processor, implements the method as provided in the first aspect.
In the embodiment of the invention, after the image forming device is started, if the image forming device is determined to store the first control parameter of the laser scanning unit, the laser scanning unit is controlled to operate based on the first control parameter, in the operation process of the laser scanning unit, whether the first control parameter is matched with the laser scanning unit is determined according to the line synchronization signal parameter of the laser scanning unit, if the first control parameter is not matched with the laser scanning unit, the control parameter matching process is executed again, the second control parameter matched with the laser scanning unit is determined, and the laser scanning unit is controlled to operate based on the second control parameter. After the stored control parameters are detected, the laser scanning unit is directly controlled to operate based on the previously stored control parameters, the time spent by the whole image forming device is not influenced when the image forming device is preheated, started or needs to be started under some other conditions and the laser scanning unit is initialized, and the power consumption and the waiting time caused by parameter matching are reduced by directly using the parameters of the laser scanning unit which is matched last time when the laser scanning unit is started next time.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a flowchart of a control parameter matching method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a control parameter matching apparatus according to an embodiment of the present invention;
FIG. 3 is a flow chart of another control parameter matching method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of another control parameter matching apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
For better understanding of the technical solutions in the present specification, the following detailed description of the embodiments of the present invention is provided with reference to the accompanying drawings.
It should be understood that the described embodiments are only a few embodiments of the present specification, and not all embodiments. All other embodiments obtained by a person skilled in the art based on the embodiments in the present specification without any inventive step are within the scope of the present specification.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the specification. As used in the examples of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
Fig. 1 is a flowchart of a control parameter matching method according to an embodiment of the present invention. The method can be applied to image forming apparatuses including, but not limited to, printers, copiers, facsimile machines, scanners, and all-in-one machines that integrate printing, copying, faxing, scanning, etc. functions of printing images or characters on an image forming medium. As shown in fig. 1, the method may include:
step 101, after the image forming apparatus is started, if it is determined that the image forming apparatus has the first control parameter of the laser scanning unit stored therein, controlling the laser scanning unit to operate based on the first control parameter.
After the image forming device is started, the flag bit information related to the control parameter can be checked, and whether the first control parameter of the laser scanning unit is stored or not can be determined according to the specific numerical value of the flag bit information. Alternatively, before the laser scanning unit is first installed, the image forming apparatus does not store the control parameter, the flag bit information may be set to one of the second preset values, such as a null value or a negative number, and after the control parameter is successfully matched, the value of the flag bit information may be set to one of the first preset values, such as a positive number of 1, 2, or 0. The expression form of the flag bit information is not limited, and the flag bit information may also be set to letters or other symbols, for example, when the control parameter is not stored, the flag bit information is set to a, and when the control parameter is stored, the flag bit information is set to B, C and other letters; alternatively, when the control parameter is not stored, the flag bit information is set to 0x01, and when the control parameter is stored, the flag bit information is set to a numerical value such as 0x02 or 0x 03. The image forming device stores the control parameter successfully matched for the first time as a first control parameter, and modifies the zone bit information into a first preset value corresponding to the first control parameter. After the image forming apparatus is restarted, the flag bit information is detected to be the first preset value, and it can be determined that the first control parameter has been successfully matched and stored before the image forming apparatus is started this time. The image forming device directly obtains a prestored first control parameter and controls the laser scanning unit to operate based on the first control parameter. In one embodiment, the flag information may be set to 1 if the current LSU is of a pentaprism type, and may be set to 2 if the current LSU is of a tetraprism type.
And 102, in the operation process of the laser scanning unit, determining whether the first control parameter is matched with the laser scanning unit according to the line synchronization signal parameter of the laser scanning unit.
The horizontal synchronization signal parameter of the embodiment of the present invention may include at least one of the number and the period of the horizontal synchronization signal. As shown in fig. 2, the laser scanning unit specifically includes: a light emission control circuit 201, a laser diode 202, a focusing lens 203, a polygon motor 204, a condensing lens 205, a reflecting mirror 206, a reflecting mirror 207, a focusing lens 208, a focusing lens 209, and a line synchronization sensor 210. The light-emitting control circuit 201 can control the laser diode 202 to emit light beams, the light beams are converted into parallel light through the focusing lens 203 and reach the polygon motor 204, the polygon motor 205 reflects the light beams, and the light beams irradiate towards two aspects after passing through the focusing lens 205, wherein the reflecting mirror 206 reflects the light beams to the focusing lens 209, and the focusing lens 209 focuses the parallel light to the line synchronization sensor 210; the focusing lens 208 focuses the light beam and reflects the light beam onto the surface of the photosensitive drum for scanning by the mirror 207. After the laser scanning unit is operated, the polygon motor rotates to change the angle of the reflected light beam, and each time the polygon motor rotates one side, one line can be scanned on the photosensitive drum, and the time for scanning one line is the period of the line synchronization signal. The reflected light from the polygon motor 205 reaches the line synchronization sensor 210 in addition to the photosensitive drum, the line synchronization sensor 210 may determine an actual line synchronization signal period of the laser scanning unit, a preset line synchronization signal period is recorded in the first control parameter, and the image forming apparatus may compare the actual line synchronization signal period with the preset line synchronization signal period to determine whether the first control parameter matches the laser scanning unit. Specifically, if the difference between the actual line synchronizing signal period and the preset line synchronizing signal period does not exceed the first threshold, it may be determined that the first control parameter matches the laser scanning unit, otherwise, it may be determined that the first control parameter does not match the laser scanning unit.
And 103, if the laser scanning unit is not matched with the laser scanning unit, re-executing the control parameter matching process, determining a second control parameter matched with the laser scanning unit, and controlling the laser scanning unit to operate based on the second control parameter.
If the type of the laser scanning unit is replaced before the image forming apparatus is started up, the previously stored first control parameter may not match the current laser scanning unit, and thus the control parameter matching procedure needs to be re-executed. The control parameters mainly include: the type of the light-emitting diode, the resolution ratio, the printing amplitude, the effective scanning angle, the number of the polygon mirror surfaces, the line synchronization signal period, the line scanning frequency, the time of one rotation of the polygon motor, the rotating speed of the polygon motor, the included angle between the polygon mirrors, the effective scanning utilization rate and the like. The number of polygon mirror surfaces, the period of the line synchronization signal, and the rotational speed of the polygon mirror motor are main influencing factors, the number of polygon mirror surfaces of different types of laser scanning units may be different, and when the rotational speeds of the polygon mirror motors are the same, the period of the line synchronization signal is inversely proportional to the number of polygon mirror surfaces. The correlation formula includes: polygon motor speed = line synchronization signal period 60/polygon mirror number. The image forming apparatus may acquire a plurality of control parameters configured in advance, each control parameter including different polygon motor rotation speeds and a corresponding line synchronization signal period T1, then control a motor operation of the laser scanning unit based on the polygon motor rotation speed of any control parameter, and determine an actual line synchronization signal period T2 of the current laser scanning unit, if a difference between T1 and T2 does not exceed a first threshold, determine the current control parameter as a second control parameter matched with the laser scanning unit, and if a difference between T1 and T2 exceeds the first threshold, switch other control parameters for matching. After the matching is successful, the image forming apparatus deletes the previously stored first control parameter and stores the successfully matched control parameter as the second control parameter, while modifying the flag information, for example, modifying the flag information from 1 to 2.
In one embodiment, in step 101, if it is detected that the flag bit information is a negative number (LSU is first installed) or other second preset value after the image forming apparatus is started, the control parameter matching process is directly executed, and after the matching is successful, the matched parameter is stored as a second control parameter, and the flag bit information is modified to be a positive number or other first preset value.
In the existing technical solution, a special memory chip is usually configured to store all the control parameters and flag bit information that are successfully matched before in an associated manner, for example, the flag bit 1-a type control parameter, the flag bit 2-B type control parameter, the flag bit 3-C type control parameter, and the like, and after each start of the image forming apparatus, the LSU identification is performed to obtain the corresponding control parameter. In the embodiment of the invention, the image forming device only stores the control parameters and the zone bit information which are successfully matched currently, for example, the zone bit 1-A control parameters are stored after the A-type control parameters are successfully matched, and the zone bit 1-A control parameters are deleted and the zone bit 2-B control parameters are stored before the B-type control parameters are successfully matched. Therefore, a special chip is not required to store the associated information, and the space is saved.
In the embodiment of the invention, after the image forming device is started, the laser scanning unit is directly controlled to operate based on the stored first control parameter, so that the waiting time caused by parameter matching is reduced; and secondly, if the first control parameter is found not to be matched, the control parameter matching process is executed again, and the first control parameter is deleted after the matching is successful.
Fig. 3 is a flowchart of another control parameter matching method according to an embodiment of the present invention. As shown in fig. 3, the method may include:
step 301, judging whether the control parameter is stored according to the flag bit information.
After the image forming apparatus is started, the flag bit information is determined, if the flag bit information is detected to be a second preset value (if the flag bit information is a positive number), it is determined that the matching is successful and the control parameter has been stored, step 307 is performed, if the flag bit information is a first preset value (if the flag bit information is a negative number), it is determined that the control parameter has not been stored, and step 302 is performed.
Step 302, run the LSU with class a control parameters.
And if the control parameters are not stored, matching the control parameters in sequence, and selecting one control parameter to operate the LSU.
Step 303, acquiring the actual line synchronization signal period of the current LSU.
And step 304, judging whether the actual line synchronization signal period is matched with the preset line synchronization signal period recorded by the current control parameter.
The control parameter currently in the matching process records a preset line synchronization signal period, and if the error between the actual line synchronization signal period of the LSU and the preset line synchronization signal period is small, the control parameter can be determined to be matched with the LSU. Specifically, an error threshold may be set in advance, and if the difference between the actual line synchronizing signal period and the preset line synchronizing signal period does not exceed the error threshold, it is determined that the current control parameter matches the LSU.
And step 305, switching the control parameters of the B (C, D, E) class for matching.
And if the current control parameter fails to be matched, switching other control parameters for matching.
Step 306, storing the class a control parameters and the flag bit information.
If the matching is successful, the image forming apparatus stores the current control parameter, and sets the flag bit information to a positive number, and if the matching is failed, sets the flag bit information to a negative number.
In a specific embodiment, the image forming apparatus sets different flag bit information according to the reason of the matching failure and reports the reason, if the error is large, the flag bit information is set to-2, and the cycle of the line synchronization signal is reported to be abnormal; if all the control parameters are not matched, setting flag bit information as-1, and reporting LSU identification failure; and if the motor parameter is abnormal, the motor is started unstably, setting the flag bit information to be-3, reporting the motor abnormality, and matching after the user can replace the motor.
Step 307, run the LSU based on the matched control parameters.
During the operation of the LSU, the image forming apparatus still performs detection of the period of the synchronization signal, and if the period of the line synchronization signal is found to be abnormal, performs the matching process of the control parameters again.
In the actual matching process, the image forming device can judge whether to match according to whether the LSU rotates, the rotation represents that the LSU is being matched, the LSU rotates and then is normally ready to represent that the LSU is successfully matched, if the LSU is damaged and does not rotate, the line synchronization signal period is not matched, the image forming device can report errors, and the errors can be reported for 2 times under the common condition.
In one embodiment, to avoid the control parameter matching process affecting the overall timing of the image forming apparatus, a separate thread may be started to complete the matching process before the main thread is started. In order to reduce the loss of the motor, the control parameter with the minimum rotating speed of the motor can be selected for matching, and if the matching fails, other control parameters are switched according to the sequence of the rotating speed of the motor from small to large.
In the embodiment of the invention, if the stored control parameters are determined after the image forming device is started, the control parameters are directly acquired to control the LSU to operate, whether the control parameters are matched or not is judged according to the line synchronization signal period in the operation process, and the waiting time can be reduced because the type identification (control parameter matching) of the LSU is carried out without setting the rotating speed of the motor. And if the control parameters are determined not to be stored, the LSU is operated based on different control parameters, matching is carried out according to the actual line synchronization signal period, and the line synchronization sensor is arranged in the LSU, so that the actual line synchronization signal period can be determined.
Fig. 4 is a schematic structural diagram of a control parameter matching apparatus according to an embodiment of the present invention. The apparatus may be used as a specific device to implement the control parameter matching method provided in the embodiment of the present invention, and as shown in fig. 4, the apparatus may include: a processing module 410, a determining module 420 and a matching module 430.
The processing module 410 is configured to, after the image forming apparatus is started, control the operation of the laser scanning unit based on a first control parameter if it is determined that the image forming apparatus has stored the first control parameter of the laser scanning unit.
The determining module 420 is configured to determine whether the first control parameter is matched with the laser scanning unit according to the line synchronization signal parameter of the laser scanning unit during the operation of the laser scanning unit.
And the matching module 430 is configured to, if the control parameter is not matched with the laser scanning unit, re-execute the control parameter matching process, determine a second control parameter matched with the laser scanning unit, and control the laser scanning unit to operate based on the second control parameter.
The processing module 410 may obtain the flag information, determine that the image forming apparatus has stored the first control parameter of the laser scanning unit if the flag information is a positive number, and determine that the image forming apparatus has not stored the laser scanning unit if the flag information is a negative number.
The determining module 420 determines an actual line synchronization signal period of the laser scanning unit during the operation of the laser scanning unit; and if the difference value between the actual line synchronizing signal period and the preset line synchronizing signal period recorded by the first control parameter does not exceed a first threshold value, determining that the first control parameter is matched with the laser scanning unit, otherwise, determining that the first control parameter is not matched with the laser scanning unit.
The matching module 430 obtains a plurality of control parameters configured in advance, wherein each control parameter comprises different motor rotating speeds and corresponding preset line synchronization signal periods; controlling the motor of the laser scanning unit to operate based on the motor rotating speed of any control parameter, and determining the actual line synchronization signal period of the current laser scanning unit; if the difference value between the actual line synchronizing signal period and the preset line synchronizing signal period of the current control parameter does not exceed the first threshold value, determining the current control parameter as a second control parameter matched with the laser scanning unit; and if the difference value between the actual line synchronization signal period and the preset line synchronization signal period of the current control parameter exceeds a first threshold value, switching other control parameters for matching.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. The electronic device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 5, the electronic device is in the form of a general purpose computing device. Components of the electronic device may include, but are not limited to: one or more processors 510, a memory 530, and a communication bus 540 that couples various system components including the memory 530 and the processors 510.
Communication bus 540 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. These architectures include, but are not limited to, industry Standard Architecture (ISA) bus, micro Channel Architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus, to name a few.
Electronic devices typically include a variety of computer system readable media. Such media may be any available media that is accessible by the electronic device and includes both volatile and nonvolatile media, removable and non-removable media.
Memory 530 may include computer system readable media in the form of volatile Memory, such as Random Access Memory (RAM) and/or cache Memory. The electronic device may further include other removable/non-removable, volatile/nonvolatile computer system storage media. Although not shown in FIG. 5, a disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a Compact disk Read Only Memory (CD-ROM), a Digital versatile disk Read Only Memory (DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected to the communication bus 540 by one or more data media interfaces. Memory 530 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility having a set (at least one) of program modules, including but not limited to an operating system, one or more application programs, other program modules, and program data, may be stored in memory 530, each of which examples or some combination may include an implementation of a network environment. The program modules generally perform the functions and/or methodologies of the described embodiments of the invention.
The electronic device may also communicate with one or more external devices, may also communicate with one or more devices that enable a user to interact with the electronic device, or may communicate with any device (e.g., network card, modem, etc.) that enables the electronic device to communicate with one or more other computing devices. Such communication may occur via communications interface 520. Furthermore, the electronic device may also communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public Network such as the Internet) via a Network adapter (not shown in FIG. 5) that may communicate with other modules of the electronic device via communication bus 540. It should be appreciated that although not shown in FIG. 5, other hardware and/or software modules may be used in conjunction with the electronic device, including but not limited to: microcode, device drivers, redundant processing units, external disk drive Arrays, disk array (RAID) systems, tape Drives, and data backup storage systems, among others.
The processor 510 executes various functional applications and data processing, for example, implementing a control parameter matching method provided by an embodiment of the present invention, by executing programs stored in the memory 530.
The embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores a computer instruction, and the computer instruction causes the computer to execute the control parameter matching method provided in the embodiment of the present invention.
The computer-readable storage medium described above may take any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read Only Memory (ROM), an Erasable Programmable Read Only Memory (EPROM), a flash Memory, an optical fiber, a portable compact disc Read Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions in actual implementation, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (16)

1. A control parameter matching method, comprising:
after the image forming device is started, if the image forming device is determined to store a first control parameter of the laser scanning unit, controlling the laser scanning unit to operate based on the first control parameter;
in the operation process of the laser scanning unit, determining whether the first control parameter is matched with the laser scanning unit according to the line synchronization signal parameter of the laser scanning unit;
and if not, re-executing the control parameter matching process, determining a second control parameter matched with the laser scanning unit, and controlling the laser scanning unit to operate based on the second control parameter.
2. The method of claim 1, wherein the horizontal synchronization signal parameter comprises at least one of a number and a period of the horizontal synchronization signal.
3. The method of claim 1, wherein determining that the image forming apparatus has stored the first control parameter of the laser scanning unit comprises:
acquiring flag bit information, wherein the flag bit information corresponds to the type of the laser scanning unit;
and if the flag bit information belongs to a first preset value, determining that the image forming device has stored a first control parameter of the laser scanning unit corresponding to the first preset value.
4. The method of claim 3, further comprising:
after the image forming device is started, if the flag bit information is detected to belong to a second preset value, the control parameter matching process is directly executed, the second control parameter is determined, and the flag bit information is set to be a first preset value corresponding to the second control parameter.
5. The method according to claim 3, wherein if the control parameter matching procedure is not performed again, and after determining the second control parameter matching with the laser scanning unit, the method further comprises:
and deleting the first control parameter, and modifying the zone bit information into a first preset value corresponding to the second control parameter.
6. The method of claim 1, wherein determining whether the first control parameter matches the laser scanning unit according to a line synchronization signal parameter of the laser scanning unit during operation of the laser scanning unit comprises:
determining the actual line synchronizing signal period of the laser scanning unit in the running process of the laser scanning unit;
and if the difference value between the actual line synchronizing signal period and the preset line synchronizing signal period recorded by the first control parameter does not exceed a first threshold value, determining that the first control parameter is matched with the laser scanning unit, otherwise determining that the first control parameter is not matched with the laser scanning unit.
7. The method of claim 1, wherein the performing the control parameter matching procedure to determine a second control parameter matching the laser scanning unit comprises:
acquiring a plurality of control parameters configured in advance, wherein each control parameter comprises different motor rotating speeds and corresponding preset line synchronization signal periods;
controlling the motor of the laser scanning unit to operate based on the motor rotating speed of any control parameter, and determining the actual line synchronization signal period of the laser scanning unit at present;
if the difference value between the actual line synchronizing signal period and the preset line synchronizing signal period of the current control parameter does not exceed a first threshold value, determining the current control parameter as a second control parameter matched with the laser scanning unit;
and if the difference value between the actual line synchronization signal period and the preset line synchronization signal period of the current control parameter exceeds a first threshold value, switching other control parameters for matching.
8. A control parameter matching apparatus, comprising:
the processing module is used for controlling the laser scanning unit to operate based on a first control parameter if the image forming device is determined to store the first control parameter of the laser scanning unit after the image forming device is started;
the judging module is used for determining whether the first control parameter is matched with the laser scanning unit according to the line synchronization signal parameter of the laser scanning unit in the running process of the laser scanning unit;
and the matching module is used for re-executing the control parameter matching process if the control parameters are not matched with the laser scanning unit, determining a second control parameter matched with the laser scanning unit, and controlling the laser scanning unit to operate based on the second control parameter.
9. The apparatus of claim 8, wherein the row synchronization signal parameter comprises at least one of a number and a period of the row synchronization signal.
10. The apparatus of claim 8, wherein the determining that the image forming apparatus has stored the first control parameter of the laser scanning unit comprises:
acquiring zone bit information, wherein the zone bit information corresponds to the type of the laser scanning unit;
and if the flag bit information belongs to a first preset value, determining that the image forming device has stored a first control parameter of the laser scanning unit corresponding to the first preset value.
11. The apparatus of claim 10,
the processing module is further configured to, after the image forming apparatus is started, directly execute the control parameter matching procedure to determine the second control parameter if it is detected that the flag bit information belongs to a second preset value, and set the flag bit information to a first preset value corresponding to the second control parameter.
12. The apparatus according to claim 10, wherein if the control parameter matching procedure is not executed again, and after determining a second control parameter matching with the laser scanning unit, the processing module is further configured to delete the first control parameter and modify the flag information to a first preset value corresponding to the second control parameter.
13. The apparatus of claim 8, wherein the determining whether the first control parameter matches the laser scanning unit according to the line synchronization signal parameter of the laser scanning unit during the operation of the laser scanning unit comprises:
determining the actual line synchronizing signal period of the laser scanning unit in the running process of the laser scanning unit;
and if the difference value between the actual line synchronizing signal period and the preset line synchronizing signal period recorded by the first control parameter does not exceed a first threshold value, determining that the first control parameter is matched with the laser scanning unit, otherwise, determining that the first control parameter is not matched with the laser scanning unit.
14. The apparatus of claim 8, wherein performing the control parameter matching procedure to determine a second control parameter matching the laser scanning unit comprises:
acquiring a plurality of control parameters configured in advance, wherein each control parameter comprises different motor rotating speeds and corresponding preset line synchronization signal periods;
controlling the motor of the laser scanning unit to operate based on the motor rotating speed of any control parameter, and determining the actual line synchronization signal period of the laser scanning unit at present;
if the difference value between the actual line synchronizing signal period and the preset line synchronizing signal period of the current control parameter does not exceed a first threshold value, determining the current control parameter as a second control parameter matched with the laser scanning unit;
and if the difference value between the actual line synchronization signal period and the preset line synchronization signal period of the current control parameter exceeds a first threshold value, switching other control parameters for matching.
15. An electronic device, comprising:
at least one processor; and
at least one memory communicatively coupled to the processor, wherein:
the memory stores program instructions that, when invoked by the processor, are capable of performing the method of any of claims 1 to 7.
16. A computer-readable storage medium, comprising a stored program, wherein the program, when executed by a processor, implements the method of any one of claims 1 to 7.
CN202211559165.3A 2022-12-06 2022-12-06 Control parameter matching method and device Pending CN115766958A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211559165.3A CN115766958A (en) 2022-12-06 2022-12-06 Control parameter matching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211559165.3A CN115766958A (en) 2022-12-06 2022-12-06 Control parameter matching method and device

Publications (1)

Publication Number Publication Date
CN115766958A true CN115766958A (en) 2023-03-07

Family

ID=85343708

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211559165.3A Pending CN115766958A (en) 2022-12-06 2022-12-06 Control parameter matching method and device

Country Status (1)

Country Link
CN (1) CN115766958A (en)

Similar Documents

Publication Publication Date Title
US10277767B2 (en) Image forming apparatus including a device that updates stored program based on updating data which is selected based on program that is started or startable
US7327488B2 (en) Image forming apparatus, program updating method and recording medium
US20060132958A1 (en) Fault diagnosis apparatus, recording medium recording fault diagnosis program and fault diagnosis method
CN111752502B (en) Printing control apparatus, printing control method, and image forming apparatus
CN115766958A (en) Control parameter matching method and device
US20160094748A1 (en) Information processing system, image processing apparatus and information processing method
JP2000112863A (en) Information processing system, peripheral device, its initializing method, and storage medium
JP2001083451A (en) Image forming device
JPH10123441A (en) Recording device
JP3320231B2 (en) Laser beam printer and control method therefor
JP6862807B2 (en) Image forming device and program
JP3290810B2 (en) Image forming apparatus and control method thereof
JP3518833B2 (en) Information processing apparatus and image forming apparatus
US20230092303A1 (en) Information processing apparatus, information processing method and non-transitory recording medium
JP2005138429A (en) Image forming apparatus
JP2019117358A (en) Image forming apparatus
JP2002283616A (en) Imaging apparatus and its laser diode controlling method
JP2003025628A (en) Imaging apparatus
CN116233324A (en) Time sequence control method and device of laser scanning unit and image forming device
JPH1178173A (en) Printing controller and method for controlling printing in printing controller and storage medium wherein program which can be read by computor is stored
JP2019211644A (en) Image forming apparatus and control method for the same
JP2003326759A (en) Digital imaging apparatus
JP2017019119A (en) Image forming device and control method for image forming device
JP2002365569A (en) Imaging apparatus
JP2003057578A (en) Picture recorder

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination